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 \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class in the Google Cloud Compute Engine v1 API allows for request and response header transformations before the request is forwarded to the backend service or the response is sent to the client.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version of the API for the \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class, and the documentation provides a list of versions ranging from 3.6.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderAction\u003c/code\u003e has properties for adding or removing headers in both requests (\u003ccode\u003eRequestHeadersToAdd\u003c/code\u003e, \u003ccode\u003eRequestHeadersToRemove\u003c/code\u003e) and responses (\u003ccode\u003eResponseHeadersToAdd\u003c/code\u003e, \u003ccode\u003eResponseHeadersToRemove\u003c/code\u003e), which use \u003ccode\u003eRepeatedField\u003c/code\u003e to manage multiple values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderAction\u003c/code\u003e class can be instantiated with or without parameters with the two provided constructors, one is empty and the other accepts another \u003ccode\u003eHttpHeaderAction\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]