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 Compute Engine v1 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library is 3.6.0, and the webpage lists all available versions from 1.0.0 to 3.6.0 with corresponding links to the documentation for each version of \u003ccode\u003eConnectionDraining\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\u003c/code\u003e class is a message type that configures connection draining for supported load balancers and protocols, as found in the google documentation, and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has one property \u003ccode\u003eDrainingTimeoutSec\u003c/code\u003e of type int, which represents the timeout for existing requests when a backend instance is removed, and another property \u003ccode\u003eHasDrainingTimeoutSec\u003c/code\u003e of type bool that checks if the \u003ccode\u003edraining_timeout_sec\u003c/code\u003e field is set.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\u003c/code\u003e class offers two constructors, a default constructor and one that takes another \u003ccode\u003eConnectionDraining\u003c/code\u003e object as parameter.\u003c/p\u003e\n"]]],[],null,[]]