Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class StageInfo.
Stage information for different stages in the upgrade process.
Generated from protobuf message google.cloud.alloydb.v1.UpgradeClusterResponse.StageInfo
Namespace
Google \ Cloud \ AlloyDb \ V1 \ UpgradeClusterResponseMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ stage |
int
The stage. |
↳ status |
int
Status of the stage. |
↳ logs_url |
string
logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE. |
getStage
The stage.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Stage. |
setStage
The stage.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Stage. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStatus
Status of the stage.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Status. |
setStatus
Status of the stage.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Status. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLogsUrl
logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLogsUrl
logs_url is the URL for the logs associated with a stage if that stage has logs. Right now, only three stages have logs: ALLOYDB_PRECHECK, PG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|