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 document details the `DatabaseAdminConnection` class, which establishes a connection to the Cloud Spanner instance administration service."],["The `DatabaseAdminConnection` class interface is deprecated; users should utilize `google::cloud::spanner_admin::DatabaseAdminClient` and `google::cloud::spanner_admin::DatabaseAdminConnection` instead."],["The class interface provides methods to define pure-virtual methods for overloads found in `DatabaseAdminClient` to allow for custom behaviors in testing."],["The document provides an extensive list of functions in the class interface, that allow for managing different aspects of the Cloud Spanner database, such as creating, updating, and managing databases, backups, and access control."],["There are multiple versions of the Spanner document shown here, ranging from 2.11.0 to 2.37.0-rc."]]],[]]