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

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ClusterUpgradeDetails.

Upgrade details of a cluster. This cluster can be primary or secondary.

Generated from protobuf message google.cloud.alloydb.v1.UpgradeClusterResponse.ClusterUpgradeDetails

Namespace

Google \ Cloud \ AlloyDb \ V1 \ UpgradeClusterResponse

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Normalized name of the cluster

↳ upgrade_status int

Upgrade status of the cluster.

↳ cluster_type int

Cluster type which can either be primary or secondary.

↳ database_version int

Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

↳ stage_info array<StageInfo>

Array containing stage info associated with this cluster.

↳ instance_upgrade_details array<InstanceUpgradeDetails>

Upgrade details of the instances directly associated with this cluster.

getName

Normalized name of the cluster

Returns
Type Description
string

setName

Normalized name of the cluster

Parameter
Name Description
var string
Returns
Type Description
$this

getUpgradeStatus

Upgrade status of the cluster.

Returns
Type Description
int

setUpgradeStatus

Upgrade status of the cluster.

Parameter
Name Description
var int
Returns
Type Description
$this

getClusterType

Cluster type which can either be primary or secondary.

Returns
Type Description
int

setClusterType

Cluster type which can either be primary or secondary.

Parameter
Name Description
var int
Returns
Type Description
$this

getDatabaseVersion

Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

Returns
Type Description
int

setDatabaseVersion

Database version of the cluster after the upgrade operation. This will be the target version if the upgrade was successful otherwise it remains the same as that before the upgrade operation.

Parameter
Name Description
var int
Returns
Type Description
$this

getStageInfo

Array containing stage info associated with this cluster.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setStageInfo

Array containing stage info associated with this cluster.

Parameter
Name Description
var array<StageInfo>
Returns
Type Description
$this

getInstanceUpgradeDetails

Upgrade details of the instances directly associated with this cluster.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstanceUpgradeDetails

Upgrade details of the instances directly associated with this cluster.

Parameter
Name Description
var array<InstanceUpgradeDetails>
Returns
Type Description
$this