REST Resource: users.settings.delegates
資源:Delegate
委派代表的設定。委派代表可以代替委派者的帳戶讀取、傳送及刪除郵件,以及查看和新增聯絡人。如要進一步瞭解委派代表,請參閱「設定郵件委派」一文。
欄位 |
delegateEmail |
string
委派代表的電子郵件地址。
|
verificationStatus |
enum (VerificationStatus )
指出這個地址是否已通過驗證,且可做為帳戶的委派代表。唯讀。
|
VerificationStatus
列舉 |
verificationStatusUnspecified |
未指定的驗證狀態。 |
accepted |
該地址可為帳戶執行委派作業。 |
pending |
驗證要求已寄到該地址,但擁有者尚未接受。 |
rejected |
系統已將驗證要求傳送至該地址,擁有者拒絕要求。 |
expired |
系統已將驗證要求寄送到該地址,但驗證要求已過期,未通過驗證。 |
方法 |
|
將驗證狀態直接設為「accepted 」,不必傳送任何驗證電子郵件。 |
|
移除指定的委派 (可以是任何驗證狀態),並撤銷可能需要進行的所有驗證。 |
|
取得指定的委派。 |
|
列出指定帳戶的委派代表。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[null,null,["上次更新時間: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"]]