Network Services V1 API - Class Google::Cloud::NetworkServices::V1::HttpRoute::RouteMatch (v0.2.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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>
Returns

#headers=

def headers=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>
Parameter
Returns

#ignore_case

def ignore_case() -> ::Boolean
Returns
  • (::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
Parameter
  • value (::Boolean) — Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.
Returns
  • (::Boolean) — Specifies if prefix_match and full_path_match matches are case sensitive. The default value is false.

#prefix_match

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

Returns
  • (::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>
Returns

#query_parameters=

def query_parameters=(value) -> ::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>
Parameter
Returns

#regex_match

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

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