Uses of Class
com.google.cloud.spanner.BackupId
Packages that use BackupId
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of BackupId in com.google.cloud.spanner
Fields in com.google.cloud.spanner declared as BackupIdMethods in com.google.cloud.spanner that return BackupIdModifier 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.Methods in com.google.cloud.spanner with parameters of type BackupIdModifier 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 destinationConstructors in com.google.cloud.spanner with parameters of type BackupId -
Uses of BackupId in com.google.cloud.spanner.spi.v1
Methods in com.google.cloud.spanner.spi.v1 with parameters of type BackupIdModifier 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.