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

com.pulumi.gcp.cloudidentity.kotlin.inputs.GetGroupLookupGroupKey.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudidentity.kotlin.inputs

import com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupGroupKey.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 (Required) The ID of the entity.
 * For Google-managed entities, the id is the email address of an existing group or user.
 * For external-identity-mapped entities, the id is a string conforming
 * to the Identity Source's requirements.
 * @property namespace (Optional) The namespace in which the entity exists.
 * If not populated, the EntityKey represents a Google-managed entity
 * such as a Google user or a Google Group.
 * If populated, 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 GetGroupLookupGroupKey(
    public val id: String,
    public val namespace: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupGroupKey =
        com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupGroupKey.builder()
            .id(id.let({ args0 -> args0 }))
            .namespace(namespace?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetGroupLookupGroupKey].
 */
@PulumiTagMarker
public class GetGroupLookupGroupKeyBuilder internal constructor() {
    private var id: String? = null

    private var namespace: String? = null

    /**
     * @param value (Required) The ID of the entity.
     * For Google-managed entities, the id is the email address of an existing group or user.
     * For external-identity-mapped entities, the id is a string conforming
     * to the Identity Source's requirements.
     */
    @JvmName("mmrkqobeataclksq")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.id = mapped
    }

    /**
     * @param value (Optional) The namespace in which the entity exists.
     * If not populated, the EntityKey represents a Google-managed entity
     * such as a Google user or a Google Group.
     * If populated, 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("oooagckdasuawqgk")
    public suspend fun namespace(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.namespace = mapped
    }

    internal fun build(): GetGroupLookupGroupKey = GetGroupLookupGroupKey(
        id = id ?: throw PulumiNullFieldException("id"),
        namespace = namespace,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy