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

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

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

The specifications for routing traffic and applying associated policies.

Inheritance

object > TcpRoute.Types.RouteAction

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

RouteAction()

public RouteAction()

RouteAction(RouteAction)

public RouteAction(TcpRoute.Types.RouteAction other)
Parameter
Name Description
other TcpRouteTypesRouteAction

Properties

Destinations

public RepeatedField<TcpRoute.Types.RouteDestination> Destinations { get; }

Optional. The destination services to which traffic should be forwarded. At least one destination service is required. Only one of route destination or original destination can be set.

Property Value
Type Description
RepeatedFieldTcpRouteTypesRouteDestination

OriginalDestination

public bool OriginalDestination { get; set; }

Optional. If true, Router will use the destination IP and port of the original connection as the destination of the request. Default is false. Only one of route destinations or original destination can be set.

Property Value
Type Description
bool