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

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2Conditions

Returns a new instance of GooglePrivacyDlpV2Conditions.



926
927
928
# File 'generated/google/apis/dlp_v2/classes.rb', line 926

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

Instance Attribute Details

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

A collection of conditions. Corresponds to the JSON property conditions



924
925
926
# File 'generated/google/apis/dlp_v2/classes.rb', line 924

def conditions
  @conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
# File 'generated/google/apis/dlp_v2/classes.rb', line 931

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