REST Resource: users.settings.delegates

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 (VerificationStatus)
}
Fields
delegateEmail

string

The email address of the delegate.

verificationStatus

enum (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
VERIFICATION_STATUS_UNSPECIFIED 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

create

Adds a delegate with its verification status set directly to accepted, without sending any verification email.

delete

Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it.

get

Gets the specified delegate.

list

Lists the delegates for the specified account.