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 \ UpgradeClusterResponse
Methods
__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
setStage
The stage.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getStatus
Status of the stage.
Returns
Type
Description
int
setStatus
Status of the stage.
Parameter
Name
Description
var
int
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud AlloyDB for PostgreSQL V1 Client - Class StageInfo (1.4.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.1 (latest)](/php/docs/reference/cloud-alloydb/latest/V1.UpgradeClusterResponse.StageInfo)\n- [1.4.0](/php/docs/reference/cloud-alloydb/1.4.0/V1.UpgradeClusterResponse.StageInfo)\n- [1.3.0](/php/docs/reference/cloud-alloydb/1.3.0/V1.UpgradeClusterResponse.StageInfo)\n- [1.2.0](/php/docs/reference/cloud-alloydb/1.2.0/V1.UpgradeClusterResponse.StageInfo)\n- [1.1.3](/php/docs/reference/cloud-alloydb/1.1.3/V1.UpgradeClusterResponse.StageInfo)\n- [1.0.0](/php/docs/reference/cloud-alloydb/1.0.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.10.3](/php/docs/reference/cloud-alloydb/0.10.3/V1.UpgradeClusterResponse.StageInfo)\n- [0.9.0](/php/docs/reference/cloud-alloydb/0.9.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.8.0](/php/docs/reference/cloud-alloydb/0.8.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.7.1](/php/docs/reference/cloud-alloydb/0.7.1/V1.UpgradeClusterResponse.StageInfo)\n- [0.6.0](/php/docs/reference/cloud-alloydb/0.6.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.5.0](/php/docs/reference/cloud-alloydb/0.5.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.4.0](/php/docs/reference/cloud-alloydb/0.4.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.3.0](/php/docs/reference/cloud-alloydb/0.3.0/V1.UpgradeClusterResponse.StageInfo)\n- [0.2.1](/php/docs/reference/cloud-alloydb/0.2.1/V1.UpgradeClusterResponse.StageInfo)\n- [0.1.3](/php/docs/reference/cloud-alloydb/0.1.3/V1.UpgradeClusterResponse.StageInfo) \nReference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class StageInfo.\n\nStage information for different stages in the upgrade process.\n\nGenerated from protobuf message `google.cloud.alloydb.v1.UpgradeClusterResponse.StageInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AlloyDb \\\\ V1 \\\\ UpgradeClusterResponse\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStage\n\nThe stage.\n\n### setStage\n\nThe stage.\n\n### getStatus\n\nStatus of the stage.\n\n### setStatus\n\nStatus of the stage.\n\n### getLogsUrl\n\nlogs_url is the URL for the logs associated with a stage if that stage\nhas logs. Right now, only three stages have logs: ALLOYDB_PRECHECK,\nPG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE.\n\n### setLogsUrl\n\nlogs_url is the URL for the logs associated with a stage if that stage\nhas logs. Right now, only three stages have logs: ALLOYDB_PRECHECK,\nPG_UPGRADE_CHECK, PRIMARY_INSTANCE_UPGRADE."]]