Google Cloud AlloyDB for PostgreSQL V1 Client - Class State (0.4.0)

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

State contains all valid instance states for the BatchCreateInstances operation. This is mainly used for status reporting through the LRO metadata.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstanceStatus.State

Namespace

Google \ Cloud \ AlloyDb \ V1 \ BatchCreateInstanceStatus

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

The state of the instance is unknown.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

PENDING_CREATE

Value: 1

Instance is pending creation and has not yet been picked up for processsing in the backend.

Generated from protobuf enum PENDING_CREATE = 1;

READY

Value: 2

The instance is active and running.

Generated from protobuf enum READY = 2;

CREATING

Value: 3

The instance is being created.

Generated from protobuf enum CREATING = 3;

DELETING

Value: 4

The instance is being deleted.

Generated from protobuf enum DELETING = 4;

FAILED

Value: 5

The creation of the instance failed or a fatal error occurred during an operation on the instance or a batch of instances.

Generated from protobuf enum FAILED = 5;

ROLLED_BACK

Value: 6

The instance was created successfully, but was rolled back and deleted due to some other failure during BatchCreateInstances operation.

Generated from protobuf enum ROLLED_BACK = 6;