Reference documentation and code samples for the Google Cloud Network Services V1 Client class URLRewrite.
The specification for modifying the URL of the request, prior to forwarding the request to the destination.
Generated from protobuf message google.cloud.networkservices.v1.HttpRoute.URLRewrite
Namespace
Google \ Cloud \ NetworkServices \ V1 \ HttpRouteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ path_prefix_rewrite
string
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
↳ host_rewrite
string
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
getPathPrefixRewrite
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
string
setPathPrefixRewrite
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
var
string
$this
getHostRewrite
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
string
setHostRewrite
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
var
string
$this