Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::HttpRoute::RouteMatch.
RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#full_path_match
def full_path_match() -> ::String
-
(::String) — The HTTP request path value should exactly match this value.
Only one of full_path_match, prefix_match, or regex_match should be used.
#full_path_match=
def full_path_match=(value) -> ::String
-
value (::String) — The HTTP request path value should exactly match this value.
Only one of full_path_match, prefix_match, or regex_match should be used.
-
(::String) — The HTTP request path value should exactly match this value.
Only one of full_path_match, prefix_match, or regex_match should be used.
#headers
def headers() -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>
- (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>) — Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
#headers=
def headers=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>
- value (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>) — Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
- (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>) — Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.
#ignore_case
def ignore_case() -> ::Boolean
- (::Boolean) — Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
#ignore_case=
def ignore_case=(value) -> ::Boolean
- value (::Boolean) — Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
- (::Boolean) — Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
#prefix_match
def prefix_match() -> ::String
-
(::String) — The HTTP request path value must begin with specified prefix_match.
prefix_match must begin with a /.
Only one of full_path_match, prefix_match, or regex_match should be used.
#prefix_match=
def prefix_match=(value) -> ::String
-
value (::String) — The HTTP request path value must begin with specified prefix_match.
prefix_match must begin with a /.
Only one of full_path_match, prefix_match, or regex_match should be used.
-
(::String) — The HTTP request path value must begin with specified prefix_match.
prefix_match must begin with a /.
Only one of full_path_match, prefix_match, or regex_match should be used.
#query_parameters
def query_parameters() -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>
- (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>) — Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
#query_parameters=
def query_parameters=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>
- value (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>) — Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
- (::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>) — Specifies a list of query parameters to match against. ALL of the query parameters must be matched.
#regex_match
def regex_match() -> ::String
-
(::String) — The HTTP request path value must satisfy the regular expression
specified by regex_match after removing any query parameters and anchor
supplied with the original URL. For regular expression grammar, please
see https://github.com/google/re2/wiki/Syntax
Only one of full_path_match, prefix_match, or regex_match should be used.
#regex_match=
def regex_match=(value) -> ::String
-
value (::String) — The HTTP request path value must satisfy the regular expression
specified by regex_match after removing any query parameters and anchor
supplied with the original URL. For regular expression grammar, please
see https://github.com/google/re2/wiki/Syntax
Only one of full_path_match, prefix_match, or regex_match should be used.
-
(::String) — The HTTP request path value must satisfy the regular expression
specified by regex_match after removing any query parameters and anchor
supplied with the original URL. For regular expression grammar, please
see https://github.com/google/re2/wiki/Syntax
Only one of full_path_match, prefix_match, or regex_match should be used.