Class: Google::Cloud::NetworkServices::V1::TcpRoute::RouteRule

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/tcp_route.rb

Overview

Specifies how to match traffic and how to route traffic when traffic is matched.

Instance Attribute Summary collapse

Instance Attribute Details

#action::Google::Cloud::NetworkServices::V1::TcpRoute::RouteAction

Returns Required. The detailed rule defining how to route matched traffic.

Returns:



82
83
84
85
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 82

class RouteRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#matches::Array<::Google::Cloud::NetworkServices::V1::TcpRoute::RouteMatch>

Returns Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

Returns:

  • (::Array<::Google::Cloud::NetworkServices::V1::TcpRoute::RouteMatch>)

    Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.



82
83
84
85
# File 'proto_docs/google/cloud/networkservices/v1/tcp_route.rb', line 82

class RouteRule
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end