Method: customers.apps.fetchUsersRequestingExtension
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.
Lấy danh sách người dùng đã yêu cầu cài đặt một tiện ích.
Yêu cầu HTTP
GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchUsersRequestingExtension
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
customer |
string
Bắt buộc. Mã khách hàng hoặc "my_customer" có tiền tố là "customer/".
|
Tham số truy vấn
Tham số |
extensionId |
string
Bắt buộc. Tiện ích mà chúng tôi muốn tìm người dùng yêu cầu.
|
pageSize |
integer
Không bắt buộc. Số kết quả tối đa cần trả về. Tối đa và mặc định là 50. Mọi kích thước trang lớn hơn 50 sẽ bị ép buộc xuống còn 50.
|
pageToken |
string
Không bắt buộc. Mã thông báo để chỉ định trang của yêu cầu cần được trả về. Mã thông báo sẽ hết hạn sau 1 ngày.
|
orgUnitId |
string
Mã của đơn vị tổ chức. Chỉ xem xét những thiết bị trực tiếp thuộc đơn vị tổ chức này, tức là các đơn vị tổ chức con không được tính. Nếu bỏ qua, hàm sẽ trả về tất cả dữ liệu.
|
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 có chứa danh sách người dùng đã yêu cầu tiện ích được truy vấn.
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:
Trường |
userDetails[] |
object (UserRequestingExtensionDetails )
Thông tin chi tiết về người dùng đã yêu cầu tiện ích được truy vấn.
|
totalSize |
integer
Tổng số người dùng đã trả lời.
|
nextPageToken |
string
Mã thông báo để chỉ định trang tiếp theo trong danh sách.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/chrome.management.appdetails.readonly
UserRequestingExtensionDetails
Thông tin chi tiết về người dùng yêu cầu gia hạn, bao gồm cả email và lý do gia hạn.
Biểu diễn dưới dạng JSON |
{
"email": string,
"justification": string
} |
Trường |
email |
string
Địa chỉ email của người dùng đã yêu cầu gia hạn.
|
justification |
string
Yêu cầu lý do mà người dùng đã nhập.
|
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\u003eFetches a list of users who have requested to install a specific extension.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/chrome.management.appdetails.readonly\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes user details (email and justification), total user count, and a token for pagination.\u003c/p\u003e\n"],["\u003cp\u003eAllows filtering by organizational unit and provides options for pagination to handle large datasets.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the response is a JSON object containing user details and pagination information.\u003c/p\u003e\n"]]],[],null,["# Method: customers.apps.fetchUsersRequestingExtension\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.FetchUsersRequestingExtensionResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [UserRequestingExtensionDetails](#UserRequestingExtensionDetails)\n - [JSON representation](#UserRequestingExtensionDetails.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nGet a list of users that have requested to install an extension.\n\n### HTTP request\n\n`GET https://chromemanagement.googleapis.com/v1/{customer=customers/*}/apps:fetchUsersRequestingExtension`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------|---------------------------------------------------------------------------------|\n| `customer` | `string` Required. The customer ID or \"my_customer\" prefixed with \"customers/\". |\n\n### Query parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `extensionId` | `string` Required. The extension for which we want to find the requesting users. |\n| `pageSize` | `integer` Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50. |\n| `pageToken` | `string` Optional. Token to specify the page of the request to be returned. Token expires after 1 day. |\n| `orgUnitId` | `string` The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse containing a list of users that have requested the queried extension.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"userDetails\": [ { object (/chrome/management/reference/rest/v1/customers.apps/fetchUsersRequestingExtension#UserRequestingExtensionDetails) } ], \"totalSize\": integer, \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `userDetails[]` | `object (`[UserRequestingExtensionDetails](/chrome/management/reference/rest/v1/customers.apps/fetchUsersRequestingExtension#UserRequestingExtensionDetails)`)` Details of users that have requested the queried extension. |\n| `totalSize` | `integer` Total number of users in response. |\n| `nextPageToken` | `string` Token to specify the next page in the list. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/chrome.management.appdetails.readonly`\n\nUserRequestingExtensionDetails\n------------------------------\n\nDetails of a user requesting an extension, including the email and the justification.\n\n| JSON representation |\n|------------------------------------------------------|\n| ``` { \"email\": string, \"justification\": string } ``` |\n\n| Fields ||\n|-----------------|-------------------------------------------------------------------------|\n| `email` | `string` The e-mail address of a user that has requested the extension. |\n| `justification` | `string` Request justification as entered by the user. |"]]