Google APIs client Library for .NET
Google Cloud Platform APIs
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 FAQ for answers to common questions.
- .NET Framework 4.5+
- netstandard1.3, providing .NET Core support
- netstandard2.0, providing ASP.NET Core Support
Legacy Supported Frameworks
We provide best-effort support for these platforms, but new features may not be available.
- .NET Framework 4.0
- Windows 8.0 (Windows app)
- Windows Phone 8.1
- Windows Phone Silverlight 8.0
For more details on framework support see Frameworks.md.
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
ClientGenerator/. The most recently generated code is available in
Src/Generated/, and the discovery documents from which that code was generated are in
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