URLMapPathMatcherRouteRuleMatchRule class
Constructors
-
URLMapPathMatcherRouteRuleMatchRule({Input<String?>? fullPathMatch, Input<bool?>? ignoreCase, Input<List<URLMapPathMatcherRouteRuleMatchRuleMetadataFilter>?>? metadataFilters, Input<String?>? pathTemplateMatch, Input<String?>? prefixMatch, Input<List<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch>?>? queryParameterMatches, Input<String?>? regexMatch})
-
Creates a new URLMapPathMatcherRouteRuleMatchRule.
fullPathMatch For satisfying the matchRule condition, the path of the request must exactly
headerMatches Specifies a list of header match criteria, all of which must match corresponding
ignoreCase Specifies that prefixMatch and fullPathMatch matches are case sensitive.
metadataFilters Opaque filter criteria used by Loadbalancer to restrict routing configuration to
pathTemplateMatch For satisfying the matchRule condition, the path of the request
prefixMatch For satisfying the matchRule condition, the request's path must begin with the
queryParameterMatches Specifies a list of query parameter match criteria, all of which must match
regexMatch For satisfying the matchRule condition, the path of the request must satisfy the
const
-
URLMapPathMatcherRouteRuleMatchRule.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
fullPathMatch
→ Input<String?>?
-
For satisfying the matchRule condition, the path of the request must exactly
match the value specified in fullPathMatch after removing any query parameters
and anchor that may be part of the original URL. FullPathMatch must be between 1
and 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must
be specified.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
Specifies a list of header match criteria, all of which must match corresponding
headers in the request.
Structure is documented below.
final
-
ignoreCase
→ Input<bool?>?
-
Specifies that prefixMatch and fullPathMatch matches are case sensitive.
Defaults to false.
final
-
metadataFilters
→ Input<List<URLMapPathMatcherRouteRuleMatchRuleMetadataFilter>?>?
-
Opaque filter criteria used by Loadbalancer to restrict routing configuration to
a limited set xDS compliant clients. In their xDS requests to Loadbalancer, xDS
clients present node metadata. If a match takes place, the relevant routing
configuration is made available to those proxies. For each metadataFilter in
this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the
filterLabels must match the corresponding label provided in the metadata. If its
filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match
with corresponding labels in the provided metadata. metadataFilters specified
here can be overrides those specified in ForwardingRule that refers to this
UrlMap. metadataFilters only applies to Loadbalancers that have their
loadBalancingScheme set to INTERNAL_SELF_MANAGED.
Structure is documented below.
final
-
pathTemplateMatch
→ Input<String?>?
-
For satisfying the matchRule condition, the path of the request
must match the wildcard pattern specified in pathTemplateMatch
after removing any query parameters and anchor that may be part
of the original URL.
pathTemplateMatch must be between 1 and 255 characters
(inclusive). The pattern specified by pathTemplateMatch may
have at most 5 wildcard operators and at most 5 variable
captures in total.
final
-
prefixMatch
→ Input<String?>?
-
For satisfying the matchRule condition, the request's path must begin with the
specified prefixMatch. prefixMatch must begin with a /. The value must be
between 1 and 1024 characters. Only one of prefixMatch, fullPathMatch or
regexMatch must be specified.
final
-
queryParameterMatches
→ Input<List<URLMapPathMatcherRouteRuleMatchRuleQueryParameterMatch>?>?
-
Specifies a list of query parameter match criteria, all of which must match
corresponding query parameters in the request.
Structure is documented below.
final
-
regexMatch
→ Input<String?>?
-
For satisfying the matchRule condition, the path of the request must satisfy the
regular expression specified in regexMatch after removing any query parameters
and anchor supplied with the original URL. For regular expression grammar please
see en.cppreference.com/w/cpp/regex/ecmascript Only one of prefixMatch,
fullPathMatch or regexMatch must be specified.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited