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 reference documentation for the \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class within the Google Compute Engine v1 API for .NET, detailing its usage and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, allows you to specify how headers are added to HTTP requests or responses.\u003c/p\u003e\n"],["\u003cp\u003eThe latest documented version is 3.6.0, but numerous previous versions of the class are listed and available, ranging down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class has properties such as \u003ccode\u003eHeaderName\u003c/code\u003e, \u003ccode\u003eHeaderValue\u003c/code\u003e, and \u003ccode\u003eReplace\u003c/code\u003e, which are used to control the header name, header value, and if an existing header should be replaced, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe HttpHeaderOption class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits from object, adding functionality.\u003c/p\u003e\n"]]],[],null,[]]