File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
google/spanner/admin/database/v1 Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,13 @@ message Backup {
207
207
// retained by the backup system.
208
208
google.protobuf.Timestamp oldest_version_time = 18
209
209
[(google.api.field_behavior ) = OUTPUT_ONLY ];
210
+
211
+ // Output only. The instance partition(s) storing the backup.
212
+ //
213
+ // This is the same as the list of the instance partition(s) that the database
214
+ // had footprint in at the backup's `version_time`.
215
+ repeated BackupInstancePartition instance_partitions = 19
216
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
210
217
}
211
218
212
219
// The request for
@@ -755,3 +762,12 @@ message FullBackupSpec {}
755
762
// successive incremental backups. The first backup created for an
756
763
// incremental backup chain is always a full backup.
757
764
message IncrementalBackupSpec {}
765
+
766
+ // Instance partition information for the backup.
767
+ message BackupInstancePartition {
768
+ // A unique identifier for the instance partition. Values are of the form
769
+ // `projects/<project>/instances/<instance>/instancePartitions/<instance_partition_id>`
770
+ string instance_partition = 1 [(google.api.resource_reference ) = {
771
+ type : "spanner.googleapis.com/InstancePartition"
772
+ }];
773
+ }
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ option (google.api.resource_definition) = {
42
42
type : "spanner.googleapis.com/Instance"
43
43
pattern : "projects/{project}/instances/{instance}"
44
44
};
45
+ option (google.api.resource_definition ) = {
46
+ type : "spanner.googleapis.com/InstancePartition"
47
+ pattern : "projects/{project}/instances/{instance}/instancePartitions/{instance_partition}"
48
+ };
45
49
46
50
// Cloud Spanner Database Admin API
47
51
//
You can’t perform that action at this time.
0 commit comments