Class: Google::Apis::NetworkservicesV1beta1::ExtensionChainMatchCondition

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkservices_v1beta1/classes.rb,
lib/google/apis/networkservices_v1beta1/representations.rb,
lib/google/apis/networkservices_v1beta1/representations.rb

Overview

Conditions under which this chain is invoked for a request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExtensionChainMatchCondition

Returns a new instance of ExtensionChainMatchCondition.



496
497
498
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 496

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cel_expressionString

Required. A Common Expression Language (CEL) expression that is used to match requests for which the extension chain is executed. Corresponds to the JSON property celExpression

Returns:

  • (String)


494
495
496
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 494

def cel_expression
  @cel_expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



501
502
503
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 501

def update!(**args)
  @cel_expression = args[:cel_expression] if args.key?(:cel_expression)
end