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...").
Authentication
When running on Google Cloud Platform, no action needs to be taken to authenticate.
Otherwise, the simplest way of authenticating your API calls is to
download a service account JSON file then set the GOOGLE_APPLICATION_CREDENTIALS environment variable to refer to it.
The credentials will automatically be used to authenticate. See the Getting Started With
Authentication guide 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, with version 4.2.0 being displayed, and a range of previous versions are also accessible from the webpage, including stable versions and beta releases."],["For standard Spanner usage that is not administrative, it is recommended to use the Spanner ADO.NET provider, found in `../../Google.Cloud.Spanner.Data/latest`."],["Authentication on Google Cloud Platform is automatic, while for other environments, it's recommended to use a service account JSON file and set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable."]]],[]]