public sealed class TcpRoute.Types.RouteMatch : IMessage<TcpRoute.Types.RouteMatch>, IEquatable<TcpRoute.Types.RouteMatch>, IDeepCloneable<TcpRoute.Types.RouteMatch>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TcpRoute.Types.RouteMatch.
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.
Implements
IMessageTcpRouteTypesRouteMatch, IEquatableTcpRouteTypesRouteMatch, IDeepCloneableTcpRouteTypesRouteMatch, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
RouteMatch()
public RouteMatch()
RouteMatch(RouteMatch)
public RouteMatch(TcpRoute.Types.RouteMatch other)
Parameter | |
---|---|
Name | Description |
other |
TcpRouteTypesRouteMatch |
Properties
Address
public string Address { get; set; }
Required. Must be specified in the CIDR range format. A CIDR range consists of an IP Address and a prefix length to construct the subnet mask. By default, the prefix length is 32 (i.e. matches a single IP address). Only IPV4 addresses are supported. Examples: "10.0.0.1" - matches against this exact IP address. "10.0.0.0/8" - matches against any IP address within the 10.0.0.0 subnet and 255.255.255.0 mask. "0.0.0.0/0" - matches against any IP address'.
Property Value | |
---|---|
Type | Description |
string |
Port
public string Port { get; set; }
Required. Specifies the destination port to match against.
Property Value | |
---|---|
Type | Description |
string |