Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Expressions
- 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
An expression, consisting of an operator and conditions.
Instance Attribute Summary collapse
-
#conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions
A collection of conditions.
-
#logical_operator ⇒ String
The operator to apply to the result of conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Expressions
constructor
A new instance of GooglePrivacyDlpV2Expressions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Expressions
Returns a new instance of GooglePrivacyDlpV2Expressions.
3481 3482 3483 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3481 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Conditions
A collection of conditions.
Corresponds to the JSON property conditions
3473 3474 3475 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3473 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
3479 3480 3481 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3479 def logical_operator @logical_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3486 3487 3488 3489 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3486 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @logical_operator = args[:logical_operator] if args.key?(:logical_operator) end |