REST Resource: users.settings.forwardingAddresses
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:ForwardingAddress
字段 |
forwardingEmail |
string
可将邮件转发到的电子邮件地址。
|
verificationStatus |
enum (VerificationStatus )
指明此地址是否已通过验证且可用于转发。只读。
|
VerificationStatus
指明电子邮件地址的所有权是否已通过验证,以便用于转发。
枚举 |
verificationStatusUnspecified |
未指定验证状态。 |
accepted |
该地址可以用于转发。 |
pending |
该地址正在等待所有者验证。 |
方法 |
|
创建转发地址。 |
|
删除指定的转发地址,并撤消可能需要完成的所有验证。 |
|
获取指定的转发地址。 |
|
列出指定账号的转发地址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],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. |"]]