Skip to content

GatewayRouteSpec

Source code in docs_src/capo_app_mesh/types/gateway_route_spec.py
class GatewayRouteSpec(TypedDict, closed=True):
    priority: NotRequired[
        "capo_app_mesh.types.gateway_route_priority.GatewayRoutePriority"
    ]
    """<p>The ordering of the gateway routes spec.</p>"""
    http_route: NotRequired["capo_app_mesh.types.http_gateway_route.HttpGatewayRoute"]
    """<p>An object that represents the specification of an HTTP gateway route.</p>"""
    http2_route: NotRequired["capo_app_mesh.types.http_gateway_route.HttpGatewayRoute"]
    """<p>An object that represents the specification of an HTTP/2 gateway route.</p>"""
    grpc_route: NotRequired["capo_app_mesh.types.grpc_gateway_route.GrpcGatewayRoute"]
    """<p>An object that represents the specification of a gRPC gateway route.</p>"""

grpc_route instance-attribute

grpc_route: NotRequired[GrpcGatewayRoute]

An object that represents the specification of a gRPC gateway route.

http2_route instance-attribute

http2_route: NotRequired[HttpGatewayRoute]

An object that represents the specification of an HTTP/2 gateway route.

http_route instance-attribute

http_route: NotRequired[HttpGatewayRoute]

An object that represents the specification of an HTTP gateway route.

priority instance-attribute

priority: NotRequired[GatewayRoutePriority]

The ordering of the gateway routes spec.