If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for .NET instead. These are the new and idiomatic .NET libraries targeted specifically at Google Cloud Platform Services.
This client library is supported but in maintenance mode only. We are fixing necessary bugs and adding essential features to ensure this library continues to meet your needs for accessing Google APIs. Non-critical issues will be closed. Any issue may be reopened if it is causing ongoing problems.
Please see the FAQ for more details on what this means.
The Google API client library for .NET enables access to Google APIs such as Drive, YouTube, Calendar, Storage and Analytics. The library supports OAuth2.0 authentication. Strongly-typed per-API libraries are generated using Google's Discovery API.
Please see the help page for answers to common questions.
- .NET Framework 4.6.2+
- .NET Standard 2.0
- .NET 6.0+
- Silverlight
- UWP
- Xamarin
- Unity
See the FAQ for details regarding the lack of UWP, Xamarin, and Unity support.
Note that Firebase is available on Unity, and focuses on the need of this platform.
To make it easier for you to develop with the Google APIs using the Google API client Library for .NET we have released a number of NuGet packages. The libraries published by Google are owned by google-apis-packages.
The generator that produces the source code for API-specific libraries is in https://github.com/googleapis/gapic-generator-csharp. The most recently generated code is available in Src/Generated/
, and the discovery documents from which that code was generated are in DiscoveryJson/
.
The libraries are shown in the following table.
If you find an issue with in the client library we would appreciate you adding an issue in the issue tracker. Questions regarding usage of the client library should be posted to stackoverflow.com using the tag #google-api-dotnet-client