Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Expressions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
An expression, consisting or an operator and conditions.
Instance Attribute Summary collapse
-
#conditions ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions
A collection of conditions.
-
#logical_operator ⇒ String
The operator to apply to the result of conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Expressions
constructor
A new instance of GooglePrivacyDlpV2beta2Expressions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Expressions
Returns a new instance of GooglePrivacyDlpV2beta2Expressions
3113 3114 3115 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Conditions
A collection of conditions.
Corresponds to the JSON property conditions
3105 3106 3107 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3105 def conditions @conditions end |
#logical_operator ⇒ String
The operator to apply to the result of conditions. Default and currently
only supported value is AND
.
Corresponds to the JSON property logicalOperator
3111 3112 3113 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3111 def logical_operator @logical_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3118 3119 3120 3121 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3118 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @logical_operator = args[:logical_operator] if args.key?(:logical_operator) end |