Class UrlRewrite
The spec for modifying the path before sending the request to the matched backend service.
Inheritance
System.Object
UrlRewrite
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class UrlRewrite : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HostRewrite
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.
Declaration
[JsonProperty("hostRewrite")]
public virtual string HostRewrite { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PathPrefixRewrite
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.
Declaration
[JsonProperty("pathPrefixRewrite")]
public virtual string PathPrefixRewrite { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |