Compute V1 Client - Class ConnectionDraining (1.14.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

Namespace

Google \ Cloud \ Compute \ V1

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.

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this