Class: Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Configuration for determining how redaction of images should occur.
Defined Under Namespace
Classes: AllInfoTypes, AllText, SelectedInfoTypes
Instance Attribute Summary collapse
-
#all_info_types ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
Apply transformation to all findings not specified in other ImageTransformation’s selected_info_types.
-
#all_text ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
Apply transformation to all text that doesn’t match an infoType.
-
#redaction_color ⇒ ::Google::Cloud::Dlp::V2::Color
The color to use when redacting content from an image.
-
#selected_info_types ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Apply transformation to the selected info_types.
Instance Attribute Details
#all_info_types ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllInfoTypes
Returns Apply transformation to all findings not specified in other ImageTransformation’s selected_info_types. Only one instance is allowed within the ImageTransformations message.
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2187 class ImageTransformation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apply transformation to the selected info_types. # @!attribute [rw] info_types # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>] # Required. InfoTypes to apply the transformation to. Required. Provided # InfoType must be unique within the ImageTransformations message. class SelectedInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply transformation to all findings. class AllInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply to all text. class AllText include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#all_text ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::AllText
Returns Apply transformation to all text that doesn’t match an infoType. Only one instance is allowed within the ImageTransformations message.
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2187 class ImageTransformation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apply transformation to the selected info_types. # @!attribute [rw] info_types # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>] # Required. InfoTypes to apply the transformation to. Required. Provided # InfoType must be unique within the ImageTransformations message. class SelectedInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply transformation to all findings. class AllInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply to all text. class AllText include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#redaction_color ⇒ ::Google::Cloud::Dlp::V2::Color
Returns The color to use when redacting content from an image. If not specified, the default is black.
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2187 class ImageTransformation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apply transformation to the selected info_types. # @!attribute [rw] info_types # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>] # Required. InfoTypes to apply the transformation to. Required. Provided # InfoType must be unique within the ImageTransformations message. class SelectedInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply transformation to all findings. class AllInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply to all text. class AllText include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#selected_info_types ⇒ ::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes
Returns Apply transformation to the selected info_types.
2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2187 class ImageTransformation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Apply transformation to the selected info_types. # @!attribute [rw] info_types # @return [::Array<::Google::Cloud::Dlp::V2::InfoType>] # Required. InfoTypes to apply the transformation to. Required. Provided # InfoType must be unique within the ImageTransformations message. class SelectedInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply transformation to all findings. class AllInfoTypes include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Apply to all text. class AllText include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |