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

com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs.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.12.0.0
Show newest version
@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.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs.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 ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
    public val method: Output? = null,
    public val permission: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs =
        com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs.builder()
            .method(method?.applyValue({ args0 -> args0 }))
            .permission(permission?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs].
 */
@PulumiTagMarker
public class ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgsBuilder 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("ompwhbpilmeyuomw")
    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("ddrwvevwnvltvmrj")
    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("isgrkumilwkscsgq")
    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("tumwanunsyebidsv")
    public suspend fun permission(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.permission = mapped
    }

    internal fun build(): ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs =
        ServicePerimeterIngressPolicyIngressToOperationMethodSelectorArgs(
            method = method,
            permission = permission,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy