Class: Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/http_route.rb
Overview
Specifications to match a query parameter in the request.
Instance Attribute Summary collapse
-
#exact_match ⇒ ::String
The value of the query parameter must exactly match the contents of exact_match.
-
#present_match ⇒ ::Boolean
Specifies that the QueryParameterMatcher matches if request contains query parameter, irrespective of whether the parameter has a value or not.
-
#query_parameter ⇒ ::String
The name of the query parameter to match.
-
#regex_match ⇒ ::String
The value of the query parameter must match the regular expression specified by regex_match.
Instance Attribute Details
#exact_match ⇒ ::String
Returns 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.
170 171 172 173 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 170 class QueryParameterMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#present_match ⇒ ::Boolean
Returns 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.
170 171 172 173 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 170 class QueryParameterMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query_parameter ⇒ ::String
Returns The name of the query parameter to match.
170 171 172 173 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 170 class QueryParameterMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#regex_match ⇒ ::String
Returns 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.
170 171 172 173 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 170 class QueryParameterMatch include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |