Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HttpQueryParameterMatch.
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-
(::String) — The queryParameterMatch matches if the value of the
parameter exactly matches the contents of exactMatch.
Only one of presentMatch, exactMatch, orregexMatch must be set.
#exact_match=
def exact_match=(value) -> ::String-
value (::String) — The queryParameterMatch matches if the value of the
parameter exactly matches the contents of exactMatch.
Only one of presentMatch, exactMatch, orregexMatch must be set.
-
(::String) — The queryParameterMatch matches if the value of the
parameter exactly matches the contents of exactMatch.
Only one of presentMatch, exactMatch, orregexMatch must be set.
#name
def name() -> ::String- (::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- 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.
- (::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-
(::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, orregexMatch must be set.
#present_match=
def present_match=(value) -> ::Boolean-
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, orregexMatch must be set.
-
(::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, orregexMatch must be set.
#regex_match
def regex_match() -> ::String-
(::String) — The queryParameterMatch matches if the value of the
parameter matches the regular expression specified byregexMatch. For
more information about regular expression syntax, see Syntax.
Only one of presentMatch, exactMatch, orregexMatch must be set.
Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
#regex_match=
def regex_match=(value) -> ::String-
value (::String) — The queryParameterMatch matches if the value of the
parameter matches the regular expression specified byregexMatch. For
more information about regular expression syntax, see Syntax.
Only one of presentMatch, exactMatch, orregexMatch must be set.
Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.
-
(::String) — The queryParameterMatch matches if the value of the
parameter matches the regular expression specified byregexMatch. For
more information about regular expression syntax, see Syntax.
Only one of presentMatch, exactMatch, orregexMatch must be set.
Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED, EXTERNAL_MANAGED (regional scope) or INTERNAL_MANAGED.