ImageRedactionConfig

Configuration for determining how redaction of images should occur.

JSON representation
{
  "redactionColor": {
    object (Color)
  },

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "infoType": {
    object (InfoType)
  },
  "redactAllText": boolean
  // End of mutually exclusive fields.
}
Fields
redactionColor

object (Color)

The color to use when redacting content from an image. If not specified, the default is black.

Type of information to redact from images. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
infoType

object (InfoType)

Only one per infoType should be provided per request. If not specified, and redactAllText is false, the DLP API will redact all text that it matches against all infoTypes that are found, but not specified in another ImageRedactionConfig.

redactAllText

boolean

If true, all text found in the image, regardless whether it matches an infoType, is redacted. Only one should be provided.

End of mutually exclusive fields.