Cloud Spanner V1 Client - Class DefaultBackupScheduleType (1.92.0)

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

Indicates the default backup schedule behavior for new databases within the instance.

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

Namespace

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

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED

Value: 0

Not specified.

Generated from protobuf enum DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED = 0;

NONE

Value: 1

A default backup schedule isn't created automatically when a new database is created in the instance.

Generated from protobuf enum NONE = 1;

AUTOMATIC

Value: 2

A default backup schedule is created automatically when a new database is created in the instance. The default backup schedule creates a full backup every 24 hours. These full backups are retained for 7 days.

You can edit or delete the default backup schedule once it's created.

Generated from protobuf enum AUTOMATIC = 2;