Class: Google::Cloud::NetworkServices::V1::HttpRoute::URLRewrite

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

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

Instance Attribute Summary collapse

Instance Attribute Details

#host_rewrite::String

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



401
402
403
404
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 401

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

#path_prefix_rewrite::String

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



401
402
403
404
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 401

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