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\u003eThe latest version available for the \u003ccode\u003eConnectionDraining\u003c/code\u003e class is 3.6.0, but there are many versions available between version 1.0.0 all the way up to the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is found within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConnectionDraining\u003c/code\u003e class provides configuration for connection draining, a feature that manages how existing requests are handled when a backend instance is removed.\u003c/p\u003e\n"],["\u003cp\u003eThe class is sealed and 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, allowing for deep cloning, equality checks, and message-based interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe primary property of the \u003ccode\u003eConnectionDraining\u003c/code\u003e class is \u003ccode\u003eDrainingTimeoutSec\u003c/code\u003e, which allows you to configure a timeout duration for existing requests on a removed backend instance, with a \u003ccode\u003eHasDrainingTimeoutSec\u003c/code\u003e property to know if it is set.\u003c/p\u003e\n"]]],[],null,[]]