com.pulumi.gcp.bigquery.kotlin.inputs.DatasetAccessDatasetArgs.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.bigquery.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquery.inputs.DatasetAccessDatasetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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 dataset The dataset this entry applies to
* Structure is documented below.
* @property targetTypes Which resources in the dataset this entry applies to. Currently, only views are supported,
* but additional target types may be added in the future. Possible values: VIEWS
*/
public data class DatasetAccessDatasetArgs(
public val dataset: Output,
public val targetTypes: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquery.inputs.DatasetAccessDatasetArgs =
com.pulumi.gcp.bigquery.inputs.DatasetAccessDatasetArgs.builder()
.dataset(dataset.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.targetTypes(targetTypes.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DatasetAccessDatasetArgs].
*/
@PulumiTagMarker
public class DatasetAccessDatasetArgsBuilder internal constructor() {
private var dataset: Output? = null
private var targetTypes: Output>? = null
/**
* @param value The dataset this entry applies to
* Structure is documented below.
*/
@JvmName("bfyutkuemcslspds")
public suspend fun dataset(`value`: Output) {
this.dataset = value
}
/**
* @param value Which resources in the dataset this entry applies to. Currently, only views are supported,
* but additional target types may be added in the future. Possible values: VIEWS
*/
@JvmName("joijxcjwuciedqsv")
public suspend fun targetTypes(`value`: Output>) {
this.targetTypes = value
}
@JvmName("kpbkmvgptgwkjbve")
public suspend fun targetTypes(vararg values: Output) {
this.targetTypes = Output.all(values.asList())
}
/**
* @param values Which resources in the dataset this entry applies to. Currently, only views are supported,
* but additional target types may be added in the future. Possible values: VIEWS
*/
@JvmName("pkakhwmowipkuwgx")
public suspend fun targetTypes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy