טיפוסים בני מנייה (enum) | |
---|---|
minimal |
הפונקציה מחזירה רק את המזהה והתוויות של הודעת האימייל, ולא את הכותרות, את גוף ההודעה או את עומס העבודה (payload) שלה. |
full |
הפונקציה מחזירה את נתוני הודעת האימייל המלאה עם תוכן הגוף שעבר ניתוח בשדה payload . לא נעשה שימוש בשדה raw . אי אפשר להשתמש בפורמט כשנכנסים ל-API באמצעות ההיקף gmail.metadata. |
raw |
הפונקציה מחזירה את נתוני הודעת האימייל המלאים עם תוכן הגוף בשדה raw כמחרוזת בקידוד base64url. לא נעשה שימוש בשדה payload . אי אפשר להשתמש בפורמט כשנכנסים ל-API באמצעות ההיקף gmail.metadata. |
metadata |
הפונקציה מחזירה רק את מזהה הודעת האימייל, התוויות וכותרות האימייל. |
Format
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]