UrlMapHeaderMatch class

One match_rules[].header_matches[] entry. The schema permits one of exactMatch / prefixMatch / suffixMatch / regexMatch / presentMatch / rangeMatch per entry; invertMatch negates the outcome. Validation is left to the GCP API.

Annotations
  • @immutable

Constructors

UrlMapHeaderMatch({required TfArg<String> headerName, TfArg<String>? exactMatch, TfArg<String>? prefixMatch, TfArg<String>? suffixMatch, TfArg<String>? regexMatch, TfArg<bool>? presentMatch, TfArg<bool>? invertMatch, UrlMapHeaderMatchRange? rangeMatch})
const

Properties

exactMatch → TfArg<String>?
Exact value match.
final
hashCode int
The hash code for this object.
no setterinherited
headerName → TfArg<String>
HTTP header name to match. Case-insensitive on the wire.
final
invertMatch → TfArg<bool>?
Negate the match outcome.
final
prefixMatch → TfArg<String>?
Prefix value match.
final
presentMatch → TfArg<bool>?
Match if the header is present (any value).
final
rangeMatch UrlMapHeaderMatchRange?
Numeric-range match for integer header values.
final
regexMatch → TfArg<String>?
Regex value match (RE2 syntax).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixMatch → TfArg<String>?
Suffix value match.
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