Cloud Spanner V1 Client - Class State (1.56.0)

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

Methods

name

Parameter
NameDescription
value mixed

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;