Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
com.google.cloud.spanner.spi.v1 |
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 |
---|---|
default 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.
|
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) |
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CopyBackupMetadata> |
GapicSpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup) |
default OperationFuture<Backup,CopyBackupMetadata> |
SpannerRpc.copyBackup(BackupId sourceBackupId,
Backup destinationBackup)
Creates a copy backup from the source backup specified.
|
Copyright © 2022 Google LLC. All rights reserved.