Google.Cloud.Spanner.Admin.Instance.V1

Google.Cloud.Spanner.Admin.Instance.V1 is a.NET client library for the Google Cloud Spanner Instance Administration API.

For non-administrative Spanner usage, the Spanner ADO.NET provider is recommended.

Installation

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-beta02) 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.