REST Resource: users.settings.delegates
资源:委托
受托人的设置。受托人可以为委托人的账号阅读、发送和删除邮件,以及查看和添加联系人。请参阅设置邮件委托,详细了解受托人。
字段 |
delegateEmail |
string
受托人的电子邮件地址。
|
verificationStatus |
enum (VerificationStatus )
指明此地址是否已经过验证,并可以作为账号的受托人。只读。
|
VerificationStatus
指明电子邮件地址所有权是否已通过了委托用途的验证。
枚举 |
verificationStatusUnspecified |
验证状态不明。 |
accepted |
该地址可充当账号的受托人。 |
pending |
验证请求已发送至该地址,但所有者尚未接受。 |
rejected |
系统已向该地址发送了验证请求,但所有者拒绝了该请求。 |
expired |
我们已向该地址发送了一封验证请求,但该请求未经验证便已过期。 |
方法 |
|
添加受托人,并将其验证状态直接设为 accepted ,而不发送任何验证电子邮件。 |
|
移除指定的受托人(可处于任何验证状态),并撤消使用受托人所需的任何验证。 |
|
获取指定的委托。 |
|
列出指定账号的受托人。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-05。
[null,null,["最后更新时间 (UTC):2024-09-05。"],[[["Delegate settings enable authorized access to read, send, delete emails, manage contacts on behalf of an account owner."],["Delegates are managed through dedicated API methods for creation, deletion, retrieval, and listing."],["Verification Status indicates if a delegate's email address is verified and authorized to act on behalf of the account owner, with various statuses such as `accepted`, `pending`, `rejected`, and `expired`."],["Delegate settings are represented in JSON format with the delegate's email and verification status."]]],["Delegates, specified by email, can access a delegator's account to read, send, and delete messages, and manage contacts. Each delegate has a `verificationStatus` which can be `accepted`, `pending`, `rejected`, or `expired`. Actions include creating a delegate (setting the status to `accepted`), deleting a delegate (regardless of status), getting a specific delegate, and listing all delegates. The `verificationStatus` field is read-only. Delegates are identified using a JSON representation format.\n"]]