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

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


  • 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.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


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

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.