Method: customers.apps.countChromeAppRequests
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:countChromeAppRequests
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
customer |
string
必要欄位。客戶 ID 或「my_customer」,用於使用與提出要求的帳戶相關聯的客戶。
|
查詢參數
參數 |
orgUnitId |
string
機構單位 ID。
|
pageSize |
integer
要傳回的結果數上限。最大值和預設值為 50,超過此值的數字都會強制設為 50。
|
pageToken |
string
用於指定要傳回的要求頁面的符記。
|
orderBy |
string
用於排序結果的欄位。 支援的欄位:
- requestCount
- latestRequestTime
|
回應主體
回應內容包含要求安裝的應用程式摘要。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"requestedApps": [
{
object (ChromeAppRequest )
}
],
"nextPageToken": string,
"totalSize": integer
} |
欄位 |
requestedApps[] |
object (ChromeAppRequest )
符合要求的應用程式數量。
|
nextPageToken |
string
用於指定清單中下一頁的符記。
|
totalSize |
integer
符合要求的應用程式總數。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/chrome.management.appdetails.readonly
ChromeAppRequest
JSON 表示法 |
{
"appId": string,
"displayName": string,
"appDetails": string,
"iconUri": string,
"detailUri": string,
"requestCount": string,
"latestRequestTime": string
} |
欄位 |
appId |
string
僅供輸出。應用程式的專屬商店 ID。例如,Chrome 擴充功能「儲存至 Google 雲端硬碟」的 ID 為「gmbmikajjgmnabiglmofipeabaddhgne」。
|
displayName |
string
僅供輸出。應用程式的顯示名稱。
|
appDetails |
string
僅供輸出。格式:appDetails=customers/{customer_id}/apps/chrome/{appId}
|
iconUri |
string
僅供輸出。可用來做為產品圖示的圖片連結。
|
detailUri |
string
僅供輸出。項目詳細資料頁面的 URI。
|
requestCount |
string (int64 format)
僅供輸出。這個應用程式的請求總數。
|
latestRequestTime |
string (Timestamp format)
僅供輸出。這個應用程式最近一次提出要求的時間戳記。 使用 RFC 3339,產生的輸出內容一律會經過 Z 標準化,並使用 0、3、6 或 9 小數位數。系統也接受「Z」以外的偏移值。例如:"2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 或 "2014-10-02T15:01:23+05:30" 。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\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\"`. |"]]