public sealed class TlsRoute.Types.RouteRule : IMessage<TlsRoute.Types.RouteRule>, IEquatable<TlsRoute.Types.RouteRule>, IDeepCloneable<TlsRoute.Types.RouteRule>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class TlsRoute.Types.RouteRule.
Specifies how to match traffic and how to route traffic when traffic is matched.
Implements
IMessageTlsRouteTypesRouteRule, IEquatableTlsRouteTypesRouteRule, IDeepCloneableTlsRouteTypesRouteRule, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
RouteRule()
public RouteRule()
RouteRule(RouteRule)
public RouteRule(TlsRoute.Types.RouteRule other)
Parameter | |
---|---|
Name | Description |
other |
TlsRouteTypesRouteRule |
Properties
Action
public TlsRoute.Types.RouteAction Action { get; set; }
Required. The detailed rule defining how to route matched traffic.
Property Value | |
---|---|
Type | Description |
TlsRouteTypesRouteAction |
Matches
public RepeatedField<TlsRoute.Types.RouteMatch> Matches { get; }
Required. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation.
Property Value | |
---|---|
Type | Description |
RepeatedFieldTlsRouteTypesRouteMatch |