Skip to content

GrpcRouteMetadata

Source code in docs_src/capo_app_mesh/types/grpc_route_metadata.py
class GrpcRouteMetadata(TypedDict, closed=True):
    name: "capo_app_mesh.types.header_name.HeaderName"
    """<p>The name of the route.</p>"""
    invert: NotRequired["bool"]
    """<p>Specify <code>True</code> to match anything except the match criteria. The default value is <code>False</code>.</p>"""
    match: NotRequired[
        "capo_app_mesh.types.grpc_route_metadata_match_method.GrpcRouteMetadataMatchMethod"
    ]
    """<p>An object that represents the data to match from the request.</p>"""

invert instance-attribute

invert: NotRequired[bool]

Specify True to match anything except the match criteria. The default value is False.

match instance-attribute

match: NotRequired[GrpcRouteMetadataMatchMethod]

An object that represents the data to match from the request.

name instance-attribute

name: HeaderName

The name of the route.