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\u003eThe latest version available for the \u003ccode\u003eHttpHeaderOption\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace is 3.6.0, with numerous previous versions ranging from 3.5.0 down to 1.0.0 also accessible.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderOption\u003c/code\u003e is a class within the Compute Engine v1 API, designed to specify how headers are managed in requests or responses.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<HttpHeaderOption>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<HttpHeaderOption>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides several properties such as \u003ccode\u003eHeaderName\u003c/code\u003e, \u003ccode\u003eHeaderValue\u003c/code\u003e, and \u003ccode\u003eReplace\u003c/code\u003e, to control header attributes and how they are added or replaced.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHttpHeaderOption\u003c/code\u003e offers two constructors: a default constructor and one that takes another \u003ccode\u003eHttpHeaderOption\u003c/code\u003e instance as a parameter, enabling easy cloning of an existing instance.\u003c/p\u003e\n"]]],[],null,[]]