ComputeUrlMapUrlMapRouteRule 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
Constructors
-
ComputeUrlMapUrlMapRouteRule({required TfArg<
int> priority, TfArg<String> ? service, List<ComputeUrlMapUrlMapRouteRuleMatch> ? matchRules, ComputeUrlMapUrlMapHeaderAction? headerAction, ComputeUrlMapUrlMapUrlRedirect? urlRedirect, Map<String, Object?> ? advancedExtra}) -
const
Properties
-
advancedExtra
→ Map<
String, Object?> ? -
Escape hatch for the uncurated nested blocks:
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerAction → ComputeUrlMapUrlMapHeaderAction?
-
Per-rule header mutation applied to forwarded requests / responses.
Layered on top of any path-matcher-level header action.
final
-
matchRules
→ List<
ComputeUrlMapUrlMapRouteRuleMatch> ? -
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 ComputeUrlMapUrlMapPathMatcher.routeRules.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
service
→ TfArg<
String> ? -
Backend self-link (backend service OR backend bucket). Mutually
exclusive with urlRedirect.
final
- urlRedirect → ComputeUrlMapUrlMapUrlRedirect?
-
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