Panduan Developer
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memulai
Untuk mulai menggunakan Library Klien Google API untuk Java, lihat contoh khusus Google Cloud.
Untuk mengetahui informasi tentang struktur library dan beberapa komponennya, lihat petunjuk penyiapan mendetail yang menyertakan petunjuk untuk pengguna Maven.
Untuk mengajukan pertanyaan, melaporkan bug, mendiskusikan library, dan membaca pengumuman, lihat halaman Dukungan.
Autentikasi
Library ini mendukung metode autentikasi berikut:
Pengelompokan
Library memudahkan untuk mengelompokkan beberapa permintaan/respons HTTP. Untuk mengetahui detailnya, lihat dokumentasi batch.
Library ini memiliki class praktis yang membantu upload media dan download media.
Lingkungan Java yang didukung
Library ini mendukung lingkungan Java berikut:
Kontribusi
Ini adalah library open source, dan kontribusi diperbolehkan.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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."]]