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 backup.

Protobuf type google.spanner.admin.database.v1.Backup.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 pending backup is still being created. Operations on the backup may fail with FAILED_PRECONDITION in this state.

Generated from protobuf enum CREATING = 1;

READY

Value: 2

The backup is complete and ready for use.

Generated from protobuf enum READY = 2;