REST Resource: users.settings.delegates
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล: ผู้ใช้ที่ได้รับสิทธิ์
การตั้งค่าสำหรับผู้รับมอบสิทธิ์ ผู้รับมอบสิทธิ์สามารถอ่าน ส่ง และลบข้อความ รวมถึงดูและเพิ่มรายชื่อติดต่อในบัญชีของผู้มอบสิทธิ์ได้ ดูข้อมูลเพิ่มเติมเกี่ยวกับผู้รับมอบสิทธิ์ได้ที่"ตั้งค่าการมอบสิทธิ์อีเมล"
ช่อง |
delegateEmail |
string
อีเมลของผู้รับมอบสิทธิ์
|
verificationStatus |
enum (VerificationStatus )
ระบุว่าที่อยู่นี้ได้รับการยืนยันแล้วและสามารถทำหน้าที่เป็นผู้รับมอบสิทธิ์สำหรับบัญชีได้หรือไม่ อ่านอย่างเดียว
|
VerificationStatus
ระบุว่ามีการยืนยันการเป็นเจ้าของอีเมลเพื่อใช้การมอบสิทธิ์หรือไม่
Enum |
verificationStatusUnspecified |
สถานะการยืนยันที่ไม่ระบุ |
accepted |
อีเมลดังกล่าวสามารถทำหน้าที่เป็นผู้รับมอบสิทธิ์สำหรับบัญชีได้ |
pending |
เราได้ส่งคำขอยืนยันทางไปรษณีย์ไปยังที่อยู่ดังกล่าวแล้ว แต่เจ้าของยังไม่ยอมรับคำขอ |
rejected |
มีการส่งคำขอยืนยันทางไปรษณีย์ไปยังที่อยู่ดังกล่าว แต่เจ้าของปฏิเสธคำขอ |
expired |
มีการส่งคำขอยืนยันทางไปรษณีย์ไปยังที่อยู่ดังกล่าว แต่คำขอหมดอายุโดยไม่ได้รับการยืนยัน |
เมธอด |
|
เพิ่มผู้รับมอบสิทธิ์โดยตั้งค่าสถานะการยืนยันเป็น accepted โดยตรง โดยไม่ต้องส่งอีเมลยืนยัน |
|
นำผู้รับมอบสิทธิ์ที่ระบุออก (ซึ่งอาจเป็นผู้รับมอบสิทธิ์ที่มีสถานะการยืนยันใดก็ได้) และเพิกถอนการยืนยันที่จำเป็นต่อการใช้ผู้รับมอบสิทธิ์ |
|
รับผู้รับมอบสิทธิ์ที่ระบุ |
|
แสดงรายการผู้รับมอบสิทธิ์สําหรับบัญชีที่ระบุ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# REST Resource: users.settings.delegates\n\n- [Resource: Delegate](#Delegate)\n - [JSON representation](#Delegate.SCHEMA_REPRESENTATION)\n- [VerificationStatus](#VerificationStatus)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Delegate\n------------------\n\nSettings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See [\"Set up mail delegation\"](https://support.google.com/mail/answer/138350) for more information about delegates.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"delegateEmail\": string, \"verificationStatus\": enum (/workspace/gmail/api/reference/rest/v1/users.settings.delegates#VerificationStatus) } ``` |\n\n| Fields ||\n|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `delegateEmail` | `string` The email address of the delegate. |\n| `verificationStatus` | `enum (`[VerificationStatus](/workspace/gmail/api/reference/rest/v1/users.settings.delegates#VerificationStatus)`)` Indicates whether this address has been verified and can act as a delegate for the account. Read-only. |\n\nVerificationStatus\n------------------\n\nIndicates whether ownership of an email address has been verified for delegation use.\n\n| Enums ||\n|---------------------------------|------------------------------------------------------------------------------------------|\n| `verificationStatusUnspecified` | Unspecified verification status. |\n| `accepted` | The address can act a delegate for the account. |\n| `pending` | A verification request was mailed to the address, and the owner has not yet accepted it. |\n| `rejected` | A verification request was mailed to the address, and the owner rejected it. |\n| `expired` | A verification request was mailed to the address, and it expired without verification. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/create) | Adds a delegate with its verification status set directly to `accepted`, without sending any verification email. |\n| ### [delete](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/delete) | Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. |\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/get) | Gets the specified delegate. |\n| ### [list](/workspace/gmail/api/reference/rest/v1/users.settings.delegates/list) | Lists the delegates for the specified account. |"]]