ComputeUrlMapUrlMapRouteRuleMatch class

One route_rules[].match_rules[] entry. Carries the actual matching predicates (one or more of full path / prefix / regex / path template, optionally further refined by header / query / metadata filters).

The schema marks every field optional, but in practice at least one of the path matchers (fullPathMatch / prefixMatch / regexMatch / pathTemplateMatch) should be set for the rule to be meaningful.

The metadata_filters nested block (xDS / Traffic Director use cases) and any other uncurated sub-fields can be passed verbatim via advancedExtra; the map is spread into the emitted Terraform args as-is.

Annotations
  • @immutable

Constructors

ComputeUrlMapUrlMapRouteRuleMatch({TfArg<String>? fullPathMatch, TfArg<String>? prefixMatch, TfArg<String>? regexMatch, TfArg<String>? pathTemplateMatch, TfArg<bool>? ignoreCase, List<ComputeUrlMapUrlMapHeaderMatch>? headerMatches, List<ComputeUrlMapUrlMapQueryParameterMatch>? queryParameterMatches, List<ComputeUrlMapUrlMapMetadataFilter>? metadataFilters, Map<String, Object?>? advancedExtra})
const

Properties

advancedExtra Map<String, Object?>?
Escape hatch for the uncurated nested blocks of match_rules:
final
fullPathMatch → TfArg<String>?
Exact-string path match. Mutually exclusive with prefixMatch, regexMatch, pathTemplateMatch.
final
hashCode int
The hash code for this object.
no setterinherited
headerMatches List<ComputeUrlMapUrlMapHeaderMatch>?
Per-header match predicates ANDed with the path predicate.
final
ignoreCase → TfArg<bool>?
Case-insensitive match. Applies to fullPathMatch / prefixMatch.
final
metadataFilters List<ComputeUrlMapUrlMapMetadataFilter>?
xDS / Traffic Director metadata match predicates.
final
pathTemplateMatch → TfArg<String>?
Path-template match (/foo/{var}/...). Mutually exclusive with the other path matchers.
final
prefixMatch → TfArg<String>?
Path-prefix match. Mutually exclusive with the other path matchers.
final
queryParameterMatches List<ComputeUrlMapUrlMapQueryParameterMatch>?
Per-query-parameter match predicates.
final
regexMatch → TfArg<String>?
Regex path match (RE2 syntax). Mutually exclusive with the other path matchers.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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