Developer's Guide
Stay organized with collections Save and categorize content based on your preferences.
Getting started
To get started with the Google API Client Library for Java, take a look at the Google Cloud-specific samples.
For information about the structure of the library and its multiple components, see the detailed setup instructions, which include instructions for Maven users.
To ask questions, report bugs, discuss the library, and read the announcements, see the Support page.
Authentication
The library supports the following authentication method:
Batching
The library makes it easier to batch multiple HTTP requests/responses. For details, see the batch documentation.
The library has convenient classes that help with media upload and media download.
Supported Java environments
The library supports the following Java environments:
Contribute
These are open-source libraries, and contributions are welcome.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-07 UTC."],[[["\u003cp\u003eThe Google API Client Library for Java facilitates interaction with Google APIs, offering support for authentication, batching, and media handling within various Java environments, including standard Java, Android, and Google App Engine.\u003c/p\u003e\n"],["\u003cp\u003eTo begin, explore the Google Cloud-specific samples and detailed setup instructions, including Maven-specific guidance, to understand the library structure and initiate integration.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication is primarily through OAuth 2.0, and the library streamlines batching multiple HTTP requests/responses and managing media uploads and downloads.\u003c/p\u003e\n"],["\u003cp\u003eThis open-source library supports Java 7 and later, Android 4.0 (Ice Cream Sandwich) and above, and Google App Engine, with contributions welcomed to enhance its functionality.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive support resources, including troubleshooting assistance, discussions, and announcements, are accessible through the provided support channels.\u003c/p\u003e\n"]]],[],null,["Getting started\n\nTo get started with the [Google API Client Library for Java](https://github.com/googleapis/google-api-java-client-services#google-java-api-client-services), take a look at the [Google Cloud-specific samples](https://github.com/GoogleCloudPlatform/java-docs-samples).\n\nFor information about the structure of the library and its multiple components, see the\n[detailed setup instructions](/api-client-library/java/google-api-java-client/setup), which\ninclude [instructions for Maven users](/api-client-library/java/google-api-java-client/setup#maven).\n\nTo ask questions, report bugs, discuss the library, and read the announcements, see the\n[Support](/api-client-library/java/google-api-java-client/support) page.\n\nAuthentication\n\nThe library supports the following authentication method:\n\n- [OAuth 2.0](/api-client-library/java/google-api-java-client/oauth2)\n\nBatching\n\nThe library makes it easier to batch multiple HTTP requests/responses. For details, see the [batch documentation](/api-client-library/java/google-api-java-client/batch).\n\nMedia upload/download\n\nThe library has convenient classes that help with\n[media upload](/api-client-library/java/google-api-java-client/media-upload) and\n[media download](/api-client-library/java/google-api-java-client/media-download).\n\nSupported Java environments\n\nThe library supports the following Java environments:\n\n- Java 7 (or higher)\n- [Android 4.0 (Ice Cream Sandwich) (or higher)](/api-client-library/java/google-api-java-client/android) (Note that this library's support for Android is [@Beta](/api-client-library/java#beta).)\n- [Google App Engine](/api-client-library/java/google-api-java-client/app-engine)\n\nContribute\n\nThese are [open-source](https://github.com/googleapis/google-api-java-client) [libraries](https://github.com/googleapis/google-api-java-client-services),\nand [contributions](/api-client-library/java/google-api-java-client/contribute) are welcome."]]