Method: customers.profiles.commands.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
HTTP 要求
GET https://chromemanagement.googleapis.com/v1/{parent=customers/*/profiles/*}/commands
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。格式:customers/{customer_id}/profiles/{profilePermanentId}
|
查詢參數
參數 |
pageSize |
integer
選用設定。要傳回的指令數量上限。如果未指定 pageSize,則預設的頁面大小為 100,且允許的頁面大小上限為 100。
|
pageToken |
string
選用設定。用於擷取商家資訊要求的特定頁面的分頁符記。
|
回應主體
回應 commands.list 方法。
如果成功,回應主體會含有以下結構的資料:
JSON 表示法 |
{
"chromeBrowserProfileCommands": [
{
object (ChromeBrowserProfileCommand )
}
],
"nextPageToken": string,
"totalSize": string
} |
欄位 |
chromeBrowserProfileCommands[] |
object (ChromeBrowserProfileCommand )
傳回的指令清單。
|
nextPageToken |
string
可用於列出下一頁的頁面分頁符記。
|
totalSize |
string (int64 format)
總大小代表預估的資源傳回數。
|
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/chrome.management.profiles.readonly
https://www.googleapis.com/auth/chrome.management.profiles
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# Method: customers.profiles.commands.list\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.ListChromeBrowserProfileCommandsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists remote commands of a Chrome browser profile.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{parent=customers/*/profiles/*}/commands`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|----------------------------------------------------------------------------------|\n| `parent` | `string` Required. Format: customers/{customer_id}/profiles/{profilePermanentId} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Optional. The maximum number of commands to return. The default page size is 100 if pageSize is unspecified, and the maximum page size allowed is 100. |\n| `pageToken` | `string` Optional. The page token used to retrieve a specific page of the listing request. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to commands.list method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"chromeBrowserProfileCommands\": [ { object (/chrome/management/reference/rest/v1/customers.profiles.commands#ChromeBrowserProfileCommand) } ], \"nextPageToken\": string, \"totalSize\": string } ``` |\n\n| Fields ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `chromeBrowserProfileCommands[]` | `object (`[ChromeBrowserProfileCommand](/chrome/management/reference/rest/v1/customers.profiles.commands#ChromeBrowserProfileCommand)`)` The list of commands returned. |\n| `nextPageToken` | `string` The pagination token that can be used to list the next page. |\n| `totalSize` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Total size represents an estimated number of resources returned. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/chrome.management.profiles.readonly`\n- `https://www.googleapis.com/auth/chrome.management.profiles`"]]