Compute V1 Client - Class ConnectionDraining (1.20.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
Name Description
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
Type Description
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
Name Description
var int
Returns
Type Description
$this