Class HttpQueryParameterMatch (1.1.0)

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

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
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasPresentMatch

public bool HasPresentMatch { get; }

Gets whether the "present_match" field is set

Property Value
TypeDescription
Boolean

HasRegexMatch

public bool HasRegexMatch { get; }

Gets whether the "regex_match" field is set

Property Value
TypeDescription
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
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
Boolean

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. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.

Property Value
TypeDescription
String