Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations to each finding, where the transformation is applied to only values that were identified as a specific info_type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta1InfoTypeTransformations

Returns a new instance of GooglePrivacyDlpV2beta1InfoTypeTransformations



1447
1448
1449
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1447

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

Instance Attribute Details

#transformationsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformation>

Transformation for each info type. Cannot specify more than one for a given info type. [required] Corresponds to the JSON property transformations



1445
1446
1447
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1445

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1452
1453
1454
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1452

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