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

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

Stage in the upgrade.

Protobuf type google.cloud.alloydb.v1.UpgradeClusterResponse.Stage

Namespace

Google \ Cloud \ AlloyDb \ V1 \ UpgradeClusterResponse

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STAGE_UNSPECIFIED

Value: 0

Unspecified stage.

Generated from protobuf enum STAGE_UNSPECIFIED = 0;

ALLOYDB_PRECHECK

Value: 1

Pre-upgrade custom checks, not covered by pg_upgrade.

Generated from protobuf enum ALLOYDB_PRECHECK = 1;

PG_UPGRADE_CHECK

Value: 2

Pre-upgrade pg_upgrade checks.

Generated from protobuf enum PG_UPGRADE_CHECK = 2;

PREPARE_FOR_UPGRADE

Value: 5

Clone the original cluster.

Generated from protobuf enum PREPARE_FOR_UPGRADE = 5;

PRIMARY_INSTANCE_UPGRADE

Value: 3

Upgrade the primary instance(downtime).

Generated from protobuf enum PRIMARY_INSTANCE_UPGRADE = 3;

READ_POOL_INSTANCES_UPGRADE

Value: 4

This stage is read pool upgrade.

Generated from protobuf enum READ_POOL_INSTANCES_UPGRADE = 4;

ROLLBACK

Value: 6

Rollback in case of critical failures.

Generated from protobuf enum ROLLBACK = 6;

CLEANUP

Value: 7

Cleanup.

Generated from protobuf enum CLEANUP = 7;