Uses of Class
com.google.cloud.spanner.BackupId
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of BackupId in com.google.cloud.spanner
Modifier and TypeMethodDescriptionRestoreInfo.getBackup()
The backup source of the restored database.BackupInfo.getId()
Returns the backup id.Restore.getSource()
static BackupId
BackupId.of
(InstanceId instanceId, String backup) Creates aBackupId
given the instance identity and backup id.static BackupId
Creates aBackupId
given project, instance and backup IDs.Modifier and TypeMethodDescriptiondefault com.google.api.gax.longrunning.OperationFuture<Backup,
CopyBackupMetadata> DatabaseAdminClient.copyBackup
(BackupId sourceBackupId, Backup destinationBackup) Creates a copy of backup from an existing backup in Cloud Spanner in the same instance.DatabaseAdminClient.newBackupBuilder
(BackupId id) Returns a builder for aBackup
object with the given id.DatabaseAdminClient.newRestoreBuilder
(BackupId source, DatabaseId destination) Returns a builder for aRestore
object with the given source and destination -
Uses of BackupId in com.google.cloud.spanner.spi.v1
Modifier and TypeMethodDescriptioncom.google.api.gax.longrunning.OperationFuture<Backup,
CopyBackupMetadata> GapicSpannerRpc.copyBackup
(BackupId sourceBackupId, Backup destinationBackup) default com.google.api.gax.longrunning.OperationFuture<Backup,
CopyBackupMetadata> SpannerRpc.copyBackup
(BackupId sourceBackupId, Backup destinationBackup) Creates a copy backup from the source backup specified.