Class RedactImageRequest (0.13.0)

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

The geographic location to process the request. Reserved for future extensions.

The configuration for specifying what content to redact from images.

The content must be PNG, JPEG, SVG or BMP.

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.