Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordSuppression

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

Configuration to suppress records whose suppression conditions evaluate to true.

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

Returns a new instance of GooglePrivacyDlpV2beta1RecordSuppression



2949
2950
2951
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2949

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

Instance Attribute Details

#conditionGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition

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



2947
2948
2949
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2947

def condition
  @condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2954
2955
2956
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2954

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