REST Resource: users.settings.forwardingAddresses
Resource: ForwardingAddress
Settings for a forwarding address.
JSON representation |
{
"forwardingEmail": string,
"verificationStatus": enum (VerificationStatus )
} |
Fields |
forwardingEmail |
string
An email address to which messages can be forwarded.
|
verificationStatus |
enum (VerificationStatus )
Indicates whether this address has been verified and is usable for forwarding. Read-only.
|
VerificationStatus
Indicates whether ownership of an email address has been verified for forwarding use.
Enums |
verificationStatusUnspecified |
Unspecified verification status. |
accepted |
The address is ready to use for forwarding. |
pending |
The address is awaiting verification by the owner. |
Methods |
|
Creates a forwarding address. |
|
Deletes the specified forwarding address and revokes any verification that may have been required. |
|
Gets the specified forwarding address. |
|
Lists the forwarding addresses for the specified account. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["ForwardingAddress settings allow you to specify an email address for message forwarding and track its verification status."],["The `forwardingEmail` field stores the destination address for forwarded messages, while `verificationStatus` indicates if the address is verified and ready for use."],["VerificationStatus has three states: `verificationStatusUnspecified`, `accepted`, and `pending`, reflecting the verification progress of the forwarding address."],["Gmail API provides methods to manage forwarding addresses: `create`, `delete`, `get`, and `list`, enabling programmatic control over forwarding settings."]]],["Forwarding addresses are defined by a `forwardingEmail` (string) and a `verificationStatus` (enum). The status can be `unspecified`, `accepted`, or `pending`. Four methods manage these addresses: `create` adds a new address, `delete` removes an address and revokes verification, `get` retrieves a specific address, and `list` displays all addresses for an account. The `verificationStatus` is read-only.\n"]]