Network Services v1 API - Class HttpRoute.Types.QueryParameterMatch (1.0.0-beta01)

public sealed class HttpRoute.Types.QueryParameterMatch : IMessage<HttpRoute.Types.QueryParameterMatch>, IEquatable<HttpRoute.Types.QueryParameterMatch>, IDeepCloneable<HttpRoute.Types.QueryParameterMatch>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.QueryParameterMatch.

Specifications to match a query parameter in the request.

Inheritance

object > HttpRoute.Types.QueryParameterMatch

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

QueryParameterMatch()

public QueryParameterMatch()

QueryParameterMatch(QueryParameterMatch)

public QueryParameterMatch(HttpRoute.Types.QueryParameterMatch other)
Parameter
Name Description
other HttpRouteTypesQueryParameterMatch

Properties

ExactMatch

public string ExactMatch { get; set; }

The value of the query parameter must exactly match the contents of exact_match.

Only one of exact_match, regex_match, or present_match 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

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

MatchTypeCase

public HttpRoute.Types.QueryParameterMatch.MatchTypeOneofCase MatchTypeCase { get; }
Property Value
Type Description
HttpRouteTypesQueryParameterMatchMatchTypeOneofCase

PresentMatch

public bool PresentMatch { get; set; }

Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.

Only one of exact_match, regex_match, or present_match must be set.

Property Value
Type Description
bool

QueryParameter

public string QueryParameter { get; set; }

The name of the query parameter to match.

Property Value
Type Description
string

RegexMatch

public string RegexMatch { get; set; }

The value of the query parameter must match the regular expression specified by regex_match. For regular expression grammar, please see https://github.com/google/re2/wiki/Syntax

Only one of exact_match, regex_match, or present_match must be set.

Property Value
Type Description
string