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-beta04) 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-03-21 UTC."],[[["This webpage provides documentation for the `Google.Cloud.Spanner.Admin.Instance.V1` .NET client library, which is used for the Google Cloud Spanner Instance Administration API."],["The latest version is `5.0.0-beta05`, and `5.0.0-beta04` is the current pre-release version highlighted within the page content, although there are older versions down to 3.5.0 also available."],["For standard Spanner operations outside of administration, it is suggested to use the Spanner ADO.NET provider instead, which can be found in `Google.Cloud.Spanner.Data/latest`."],["The easiest method to authenticate API calls is to set up Application Default Credentials, which the library will use automatically, but no action is needed when running on Google Cloud."]]],[]]