Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordTransformations

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 is applied over structured data such as a table.

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

Returns a new instance of GooglePrivacyDlpV2beta1RecordTransformations



2975
2976
2977
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2975

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

Instance Attribute Details

#field_transformationsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldTransformation>

Transform the record by applying various field transformations. Corresponds to the JSON property fieldTransformations



2967
2968
2969
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2967

def field_transformations
  @field_transformations
end

#record_suppressionsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression>

Configuration defining which records get suppressed entirely. Records that match any suppression rule are omitted from the output [optional]. Corresponds to the JSON property recordSuppressions



2973
2974
2975
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2973

def record_suppressions
  @record_suppressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2980
2981
2982
2983
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2980

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