Class Google::Cloud::Compute::V1::HttpQueryParameterMatch (v1.1.0)

HttpRouteRuleMatch criteria for a request's query parameter.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#exact_match

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

#exact_match=

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

#name

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

#name=

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

#present_match

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

#present_match=

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

#regex_match

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

#regex_match=

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