Enum | |
---|---|
minimal |
แสดงเฉพาะรหัสและป้ายกำกับข้อความอีเมล โดยไม่แสดงส่วนหัว เนื้อความ หรือเพย์โหลดของอีเมล |
full |
แสดงข้อมูลข้อความอีเมลแบบเต็มที่มีเนื้อหาของข้อความที่แยกวิเคราะห์ในฟิลด์ payload โดยไม่ได้ใช้ฟิลด์ raw ใช้รูปแบบไม่ได้เมื่อเข้าถึง API โดยใช้ขอบเขต gmail.metadata |
raw |
แสดงข้อมูลข้อความอีเมลแบบเต็มพร้อมเนื้อหาในช่อง raw เป็นสตริงที่เข้ารหัส base64url โดยจะไม่ใช้ฟิลด์ payload ใช้รูปแบบไม่ได้เมื่อเข้าถึง API โดยใช้ขอบเขต gmail.metadata |
metadata |
แสดงเฉพาะรหัสข้อความอีเมล ป้ายกำกับ และส่วนหัวของอีเมล |
Format
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Format\n\n| Enums ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `minimal` | Returns only email message ID and labels; does not return the email headers, body, or payload. |\n| `full` | Returns the full email message data with body content parsed in the `payload` field; the `raw` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope. |\n| `raw` | Returns the full email message data with body content in the `raw` field as a base64url encoded string; the `payload` field is not used. Format cannot be used when accessing the api using the gmail.metadata scope. |\n| `metadata` | Returns only email message ID, labels, and email headers. |"]]