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 และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-05 UTC
[null,null,["อัปเดตล่าสุด 2024-09-05 UTC"],[[["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"]]