Google Cloud Container V1 Client - Class BlueGreenSettings (1.9.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

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.

Generated from protobuf field .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

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

hasStandardRolloutPolicy

setStandardRolloutPolicy

Standard policy for the blue-green upgrade.

Generated from protobuf field .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;

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.

Generated from protobuf field optional .google.protobuf.Duration node_pool_soak_duration = 2;

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.

Generated from protobuf field optional .google.protobuf.Duration node_pool_soak_duration = 2;

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

getRolloutPolicy

Returns
TypeDescription
string