Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class StageStatus.
Status of an upgrade stage.
Generated from protobuf message google.cloud.alloydb.v1.UpgradeClusterStatus.StageStatus
Namespace
Google \ Cloud \ AlloyDb \ V1 \ UpgradeClusterStatusMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ read_pool_instances_upgrade |
ReadPoolInstancesUpgradeStageStatus
Read pool instances upgrade metadata. |
↳ stage |
int
Upgrade stage. |
↳ state |
int
State of this stage. |
↳ schedule |
StageStatus\StageSchedule
Output only. Timing information for the stage execution. |
getReadPoolInstancesUpgrade
Read pool instances upgrade metadata.
| Returns | |
|---|---|
| Type | Description |
ReadPoolInstancesUpgradeStageStatus|null |
|
hasReadPoolInstancesUpgrade
setReadPoolInstancesUpgrade
Read pool instances upgrade metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
ReadPoolInstancesUpgradeStageStatus
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStage
Upgrade stage.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Stage. |
setStage
Upgrade stage.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Stage. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
State of this stage.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Status. |
setState
State of this stage.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Status. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSchedule
Output only. Timing information for the stage execution.
| Returns | |
|---|---|
| Type | Description |
StageStatus\StageSchedule|null |
|
hasSchedule
clearSchedule
setSchedule
Output only. Timing information for the stage execution.
| Parameter | |
|---|---|
| Name | Description |
var |
StageStatus\StageSchedule
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStageSpecificStatus
| Returns | |
|---|---|
| Type | Description |
string |
|