com.pulumi.gcp.bigquerydatapolicy.kotlin.inputs.DataPolicyDataMaskingPolicyArgs.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.bigquerydatapolicy.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.bigquerydatapolicy.inputs.DataPolicyDataMaskingPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property predefinedExpression The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
* Possible values are: `SHA256`, `ALWAYS_NULL`, `DEFAULT_MASKING_VALUE`, `LAST_FOUR_CHARACTERS`, `FIRST_FOUR_CHARACTERS`, `EMAIL_MASK`, `DATE_YEAR_MASK`.
* @property routine The name of the BigQuery routine that contains the custom masking routine, in the format of projects/{projectNumber}/datasets/{dataset_id}/routines/{routine_id}.
*/
public data class DataPolicyDataMaskingPolicyArgs(
public val predefinedExpression: Output? = null,
public val routine: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.bigquerydatapolicy.inputs.DataPolicyDataMaskingPolicyArgs =
com.pulumi.gcp.bigquerydatapolicy.inputs.DataPolicyDataMaskingPolicyArgs.builder()
.predefinedExpression(predefinedExpression?.applyValue({ args0 -> args0 }))
.routine(routine?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataPolicyDataMaskingPolicyArgs].
*/
@PulumiTagMarker
public class DataPolicyDataMaskingPolicyArgsBuilder internal constructor() {
private var predefinedExpression: Output? = null
private var routine: Output? = null
/**
* @param value The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
* Possible values are: `SHA256`, `ALWAYS_NULL`, `DEFAULT_MASKING_VALUE`, `LAST_FOUR_CHARACTERS`, `FIRST_FOUR_CHARACTERS`, `EMAIL_MASK`, `DATE_YEAR_MASK`.
*/
@JvmName("lmfbnelupikwstee")
public suspend fun predefinedExpression(`value`: Output) {
this.predefinedExpression = value
}
/**
* @param value The name of the BigQuery routine that contains the custom masking routine, in the format of projects/{projectNumber}/datasets/{dataset_id}/routines/{routine_id}.
*/
@JvmName("ypajtfqjphxmpyyi")
public suspend fun routine(`value`: Output) {
this.routine = value
}
/**
* @param value The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.
* Possible values are: `SHA256`, `ALWAYS_NULL`, `DEFAULT_MASKING_VALUE`, `LAST_FOUR_CHARACTERS`, `FIRST_FOUR_CHARACTERS`, `EMAIL_MASK`, `DATE_YEAR_MASK`.
*/
@JvmName("nwlplwuqekpulkie")
public suspend fun predefinedExpression(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.predefinedExpression = mapped
}
/**
* @param value The name of the BigQuery routine that contains the custom masking routine, in the format of projects/{projectNumber}/datasets/{dataset_id}/routines/{routine_id}.
*/
@JvmName("yhuhbpmokstuhybr")
public suspend fun routine(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.routine = mapped
}
internal fun build(): DataPolicyDataMaskingPolicyArgs = DataPolicyDataMaskingPolicyArgs(
predefinedExpression = predefinedExpression,
routine = routine,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy