RegionUrlMapPathRule class
One path_matcher.path_rule[] entry. Matches request paths against
the paths glob list (e.g. ['/login', '/login/*']) and dispatches to
either a service OR an inline urlRedirect -- exactly one of the two
must be set per the GCP API.
The deep route_action sub-block is exposed via the advancedExtra
escape hatch rather than as a typed helper (see
RegionUrlMapPathMatcher.advancedExtra for the rationale).
- Annotations
-
- @immutable
Constructors
-
RegionUrlMapPathRule({required List<
String> paths, TfArg<String> ? service, RegionUrlMapUrlRedirect? 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
-
paths
→ List<
String> -
Path globs to match (e.g.
'/login','/static/*'). At least one entry required per the schema.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 → RegionUrlMapUrlRedirect?
-
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