Resource: Delegate
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.
| JSON representation | 
|---|
{
  "delegateEmail": string,
  "verificationStatus": enum ( | 
              
| Fields | |
|---|---|
delegateEmail | 
                
                   
 The email address of the delegate.  | 
              
verificationStatus | 
                
                   
 Indicates whether this address has been verified and can act as a delegate for the account. Read-only.  | 
              
VerificationStatus
Indicates whether ownership of an email address has been verified for delegation use.
| Enums | |
|---|---|
verificationStatusUnspecified | 
                Unspecified verification status. | 
accepted | 
                The address can act a delegate for the account. | 
pending | 
                A verification request was mailed to the address, and the owner has not yet accepted it. | 
rejected | 
                A verification request was mailed to the address, and the owner rejected it. | 
expired | 
                A verification request was mailed to the address, and it expired without verification. | 
Methods | 
            |
|---|---|
                
 | 
              
                Adds a delegate with its verification status set directly to accepted, without sending any verification email. | 
            
                
 | 
              Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. | 
                
 | 
              Gets the specified delegate. | 
                
 | 
              Lists the delegates for the specified account. |