Google Privacy Dlp V2Field Transformation Response
data class GooglePrivacyDlpV2FieldTransformationResponse(val condition: GooglePrivacyDlpV2RecordConditionResponse, val fields: List<GooglePrivacyDlpV2FieldIdResponse>, val infoTypeTransformations: GooglePrivacyDlpV2InfoTypeTransformationsResponse, val primitiveTransformation: GooglePrivacyDlpV2PrimitiveTransformationResponse)
The transformation to apply to the field.
Constructors
Link copied to clipboard
fun GooglePrivacyDlpV2FieldTransformationResponse(condition: GooglePrivacyDlpV2RecordConditionResponse, fields: List<GooglePrivacyDlpV2FieldIdResponse>, infoTypeTransformations: GooglePrivacyDlpV2InfoTypeTransformationsResponse, primitiveTransformation: GooglePrivacyDlpV2PrimitiveTransformationResponse)
Types
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.