REST Resource: users.drafts
משאב: טיוטה
טיוטת אימייל בתיבת הדואר של המשתמש.
ייצוג JSON |
{
"id": string,
"message": {
object (Message )
}
} |
שדות |
id |
string
המזהה של הטיוטה שלא ניתן לשינוי.
|
message |
object (Message )
תוכן ההודעה של הטיוטה.
|
שיטות |
|
יצירת טיוטה חדשה עם התווית DRAFT . |
|
מוחקת את הטיוטה שצוינה באופן מיידי וסופי. |
|
קבלת הטיוטה שצוינה. |
|
ליצירת רשימה של הטיוטות בתיבת הדואר של המשתמש. |
|
נשלחת לנמענים את הטיוטה הקיימת שצוינה בכותרות To , Cc ו-Bcc . |
|
מחליפה תוכן של טיוטה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-10-13 (שעון UTC).
[null,null,["עדכון אחרון: 2024-10-13 (שעון UTC)."],[[["A draft represents an email in the user's mailbox that is saved but not yet sent."],["Drafts are identified by a unique, immutable ID and contain a message object with the email content."],["Gmail API provides methods to create, delete, retrieve, list, send, and update drafts."]]],["Drafts, representing unsent emails, are identified by an immutable ID and contain message content. Core actions include creating new drafts, deleting existing ones permanently, retrieving specific drafts, and listing all drafts in a mailbox. Users can send an existing draft to its intended recipients. Additionally, content within a draft can be modified by replacing it entirely. These drafts can be represented using a JSON format.\n"]]