Compute Engine v1 API - Class HttpHeaderAction (2.13.0)

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

Reference documentation and code samples for the Compute Engine v1 API class HttpHeaderAction.

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 before forwarding the request to the backendService.

Property Value
TypeDescription
RepeatedFieldHttpHeaderOption

RequestHeadersToRemove

public RepeatedField<string> RequestHeadersToRemove { get; }

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

Property Value
TypeDescription
RepeatedFieldstring

ResponseHeadersToAdd

public RepeatedField<HttpHeaderOption> ResponseHeadersToAdd { get; }

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

Property Value
TypeDescription
RepeatedFieldHttpHeaderOption

ResponseHeadersToRemove

public RepeatedField<string> ResponseHeadersToRemove { get; }

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

Property Value
TypeDescription
RepeatedFieldstring