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
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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`"]]