Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A type of transformation that is applied over images.
Instance Attribute Summary collapse
-
#transforms ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation>
List of transforms to make.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2ImageTransformations
constructor
A new instance of GooglePrivacyDlpV2ImageTransformations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2ImageTransformations
Returns a new instance of GooglePrivacyDlpV2ImageTransformations.
5253 5254 5255 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#transforms ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation>
List of transforms to make.
Corresponds to the JSON property transforms
5251 5252 5253 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5251 def transforms @transforms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5258 5259 5260 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 5258 def update!(**args) @transforms = args[:transforms] if args.key?(:transforms) end |