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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically version 3.4.0, and contains information on how request and response headers are managed before forwarding requests or sending responses.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e, allows you to add or remove headers from both requests and responses through the properties \u003ccode\u003eRequestHeadersToAdd\u003c/code\u003e, \u003ccode\u003eRequestHeadersToRemove\u003c/code\u003e, \u003ccode\u003eResponseHeadersToAdd\u003c/code\u003e, and \u003ccode\u003eResponseHeadersToRemove\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class documented, ranging from version 1.0.0 to 3.6.0, with 3.6.0 being the latest, and these are linked on the page.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and includes constructors to instantiate an \u003ccode\u003eHttpHeaderAction\u003c/code\u003e object, either as a new object or by copying from another.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderOption\u003c/code\u003e can be used when adding headers to a request or a response.\u003c/p\u003e\n"]]],[],null,[]]