Google Cloud Container V1 Client - Class BlueGreenSettings (1.21.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class BlueGreenSettings.

Settings for blue-green upgrade.

Generated from protobuf message google.container.v1.BlueGreenSettings

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ standard_rollout_policy Google\Cloud\Container\V1\BlueGreenSettings\StandardRolloutPolicy

Standard policy for the blue-green upgrade.

↳ node_pool_soak_duration Google\Protobuf\Duration

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

getStandardRolloutPolicy

Standard policy for the blue-green upgrade.

Returns
TypeDescription
Google\Cloud\Container\V1\BlueGreenSettings\StandardRolloutPolicy|null

hasStandardRolloutPolicy

setStandardRolloutPolicy

Standard policy for the blue-green upgrade.

Parameter
NameDescription
var Google\Cloud\Container\V1\BlueGreenSettings\StandardRolloutPolicy
Returns
TypeDescription
$this

getNodePoolSoakDuration

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasNodePoolSoakDuration

clearNodePoolSoakDuration

setNodePoolSoakDuration

Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getRolloutPolicy

Returns
TypeDescription
string