Class TlsRoute (0.2.1)

TlsRoute(mapping=None, *, ignore_unknown_fields=False, **kwargs)

TlsRoute defines how traffic should be routed based on SNI and other matching L3 attributes.

Attributes

NameDescription
name str
Required. Name of the TlsRoute resource. It matches pattern ``projects/*/locations/global/tlsRoutes/tls_route_name>``.
self_link str
Output only. Server-defined URL of this resource
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was updated.
description str
Optional. A free-text description of the resource. Max length 1024 characters.
rules Sequence[google.cloud.network_services_v1.types.TlsRoute.RouteRule]
Required. Rules that define how traffic is routed and handled. At least one RouteRule must be supplied. If there are multiple rules then the action taken will be the first rule to match.
meshes Sequence[str]
Optional. Meshes defines a list of meshes this TlsRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: ``projects/*/locations/global/meshes/
gateways Sequence[str]
Optional. Gateways defines a list of gateways this TlsRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: ``projects/*/locations/global/gateways/

Inheritance

builtins.object > proto.message.Message > TlsRoute

Classes

RouteAction

RouteAction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specifications for routing traffic and applying associated policies.

RouteDestination

RouteDestination(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describe the destination for traffic to be routed to.

RouteMatch

RouteMatch(mapping=None, *, ignore_unknown_fields=False, **kwargs)

RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "AND"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic.

RouteRule

RouteRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies how to match traffic and how to route traffic when traffic is matched.