@@ -972,6 +972,24 @@ message Instance {
972972 ENTERPRISE_PLUS = 3 ;
973973 }
974974
975+ // Indicates the default backup behavior for new databases within the
976+ // instance.
977+ enum DefaultBackupScheduleType {
978+ // Not specified.
979+ DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED = 0 ;
980+
981+ // No default backup schedule will be created automatically on creation of a
982+ // database within the instance.
983+ NONE = 1 ;
984+
985+ // A default backup schedule will be created automatically on creation of a
986+ // database within the instance. The default backup schedule creates a full
987+ // backup every 24 hours and retains the backup for a period of 7 days. Once
988+ // created, the default backup schedule can be edited/deleted similar to any
989+ // other backup schedule.
990+ AUTOMATIC = 2 ;
991+ }
992+
975993 // Required. A unique identifier for the instance, which cannot be changed
976994 // after the instance is created. Values are of the form
977995 // `projects/<project>/instances/[a-z][-a-z0-9]*[a-z0-9]`. The final
@@ -1093,6 +1111,18 @@ message Instance {
10931111
10941112 // Optional. The `Edition` of the current instance.
10951113 Edition edition = 20 [(google.api.field_behavior ) = OPTIONAL ];
1114+
1115+ // Optional. Controls the default backup behavior for new databases within the
1116+ // instance.
1117+ //
1118+ // Note that `AUTOMATIC` is not permitted for free instances, as backups and
1119+ // backup schedules are not allowed for free instances.
1120+ //
1121+ // In the `GetInstance` or `ListInstances` response, if the value of
1122+ // default_backup_schedule_type is unset or NONE, no default backup
1123+ // schedule will be created for new databases within the instance.
1124+ DefaultBackupScheduleType default_backup_schedule_type = 23
1125+ [(google.api.field_behavior ) = OPTIONAL ];
10961126}
10971127
10981128// The request for
0 commit comments