All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudidentity.kotlin.outputs.GroupMembershipRole.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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