Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformations
- 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 is applied over structured data such as a table.
Instance Attribute Summary collapse
-
#field_transformations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>
Transform the record by applying various field transformations.
-
#record_suppressions ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression>
Configuration defining which records get suppressed entirely.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordTransformations
constructor
A new instance of GooglePrivacyDlpV2RecordTransformations.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordTransformations
Returns a new instance of GooglePrivacyDlpV2RecordTransformations
4576 4577 4578 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_transformations ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2FieldTransformation>
Transform the record by applying various field transformations.
Corresponds to the JSON property fieldTransformations
4568 4569 4570 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4568 def field_transformations @field_transformations end |
#record_suppressions ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression>
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
4574 4575 4576 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4574 def record_suppressions @record_suppressions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4581 4582 4583 4584 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4581 def update!(**args) @field_transformations = args[:field_transformations] if args.key?(:field_transformations) @record_suppressions = args[:record_suppressions] if args.key?(:record_suppressions) end |