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.



3638
3639
3640
# File 'lib/google/apis/dlp_v2/classes.rb', line 3638

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

Instance Attribute Details

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

Corresponds to the JSON property transforms



3636
3637
3638
# File 'lib/google/apis/dlp_v2/classes.rb', line 3636

def transforms
  @transforms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3643
3644
3645
# File 'lib/google/apis/dlp_v2/classes.rb', line 3643

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