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(InstanceName parent,
String backupId,
String sourceBackup,
Timestamp expireTime)
Starts copying a Cloud Spanner Backup.
|
OperationFuture<Backup,CreateBackupMetadata> |
DatabaseAdminClient.createBackupAsync(InstanceName parent,
Backup backup,
String backupId)
Starts creating a new Cloud Spanner Backup.
|
OperationFuture<Database,CreateDatabaseMetadata> |
DatabaseAdminClient.createDatabaseAsync(InstanceName parent,
String createStatement)
Creates a new Cloud Spanner database and starts to prepare it for serving.
|
DatabaseAdminClient.ListBackupOperationsPagedResponse |
DatabaseAdminClient.listBackupOperations(InstanceName parent)
Lists the backup [long-running operations][google.longrunning.Operation] in the given instance.
|
DatabaseAdminClient.ListBackupsPagedResponse |
DatabaseAdminClient.listBackups(InstanceName parent)
Lists completed and pending backups.
|
DatabaseAdminClient.ListDatabaseOperationsPagedResponse |
DatabaseAdminClient.listDatabaseOperations(InstanceName parent)
Lists database [longrunning-operations][google.longrunning.Operation].
|
DatabaseAdminClient.ListDatabasesPagedResponse |
DatabaseAdminClient.listDatabases(InstanceName parent)
Lists Cloud Spanner databases.
|
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(InstanceName parent,
String databaseId,
String backup)
Create a new database by restoring from a completed backup.
|
Modifier and Type | Method and Description |
---|---|
InstanceName |
InstanceName.Builder.build() |
static InstanceName |
InstanceName.of(String project,
String instance) |
static InstanceName |
InstanceName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<InstanceName> |
InstanceName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
InstanceName.toStringList(List<InstanceName> values) |
Copyright © 2022 Google LLC. All rights reserved.