com.pulumi.gcp.endpoints.kotlin.inputs.GetServiceConsumersIamPolicyPlainArgs.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.endpoints.kotlin.inputs
import com.pulumi.gcp.endpoints.inputs.GetServiceConsumersIamPolicyPlainArgs.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 getServiceConsumersIamPolicy.
* @property consumerProject
* @property serviceName
*/
public data class GetServiceConsumersIamPolicyPlainArgs(
public val consumerProject: String,
public val serviceName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.endpoints.inputs.GetServiceConsumersIamPolicyPlainArgs =
com.pulumi.gcp.endpoints.inputs.GetServiceConsumersIamPolicyPlainArgs.builder()
.consumerProject(consumerProject.let({ args0 -> args0 }))
.serviceName(serviceName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetServiceConsumersIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetServiceConsumersIamPolicyPlainArgsBuilder internal constructor() {
private var consumerProject: String? = null
private var serviceName: String? = null
/**
* @param value
*/
@JvmName("sobfjtoolnewthtx")
public suspend fun consumerProject(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.consumerProject = mapped
}
/**
* @param value
*/
@JvmName("qyawhcocrxittnec")
public suspend fun serviceName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceName = mapped
}
internal fun build(): GetServiceConsumersIamPolicyPlainArgs =
GetServiceConsumersIamPolicyPlainArgs(
consumerProject = consumerProject ?: throw PulumiNullFieldException("consumerProject"),
serviceName = serviceName ?: throw PulumiNullFieldException("serviceName"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy