Method: customers.profiles.commands.list
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.
Liệt kê các lệnh từ xa của một hồ sơ trình duyệt Chrome.
Yêu cầu HTTP
GET https://chromemanagement.googleapis.com/v1/{parent=customers/*/profiles/*}/commands
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
parent |
string
Bắt buộc. Định dạng: customers/{customer_id}/profiles/{profilePermanentId}
|
Tham số truy vấn
Thông số |
pageSize |
integer
Không bắt buộc. Số lượng lệnh tối đa cần trả về. Kích thước trang mặc định là 100 nếu bạn không chỉ định pageSize và kích thước trang tối đa được phép là 100.
|
pageToken |
string
Không bắt buộc. Mã thông báo trang dùng để truy xuất một trang cụ thể của yêu cầu trang thông tin.
|
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 phương thức commands.list.
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 |
{
"chromeBrowserProfileCommands": [
{
object (ChromeBrowserProfileCommand )
}
],
"nextPageToken": string,
"totalSize": string
} |
Trường |
chromeBrowserProfileCommands[] |
object (ChromeBrowserProfileCommand )
Danh sách các lệnh được trả về.
|
nextPageToken |
string
Mã thông báo phân trang có thể dùng để liệt kê trang tiếp theo.
|
totalSize |
string (int64 format)
Tổng kích thước thể hiện số lượng tài nguyên được trả về theo ước tính.
|
Phạm vi uỷ quyền
Yêu cầu một trong các phạm vi OAuth sau:
https://www.googleapis.com/auth/chrome.management.profiles.readonly
https://www.googleapis.com/auth/chrome.management.profiles
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."],[],[],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`"]]