public sealed class HttpHeaderOption : IMessage<HttpHeaderOption>, IEquatable<HttpHeaderOption>, IDeepCloneable<HttpHeaderOption>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class HttpHeaderOption.
Specification determining how headers are added to requests or responses.
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false.
[[["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 webpage provides documentation for the \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class within the Google Cloud Compute Engine v1 API for .NET, with the current version being 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class, which inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, defines how headers are added to HTTP requests or responses.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers multiple versions of this API, with the latest version being 3.6.0 and a list of versions down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eHeaderName\u003c/code\u003e, \u003ccode\u003eHeaderValue\u003c/code\u003e, and \u003ccode\u003eReplace\u003c/code\u003e, allowing for control over header name, value, and whether to replace existing header values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class has methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, inherited from the \u003ccode\u003eobject\u003c/code\u003e class, which are relevant to object manipulation and representation.\u003c/p\u003e\n"]]],[],null,[]]