The spec for modifying the path before sending the request to the matched backend service.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#host_rewrite
def host_rewrite() -> ::String
Returns
- (::String) — Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.
#host_rewrite=
def host_rewrite=(value) -> ::String
Parameter
- value (::String) — Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.
Returns
- (::String) — Prior to forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be between 1 and 255 characters.
#path_prefix_rewrite
def path_prefix_rewrite() -> ::String
Returns
- (::String) — Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.
#path_prefix_rewrite=
def path_prefix_rewrite=(value) -> ::String
Parameter
- value (::String) — Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.
Returns
- (::String) — Prior to forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be between 1 and 1024 characters.