Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions

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

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

Returns a new instance of GooglePrivacyDlpV2beta1Conditions



728
729
730
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 728

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

Instance Attribute Details

#conditionsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Condition>

Corresponds to the JSON property conditions



726
727
728
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 726

def conditions
  @conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



733
734
735
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 733

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