Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordSuppression

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RecordSuppression

Returns a new instance of GooglePrivacyDlpV2RecordSuppression.



5036
5037
5038
# File 'lib/google/apis/dlp_v2/classes.rb', line 5036

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

Instance Attribute Details

#conditionGoogle::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition

A condition for determining whether a transformation should be applied to a field. Corresponds to the JSON property condition



5034
5035
5036
# File 'lib/google/apis/dlp_v2/classes.rb', line 5034

def condition
  @condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5041
5042
5043
# File 'lib/google/apis/dlp_v2/classes.rb', line 5041

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