Class HttpHeaderAction (1.0.0)

public sealed class HttpHeaderAction : IMessage<HttpHeaderAction>, IEquatable<HttpHeaderAction>, IDeepCloneable<HttpHeaderAction>, IBufferMessage, IMessage

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

Inheritance

Object > HttpHeaderAction

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

HttpHeaderAction()

public HttpHeaderAction()

HttpHeaderAction(HttpHeaderAction)

public HttpHeaderAction(HttpHeaderAction other)
Parameter
NameDescription
otherHttpHeaderAction

Properties

RequestHeadersToAdd

public RepeatedField<HttpHeaderOption> RequestHeadersToAdd { get; }

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

Property Value
TypeDescription
RepeatedField<HttpHeaderOption>

RequestHeadersToRemove

public RepeatedField<string> RequestHeadersToRemove { get; }

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

Property Value
TypeDescription
RepeatedField<String>

ResponseHeadersToAdd

public RepeatedField<HttpHeaderOption> ResponseHeadersToAdd { get; }

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

Property Value
TypeDescription
RepeatedField<HttpHeaderOption>

ResponseHeadersToRemove

public RepeatedField<string> ResponseHeadersToRemove { get; }

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

Property Value
TypeDescription
RepeatedField<String>