Configuration for determining how redaction of images should occur.
JSON representation |
---|
{ "redactionColor": { object ( |
Fields | |
---|---|
redactionColor |
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 |
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 |
If true, all text found in the image, regardless whether it matches an infoType, is redacted. Only one should be provided. |