com.pulumi.gcp.cloudidentity.kotlin.inputs.GroupMembershipMemberKeyArgs.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.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudidentity.inputs.GroupMembershipMemberKeyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property id The ID of the entity.
* For Google-managed entities, the id must be the email address of an existing
* group or user.
* For external-identity-mapped entities, the id must be a string conforming
* to the Identity Source's requirements.
* Must be unique within a namespace.
* @property namespace The namespace in which the entity exists.
* If not specified, the EntityKey represents a Google-managed entity
* such as a Google user or a Google Group.
* If specified, the EntityKey represents an external-identity-mapped group.
* The namespace must correspond to an identity source created in Admin Console
* and must be in the form of `identitysources/{identity_source_id}`.
*/
public data class GroupMembershipMemberKeyArgs(
public val id: Output,
public val namespace: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudidentity.inputs.GroupMembershipMemberKeyArgs =
com.pulumi.gcp.cloudidentity.inputs.GroupMembershipMemberKeyArgs.builder()
.id(id.applyValue({ args0 -> args0 }))
.namespace(namespace?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GroupMembershipMemberKeyArgs].
*/
@PulumiTagMarker
public class GroupMembershipMemberKeyArgsBuilder internal constructor() {
private var id: Output? = null
private var namespace: Output? = null
/**
* @param value The ID of the entity.
* For Google-managed entities, the id must be the email address of an existing
* group or user.
* For external-identity-mapped entities, the id must be a string conforming
* to the Identity Source's requirements.
* Must be unique within a namespace.
*/
@JvmName("yfeullitmuxugyra")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value The namespace in which the entity exists.
* If not specified, the EntityKey represents a Google-managed entity
* such as a Google user or a Google Group.
* If specified, the EntityKey represents an external-identity-mapped group.
* The namespace must correspond to an identity source created in Admin Console
* and must be in the form of `identitysources/{identity_source_id}`.
*/
@JvmName("ljyvwmofutqobgbj")
public suspend fun namespace(`value`: Output) {
this.namespace = value
}
/**
* @param value The ID of the entity.
* For Google-managed entities, the id must be the email address of an existing
* group or user.
* For external-identity-mapped entities, the id must be a string conforming
* to the Identity Source's requirements.
* Must be unique within a namespace.
*/
@JvmName("ygofjruvfmkxwrcy")
public suspend fun id(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value The namespace in which the entity exists.
* If not specified, the EntityKey represents a Google-managed entity
* such as a Google user or a Google Group.
* If specified, the EntityKey represents an external-identity-mapped group.
* The namespace must correspond to an identity source created in Admin Console
* and must be in the form of `identitysources/{identity_source_id}`.
*/
@JvmName("ctmbvvtgpulwgotr")
public suspend fun namespace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.namespace = mapped
}
internal fun build(): GroupMembershipMemberKeyArgs = GroupMembershipMemberKeyArgs(
id = id ?: throw PulumiNullFieldException("id"),
namespace = namespace,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy