public sealed class GrpcRoute.Types.RouteMatch : IMessage<GrpcRoute.Types.RouteMatch>, IEquatable<GrpcRoute.Types.RouteMatch>, IDeepCloneable<GrpcRoute.Types.RouteMatch>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class GrpcRoute.Types.RouteMatch.
Criteria for matching traffic. A RouteMatch will be considered to match when all supplied fields match.
Implements
IMessageGrpcRouteTypesRouteMatch, IEquatableGrpcRouteTypesRouteMatch, IDeepCloneableGrpcRouteTypesRouteMatch, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
RouteMatch()
public RouteMatch()
RouteMatch(RouteMatch)
public RouteMatch(GrpcRoute.Types.RouteMatch other)
Parameter | |
---|---|
Name | Description |
other |
GrpcRouteTypesRouteMatch |
Properties
Headers
public RepeatedField<GrpcRoute.Types.HeaderMatch> Headers { get; }
Optional. Specifies a collection of headers to match.
Property Value | |
---|---|
Type | Description |
RepeatedFieldGrpcRouteTypesHeaderMatch |
Method
public GrpcRoute.Types.MethodMatch Method { get; set; }
Optional. A gRPC method to match against. If this field is empty or omitted, will match all methods.
Property Value | |
---|---|
Type | Description |
GrpcRouteTypesMethodMatch |