com.pulumi.googlenative.dataplex.v1.kotlin.inputs.GoogleCloudDataplexV1DataAccessSpecArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dataplex.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1DataAccessSpecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* DataAccessSpec holds the access control configuration to be enforced on data stored within resources (eg: rows, columns in BigQuery Tables). When associated with data, the data is only accessible to principals explicitly granted access through the DataAccessSpec. Principals with access to the containing resource are not implicitly granted access.
* @property readers Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
*/
public data class GoogleCloudDataplexV1DataAccessSpecArgs(
public val readers: Output>? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1DataAccessSpecArgs =
com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1DataAccessSpecArgs.builder()
.readers(readers?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [GoogleCloudDataplexV1DataAccessSpecArgs].
*/
@PulumiTagMarker
public class GoogleCloudDataplexV1DataAccessSpecArgsBuilder internal constructor() {
private var readers: Output>? = null
/**
* @param value Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
*/
@JvmName("ratsjnxuegqgubqa")
public suspend fun readers(`value`: Output>) {
this.readers = value
}
@JvmName("gdxjmduisafmthid")
public suspend fun readers(vararg values: Output) {
this.readers = Output.all(values.asList())
}
/**
* @param values Optional. The format of strings follows the pattern followed by IAM in the bindings. user:{email}, serviceAccount:{email} group:{email}. The set of principals to be granted reader role on data stored within resources.
*/
@JvmName("svofoxeucsnqrlnq")
public suspend fun readers(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy