Guide du développeur
Restez organisé à l'aide des collections Enregistrez et classez les contenus selon vos préférences.
Premiers pas
Pour commencer à utiliser la bibliothèque cliente des API Google pour Java, consultez les exemples spécifiques à Google Cloud.
Pour en savoir plus sur la structure de la bibliothèque et de ses différents composants, consultez les instructions de configuration détaillées, qui incluent des instructions pour les utilisateurs de Maven.
Pour poser des questions, signaler des bugs, discuter de la bibliothèque et lire les annonces, consultez la page Assistance.
Authentification
La bibliothèque accepte la méthode d'authentification suivante:
Traitement par lot
La bibliothèque facilite le traitement par lot de plusieurs requêtes/réponses HTTP. Pour plus d'informations, consultez la documentation sur les lots.
La bibliothèque comporte des classes pratiques qui facilitent l'importation de contenus multimédias et le téléchargement de contenus multimédias.
Environnements Java compatibles
La bibliothèque est compatible avec les environnements Java suivants:
Contribuer
Il s'agit de bibliothèques Open Source. Les contributions sont les bienvenues.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (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."]]