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\u003eThe latest version available for \u003ccode\u003eHttpHeaderAction\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace is 3.6.0, while the current version of the webpage is specifically documenting version 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderAction\u003c/code\u003e is a class used for managing header transformations on both request and response objects before they are sent, respectively, to a backend service or to the client.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering various functionalities such as deep cloning, message handling, and equality comparison.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides properties for adding or removing headers from both requests and responses, using \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\u003eThe class offers two constructors: a parameterless one for default initialization, and another that takes an \u003ccode\u003eHttpHeaderAction\u003c/code\u003e object, enabling the creation of a new instance based on an existing one.\u003c/p\u003e\n"]]],[],null,[]]