Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordCondition

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

A condition for determining whether a transformation should be applied to a field.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RecordCondition

Returns a new instance of GooglePrivacyDlpV2RecordCondition.



5707
5708
5709
# File 'lib/google/apis/dlp_v2/classes.rb', line 5707

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

Instance Attribute Details

#expressionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2Expressions

An expression, consisting of an operator and conditions. Corresponds to the JSON property expressions



5705
5706
5707
# File 'lib/google/apis/dlp_v2/classes.rb', line 5705

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5712
5713
5714
# File 'lib/google/apis/dlp_v2/classes.rb', line 5712

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