Class: Google::Cloud::Dlp::V2::ImageTransformations
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::ImageTransformations
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
A type of transformation that is applied over images.
Defined Under Namespace
Classes: ImageTransformation
Instance Attribute Summary collapse
-
#transforms ⇒ ::Array<::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation>
List of transforms to make.
Instance Attribute Details
#transforms ⇒ ::Array<::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation>
Returns List of transforms to make.
2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 2128 class ImageTransformations include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration for determining how redaction of images should occur. # @!attribute [rw] selected_info_types # @return [::Google::Cloud::Dlp::V2::ImageTransformations::ImageTransformation::SelectedInfoTypes] # Apply transformation to the selected info_types. # @!attribute [rw] all_info_types # @return [::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. # @!attribute [rw] all_text # @return [::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. # @!attribute [rw] redaction_color # @return [::Google::Cloud::Dlp::V2::Color] # The color to use when redacting content from an image. If not # specified, the default is black. 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 end |