@Generated(value="by gapic-generator-java")
See: Description
Class | Description |
---|---|
DatabaseAdminClient |
Service Description: Cloud Spanner Database Admin API
|
DatabaseAdminClient.ListBackupOperationsFixedSizeCollection | |
DatabaseAdminClient.ListBackupOperationsPage | |
DatabaseAdminClient.ListBackupOperationsPagedResponse | |
DatabaseAdminClient.ListBackupsFixedSizeCollection | |
DatabaseAdminClient.ListBackupsPage | |
DatabaseAdminClient.ListBackupsPagedResponse | |
DatabaseAdminClient.ListDatabaseOperationsFixedSizeCollection | |
DatabaseAdminClient.ListDatabaseOperationsPage | |
DatabaseAdminClient.ListDatabaseOperationsPagedResponse | |
DatabaseAdminClient.ListDatabasesFixedSizeCollection | |
DatabaseAdminClient.ListDatabasesPage | |
DatabaseAdminClient.ListDatabasesPagedResponse | |
DatabaseAdminSettings |
Settings class to configure an instance of
DatabaseAdminClient . |
DatabaseAdminSettings.Builder |
Builder for DatabaseAdminSettings.
|
======================= DatabaseAdminClient =======================
Service Description: Cloud Spanner Database Admin API
The Cloud Spanner Database Admin API can be used to create, drop, and list databases. It also enables updating the schema of pre-existing databases. It can be also used to create, delete and list backups for a database and to restore from an existing backup.
Sample for DatabaseAdminClient:
try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
Database response = databaseAdminClient.getDatabase(name);
}
Copyright © 2021 Google LLC. All rights reserved.