View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldTransformation (google_api_dlp v0.46.0)
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. 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.nums[0].type", use "contact.nums.type". -
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldTransformation{ condition: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2RecordCondition.t() | nil, fields: [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldId.t()] | nil, infoTypeTransformations: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoTypeTransformations.t() | nil, primitiveTransformation: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2PrimitiveTransformation.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.