Cloud Spanner V1 Client - Class State (1.62.1)

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

Indicates the current state of the instance.

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

Namespace

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

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

CREATING

Value: 1

The instance is still being created. Resources may not be available yet, and operations such as database creation may not work.

Generated from protobuf enum CREATING = 1;

READY

Value: 2

The instance is fully created and ready to do work such as creating databases.

Generated from protobuf enum READY = 2;