Google Cloud AlloyDB for PostgreSQL V1 Client - Class InstanceUpgradeDetails (1.6.0)

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

Details regarding the upgrade of instances associated with a cluster.

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

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 instance.

↳ upgrade_status int

Upgrade status of the instance.

↳ instance_type int

Instance type.

getName

Normalized name of the instance.

Returns
Type Description
string

setName

Normalized name of the instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpgradeStatus

Upgrade status of the instance.

Returns
Type Description
int Enum of type Status.

setUpgradeStatus

Upgrade status of the instance.

Parameter
Name Description
var int

Enum of type Status.

Returns
Type Description
$this

getInstanceType

Instance type.

Returns
Type Description
int Enum of type InstanceType.

setInstanceType

Instance type.

Parameter
Name Description
var int

Enum of type InstanceType.

Returns
Type Description
$this