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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `HttpHeaderOption` class within the `Google.Cloud.Compute.V1` namespace, detailing how headers are added to requests or responses."],["The latest version of the `HttpHeaderOption` class is 3.6.0, with previous versions ranging from 1.0.0 to 3.5.0, all accessible via links to their respective documentation."],["`HttpHeaderOption` has properties to manage header fields such as `HeaderName`, `HeaderValue`, and `Replace`, with Boolean properties like `HasHeaderName`, `HasHeaderValue`, and `HasReplace` that indicate if these fields are set."],["The class has a default constructor `HttpHeaderOption()` and a copy constructor `HttpHeaderOption(HttpHeaderOption other)`, inheriting from `Object` and implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`Replace` property dictates whether a new header value should replace existing ones or be appended to them, defaulting to appending."]]],[]]