Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions

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 collection of conditions.

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

Returns a new instance of GooglePrivacyDlpV2Conditions



904
905
906
# File 'generated/google/apis/dlp_v2/classes.rb', line 904

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

Instance Attribute Details

#conditionsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Condition>

Corresponds to the JSON property conditions



902
903
904
# File 'generated/google/apis/dlp_v2/classes.rb', line 902

def conditions
  @conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



909
910
911
# File 'generated/google/apis/dlp_v2/classes.rb', line 909

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