com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs.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.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs(
public val methodSelectors: Output>? =
null,
public val serviceName: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs.builder()
.methodSelectors(
methodSelectors?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.serviceName(serviceName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgs].
*/
@PulumiTagMarker
public class ServicePerimetersServicePerimeterSpecEgressPolicyEgressToOperationArgsBuilder internal constructor() {
private var methodSelectors:
Output>? =
null
private var serviceName: Output? = null
/**
* @param value 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.
*/
@JvmName("vkleiyuurbbpvmqj")
public suspend fun methodSelectors(`value`: Output>) {
this.methodSelectors = value
}
@JvmName("rcnmyfsdjnngriyu")
public suspend fun methodSelectors(vararg values: Output) {
this.methodSelectors = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("buufsmarxikgbymb")
public suspend fun methodSelectors(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy