Class HttpRouteRouteMatch
RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.
Implements
Inherited Members
Namespace: Google.Apis.NetworkServices.v1.Data
Assembly: Google.Apis.NetworkServices.v1.dll
Syntax
public class HttpRouteRouteMatch : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FullPathMatch
The HTTP request path value should exactly match this value. Only one of full_path_match, prefix_match, or regex_match should be used.
Declaration
[JsonProperty("fullPathMatch")]
public virtual string FullPathMatch { get; set; }
Property Value
Type | Description |
---|---|
string |
Headers
Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
Declaration
[JsonProperty("headers")]
public virtual IList<HttpRouteHeaderMatch> Headers { get; set; }
Property Value
Type | Description |
---|---|
IList<HttpRouteHeaderMatch> |
IgnoreCase
Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
Declaration
[JsonProperty("ignoreCase")]
public virtual bool? IgnoreCase { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PrefixMatch
The HTTP request path value must begin with specified prefix_match. prefix_match must begin with a /. Only one of full_path_match, prefix_match, or regex_match should be used.
Declaration
[JsonProperty("prefixMatch")]
public virtual string PrefixMatch { get; set; }
Property Value
Type | Description |
---|---|
string |
QueryParameters
Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
Declaration
[JsonProperty("queryParameters")]
public virtual IList<HttpRouteQueryParameterMatch> QueryParameters { get; set; }
Property Value
Type | Description |
---|---|
IList<HttpRouteQueryParameterMatch> |
RegexMatch
The HTTP request path value must satisfy the regular expression specified by regex_match after removing any query parameters and anchor supplied with the original URL. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax Only one of full_path_match, prefix_match, or regex_match should be used.
Declaration
[JsonProperty("regexMatch")]
public virtual string RegexMatch { get; set; }
Property Value
Type | Description |
---|---|
string |