See: Description
Class | Description |
---|---|
DatabaseAdminClient |
Service Description: Cloud Spanner Database Admin API
|
DatabaseAdminClient.ListDatabasesFixedSizeCollection | |
DatabaseAdminClient.ListDatabasesPage | |
DatabaseAdminClient.ListDatabasesPagedResponse | |
DatabaseAdminSettings |
Settings class to configure an instance of
DatabaseAdminClient . |
DatabaseAdminSettings.Builder |
Builder for DatabaseAdminSettings.
|
The interfaces provided are listed below, along with usage samples.
=================== 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.
Sample for DatabaseAdminClient:
try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
DatabaseName name = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
Database response = databaseAdminClient.getDatabase(name);
}
Copyright © 2019 Google LLC. All rights reserved.