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

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RecordCondition

Returns a new instance of GooglePrivacyDlpV2RecordCondition.



4920
4921
4922
# File 'generated/google/apis/dlp_v2/classes.rb', line 4920

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



4918
4919
4920
# File 'generated/google/apis/dlp_v2/classes.rb', line 4918

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4925
4926
4927
# File 'generated/google/apis/dlp_v2/classes.rb', line 4925

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