Class: Google::Cloud::NetworkServices::V1::HttpRoute::RouteMatch

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/http_route.rb

Overview

RouteMatch defines specifications used to match requests. If multiple match types are set, this RouteMatch will match if ALL type of matches are matched.

Instance Attribute Summary collapse

Instance Attribute Details

#full_path_match::String

Returns 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.



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#headers::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::HeaderMatch>

Returns Specifies a list of HTTP request headers to match against. ALL of the supplied headers must be matched.

Returns:



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ignore_case::Boolean

Returns 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.



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#prefix_match::String

Returns 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.



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_parameters::Array<::Google::Cloud::NetworkServices::V1::HttpRoute::QueryParameterMatch>

Returns Specifies a list of query parameters to match against. ALL of the query parameters must be matched.

Returns:



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#regex_match::String

Returns 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.



212
213
214
215
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 212

class RouteMatch
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end