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

Inherits:
Object
  • Object
show all
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 condition for determining whether a transformation should be applied to a field.

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

Returns a new instance of GooglePrivacyDlpV2RecordCondition.



4714
4715
4716
# File 'generated/google/apis/dlp_v2/classes.rb', line 4714

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

Instance Attribute Details

#expressionsGoogle::Apis::DlpV2::GooglePrivacyDlpV2Expressions

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



4712
4713
4714
# File 'generated/google/apis/dlp_v2/classes.rb', line 4712

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4719
4720
4721
# File 'generated/google/apis/dlp_v2/classes.rb', line 4719

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