@@ -143,6 +143,19 @@ message Table {
143143 FULL = 4 ;
144144 }
145145
146+ // Defines an automated backup policy for a table
147+ message AutomatedBackupPolicy {
148+ // Required. How long the automated backups should be retained. The only
149+ // supported value at this time is 3 days.
150+ google.protobuf.Duration retention_period = 1
151+ [(google.api.field_behavior ) = REQUIRED ];
152+
153+ // Required. How frequently automated backups should occur. The only
154+ // supported value at this time is 24 hours.
155+ google.protobuf.Duration frequency = 2
156+ [(google.api.field_behavior ) = REQUIRED ];
157+ }
158+
146159 // The unique name of the table. Values are of the form
147160 // `projects/{project}/instances/{instance}/tables/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
148161 // Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL`
@@ -185,6 +198,12 @@ message Table {
185198 //
186199 // Note one can still delete the data stored in the table through Data APIs.
187200 bool deletion_protection = 9 ;
201+
202+ oneof automated_backup_config {
203+ // If specified, automated backups are enabled for this table.
204+ // Otherwise, automated backups are disabled.
205+ AutomatedBackupPolicy automated_backup_policy = 13 ;
206+ }
188207}
189208
190209// AuthorizedViews represent subsets of a particular Cloud Bigtable table. Users
0 commit comments