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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.