com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterStatusEgressPolicyEgressToOperation.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
import kotlin.collections.List
/**
*
* @property methodSelectors API methods or permissions to allow. Method or permission must belong
* to the service specified by `serviceName` field. A single MethodSelector
* entry with `*` specified for the `method` field will allow all methods
* AND permissions for the service specified in `serviceName`.
* Structure is documented below.
* @property serviceName The name of the API whose methods or permissions the `IngressPolicy` or
* `EgressPolicy` want to allow. A single `ApiOperation` with serviceName
* field set to `*` will allow all methods AND permissions for all services.
*/
public data class ServicePerimeterStatusEgressPolicyEgressToOperation(
public val methodSelectors: List? = null,
public val serviceName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterStatusEgressPolicyEgressToOperation): ServicePerimeterStatusEgressPolicyEgressToOperation =
ServicePerimeterStatusEgressPolicyEgressToOperation(
methodSelectors = javaType.methodSelectors().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterStatusEgressPolicyEgressToOperationMethodSelector.Companion.toKotlin(args0)
})
}),
serviceName = javaType.serviceName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy