Hướng dẫn dành cho nhà phát triển
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bắt đầu
Để bắt đầu sử dụng Thư viện ứng dụng API của Google cho Java, hãy xem các mẫu dành riêng cho Google Cloud.
Để biết thông tin về cấu trúc của thư viện và nhiều thành phần của thư viện, hãy xem hướng dẫn thiết lập chi tiết, trong đó có hướng dẫn dành cho người dùng Maven.
Để đặt câu hỏi, báo cáo lỗi, thảo luận về thư viện và đọc thông báo, hãy xem trang Hỗ trợ.
Xác thực
Thư viện này hỗ trợ phương thức xác thực sau:
Lô sản phẩm
Thư viện này giúp bạn dễ dàng tạo lô nhiều yêu cầu/phản hồi HTTP. Để biết thông tin chi tiết, hãy xem tài liệu về lô.
Thư viện này có các lớp thuận tiện giúp tải nội dung nghe nhìn lên và tải nội dung nghe nhìn xuống.
Các môi trường Java được hỗ trợ
Thư viện này hỗ trợ các môi trường Java sau:
Đóng góp
Đây là các thư viện nguồn mở và chúng tôi hoan nghênh khoản đóng góp.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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,["# Developer's Guide\n\nGetting started\n---------------\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--------------\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--------\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---------------------\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---------------------------\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----------\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."]]