com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs.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.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property method Value for `method` should be a valid method name for the corresponding
* `serviceName` in `ApiOperation`. If `*` used as value for method,
* then ALL methods and permissions are allowed.
* @property permission Value for permission should be a valid Cloud IAM permission for the
* corresponding `serviceName` in `ApiOperation`.
*/
public data class ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
public val method: Output? = null,
public val permission: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs.builder()
.method(method?.applyValue({ args0 -> args0 }))
.permission(permission?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs].
*/
@PulumiTagMarker
public class ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgsBuilder internal constructor() {
private var method: Output? = null
private var permission: Output? = null
/**
* @param value Value for `method` should be a valid method name for the corresponding
* `serviceName` in `ApiOperation`. If `*` used as value for method,
* then ALL methods and permissions are allowed.
*/
@JvmName("exolfuwuebhuopic")
public suspend fun method(`value`: Output) {
this.method = value
}
/**
* @param value Value for permission should be a valid Cloud IAM permission for the
* corresponding `serviceName` in `ApiOperation`.
*/
@JvmName("rtnhddrngbylbwbp")
public suspend fun permission(`value`: Output) {
this.permission = value
}
/**
* @param value Value for `method` should be a valid method name for the corresponding
* `serviceName` in `ApiOperation`. If `*` used as value for method,
* then ALL methods and permissions are allowed.
*/
@JvmName("xkkpwqscpadxxwln")
public suspend fun method(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.method = mapped
}
/**
* @param value Value for permission should be a valid Cloud IAM permission for the
* corresponding `serviceName` in `ApiOperation`.
*/
@JvmName("vtqsboicmicehqxn")
public suspend fun permission(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.permission = mapped
}
internal fun build(): ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs =
ServicePerimeterEgressPolicyEgressToOperationMethodSelectorArgs(
method = method,
permission = permission,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy