public sealed class HttpRoute.Types.URLRewrite : IMessage<HttpRoute.Types.URLRewrite>, IEquatable<HttpRoute.Types.URLRewrite>, IDeepCloneable<HttpRoute.Types.URLRewrite>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class HttpRoute.Types.URLRewrite.
The specification for modifying the URL of the request, prior to forwarding the request to the destination.
Implements
IMessageHttpRouteTypesURLRewrite, IEquatableHttpRouteTypesURLRewrite, IDeepCloneableHttpRouteTypesURLRewrite, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
URLRewrite()
public URLRewrite()
URLRewrite(URLRewrite)
public URLRewrite(HttpRoute.Types.URLRewrite other)
Parameter | |
---|---|
Name | Description |
other |
HttpRouteTypesURLRewrite |
Properties
HostRewrite
public string HostRewrite { get; set; }
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.
Property Value | |
---|---|
Type | Description |
string |
PathPrefixRewrite
public string PathPrefixRewrite { get; set; }
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
Property Value | |
---|---|
Type | Description |
string |