Compute Engine v1 API - Class HttpQueryParameterMatch (2.17.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
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
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasPresentMatch

public bool HasPresentMatch { get; }

Gets whether the "present_match" field is set

Property Value
Type Description
bool

HasRegexMatch

public bool HasRegexMatch { get; }

Gets whether the "regex_match" field is set

Property Value
Type Description
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
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
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
Type Description
string