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.
Implements
IMessage<HttpHeaderAction>, IEquatable<HttpHeaderAction>, IDeepCloneable<HttpHeaderAction>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
HttpHeaderAction()
public HttpHeaderAction()
HttpHeaderAction(HttpHeaderAction)
public HttpHeaderAction(HttpHeaderAction other)
Parameter | |
---|---|
Name | Description |
other | HttpHeaderAction |
Properties
RequestHeadersToAdd
public RepeatedField<HttpHeaderOption> RequestHeadersToAdd { get; }
Headers to add to a matching request prior to forwarding the request to the backendService.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedField<String> |
ResponseHeadersToAdd
public RepeatedField<HttpHeaderOption> ResponseHeadersToAdd { get; }
Headers to add the response prior to sending the response back to the client.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedField<String> |