public sealed class TlsRoute.Types.RouteMatch : IMessage<TlsRoute.Types.RouteMatch>, IEquatable<TlsRoute.Types.RouteMatch>, IDeepCloneable<TlsRoute.Types.RouteMatch>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1 API class TlsRoute.Types.RouteMatch.
RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation.
Implements
IMessageTlsRouteTypesRouteMatch, IEquatableTlsRouteTypesRouteMatch, IDeepCloneableTlsRouteTypesRouteMatch, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
RouteMatch()
public RouteMatch()RouteMatch(RouteMatch)
public RouteMatch(TlsRoute.Types.RouteMatch other)| Parameter | |
|---|---|
| Name | Description |
other |
TlsRouteTypesRouteMatch |
Properties
Alpn
public RepeatedField<string> Alpn { get; }Optional. ALPN (Application-Layer Protocol Negotiation) to match against. Examples: "http/1.1", "h2". At least one of sni_host and alpn is required. Up to 5 alpns across all matches can be set.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
SniHost
public RepeatedField<string> SniHost { get; }Optional. SNI (server name indicator) to match against.
SNI will be matched against all wildcard domains, i.e. www.example.com
will be first matched against www.example.com, then *.example.com,
then *.com.
Partial wildcards are not supported, and values like *w.example.com are
invalid.
At least one of sni_host and alpn is required.
Up to 100 sni hosts across all matches can be set.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|