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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-31 UTC."],[[["The `ConnectionDraining` class in the `Google.Cloud.Compute.V1` namespace, found within the `Google.Cloud.Compute.V1.dll` assembly, is a message type used to configure connection draining for load balancers."],["Version 3.6.0 is the latest version, and this page specifically covers version 3.4.0, but it is also documented that there are many previous versions from 3.3.0 all the way down to 1.0.0 available."],["`ConnectionDraining` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionality for message handling, comparison, deep cloning, and buffer operations."],["The `ConnectionDraining` class contains a `DrainingTimeoutSec` property, which is an integer that configures the timeout for existing requests on a removed backend instance, and a `HasDrainingTimeoutSec` that checks if the draining timeout field is set."],["The class has two constructors, `ConnectionDraining()` and `ConnectionDraining(ConnectionDraining other)`, that are provided to create instances, one being empty and one that allows for the passing of another connectionDraining parameter."]]],[]]