google_api_dlp v0.36.0 GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldTransformation View Source
The transformation to apply to the field.
Attributes
condition
(type:GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2RecordCondition.t
, default:nil
) - Only apply the transformation if the condition evaluates to true for the givenRecordCondition
. 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.
fields
(type:list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t)
, default:nil
) - Required. Input field(s) to apply the transformation to.infoTypeTransformations
(type:GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoTypeTransformations.t
, default:nil
) - Treat the contents of the field as free text, and selectively transform content that matches anInfoType
.primitiveTransformation
(type:GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2PrimitiveTransformation.t
, default:nil
) - Apply the transformation to the entire field.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldTransformation{ condition: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2RecordCondition.t(), fields: [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t()], infoTypeTransformations: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoTypeTransformations.t(), primitiveTransformation: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2PrimitiveTransformation.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.