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 | |
---|---|
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.
Generated from protobuf field .google.container.v1.BlueGreenSettings.StandardRolloutPolicy standard_rollout_policy = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field optional .google.protobuf.Duration node_pool_soak_duration = 2;
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.
Generated from protobuf field optional .google.protobuf.Duration node_pool_soak_duration = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getRolloutPolicy
Returns | |
---|---|
Type | Description |
string |