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

Request to search for potentially sensitive info in an image and redact it by covering it with a colored rectangle.

Attributes

  • byteItem (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ByteContentItem.t, default: nil) - The content must be PNG, JPEG, SVG or BMP.
  • imageRedactionConfigs (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ImageRedactionConfig.t), default: nil) - The configuration for specifying what content to redact from images.
  • includeFindings (type: boolean(), default: nil) - Whether the response should include findings along with the redacted image.
  • inspectConfig (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectConfig.t, default: nil) - Configuration for the inspector.
  • locationId (type: String.t, default: nil) - Deprecated. This field has no effect.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2RedactImageRequest{
  byteItem: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ByteContentItem.t() | nil,
  imageRedactionConfigs:
    [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2ImageRedactionConfig.t()] | nil,
  includeFindings: boolean() | nil,
  inspectConfig:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectConfig.t() | nil,
  locationId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.