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 \ InstanceMethods
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 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;