List
|
|||||
|
|
Lists the delegates for the specified account.
This method is only available to service account clients that have been delegated domain-wide authority
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Read, compose, send, and permanently delete all your email from Gmail
- View and modify but not delete your email
- View your email messages and settings
- Manage your basic mail settings
Input
This building block consumes 1 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
User's email address. The special value "me" can be used to indicate the authenticated user |
= Parameter name
= Format
userId STRING Required User's email address. The special value "me" can be used to indicate the authenticated user |
Output
This building block provides 3 output parameters
Name | Format | Description |
---|---|---|
delegates[] |
OBJECT |
Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates |
delegates[].delegateEmail |
STRING |
The email address of the delegate |
delegates[].verificationStatus |
ENUMERATION |
Indicates whether this address has been verified and can act as a delegate for the account. Read-only |
= Parameter name
= Format
delegates[] OBJECT Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates |
delegates[].delegateEmail STRING The email address of the delegate |
delegates[].verificationStatus ENUMERATION Indicates whether this address has been verified and can act as a delegate for the account. Read-only |