Package | Description |
---|---|
com.google.cloud.spanner.admin.database.v1 |
The interfaces provided are listed below, along with usage samples.
|
com.google.spanner.admin.database.v1 |
Modifier and Type | Method and Description |
---|---|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(InstanceName parent,
String backupId,
BackupName sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CopyBackupMetadata> |
DatabaseAdminClient.copyBackupAsync(String parent,
String backupId,
BackupName sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
void |
DatabaseAdminClient.deleteBackup(BackupName name)
Deletes a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
Backup |
DatabaseAdminClient.getBackup(BackupName name)
Gets metadata on a pending or completed [Backup][google.spanner.admin.database.v1.Backup].
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(InstanceName parent,
String databaseId,
BackupName backup)
Create a new database by restoring from a completed backup.
|
OperationFuture<Database,RestoreDatabaseMetadata> |
DatabaseAdminClient.restoreDatabaseAsync(String parent,
String databaseId,
BackupName backup)
Create a new database by restoring from a completed backup.
|
Modifier and Type | Method and Description |
---|---|
BackupName |
BackupName.Builder.build() |
static BackupName |
BackupName.of(String project,
String instance,
String backup) |
static BackupName |
BackupName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<BackupName> |
BackupName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
BackupName.toStringList(List<BackupName> values) |
Copyright © 2022 Google LLC. All rights reserved.