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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDeidentifyTemplateDeidentifyConfig.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataloss.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property imageTransformations Treat the dataset as an image and redact.
 * Structure is documented below.
 * @property infoTypeTransformations Treat the dataset as free-form text and apply the same free text transformation everywhere
 * Structure is documented below.
 * @property recordTransformations Treat the dataset as structured. Transformations can be applied to specific locations within structured datasets, such as transforming a column within a table.
 * Structure is documented below.
 */
public data class PreventionDeidentifyTemplateDeidentifyConfig(
    public val imageTransformations: PreventionDeidentifyTemplateDeidentifyConfigImageTransformations? =
        null,
    public val infoTypeTransformations: PreventionDeidentifyTemplateDeidentifyConfigInfoTypeTransformations? = null,
    public val recordTransformations: PreventionDeidentifyTemplateDeidentifyConfigRecordTransformations? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionDeidentifyTemplateDeidentifyConfig): PreventionDeidentifyTemplateDeidentifyConfig = PreventionDeidentifyTemplateDeidentifyConfig(
            imageTransformations = javaType.imageTransformations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDeidentifyTemplateDeidentifyConfigImageTransformations.Companion.toKotlin(args0)
                })
            }).orElse(null),
            infoTypeTransformations = javaType.infoTypeTransformations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDeidentifyTemplateDeidentifyConfigInfoTypeTransformations.Companion.toKotlin(args0)
                })
            }).orElse(null),
            recordTransformations = javaType.recordTransformations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.dataloss.kotlin.outputs.PreventionDeidentifyTemplateDeidentifyConfigRecordTransformations.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy