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

com.pulumi.gcp.bigquerydatapolicy.kotlin.outputs.DataPolicyDataMaskingPolicy.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.bigquerydatapolicy.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 DataPolicyDataMaskingPolicy(
    public val predefinedExpression: String? = null,
    public val routine: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.bigquerydatapolicy.outputs.DataPolicyDataMaskingPolicy): DataPolicyDataMaskingPolicy = DataPolicyDataMaskingPolicy(
            predefinedExpression = javaType.predefinedExpression().map({ args0 -> args0 }).orElse(null),
            routine = javaType.routine().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy