Google Cloud Container V1 Client - Class BlueGreenSettings (2.2.0)

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
Name Description
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
Type Description
Google\Cloud\Container\V1\BlueGreenSettings\StandardRolloutPolicy|null

hasStandardRolloutPolicy

setStandardRolloutPolicy

Standard policy for the blue-green upgrade.

Parameter
Name Description
var Google\Cloud\Container\V1\BlueGreenSettings\StandardRolloutPolicy
Returns
Type Description
$this

getNodePoolSoakDuration

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

Returns
Type Description
Google\Protobuf\Duration|null

hasNodePoolSoakDuration

clearNodePoolSoakDuration

setNodePoolSoakDuration

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

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getRolloutPolicy

Returns
Type Description
string