Class: Google::Privacy::Dlp::V2::RedactImageRequest::ImageRedactionConfig
- Inherits:
-
Object
- Object
- Google::Privacy::Dlp::V2::RedactImageRequest::ImageRedactionConfig
- Defined in:
- lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb
Overview
Configuration for determining how redaction of images should occur.
Instance Attribute Summary collapse
-
#info_type ⇒ Google::Privacy::Dlp::V2::InfoType
Only one per info_type should be provided per request.
-
#redact_all_text ⇒ true, false
If true, all text found in the image, regardless whether it matches an info_type, is redacted.
-
#redaction_color ⇒ Google::Privacy::Dlp::V2::Color
The color to use when redacting content from an image.
Instance Attribute Details
#info_type ⇒ Google::Privacy::Dlp::V2::InfoType
Returns 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.
325 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 325 class ImageRedactionConfig; end |
#redact_all_text ⇒ true, false
Returns If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided.
325 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 325 class ImageRedactionConfig; end |
#redaction_color ⇒ Google::Privacy::Dlp::V2::Color
Returns The color to use when redacting content from an image. If not specified, the default is black.
325 |
# File 'lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb', line 325 class ImageRedactionConfig; end |