Class HttpHeaderAction
The request and response header transformations that take effect before the request is passed along to the selected backendService.
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class HttpHeaderAction : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestHeadersToAdd
Headers to add to a matching request before forwarding the request to the backendService.
Declaration
[JsonProperty("requestHeadersToAdd")]
public virtual IList<HttpHeaderOption> RequestHeadersToAdd { get; set; }
Property Value
Type | Description |
---|---|
IList<HttpHeaderOption> |
RequestHeadersToRemove
A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
Declaration
[JsonProperty("requestHeadersToRemove")]
public virtual IList<string> RequestHeadersToRemove { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ResponseHeadersToAdd
Headers to add the response before sending the response back to the client.
Declaration
[JsonProperty("responseHeadersToAdd")]
public virtual IList<HttpHeaderOption> ResponseHeadersToAdd { get; set; }
Property Value
Type | Description |
---|---|
IList<HttpHeaderOption> |
ResponseHeadersToRemove
A list of header names for headers that need to be removed from the response before sending the response back to the client.
Declaration
[JsonProperty("responseHeadersToRemove")]
public virtual IList<string> ResponseHeadersToRemove { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |