Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation.
Configuration for determining how redaction of images should occur.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#all_info_types
def all_info_types() -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes) — Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types. Only one instance is allowed
within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_info_types
,selected_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#all_info_types=
def all_info_types=(value) -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
-
value (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes) — Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types. Only one instance is allowed
within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_info_types
,selected_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes) — Apply transformation to all findings not specified in other
ImageTransformation's selected_info_types. Only one instance is allowed
within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_info_types
,selected_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#all_text
def all_text() -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only
one instance is allowed within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_text
,selected_info_types
,all_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#all_text=
def all_text=(value) -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
-
value (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only
one instance is allowed within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_text
,selected_info_types
,all_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText) — Apply transformation to all text that doesn't match an infoType. Only
one instance is allowed within the ImageTransformations message.
Note: The following fields are mutually exclusive:
all_text
,selected_info_types
,all_info_types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#redaction_color
def redaction_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=
def redaction_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.
#selected_info_types
def selected_info_types() -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.
Note: The following fields are mutually exclusive:
selected_info_types
,all_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#selected_info_types=
def selected_info_types=(value) -> ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
-
value (::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.
Note: The following fields are mutually exclusive:
selected_info_types
,all_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes) — Apply transformation to the selected info_types.
Note: The following fields are mutually exclusive:
selected_info_types
,all_info_types
,all_text
. If a field in that set is populated, all other fields in the set will automatically be cleared.