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 | |
---|---|
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.
Generated from protobuf field optional int32 draining_timeout_sec = 225127070;
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.
Generated from protobuf field optional int32 draining_timeout_sec = 225127070;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |