Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RecordCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/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) ⇒ GooglePrivacyDlpV2beta2RecordCondition

Returns a new instance of GooglePrivacyDlpV2beta2RecordCondition



5134
5135
5136
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5134

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

Instance Attribute Details

#expressionsGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions

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



5132
5133
5134
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5132

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5139
5140
5141
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5139

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