Network Services V1 API - Class Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch (v1.0.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch.

Specifications to match a query parameter in the request.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exact_match

def exact_match() -> ::String
Returns
  • (::String) — 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.

#exact_match=

def exact_match=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.

#present_match

def present_match() -> ::Boolean
Returns
  • (::Boolean) — 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.

#present_match=

def present_match=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.

Returns
  • (::Boolean) — 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.

#query_parameter

def query_parameter() -> ::String
Returns
  • (::String) — The name of the query parameter to match.

#query_parameter=

def query_parameter=(value) -> ::String
Parameter
  • value (::String) — The name of the query parameter to match.
Returns
  • (::String) — The name of the query parameter to match.

#regex_match

def regex_match() -> ::String
Returns
  • (::String) — 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.

#regex_match=

def regex_match=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.