public sealed class ConnectionDraining : IMessage<ConnectionDraining>, IEquatable<ConnectionDraining>, IDeepCloneable<ConnectionDraining>, IBufferMessage, IMessage
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 details the \u003ccode\u003eConnectionDraining\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, offering a comprehensive view of its versions, inheritance, implementations, and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, manages the configuration for connection draining, which is the handling of existing requests when a backend instance is removed.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent available version is 3.6.0, while the webpage content is based on version 2.0.0 of the \u003ccode\u003eConnectionDraining\u003c/code\u003e class, and the page lists all versions of the class from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConnectionDraining\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 has two constructors, \u003ccode\u003eConnectionDraining()\u003c/code\u003e and \u003ccode\u003eConnectionDraining(ConnectionDraining other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConnectionDraining\u003c/code\u003e features properties such as \u003ccode\u003eDrainingTimeoutSec\u003c/code\u003e, an integer for setting the duration, and \u003ccode\u003eHasDrainingTimeoutSec\u003c/code\u003e, a boolean indicating whether the timeout is configured.\u003c/p\u003e\n"]]],[],null,[]]