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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/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.



1546
1547
1548
# File 'lib/google/apis/dlp_v2/classes.rb', line 1546

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

Instance Attribute Details

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

A collection of conditions. Corresponds to the JSON property conditions



1544
1545
1546
# File 'lib/google/apis/dlp_v2/classes.rb', line 1544

def conditions
  @conditions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1551
1552
1553
# File 'lib/google/apis/dlp_v2/classes.rb', line 1551

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