Class RouteRule (0.5.10)

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

Describes how to route traffic.

Attributes

NameDescription
matches MutableSequence[google.cloud.network_services_v1.types.GrpcRoute.RouteMatch]
Optional. Matches define conditions used for matching the rule against incoming gRPC 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.
action google.cloud.network_services_v1.types.GrpcRoute.RouteAction
Required. A detailed rule defining how to route traffic. This field is required.