Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformations

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/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) ⇒ GooglePrivacyDlpV2InfoTypeTransformations

Returns a new instance of GooglePrivacyDlpV2InfoTypeTransformations



2703
2704
2705
# File 'generated/google/apis/dlp_v2/classes.rb', line 2703

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

Instance Attribute Details

#transformationsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeTransformation>

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



2701
2702
2703
# File 'generated/google/apis/dlp_v2/classes.rb', line 2701

def transformations
  @transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2708
2709
2710
# File 'generated/google/apis/dlp_v2/classes.rb', line 2708

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