Class HttpQueryParameterMatch
HttpRouteRuleMatch criteria for a request's query parameter.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class HttpQueryParameterMatch : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ExactMatch
The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch or regexMatch must be set.
Declaration
[JsonProperty("exactMatch")]
public virtual string ExactMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PresentMatch
Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch or regexMatch must be set.
Declaration
[JsonProperty("presentMatch")]
public virtual bool? PresentMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
RegexMatch
The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For the regular expression grammar, please see github.com/google/re2/wiki/Syntax Only one of presentMatch, exactMatch or regexMatch must be set. Note that regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
Declaration
[JsonProperty("regexMatch")]
public virtual string RegexMatch { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |