com.pulumi.gcp.cloudidentity.kotlin.outputs.GroupMembershipRole.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
/**
*
* @property expiryDetail The MembershipRole expiry details, only supported for MEMBER role.
* Other roles cannot be accompanied with MEMBER role having expiry.
* Structure is documented below.
* @property name The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.
* Possible values are: `OWNER`, `MANAGER`, `MEMBER`.
*/
public data class GroupMembershipRole(
public val expiryDetail: GroupMembershipRoleExpiryDetail? = null,
public val name: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudidentity.outputs.GroupMembershipRole): GroupMembershipRole = GroupMembershipRole(
expiryDetail = javaType.expiryDetail().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudidentity.kotlin.outputs.GroupMembershipRoleExpiryDetail.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy