Configuration for determining how redaction of images should occur.

JSON representation
  "redactionColor": {
    object (Color)

  // Union field target can be only one of the following:
  "infoType": {
    object (InfoType)
  "redactAllText": boolean
  // End of list of possible types for union field target.

object (Color)

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

Union field target. Type of information to redact from images. target can be only one of the following:

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.



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