com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @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 ServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector(
public val method: String? = null,
public val permission: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector): ServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector =
ServicePerimeterSpecEgressPolicyEgressToOperationMethodSelector(
method = javaType.method().map({ args0 -> args0 }).orElse(null),
permission = javaType.permission().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy