Cloud Client Libraries are the latest and recommended client libraries for calling Google Cloud APIs.
Cloud Client Libraries provide an optimized developer experience by using each supported language's natural conventions and styles. They also reduce the boilerplate code you have to write because they're designed to enable you to work with service metaphors in mind, rather than implementation details or service API concepts.
For more information about client libraries for Cloud APIs, see Client Libraries Explained.
Working with Cloud Client Libraries
Cloud Client Libraries by language
The following table provides links to get you started with Cloud Client Libraries in supported languages. The GitHub Repo page for each language lists the Cloud Platform services/APIs that are supported by that language's Cloud Client Library. The page also has installation instructions for a single client library that provides an interface to the APIs.
|Google Cloud Client Library||Installation & Reference|
Cloud Client Libraries by service
You also download Cloud Client Libraries for individual Google Cloud services: you'll find detailed instructions to help you get started with these on the relevant product's Client Libraries page. For example, if you only want to use Pub/Sub, you'll find this information in Pub/Sub Client Libraries.
If a Cloud Client Library for a specific language doesn't support a service you want to work with, use the Google API Client Library for that language.
Using Cloud Client Libraries with Cloud Code
Cloud Code, tools in VS Code, IntelliJ, and Cloud Shell for developing cloud applications, lets you easily use Cloud Client Libraries without leaving your IDE. You can easily:
- Browse Cloud APIs
- Read documentation for Cloud APIs
- Enable Cloud APIs
- Add Cloud Client Libraries to your project
For more on using Cloud Client Libraries with Cloud Code, see the following documentation:
- Managing Cloud APIs and Libraries in Cloud Code for VS Code
- Managing Cloud APIs and Libraries in Cloud Code for IntelliJ
- Managing Cloud APIs and Libraries in Cloud Code for Cloud Shell
Try it for yourself
If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.Get started for free