Network Services V1 API - Class Google::Cloud::NetworkServices::V1::HttpRoute::URLRewrite (v1.0.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::HttpRoute::URLRewrite.

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

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 destination, the requests host header is replaced by this value.

#host_rewrite=

def host_rewrite=(value) -> ::String
Parameter
  • value (::String) — Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
Returns
  • (::String) — Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

#path_prefix_rewrite

def path_prefix_rewrite() -> ::String
Returns
  • (::String) — Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.

#path_prefix_rewrite=

def path_prefix_rewrite=(value) -> ::String
Parameter
  • value (::String) — Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
Returns
  • (::String) — Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.