Reference documentation and code samples for the Google Cloud Network Services V1 Client class RouteMatch.
Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.
Generated from protobuf message google.cloud.networkservices.v1.GrpcRoute.RouteMatch
Namespace
Google \ Cloud \ NetworkServices \ V1 \ GrpcRouteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ method
Google\Cloud\NetworkServices\V1\GrpcRoute\MethodMatch
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
↳ headers
array< Google\Cloud\NetworkServices\V1\GrpcRoute\HeaderMatch
>
Optional. Specifies a collection of headers to match.
getMethod
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
hasMethod
clearMethod
setMethod
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
$this
getHeaders
Optional. Specifies a collection of headers to match.
setHeaders
Optional. Specifies a collection of headers to match.
$this