Compute Engine v1 API - Class HttpQueryParameterMatch (2.15.0)

public sealed class HttpQueryParameterMatch : IMessage<HttpQueryParameterMatch>, IEquatable<HttpQueryParameterMatch>, IDeepCloneable<HttpQueryParameterMatch>, IBufferMessage, IMessage

Reference documentation and code samples for the Compute Engine v1 API class HttpQueryParameterMatch.

HttpRouteRuleMatch criteria for a request's query parameter.

Inheritance

object > HttpQueryParameterMatch

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

HttpQueryParameterMatch()

public HttpQueryParameterMatch()

HttpQueryParameterMatch(HttpQueryParameterMatch)

public HttpQueryParameterMatch(HttpQueryParameterMatch other)
Parameter
NameDescription
otherHttpQueryParameterMatch

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
TypeDescription
string

HasExactMatch

public bool HasExactMatch { get; }

Gets whether the "exact_match" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasPresentMatch

public bool HasPresentMatch { get; }

Gets whether the "present_match" field is set

Property Value
TypeDescription
bool

HasRegexMatch

public bool HasRegexMatch { get; }

Gets whether the "regex_match" field is set

Property Value
TypeDescription
bool

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
TypeDescription
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
TypeDescription
bool

RegexMatch

public string RegexMatch { get; set; }

The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

Property Value
TypeDescription
string