Method: admin.contacts.v1.users.delegates.list
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-24。
[null,null,["最后更新时间 (UTC):2025-07-24。"],[],[],null,["# Method: admin.contacts.v1.users.delegates.list\n\nLists the delegates of a given user.\n\n### HTTP request\n\n`GET https://admin.googleapis.com/admin/contacts/v1/{parent=users/*}/delegates`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` The parent who owns this collection of delegates following the format: users/{userId} where userId is the email address of the given user. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` Determines how many delegates are returned in each response. For exapmle, if the request sets pageSize=1 and the given user has two delegates, the response has two pages. The response's nextPageToken property has the token to the second page. If left unset, the default page size is used. |\n| `pageToken` | `string` A page token to specify the next page. A user with several delegates has a `nextPageToken` property in the response. In your follow up request getting the next set of delegates, enter the `nextPageToken` value in the `pageToken` query string. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message type for an admin to list delegates for a given user.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"delegates\": [ { object (/workspace/admin/contact-delegation/reference/rest/v1/admin.contacts.v1.users.delegates#Delegate) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `delegates[]` | `object (`[Delegate](/workspace/admin/contact-delegation/reference/rest/v1/admin.contacts.v1.users.delegates#Delegate)`)` List of delegates of the given user. |\n| `nextPageToken` | `string` Token for retrieving the follow-on delegates of a given user. The `nextPageToken` value is used in the request's `pageToken` query string. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/admin.contact.delegation`\n- `\n https://www.googleapis.com/auth/admin.contact.delegation.readonly`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]