Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig (v1.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::RedactImageRequest::ImageRedactionConfig.
Configuration for determining how redaction of images should occur.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#info_type
definfo_type()->::Google::Cloud::Dlp::V2::InfoType-
(::Google::Cloud::Dlp::V2::InfoType) — 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.
Note: The following fields are mutually exclusive:
info_type,redact_all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.
#info_type=
definfo_type=(value)->::Google::Cloud::Dlp::V2::InfoType-
value (::Google::Cloud::Dlp::V2::InfoType) — 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.
Note: The following fields are mutually exclusive:
info_type,redact_all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::InfoType) — 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.
Note: The following fields are mutually exclusive:
info_type,redact_all_text. If a field in that set is populated, all other fields in the set will automatically be cleared.
#redact_all_text
defredact_all_text()->::Boolean-
(::Boolean) — If true, all text found in the image, regardless whether it matches an
info_type, is redacted. Only one should be provided.
Note: The following fields are mutually exclusive:
redact_all_text,info_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
#redact_all_text=
defredact_all_text=(value)->::Boolean-
value (::Boolean) — If true, all text found in the image, regardless whether it matches an
info_type, is redacted. Only one should be provided.
Note: The following fields are mutually exclusive:
redact_all_text,info_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Boolean) — If true, all text found in the image, regardless whether it matches an
info_type, is redacted. Only one should be provided.
Note: The following fields are mutually exclusive:
redact_all_text,info_type. If a field in that set is populated, all other fields in the set will automatically be cleared.
#redaction_color
defredaction_color()->::Google::Cloud::Dlp::V2::Color- (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.
#redaction_color=
defredaction_color=(value)->::Google::Cloud::Dlp::V2::Color- value (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.
- (::Google::Cloud::Dlp::V2::Color) — The color to use when redacting content from an image. If not specified, the default is black.