Method: customers.apps.countChromeAppRequests
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.
Tạo bản tóm tắt về các yêu cầu cài đặt ứng dụng.
Yêu cầu HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:countChromeAppRequests
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
customer |
string
Bắt buộc. Mã khách hàng hoặc "my_customer" để sử dụng khách hàng được liên kết với tài khoản đưa ra yêu cầu.
|
Tham số truy vấn
Thông số |
orgUnitId |
string
Mã nhận dạng của đơn vị tổ chức.
|
pageSize |
integer
Số lượng kết quả tối đa cần trả về. Giá trị tối đa và mặc định là 50, mọi giá trị cao hơn sẽ được ép thành 50.
|
pageToken |
string
Mã thông báo để chỉ định trang của yêu cầu cần trả về.
|
orderBy |
string
Trường dùng để sắp xếp kết quả. Các trường được hỗ trợ:
- requestCount
- latestRequestTime
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Phản hồi chứa bản tóm tắt về số lượt cài đặt ứng dụng được yêu cầu.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"requestedApps": [
{
object (ChromeAppRequest )
}
],
"nextPageToken": string,
"totalSize": integer
} |
Trường |
requestedApps[] |
object (ChromeAppRequest )
Số lượng ứng dụng được yêu cầu khớp với yêu cầu.
|
nextPageToken |
string
Mã thông báo để chỉ định trang tiếp theo trong danh sách.
|
totalSize |
integer
Tổng số yêu cầu ứng dụng trùng khớp.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/chrome.management.appdetails.readonly
ChromeAppRequest
Thông tin chi tiết về yêu cầu cài đặt ứng dụng.
Biểu diễn dưới dạng JSON |
{
"appId": string,
"displayName": string,
"appDetails": string,
"iconUri": string,
"detailUri": string,
"requestCount": string,
"latestRequestTime": string
} |
Trường |
appId |
string
Chỉ có đầu ra. Giá trị nhận dạng duy nhất của ứng dụng trong cửa hàng. Ví dụ: "gmbmikajjgmnabiglmofipeabaddhgne" cho tiện ích Lưu vào Google Drive của Chrome.
|
displayName |
string
Chỉ có đầu ra. Tên hiển thị của ứng dụng.
|
appDetails |
string
Chỉ có đầu ra. Định dạng: appDetails=customers/{customer_id}/apps/chrome/{appId}
|
iconUri |
string
Chỉ có đầu ra. Đường liên kết đến một hình ảnh có thể dùng làm biểu tượng cho sản phẩm.
|
detailUri |
string
Chỉ có đầu ra. URI cho trang chi tiết của mặt hàng.
|
requestCount |
string (int64 format)
Chỉ có đầu ra. Tổng số yêu cầu cho ứng dụng này.
|
latestRequestTime |
string (Timestamp format)
Chỉ có đầu ra. Dấu thời gian của yêu cầu gần đây nhất được thực hiện cho ứng dụng này. Sử dụng RFC 3339, trong đó đầu ra được tạo sẽ luôn được chuẩn hoá theo Z và sử dụng 0, 3, 6 hoặc 9 chữ số thập phân. Các độ dời khác ngoài "Z" cũng được chấp nhận. Ví dụ: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" hoặc "2014-10-02T15:01:23+05:30" .
|
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-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eSummarizes app installation requests for a given customer.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by organizational unit and ordering by request count or time.\u003c/p\u003e\n"],["\u003cp\u003eProvides app details such as ID, name, icon, and request count.\u003c/p\u003e\n"],["\u003cp\u003eRequires \u003ccode\u003echrome.management.appdetails.readonly\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eResponse is paginated and includes a total count of matching requests.\u003c/p\u003e\n"]]],[],null,["# Method: customers.apps.countChromeAppRequests\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.CountChromeAppRequestsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ChromeAppRequest](#ChromeAppRequest)\n - [JSON representation](#ChromeAppRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGenerate summary of app installation requests.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:countChromeAppRequests`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|-------------------------------------------------------------------------------------------------------------------|\n| `customer` | `string` Required. Customer id or \"my_customer\" to use the customer associated to the account making the request. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------|\n| `orgUnitId` | `string` The ID of the organizational unit. |\n| `pageSize` | `integer` Maximum number of results to return. Maximum and default are 50, anything above will be coerced to 50. |\n| `pageToken` | `string` Token to specify the page of the request to be returned. |\n| `orderBy` | `string` Field used to order results. Supported fields: - requestCount - latestRequestTime |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing summary of requested app installations.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requestedApps\": [ { object (/chrome/management/reference/rest/v1/customers.apps/countChromeAppRequests#ChromeAppRequest) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requestedApps[]` | `object (`[ChromeAppRequest](/chrome/management/reference/rest/v1/customers.apps/countChromeAppRequests#ChromeAppRequest)`)` Count of requested apps matching request. |\n| `nextPageToken` | `string` Token to specify the next page in the list. |\n| `totalSize` | `integer` Total number of matching app requests. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.appdetails.readonly`\n\nChromeAppRequest\n----------------\n\nDetails of an app installation request.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"appId\": string, \"displayName\": string, \"appDetails\": string, \"iconUri\": string, \"detailUri\": string, \"requestCount\": string, \"latestRequestTime\": string } ``` |\n\n| Fields ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `appId` | `string` Output only. Unique store identifier for the app. Example: \"gmbmikajjgmnabiglmofipeabaddhgne\" for the Save to Google Drive Chrome extension. |\n| `displayName` | `string` Output only. App's display name. |\n| `appDetails` | `string` Output only. Format: appDetails=customers/{customer_id}/apps/chrome/{appId} |\n| `iconUri` | `string` Output only. A link to an image that can be used as an icon for the product. |\n| `detailUri` | `string` Output only. The uri for the detail page of the item. |\n| `requestCount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. Total count of requests for this app. |\n| `latestRequestTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The timestamp of the most recently made request for this app. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than \"Z\" are also accepted. Examples: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |"]]