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-21 UTC."],[[["This page details the `DatabaseAdminConnection` interface for the Google Cloud Spanner service, which manages the administration of Spanner instances."],["The latest version available is `2.37.0-rc`, while the current documentation is for version `2.29.0`."],["The `DatabaseAdminConnection` interface is deprecated, and users are recommended to utilize `google::cloud::spanner_admin::DatabaseAdminClient` and `google::cloud::spanner_admin::DatabaseAdminConnection` instead."],["The page provides a comprehensive list of functions within the `DatabaseAdminConnection` class, such as `CreateDatabase`, `GetDatabase`, `GetDatabaseDdl`, and others, with detailed information on parameters and return types."],["It defines interfaces for various Remote Procedure Calls (RPCs) related to database and backup management, including creating, updating, restoring, dropping databases, as well as managing backups and IAM policies."]]],[]]