Google Cloud AlloyDB for PostgreSQL V1 Client - Class StageInfo (1.3.0)

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.

Parameter
Name Description
var string
Returns
Type Description
$this