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

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

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

Specifies how to route matched traffic.

Inheritance

object > GrpcRoute.Types.RouteAction

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

RouteAction()

public RouteAction()

RouteAction(RouteAction)

public RouteAction(GrpcRoute.Types.RouteAction other)
Parameter
Name Description
other GrpcRouteTypesRouteAction

Properties

Destinations

public RepeatedField<GrpcRoute.Types.Destination> Destinations { get; }

Optional. The destination services to which traffic should be forwarded. If multiple destinations are specified, traffic will be split between Backend Service(s) according to the weight field of these destinations.

Property Value
Type Description
RepeatedFieldGrpcRouteTypesDestination

FaultInjectionPolicy

public GrpcRoute.Types.FaultInjectionPolicy FaultInjectionPolicy { get; set; }

Optional. The specification for fault injection introduced into traffic to test the resiliency of clients to destination service failure. As part of fault injection, when clients send requests to a destination, delays can be introduced on a percentage of requests before sending those requests to the destination service. Similarly requests from clients can be aborted by for a percentage of requests.

timeout and retry_policy will be ignored by clients that are configured with a fault_injection_policy

Property Value
Type Description
GrpcRouteTypesFaultInjectionPolicy

RetryPolicy

public GrpcRoute.Types.RetryPolicy RetryPolicy { get; set; }

Optional. Specifies the retry policy associated with this route.

Property Value
Type Description
GrpcRouteTypesRetryPolicy

Timeout

public Duration Timeout { get; set; }

Optional. Specifies the timeout for selected route. Timeout is computed from the time the request has been fully processed (i.e. end of stream) up until the response has been completely processed. Timeout includes all retries.

Property Value
Type Description
Duration