Show / Hide Table of Contents

Class HttpHeaderAction

The request and response header transformations that take effect before the request is passed along to the selected backendService.

Inheritance
System.Object
HttpHeaderAction
Implements
IDirectResponseSchema
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 HttpHeaderAction : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

RequestHeadersToAdd

Headers to add to a matching request prior to forwarding the request to the backendService.

Declaration
[JsonProperty("requestHeadersToAdd")]
public virtual IList<HttpHeaderOption> RequestHeadersToAdd { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<HttpHeaderOption>

RequestHeadersToRemove

A list of header names for headers that need to be removed from the request prior to forwarding the request to the backendService.

Declaration
[JsonProperty("requestHeadersToRemove")]
public virtual IList<string> RequestHeadersToRemove { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ResponseHeadersToAdd

Headers to add the response prior to sending the response back to the client.

Declaration
[JsonProperty("responseHeadersToAdd")]
public virtual IList<HttpHeaderOption> ResponseHeadersToAdd { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<HttpHeaderOption>

ResponseHeadersToRemove

A list of header names for headers that need to be removed from the response prior to sending the response back to the client.

Declaration
[JsonProperty("responseHeadersToRemove")]
public virtual IList<string> ResponseHeadersToRemove { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Implements

IDirectResponseSchema
In This Article
Back to top