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

Configuration for determining how redaction of images should occur.

Attributes

  • infoType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t, default: nil) - Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
  • redactAllText (type: boolean(), default: nil) - If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided.
  • redactionColor (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Color.t, default: nil) - The color to use when redacting content from an image. If not specified, the default is black.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ImageRedactionConfig{
  infoType: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t() | nil,
  redactAllText: boolean() | nil,
  redactionColor: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Color.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.