Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyConfig

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

The configuration that controls how the data will change.

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) ⇒ GooglePrivacyDlpV2beta1DeidentifyConfig

Returns a new instance of GooglePrivacyDlpV2beta1DeidentifyConfig



1108
1109
1110
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1108

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

Instance Attribute Details

#info_type_transformationsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoTypeTransformations

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. Corresponds to the JSON property infoTypeTransformations



1100
1101
1102
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1100

def info_type_transformations
  @info_type_transformations
end

#record_transformationsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordTransformations

A type of transformation that is applied over structured data such as a table. Corresponds to the JSON property recordTransformations



1106
1107
1108
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1106

def record_transformations
  @record_transformations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1113
1114
1115
1116
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1113

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