GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TransformationErrorHandling (google_api_dlp v0.41.1) View Source

How to handle transformation errors during de-identification. A transformation error occurs when the requested transformation is incompatible with the data. For example, trying to de-identify an IP address using a DateShift transformation would result in a transformation error, since date info cannot be extracted from an IP address. Information about any incompatible transformations, and how they were handled, is returned in the response as part of the TransformationOverviews.


  • leaveUntransformed (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2LeaveUntransformed.t, default: nil) - Ignore errors
  • throwError (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ThrowError.t, default: nil) - Throw an error

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TransformationErrorHandling{
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2LeaveUntransformed.t() | nil,
  throwError: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ThrowError.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.