GatewayRouteSpec constructor

const GatewayRouteSpec({
  1. Input<GatewayRouteSpecGrpcRoute?>? grpcRoute,
  2. Input<GatewayRouteSpecHttp2Route?>? http2Route,
  3. Input<GatewayRouteSpecHttpRoute?>? httpRoute,
  4. Input<int?>? priority,
})

Creates a new GatewayRouteSpec. grpcRoute Specification of a gRPC gateway route. See grpcRoute Block for details. http2Route Specification of an HTTP/2 gateway route. See http2Route Block for details. httpRoute Specification of an HTTP gateway route. See httpRoute Block for details. priority Priority for the gateway route, between 0 and 1000.

Implementation

const GatewayRouteSpec({
  this.grpcRoute,
  this.http2Route,
  this.httpRoute,
  this.priority,
});