Hạn mức sử dụng
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.
API thiết lập tự động có giới hạn mặc định là 1.000 truy vấn cho mỗi
100 giây cho mỗi người dùng. Trong API đại lý, người dùng là dịch vụ dùng chung
tài khoản. Trong API khách hàng, người dùng
quản trị viên CNTT đã xác thực.
Thay đổi hạn mức sử dụng
Để xem hoặc thay đổi hạn mức sử dụng cho dự án hoặc để yêu cầu tăng hạn mức, hãy làm như sau:
- Nếu bạn chưa có tài khoản thanh toán cho dự án của mình, hãy tạo một tài khoản.
- Truy cập trang API đã bật của thư viện API trong Bảng điều khiển API, chọn một API từ danh sách.
- Để xem và thay đổi chế độ cài đặt liên quan đến hạn mức, hãy chọn Hạn mức. Để xem thống kê sử dụng, hãy chọn Mức sử dụng.
Giúp không vượt quá giới hạn
Hãy sử dụng phiên bản không đồng bộ của các phương thức Device
của API đại lý để trợ giúp
hãy giảm số lượng yêu cầu. Các phương thức này cho phép xử lý hàng loạt nhiều
thiết bị vào một yêu cầu, trong khi các phương thức đồng bộ xử lý một thiết bị cho
từng yêu cầu API.
Để tìm hiểu cách xử lý nhiều mục trong một yêu cầu API, hãy đọc phần Lô chạy trong thời gian dài
các toán tử.
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-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[],["The zero-touch enrollment APIs have a default limit of 1000 queries per 100 seconds per user. To manage usage limits, create a billing account, visit the Enabled APIs page, and select \"Quotas\" or \"Usage.\" For resellers, use asynchronous `Device` methods to batch process devices, reducing requests, instead of synchronous methods which process one device per request. Batch processing information can be found in the \"Long-running batch operations\" guide.\n"],null,["# Usage limits\n\nThe zero-touch enrollment APIs have a default limit of 1000 queries per\n100 seconds for each user. In the reseller API, a user is the shared [service\naccount](/zero-touch/guides/auth#create-service). In the customer API, a user is\nthe [authenticated IT admin](/zero-touch/guides/customer/auth).\n\nChange usage limits\n-------------------\n\nTo view or change usage limits for your project, or to request an increase to\nyour quota, do the following:\n\n1. If you don't already have a [billing account](//cloud.google.com/billing/docs/how-to/manage-billing-account) for your project, then create one.\n2. [Visit the Enabled APIs page of the\n API library](https://console.cloud.google.com/apis/enabled) in the API Console, and select an API from the list.\n3. To view and change quota-related settings, select **Quotas** . To view usage statistics, select **Usage**.\n\nHelp staying under the limits\n-----------------------------\n\nUse the asynchronous versions of the reseller API's `Device` methods to help\nreduce the number of requests. These methods allow batch processing of many\ndevices in one request, while the synchronous methods process one device for\neach API request.\n\nTo learn how to process many items in one API request, read [Long-running batch\noperations](/zero-touch/guides/how-it-works#operations)."]]