Class: Google::Cloud::NetworkServices::V1::GrpcRoute::RouteRule

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

Overview

Describes how to route traffic.

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Required. A detailed rule defining how to route traffic. This field is required.

Returns:



329
330
331
332
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 329

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

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

Returns Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic.

Returns:

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

    Optional. Matches define conditions used for matching the rule against incoming gRPC requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic.



329
330
331
332
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 329

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