Get
|
|||||
|
|
Gets the specified delegate.
Note that a delegate user must be referred to by their primary email address, and not an email alias.
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 2 input parameters
Name | Format | Description |
---|---|---|
userId Required |
STRING |
User's email address. The special value "me" can be used to indicate the authenticated user |
delegateEmail Required |
STRING |
The email address of the user whose delegate relationship is to be retrieved |
= Parameter name
= Format
userId STRING Required User's email address. The special value "me" can be used to indicate the authenticated user |
delegateEmail STRING Required The email address of the user whose delegate relationship is to be retrieved |
Output
This building block provides 2 output parameters
Name | Format | Description |
---|---|---|
delegateEmail |
STRING |
The email address of the delegate |
verificationStatus |
ENUMERATION |
Indicates whether this address has been verified and can act as a delegate for the account. Read-only |
= Parameter name
= Format
delegateEmail STRING The email address of the delegate |
verificationStatus ENUMERATION Indicates whether this address has been verified and can act as a delegate for the account. Read-only |