@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 * update the schema of pre-existing databases * create, delete and list backups for a database * restore a database from an existing backup
Sample for DatabaseAdminClient:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
Database response = databaseAdminClient.getDatabase(name);
}
Copyright © 2022 Google LLC. All rights reserved.