Cloud Spanner V1 Client - Class State (1.84.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class State.

Indicates the current state of the instance partition.

Protobuf type google.spanner.admin.instance.v1.InstancePartition.State

Namespace

Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ InstancePartition

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

CREATING

Value: 1

The instance partition is still being created. Resources may not be available yet, and operations such as creating placements using this instance partition may not work.

Generated from protobuf enum CREATING = 1;

READY

Value: 2

The instance partition is fully created and ready to do work such as creating placements and using in databases.

Generated from protobuf enum READY = 2;