Developer's Guide

  • Get started with the Google API Client Library for Java by exploring Google Cloud-specific samples.

  • Detailed setup instructions, including guidance for Maven users, explain the library's structure and components.

  • The library supports OAuth 2.0 for authentication and provides features for batching HTTP requests/responses and media upload/download.

  • Supported Java environments include Java 7+, Android 4.0+, and Google App Engine.

  • These open-source libraries welcome contributions.

Getting started

To get started with theGoogle API Client Library for Java, take a look at theGoogle Cloud-specific samples.

For information about the structure of the library and its multiple components, see thedetailed setup instructions, whichincludeinstructions for Maven users.

To ask questions, report bugs, discuss the library, and read the announcements, see theSupport page.

Authentication

The library supports the following authentication method:

Batching

The library makes it easier to batch multiple HTTP requests/responses. For details, see thebatch documentation.

Media upload/download

The library has convenient classes that help withmedia upload andmedia download.

Supported Java environments

The library supports the following Java environments:

Contribute

These areopen-sourcelibraries,andcontributions are welcome.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-09-26 UTC.