Class RouteRule (0.2.1)

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

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

Attributes

NameDescription
matches Sequence[google.cloud.network_services_v1.types.HttpRoute.RouteMatch]
A list of matches define conditions used for matching the rule against incoming HTTP requests. Each match is independent, i.e. this rule will be matched if ANY one of the matches is satisfied. If no matches field is specified, this rule will unconditionally match traffic. If a default rule is desired to be configured, add a rule with no matches specified to the end of the rules list.
action google.cloud.network_services_v1.types.HttpRoute.RouteAction
The detailed rule defining how to route matched traffic.

Inheritance

builtins.object > proto.message.Message > RouteRule