Cloud Spanner V1 Client - Class State (1.87.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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1 \ Backup

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