Method: admin.contacts.v1.users.delegates.list
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-24 (世界標準時間)。
[null,null,["上次更新時間: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)."]]