google_api_dlp v0.9.0 GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FieldTransformation View Source
The transformation to apply to the field.
Attributes
- condition (GooglePrivacyDlpV2RecordCondition): 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. [optional] 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. Defaults to:
null. - fields ([GooglePrivacyDlpV2FieldId]): Input field(s) to apply the transformation to. [required] Defaults to:
null. - infoTypeTransformations (GooglePrivacyDlpV2InfoTypeTransformations): Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`. Defaults to:
null. - primitiveTransformation (GooglePrivacyDlpV2PrimitiveTransformation): Apply the transformation to the entire field. Defaults to:
null.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
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()
}
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
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.