View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TransformationDescription (google_api_dlp v0.46.0)

A flattened description of a PrimitiveTransformation or RecordSuppression.

Attributes

  • condition (type: String.t, default: nil) - A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation. Examples: (age_field > 85) (age_field <= 18) (zip_field exists) (zip_field == 01234) && (city_field != "Springville") * (zip_field == 01234) && (age_field <= 18) && (city_field exists)
  • description (type: String.t, default: nil) - A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.
  • infoType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t, default: nil) - Set if the transformation was limited to a specific InfoType.
  • type (type: String.t, default: nil) - The transformation type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TransformationDescription{
  condition: String.t() | nil,
  description: String.t() | nil,
  infoType: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.