Class: Google::Cloud::NetworkServices::V1::GrpcRoute::RouteMatch

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

Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.

Instance Attribute Summary collapse

Instance Attribute Details

#headers::Array<::Google::Cloud::NetworkServices::V1::GrpcRoute::HeaderMatch>

Returns Optional. Specifies a collection of headers to match.

Returns:



179
180
181
182
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 179

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

#method::Google::Cloud::NetworkServices::V1::GrpcRoute::MethodMatch

Returns Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.

Returns:



179
180
181
182
# File 'proto_docs/google/cloud/networkservices/v1/grpc_route.rb', line 179

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