defaultBackupScheduleType property

String? defaultBackupScheduleType
getter/setter pair

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

By default, a backup schedule is created automatically when a new database is created in a new instance. Note that the AUTOMATIC value isn't permitted for free instances, as backups and backup schedules aren't supported for free instances. In the GetInstance or ListInstances response, if the value of default_backup_schedule_type isn't set, or set to NONE, Spanner doesn't create a default backup schedule for new databases in the instance.

Optional. Possible string values are:

  • "DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED" : Not specified.
  • "NONE" : A default backup schedule isn't created automatically when a new database is created in the instance.
  • "AUTOMATIC" : 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.

Implementation

core.String? defaultBackupScheduleType;