GooglePrivacyDlpV2FieldTransformationArgs

data class GooglePrivacyDlpV2FieldTransformationArgs(val condition: Output<GooglePrivacyDlpV2RecordConditionArgs>? = null, val fields: Output<List<GooglePrivacyDlpV2FieldIdArgs>>, val infoTypeTransformations: Output<GooglePrivacyDlpV2InfoTypeTransformationsArgs>? = null, val primitiveTransformation: Output<GooglePrivacyDlpV2PrimitiveTransformationArgs>? = null) : ConvertibleToJava<GooglePrivacyDlpV2FieldTransformationArgs>

The transformation to apply to the field.

Constructors

constructor(condition: Output<GooglePrivacyDlpV2RecordConditionArgs>? = null, fields: Output<List<GooglePrivacyDlpV2FieldIdArgs>>, infoTypeTransformations: Output<GooglePrivacyDlpV2InfoTypeTransformationsArgs>? = null, primitiveTransformation: Output<GooglePrivacyDlpV2PrimitiveTransformationArgs>? = null)

Properties

Link copied to clipboard

Only apply the transformation if the condition evaluates to true for the given RecordCondition. The conditions are allowed to reference fields that are not used in the actual transformation. Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85.

Link copied to clipboard

Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums0.type", use "contact.nums.type".

Link copied to clipboard

Treat the contents of the field as free text, and selectively transform content that matches an InfoType.

Link copied to clipboard

Apply the transformation to the entire field.

Functions

Link copied to clipboard
open override fun toJava(): GooglePrivacyDlpV2FieldTransformationArgs