public sealed class HttpQueryParameterMatch : IMessage<HttpQueryParameterMatch>, IEquatable<HttpQueryParameterMatch>, IDeepCloneable<HttpQueryParameterMatch>, IBufferMessage, IMessageHttpRouteRuleMatch criteria for a request's query parameter.
Implements
IMessage<HttpQueryParameterMatch>, IEquatable<HttpQueryParameterMatch>, IDeepCloneable<HttpQueryParameterMatch>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpQueryParameterMatch()
public HttpQueryParameterMatch()HttpQueryParameterMatch(HttpQueryParameterMatch)
public HttpQueryParameterMatch(HttpQueryParameterMatch other)| Parameter | |
|---|---|
| Name | Description |
other |
HttpQueryParameterMatch |
Properties
ExactMatch
public string ExactMatch { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
String |
|
HasExactMatch
public bool HasExactMatch { get; }Gets whether the "exact_match" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
HasName
public bool HasName { get; }Gets whether the "name" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
HasPresentMatch
public bool HasPresentMatch { get; }Gets whether the "present_match" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
HasRegexMatch
public bool HasRegexMatch { get; }Gets whether the "regex_match" field is set
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
Name
public string Name { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
String |
|
PresentMatch
public bool PresentMatch { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
RegexMatch
public string RegexMatch { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
String |
|