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

com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig.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.String
import kotlin.Suppress

/**
 *
 * @property deidentifyTemplate If this template is specified, it will serve as the default de-identify template.
 * @property imageRedactTemplate If this template is specified, it will serve as the de-identify template for images.
 * @property structuredDeidentifyTemplate If this template is specified, it will serve as the de-identify template for structured content such as delimited files and tables.
 */
public data class PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig(
    public val deidentifyTemplate: String? = null,
    public val imageRedactTemplate: String? = null,
    public val structuredDeidentifyTemplate: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig): PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig =
            PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig(
                deidentifyTemplate = javaType.deidentifyTemplate().map({ args0 -> args0 }).orElse(null),
                imageRedactTemplate = javaType.imageRedactTemplate().map({ args0 -> args0 }).orElse(null),
                structuredDeidentifyTemplate = javaType.structuredDeidentifyTemplate().map({ args0 ->
                    args0
                }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy