GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2TransformationErrorHandling (google_api_dlp v0.54.0)

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.

Attributes

  • 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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.