com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs.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.ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs.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 ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs(
public val method: Output? = null,
public val permission: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs.builder()
.method(method?.applyValue({ args0 -> args0 }))
.permission(permission?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs].
*/
@PulumiTagMarker
public class ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgsBuilder 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("qydvlexdkbhveryg")
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("ngxlhhasyjtlpagt")
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("mntkxvtntgihjxjm")
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("dkxfigablhcallrs")
public suspend fun permission(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.permission = mapped
}
internal fun build(): ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs =
ServicePerimeterSpecIngressPolicyIngressToOperationMethodSelectorArgs(
method = method,
permission = permission,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy