All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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
ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector(
    public val method: String? = null,
    public val permission: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector): ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector =
            ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelector(
                method = javaType.method().map({ args0 -> args0 }).orElse(null),
                permission = javaType.permission().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy