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.
Implements
IMessageHttpHeaderAction, IEquatableHttpHeaderAction, IDeepCloneableHttpHeaderAction, 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 before forwarding the request to the backendService.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |
ResponseHeadersToAdd
public RepeatedField<HttpHeaderOption> ResponseHeadersToAdd { get; }
Headers to add the response before sending the response back to the client.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |