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 page details the `DatabaseAdminConnection` interface, which allows interaction with the Cloud Spanner instance administration service, but it is now deprecated in favor of using `DatabaseAdminClient` and `DatabaseAdminConnection` within the `google::cloud::spanner_admin` namespace."],["The document provides a list of various available versions of the Spanner C++ library, including release candidates, ranging from version 2.37.0-rc down to version 2.11.0."],["The `DatabaseAdminConnection` interface offers pure-virtual methods for RPCs like `CreateDatabase`, `GetDatabase`, `GetDatabaseDdl`, `UpdateDatabase`, `DropDatabase`, and `ListDatabases` and other key functions that are needed for cloud spanner database management."],["This document also outlines the interface for managing database backups, including creating, retrieving, deleting, updating, listing backups and their operations, through a series of functions such as `CreateBackup`, `GetBackup`, `DeleteBackup`, `UpdateBackup`, `ListBackups`, and `ListBackupOperations`."],["To connect to a live Cloud Spanner instance administration service, users should use the `MakeDatabaseAdminConnection()` function."]]],[]]