com.pulumi.gcp.cloudidentity.kotlin.inputs.GetGroupsPlainArgs.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.gcp.cloudidentity.inputs.GetGroupsPlainArgs.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
/**
* A collection of arguments for invoking getGroups.
* @property parent The parent resource under which to list all Groups. Must be of the form identitysources/{identity_source_id} for external- identity-mapped groups or customers/{customer_id} for Google Groups.
*/
public data class GetGroupsPlainArgs(
public val parent: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudidentity.inputs.GetGroupsPlainArgs =
com.pulumi.gcp.cloudidentity.inputs.GetGroupsPlainArgs.builder()
.parent(parent.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetGroupsPlainArgs].
*/
@PulumiTagMarker
public class GetGroupsPlainArgsBuilder internal constructor() {
private var parent: String? = null
/**
* @param value The parent resource under which to list all Groups. Must be of the form identitysources/{identity_source_id} for external- identity-mapped groups or customers/{customer_id} for Google Groups.
*/
@JvmName("nfmuojnjqpsjmhov")
public suspend fun parent(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.parent = mapped
}
internal fun build(): GetGroupsPlainArgs = GetGroupsPlainArgs(
parent = parent ?: throw PulumiNullFieldException("parent"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy