Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformations

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ImageTransformations

Returns a new instance of GooglePrivacyDlpV2ImageTransformations.



5554
5555
5556
# File 'lib/google/apis/dlp_v2/classes.rb', line 5554

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#transformsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2ImageTransformation>

List of transforms to make. Corresponds to the JSON property transforms



5552
5553
5554
# File 'lib/google/apis/dlp_v2/classes.rb', line 5552

def transforms
  @transforms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5559
5560
5561
# File 'lib/google/apis/dlp_v2/classes.rb', line 5559

def update!(**args)
  @transforms = args[:transforms] if args.key?(:transforms)
end