Network Services v1 API - Class TcpRoute.Types.RouteRule (1.0.0-beta01)

public sealed class TcpRoute.Types.RouteRule : IMessage<TcpRoute.Types.RouteRule>, IEquatable<TcpRoute.Types.RouteRule>, IDeepCloneable<TcpRoute.Types.RouteRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class TcpRoute.Types.RouteRule.

Specifies how to match traffic and how to route traffic when traffic is matched.

Inheritance

object > TcpRoute.Types.RouteRule

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

RouteRule()

public RouteRule()

RouteRule(RouteRule)

public RouteRule(TcpRoute.Types.RouteRule other)
Parameter
Name Description
other TcpRouteTypesRouteRule

Properties

Action

public TcpRoute.Types.RouteAction Action { get; set; }

Required. The detailed rule defining how to route matched traffic.

Property Value
Type Description
TcpRouteTypesRouteAction

Matches

public RepeatedField<TcpRoute.Types.RouteMatch> Matches { get; }

Optional. 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.

Property Value
Type Description
RepeatedFieldTcpRouteTypesRouteMatch