com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionDeidentify.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.dataloss.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property cloudStorageOutput User settable Cloud Storage bucket and folders to store de-identified files.
* This field must be set for cloud storage deidentification.
* The output Cloud Storage bucket must be different from the input bucket.
* De-identified files will overwrite files in the output path.
* Form of: gs://bucket/folder/ or gs://bucket
* @property fileTypesToTransforms List of user-specified file type groups to transform. If specified, only the files with these filetypes will be transformed.
* If empty, all supported files will be transformed. Supported types may be automatically added over time.
* If a file type is set in this field that isn't supported by the Deidentify action then the job will fail and will not be successfully created/started.
* Each value may be one of: `IMAGE`, `TEXT_FILE`, `CSV`, `TSV`.
* @property transformationConfig User specified deidentify templates and configs for structured, unstructured, and image files.
* Structure is documented below.
* @property transformationDetailsStorageConfig Config for storing transformation details.
* Structure is documented below.
*/
public data class PreventionJobTriggerInspectJobActionDeidentify(
public val cloudStorageOutput: String,
public val fileTypesToTransforms: List? = null,
public val transformationConfig: PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig? = null,
public val transformationDetailsStorageConfig: PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfig? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataloss.outputs.PreventionJobTriggerInspectJobActionDeidentify): PreventionJobTriggerInspectJobActionDeidentify =
PreventionJobTriggerInspectJobActionDeidentify(
cloudStorageOutput = javaType.cloudStorageOutput(),
fileTypesToTransforms = javaType.fileTypesToTransforms().map({ args0 -> args0 }),
transformationConfig = javaType.transformationConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationConfig.Companion.toKotlin(args0)
})
}).orElse(null),
transformationDetailsStorageConfig = javaType.transformationDetailsStorageConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataloss.kotlin.outputs.PreventionJobTriggerInspectJobActionDeidentifyTransformationDetailsStorageConfig.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy