Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
Configuration to suppress records whose suppression conditions evaluate to true.
Instance Attribute Summary collapse
-
#condition ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition
A condition for determining whether a transformation should be applied to a field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordSuppression
constructor
A new instance of GooglePrivacyDlpV2RecordSuppression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RecordSuppression
Returns a new instance of GooglePrivacyDlpV2RecordSuppression.
6637 6638 6639 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition
A condition for determining whether a transformation should be applied to a
field.
Corresponds to the JSON property condition
6635 6636 6637 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6635 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6642 6643 6644 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 6642 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |