GrpcRouteRouteAction class

Specifies how to route matched traffic.

Constructors

GrpcRouteRouteAction({Input<List<GrpcRouteDestination>>? destinations, Input<GrpcRouteFaultInjectionPolicy>? faultInjectionPolicy, Input<GrpcRouteRetryPolicy>? retryPolicy, Input<GrpcRouteStatefulSessionAffinityPolicy>? statefulSessionAffinity, Input<String>? timeout})
Creates a new GrpcRouteRouteAction. destinations 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. faultInjectionPolicy 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 retryPolicy Optional. Specifies the retry policy associated with this route. statefulSessionAffinity Optional. Specifies cookie-based stateful session affinity. timeout 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.
const
GrpcRouteRouteAction.fromMap(Map<String, dynamic> map)
factory

Properties

destinations → Input<List<GrpcRouteDestination>>?
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.
final
faultInjectionPolicy → Input<GrpcRouteFaultInjectionPolicy>?
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
final
hashCode → int
The hash code for this object.
no setterinherited
retryPolicy → Input<GrpcRouteRetryPolicy>?
Optional. Specifies the retry policy associated with this route.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
statefulSessionAffinity → Input<GrpcRouteStatefulSessionAffinityPolicy>?
Optional. Specifies cookie-based stateful session affinity.
final
timeout → Input<String>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited