RouteSpecGrpcRoute constructor
const
RouteSpecGrpcRoute({
- required Input<
RouteSpecGrpcRouteAction> action, - Input<
RouteSpecGrpcRouteMatch?> ? match, - Input<
RouteSpecGrpcRouteRetryPolicy?> ? retryPolicy, - Input<
RouteSpecGrpcRouteTimeout?> ? timeout,
Creates a new RouteSpecGrpcRoute.
action Action to take if a match is determined. See spec.tcp_route.action Block for details.
match Criteria for determining a TCP request match. See spec.tcp_route.match Block for details.
retryPolicy Retry policy. See spec.http_route.retry_policy Block for details.
timeout Types of timeouts. See spec.tcp_route.timeout Block for details.
Implementation
const RouteSpecGrpcRoute({
required this.action,
this.match,
this.retryPolicy,
this.timeout,
});