ImageRedactionConfig

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.
}
Fields
redactionColor

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

Color

Represents a color in the RGB color space.

JSON representation
{
  "red": number,
  "green": number,
  "blue": number
}
Fields
red

number

The amount of red in the color as a value in the interval [0, 1].

green

number

The amount of green in the color as a value in the interval [0, 1].

blue

number

The amount of blue in the color as a value in the interval [0, 1].

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...

Data Loss Prevention Documentation