RouteSpecGrpcRoute constructor

const RouteSpecGrpcRoute({
  1. required Input<RouteSpecGrpcRouteAction> action,
  2. Input<RouteSpecGrpcRouteMatch?>? match,
  3. Input<RouteSpecGrpcRouteRetryPolicy?>? retryPolicy,
  4. 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,
});