Class: Google::Apis::NetworkservicesV1::ExtensionChainMatchCondition
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::ExtensionChainMatchCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Overview
Conditions under which this chain is invoked for a request.
Instance Attribute Summary collapse
-
#cel_expression ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtensionChainMatchCondition
constructor
A new instance of ExtensionChainMatchCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtensionChainMatchCondition
Returns a new instance of ExtensionChainMatchCondition.
741 742 743 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cel_expression ⇒ String
Required. A Common Expression Language (CEL) expression that is used to match
requests for which the extension chain is executed. For more information, see
CEL matcher language reference.
Corresponds to the JSON property celExpression
739 740 741 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 739 def cel_expression @cel_expression end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
746 747 748 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 746 def update!(**args) @cel_expression = args[:cel_expression] if args.key?(:cel_expression) end |