Skip to content

GrpcRoute

Source code in docs_src/capo_app_mesh/types/grpc_route.py
class GrpcRoute(TypedDict, closed=True):
    action: "capo_app_mesh.types.grpc_route_action.GrpcRouteAction"
    """<p>An object that represents the action to take if a match is determined.</p>"""
    match: "capo_app_mesh.types.grpc_route_match.GrpcRouteMatch"
    """<p>An object that represents the criteria for determining a request match.</p>"""
    retry_policy: NotRequired["capo_app_mesh.types.grpc_retry_policy.GrpcRetryPolicy"]
    """<p>An object that represents a retry policy.</p>"""
    timeout: NotRequired["capo_app_mesh.types.grpc_timeout.GrpcTimeout"]
    """<p>An object that represents types of timeouts. </p>"""

action instance-attribute

An object that represents the action to take if a match is determined.

match instance-attribute

An object that represents the criteria for determining a request match.

retry_policy instance-attribute

retry_policy: NotRequired[GrpcRetryPolicy]

An object that represents a retry policy.

timeout instance-attribute

timeout: NotRequired[GrpcTimeout]

An object that represents types of timeouts.