Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1RecordCondition

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

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

Returns a new instance of GooglePrivacyDlpV2beta1RecordCondition



2896
2897
2898
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2896

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

Instance Attribute Details

#expressionsGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions

A collection of expressions Corresponds to the JSON property expressions



2894
2895
2896
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2894

def expressions
  @expressions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2901
2902
2903
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 2901

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