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

com.pulumi.gcp.logging.kotlin.inputs.GetLogViewIamPolicyPlainArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.logging.kotlin.inputs

import com.pulumi.gcp.logging.inputs.GetLogViewIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getLogViewIamPolicy.
 * @property bucket The bucket of the resource Used to find the parent resource to bind the IAM policy to
 * @property location The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
 * the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
 * location is specified, it is taken from the provider configuration.
 * @property name Used to find the parent resource to bind the IAM policy to
 * @property parent The parent of the resource. Used to find the parent resource to bind the IAM policy to
 */
public data class GetLogViewIamPolicyPlainArgs(
    public val bucket: String,
    public val location: String? = null,
    public val name: String,
    public val parent: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.logging.inputs.GetLogViewIamPolicyPlainArgs =
        com.pulumi.gcp.logging.inputs.GetLogViewIamPolicyPlainArgs.builder()
            .bucket(bucket.let({ args0 -> args0 }))
            .location(location?.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 }))
            .parent(parent.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetLogViewIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetLogViewIamPolicyPlainArgsBuilder internal constructor() {
    private var bucket: String? = null

    private var location: String? = null

    private var name: String? = null

    private var parent: String? = null

    /**
     * @param value The bucket of the resource Used to find the parent resource to bind the IAM policy to
     */
    @JvmName("sytdtvllavfdtkct")
    public suspend fun bucket(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.bucket = mapped
    }

    /**
     * @param value The location of the resource. The supported locations are: global, us-central1, us-east1, us-west1, asia-east1, europe-west1. Used to find the parent resource to bind the IAM policy to. If not specified,
     * the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no
     * location is specified, it is taken from the provider configuration.
     */
    @JvmName("qjcnytfiuiqbeina")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value Used to find the parent resource to bind the IAM policy to
     */
    @JvmName("yubwevjajbwdmfxi")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    /**
     * @param value The parent of the resource. Used to find the parent resource to bind the IAM policy to
     */
    @JvmName("pashvxhjaipydlbr")
    public suspend fun parent(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.parent = mapped
    }

    internal fun build(): GetLogViewIamPolicyPlainArgs = GetLogViewIamPolicyPlainArgs(
        bucket = bucket ?: throw PulumiNullFieldException("bucket"),
        location = location,
        name = name ?: throw PulumiNullFieldException("name"),
        parent = parent ?: throw PulumiNullFieldException("parent"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy