A connection to the Cloud Spanner instance administration service.
This interface defines pure-virtual methods for each of the user-facing overload sets in DatabaseAdminClient. This allows users to inject custom behavior (e.g., with a Google Mock object) in a DatabaseAdminClient object for use in their own tests.
To create a concrete instance that connects you to a real Cloud Spanner instance administration service, see MakeDatabaseAdminConnection().
Functions
virtual options()
Returns
Type
Description
Options
CreateDatabase(CreateDatabaseParams)
Define the interface for a google.spanner.v1.DatabaseAdmin.CreateDatabase RPC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This webpage details the `DatabaseAdminConnection` interface for the Google Cloud Spanner instance administration service, with the latest version being 2.37.0-rc, and older versions listed down to 2.11.0."],["The `DatabaseAdminConnection` interface, which is now deprecated, defines virtual methods corresponding to the user-facing overload sets within `DatabaseAdminClient`."],["The content offers a way for users to integrate custom behavior, such as through the use of Google Mock objects, into a `DatabaseAdminClient` instance for testing purposes."],["The content highlights key functions for database management such as `CreateDatabase`, `GetDatabase`, `UpdateDatabase`, `DropDatabase`, and other interfaces, as well as database backup functionalities."],["The content offers a variety of functions that facilitate the management of database policies and testing permissions using functions like `GetIamPolicy`, `SetIamPolicy`, and `TestIamPermissions`."]]],[]]