Compute V1 Client - Class ConnectionDraining (1.5.0)

Reference documentation and code samples for the Compute V1 Client class ConnectionDraining.

Message containing connection draining configuration.

Generated from protobuf message google.cloud.compute.v1.ConnectionDraining

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ draining_timeout_sec int

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

getDrainingTimeoutSec

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

Generated from protobuf field optional int32 draining_timeout_sec = 225127070;

Returns
TypeDescription
int

hasDrainingTimeoutSec

clearDrainingTimeoutSec

setDrainingTimeoutSec

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

Generated from protobuf field optional int32 draining_timeout_sec = 225127070;

Parameter
NameDescription
var int
Returns
TypeDescription
$this