Skip to content

GrpcRouteMatch

Source code in docs_src/capo_app_mesh/types/grpc_route_match.py
class GrpcRouteMatch(TypedDict, closed=True):
    service_name: NotRequired["capo_app_mesh.types.service_name.ServiceName"]
    """<p>The fully qualified domain name for the service to match from the request.</p>"""
    method_name: NotRequired["capo_app_mesh.types.method_name.MethodName"]
    """<p>The method name to match from the request. If you specify a name, you must also specify a <code>serviceName</code>.</p>"""
    metadata: NotRequired[
        "capo_app_mesh.types.grpc_route_metadata_list.GrpcRouteMetadataList"
    ]
    """<p>An object that represents the data to match from the request.</p>"""
    port: NotRequired["capo_app_mesh.types.listener_port.ListenerPort"]
    """<p>The port number to match on.</p>"""

metadata instance-attribute

metadata: NotRequired[GrpcRouteMetadataList]

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

method_name instance-attribute

method_name: NotRequired[MethodName]

The method name to match from the request. If you specify a name, you must also specify a serviceName.

port instance-attribute

port: NotRequired[ListenerPort]

The port number to match on.

service_name instance-attribute

service_name: NotRequired[ServiceName]

The fully qualified domain name for the service to match from the request.