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.



3327
3328
3329
# File 'lib/google/apis/dlp_v2/classes.rb', line 3327

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

Instance Attribute Details

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

Corresponds to the JSON property transforms



3325
3326
3327
# File 'lib/google/apis/dlp_v2/classes.rb', line 3325

def transforms
  @transforms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3332
3333
3334
# File 'lib/google/apis/dlp_v2/classes.rb', line 3332

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