Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Expressions
- 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
Overview
A collection of expressions
Instance Attribute Summary collapse
-
#conditions ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions
Corresponds to the JSON property
conditions
. -
#logical_operator ⇒ String
The operator to apply to the result of conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Expressions
constructor
A new instance of GooglePrivacyDlpV2beta1Expressions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Expressions
Returns a new instance of GooglePrivacyDlpV2beta1Expressions
1252 1253 1254 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Conditions
Corresponds to the JSON property conditions
1244 1245 1246 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1244 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
1250 1251 1252 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1250 def logical_operator @logical_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1257 1258 1259 1260 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1257 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @logical_operator = args[:logical_operator] if args.key?(:logical_operator) end |