Install the Google.Cloud.Spanner.Admin.Instance.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.Instance.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 latest version of the `Google.Cloud.Spanner.Admin.Instance.V1` .NET client library is 5.0.0-beta05, which can be found in the NuGet packages with other versions."],["This library is specifically designed for managing Google Cloud Spanner instances through its Instance Administration API, and is separate from the Spanner ADO.NET provider for database interactions."],["Installation is through NuGet, where the pre-release option must be enabled to get the latest beta version."],["When executing within the Google Cloud platform, authentication is automatic, while using Application Default Credentials is recommended for other environments."],["The library provides support for versions ranging from 3.5.0 up to the latest 5.0.0-beta05."]]],[]]