GatewayRouteSpec constructor
const
GatewayRouteSpec({
- Input<
GatewayRouteSpecGrpcRoute?> ? grpcRoute, - Input<
GatewayRouteSpecHttp2Route?> ? http2Route, - Input<
GatewayRouteSpecHttpRoute?> ? httpRoute, - 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,
});