Class RedactImageRequest (0.12.1)

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

Configuration for the inspector.

Whether the response should include findings along with the redacted image.

Inheritance

builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > RedactImageRequest

Classes

ImageRedactionConfig

Configuration for determining how redaction of images should occur.

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

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