RouteRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Specifies how to match traffic and how to route traffic when traffic is matched.
Attributes | |
---|---|
Name | Description |
matches |
Sequence[google.cloud.network_services_v1.types.TcpRoute.RouteMatch]
Optional. RouteMatch defines the predicate used to match requests to a given action. Multiple match types are "OR"ed for evaluation. If no routeMatch field is specified, this rule will unconditionally match traffic. |
action |
google.cloud.network_services_v1.types.TcpRoute.RouteAction
Required. The detailed rule defining how to route matched traffic. |