ComputeRegionUrlMapRegionUrlMapRouteRule class

One path_matcher.route_rules[] entry. Priority-ordered routing with header / query / regex match support; the GCP equivalent of an Envoy route_config.

Exactly one of service / urlRedirect must be set (or alternatively the uncurated route_action sub-block via advancedExtra).

Annotations
  • @immutable

Properties

advancedExtra Map<String, Object?>?
Escape hatch for the uncurated nested blocks:
final
hashCode int
The hash code for this object.
no setterinherited
headerAction ComputeRegionUrlMapRegionUrlMapHeaderAction?
Per-rule header mutation applied to forwarded requests / responses. Layered on top of any path-matcher-level header action.
final
matchRules List<ComputeRegionUrlMapRegionUrlMapRouteRuleMatch>?
Per-rule match conditions (HTTP headers, query parameters, path regex, ...). When empty, the rule matches every request that reaches the parent path matcher.
final
priority → TfArg<int>
Evaluation priority. Lower numbers evaluated first. Required by the schema. Must be unique within a single ComputeRegionUrlMapRegionUrlMapPathMatcher.routeRules.
final
routeAction ComputeRegionUrlMapRegionUrlMapRouteAction?
Envoy-style traffic policy for matching requests.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service → TfArg<String>?
Backend self-link (region backend service OR backend bucket). Mutually exclusive with urlRedirect.
final
urlRedirect ComputeRegionUrlMapRegionUrlMapUrlRedirect?
Inline redirect for matching requests. Mutually exclusive with service.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited