public sealed class ConsistentHashLoadBalancerSettingsHttpCookie : IMessage<ConsistentHashLoadBalancerSettingsHttpCookie>, IEquatable<ConsistentHashLoadBalancerSettingsHttpCookie>, IDeepCloneable<ConsistentHashLoadBalancerSettingsHttpCookie>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ConsistentHashLoadBalancerSettingsHttpCookie.
The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
[[["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 of the \u003ccode\u003eConsistentHashLoadBalancerSettingsHttpCookie\u003c/code\u003e class is 3.6.0, with several previous versions also available, ranging from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, and is used for managing HTTP cookie settings in consistent hash load balancing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConsistentHashLoadBalancerSettingsHttpCookie\u003c/code\u003e class 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 class has properties for configuring the cookie, such as \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePath\u003c/code\u003e, and \u003ccode\u003eTtl\u003c/code\u003e (Time To Live), and also includes boolean checks like \u003ccode\u003eHasName\u003c/code\u003e and \u003ccode\u003eHasPath\u003c/code\u003e to check if the properties have been set.\u003c/p\u003e\n"],["\u003cp\u003eThere are 2 constructors available to build a \u003ccode\u003eConsistentHashLoadBalancerSettingsHttpCookie\u003c/code\u003e object, one default and one allowing to clone from an existing object.\u003c/p\u003e\n"]]],[],null,[]]