Reference documentation and code samples for the Google Cloud Container V1 Client class RollbackSafeUpgradeStatus.
RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.
Generated from protobuf message google.container.v1.RollbackSafeUpgradeStatus
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mode |
int
Output only. The mode of the rollback-safe upgrade. |
↳ control_plane_upgrade_rollback_end_time |
Google\Protobuf\Timestamp
Output only. The rollback-safe mode expiration time. |
↳ previous_version |
string
Output only. The GKE version that the cluster previously used before step-one upgrade. |
getMode
Output only. The mode of the rollback-safe upgrade.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Mode. |
setMode
Output only. The mode of the rollback-safe upgrade.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Mode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getControlPlaneUpgradeRollbackEndTime
Output only. The rollback-safe mode expiration time.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasControlPlaneUpgradeRollbackEndTime
clearControlPlaneUpgradeRollbackEndTime
setControlPlaneUpgradeRollbackEndTime
Output only. The rollback-safe mode expiration time.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPreviousVersion
Output only. The GKE version that the cluster previously used before step-one upgrade.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPreviousVersion
Output only. The GKE version that the cluster previously used before step-one upgrade.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|