com.pulumi.gcp.cloudidentity.kotlin.outputs.GetGroupMembershipsMembership.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.cloudidentity.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property createTime The time when the Membership was created.
* @property group The parent Group resource under which to lookup the Membership names. Must be of the form groups/{group_id}.
* @property memberKeys EntityKey of the member. Structure is documented below.
* @property name The name of the MembershipRole. One of OWNER, MANAGER, MEMBER.
* @property preferredMemberKeys EntityKey of the member. Structure is documented below.
* @property roles The MembershipRoles that apply to the Membership. Structure is documented below.
* @property type The type of the membership.
* @property updateTime The time when the Membership was last updated.
*/
public data class GetGroupMembershipsMembership(
public val createTime: String,
public val group: String,
public val memberKeys: List,
public val name: String,
public val preferredMemberKeys: List,
public val roles: List,
public val type: String,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudidentity.outputs.GetGroupMembershipsMembership): GetGroupMembershipsMembership = GetGroupMembershipsMembership(
createTime = javaType.createTime(),
group = javaType.group(),
memberKeys = javaType.memberKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudidentity.kotlin.outputs.GetGroupMembershipsMembershipMemberKey.Companion.toKotlin(args0)
})
}),
name = javaType.name(),
preferredMemberKeys = javaType.preferredMemberKeys().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudidentity.kotlin.outputs.GetGroupMembershipsMembershipPreferredMemberKey.Companion.toKotlin(args0)
})
}),
roles = javaType.roles().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudidentity.kotlin.outputs.GetGroupMembershipsMembershipRole.Companion.toKotlin(args0)
})
}),
type = javaType.type(),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy