Install the Google.Cloud.Spanner.Admin.Database.V1 package from NuGet. Add it to
your project in the normal way (for example by right-clicking on the
project in Visual Studio and choosing "Manage NuGet Packages...").
Please ensure you enable pre-release packages (for example, in the
Visual Studio NuGet user interface, check the "Include prerelease"
box). Some of the following samples might only work with the latest
pre-release version (5.0.0-beta06) of Google.Cloud.Spanner.Admin.Database.V1.
Authentication
When running on Google Cloud, no action needs to be taken to authenticate.
Otherwise, the simplest way of authenticating your API calls is to
set up Application Default Credentials.
The credentials will automatically be used to authenticate. See
Set up Application Default Credentials for more details.
[[["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-04-14 UTC."],[[["The `Google.Cloud.Spanner.Admin.Database.V1` is a .NET client library for managing Google Cloud Spanner databases."],["The latest version available is `5.0.0-beta05`, and numerous previous versions are also listed, starting from version `3.5.0`."],["For general Spanner usage, using the `Spanner ADO.NET` provider is recommended over this database administration library."],["Authentication is automatic when running on Google Cloud and can be easily configured using Application Default Credentials when running elsewhere."],["The library can be installed via NuGet, with the recommendation to enable pre-release packages to access the most recent version."]]],[]]