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

com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs.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
ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs(
    public val method: Output? = null,
    public val permission: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs =
        com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs.builder()
            .method(method?.applyValue({ args0 -> args0 }))
            .permission(permission?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgs].
 */
@PulumiTagMarker
public class
ServicePerimetersServicePerimeterStatusIngressPolicyIngressToOperationMethodSelectorArgsBuilder
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("tbnfwatndjpvdrvo")
    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("btlkshuxduoyffsj")
    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("kxmgnvkftlnqsfid")
    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("qjfalgptqkkfsbbf")
    public suspend fun permission(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.permission = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy