public sealed class ConnectionDraining : IMessage<ConnectionDraining>, IEquatable<ConnectionDraining>, IDeepCloneable<ConnectionDraining>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ConnectionDraining.
Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.
[[["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\u003eConnectionDraining\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\u003c/code\u003e class, used in the Compute Engine API, is a message type that defines connection draining configuration for load balancers, and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, \u003ccode\u003eConnectionDraining()\u003c/code\u003e and \u003ccode\u003eConnectionDraining(ConnectionDraining other)\u003c/code\u003e, for creating new instances, with the latter enabling the creation of a new \u003ccode\u003eConnectionDraining\u003c/code\u003e object from an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe main property of this class is \u003ccode\u003eDrainingTimeoutSec\u003c/code\u003e, which is an integer type that sets the timeout duration for existing connections on a backend instance being removed, and \u003ccode\u003eHasDrainingTimeoutSec\u003c/code\u003e which is a boolean indicating if the timeout is configured.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists previous versions of the documentation for this class ranging from version 1.0.0 to the latest release version 3.6.0.\u003c/p\u003e\n"]]],[],null,[]]