Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
BackupId |
RestoreInfo.getBackup()
The backup source of the restored database.
|
BackupId |
BackupInfo.getId()
Returns the backup id.
|
BackupId |
Restore.getSource() |
static BackupId |
BackupId.of(InstanceId instanceId,
String backup)
Creates a
BackupId given the instance identity and backup id. |
static BackupId |
BackupId.of(String project,
String instance,
String backup)
Creates a
BackupId given project, instance and backup IDs. |
Modifier and Type | Method and Description |
---|---|
Backup.Builder |
DatabaseAdminClient.newBackupBuilder(BackupId id)
Returns a builder for a
Backup object with the given id. |
Restore.Builder |
DatabaseAdminClient.newRestoreBuilder(BackupId source,
DatabaseId destination)
Returns a builder for a
Restore object with the given source and destination |
Constructor and Description |
---|
Builder(BackupId source,
DatabaseId destination) |
Copyright © 2021 Google LLC. All rights reserved.