public sealed class HttpHeaderOption : IMessage<HttpHeaderOption>, IEquatable<HttpHeaderOption>, IDeepCloneable<HttpHeaderOption>, IBufferMessage, IMessage
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 \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, detailing how headers are added to requests or responses.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eHttpHeaderOption\u003c/code\u003e is 3.6.0, and multiple historical versions are also accessible, ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderOption\u003c/code\u003e implements several 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\u003eThe \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class includes properties such as \u003ccode\u003eHeaderName\u003c/code\u003e, \u003ccode\u003eHeaderValue\u003c/code\u003e, and \u003ccode\u003eReplace\u003c/code\u003e, which allow users to specify header details, and also it provides getters to check if these properties have been set, using the \u003ccode\u003eHas\u003c/code\u003e prefix.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReplace\u003c/code\u003e property dictates whether the header value is appended to existing values or if it overwrites them, defaulting to appending.\u003c/p\u003e\n"]]],[],null,[]]