Class ConnectionDraining (2.0.0)

public sealed class ConnectionDraining : IMessage<ConnectionDraining>, IEquatable<ConnectionDraining>, IDeepCloneable<ConnectionDraining>, IBufferMessage, IMessage

Message containing connection draining configuration.

Inheritance

Object > ConnectionDraining

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ConnectionDraining()

public ConnectionDraining()

ConnectionDraining(ConnectionDraining)

public ConnectionDraining(ConnectionDraining other)
Parameter
NameDescription
otherConnectionDraining

Properties

DrainingTimeoutSec

public int DrainingTimeoutSec { get; set; }

Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining.

Property Value
TypeDescription
Int32

HasDrainingTimeoutSec

public bool HasDrainingTimeoutSec { get; }

Gets whether the "draining_timeout_sec" field is set

Property Value
TypeDescription
Boolean