Class: Google::Apis::ConnectorsV1::LogicalExpression
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::LogicalExpression
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Struct for representing boolean expressions.
Instance Attribute Summary collapse
-
#field_comparisons ⇒ Array<Google::Apis::ConnectorsV1::FieldComparison>
A list of fields to be compared.
-
#logical_expressions ⇒ Array<Google::Apis::ConnectorsV1::LogicalExpression>
A list of nested conditions to be compared.
-
#logical_operator ⇒ String
The logical operator to use between the fields and conditions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LogicalExpression
constructor
A new instance of LogicalExpression.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LogicalExpression
Returns a new instance of LogicalExpression.
3602 3603 3604 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_comparisons ⇒ Array<Google::Apis::ConnectorsV1::FieldComparison>
A list of fields to be compared.
Corresponds to the JSON property fieldComparisons
3590 3591 3592 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3590 def field_comparisons @field_comparisons end |
#logical_expressions ⇒ Array<Google::Apis::ConnectorsV1::LogicalExpression>
A list of nested conditions to be compared.
Corresponds to the JSON property logicalExpressions
3595 3596 3597 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3595 def logical_expressions @logical_expressions end |
#logical_operator ⇒ String
The logical operator to use between the fields and conditions.
Corresponds to the JSON property logicalOperator
3600 3601 3602 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3600 def logical_operator @logical_operator end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3607 3608 3609 3610 3611 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 3607 def update!(**args) @field_comparisons = args[:field_comparisons] if args.key?(:field_comparisons) @logical_expressions = args[:logical_expressions] if args.key?(:logical_expressions) @logical_operator = args[:logical_operator] if args.key?(:logical_operator) end |