REST Resource: users.settings.forwardingAddresses
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób: ForwardingAddress
Ustawienia adresu do przekazywania dalej.
Pola |
forwardingEmail |
string
Adres e-mail, na który można przesyłać wiadomości.
|
verificationStatus |
enum (VerificationStatus )
Wskazuje, czy ten adres został zweryfikowany i czy można go używać do przekierowywania. Tylko do odczytu.
|
VerificationStatus
Wskazuje, czy własność adresu e-mail została zweryfikowana na potrzeby przekierowywania.
Wartości w polu enum |
verificationStatusUnspecified |
Nieokreślony stan weryfikacji. |
accepted |
Adres jest gotowy do użycia do przekierowywania. |
pending |
Adres oczekuje na weryfikację przez właściciela. |
Metody |
|
Tworzy adres docelowy. |
|
Usuwa określony adres docelowy i unieważnia wszelkie wymagane potwierdzenia. |
|
Pobiera podany adres docelowy. |
|
Wyświetla listę adresów przekierowania dla określonego konta. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],[],null,["# REST Resource: users.settings.forwardingAddresses\n\n- [Resource: ForwardingAddress](#ForwardingAddress)\n - [JSON representation](#ForwardingAddress.SCHEMA_REPRESENTATION)\n- [VerificationStatus](#VerificationStatus)\n- [Methods](#METHODS_SUMMARY)\n\nResource: ForwardingAddress\n---------------------------\n\nSettings for a forwarding address.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"forwardingEmail\": string, \"verificationStatus\": enum (/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses#VerificationStatus) } ``` |\n\n| Fields ||\n|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `forwardingEmail` | `string` An email address to which messages can be forwarded. |\n| `verificationStatus` | `enum (`[VerificationStatus](/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses#VerificationStatus)`)` Indicates whether this address has been verified and is usable for forwarding. Read-only. |\n\nVerificationStatus\n------------------\n\nIndicates whether ownership of an email address has been verified for forwarding use.\n\n| Enums ||\n|---------------------------------|----------------------------------------------------|\n| `verificationStatusUnspecified` | Unspecified verification status. |\n| `accepted` | The address is ready to use for forwarding. |\n| `pending` | The address is awaiting verification by the owner. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|\n| ### [create](/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses/create) | Creates a forwarding address. |\n| ### [delete](/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses/delete) | Deletes the specified forwarding address and revokes any verification that may have been required. |\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses/get) | Gets the specified forwarding address. |\n| ### [list](/workspace/gmail/api/reference/rest/v1/users.settings.forwardingAddresses/list) | Lists the forwarding addresses for the specified account. |"]]