VacationSettings
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרות התשובה האוטומטית לחופשה בחשבון. ההגדרות האלה תואמות לתכונה הודעת חופשה בממשק האינטרנט.
ייצוג ב-JSON |
{
"enableAutoReply": boolean,
"responseSubject": string,
"responseBodyPlainText": string,
"responseBodyHtml": string,
"restrictToContacts": boolean,
"restrictToDomain": boolean,
"startTime": string,
"endTime": string
} |
שדות |
enableAutoReply |
boolean
דגל שמחליט אם Gmail יענה להודעות באופן אוטומטי.
|
responseSubject |
string
טקסט אופציונלי שנוסף בתחילת שורת הנושא בתשובות לחופשה. כדי להפעיל תשובות אוטומטיות, נושא התגובה או גוף התגובה צריכים להיות מלאים.
|
responseBodyPlainText |
string
גוף התגובה בפורמט טקסט פשוט. אם מציינים גם את responseBodyPlainText וגם את responseBodyHtml , המערכת תשתמש ב-responseBodyHtml .
|
responseBodyHtml |
string
גוף התגובה בפורמט HTML. Gmail ינקה את ה-HTML לפני שהוא ישמור אותו. אם מציינים גם את responseBodyPlainText וגם את responseBodyHtml , המערכת תשתמש ב-responseBodyHtml .
|
restrictToContacts |
boolean
דגל שקובע אם התשובות יישלחו לנמענים שלא מופיעים ברשימת אנשי הקשר של המשתמש.
|
restrictToDomain |
boolean
דגל שקובע אם התשובות נשלחות לנמענים מחוץ לדומיין של המשתמש. התכונה הזו זמינה רק למשתמשי Google Workspace.
|
startTime |
string (int64 format)
זמן התחלה אופציונלי לשליחת תשובות אוטומטיות (אלפיות השנייה של עידן). אם תציינו את האפשרות הזו, Gmail ישיב באופן אוטומטי רק להודעות שיקבל אחרי שעת ההתחלה. אם מציינים גם את startTime וגם את endTime , הערך של startTime חייב להופיע לפני הערך של endTime .
|
endTime |
string (int64 format)
שעה סופית אופציונלית לשליחת תשובות אוטומטיות (אלפיות שנייה של עידן). אם תציינו את האפשרות הזו, Gmail ישיב באופן אוטומטי רק להודעות שיקבל לפני שעת הסיום. אם מציינים גם את startTime וגם את endTime , הערך של startTime חייב להופיע לפני הערך של endTime .
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# VacationSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nVacation auto-reply settings for an account. These settings correspond to the [\"Vacation responder\"](https://support.google.com/mail/answer/25922) feature in the web interface.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"enableAutoReply\": boolean, \"responseSubject\": string, \"responseBodyPlainText\": string, \"responseBodyHtml\": string, \"restrictToContacts\": boolean, \"restrictToDomain\": boolean, \"startTime\": string, \"endTime\": string } ``` |\n\n| Fields ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `enableAutoReply` | `boolean` Flag that controls whether Gmail automatically replies to messages. |\n| `responseSubject` | `string` Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty. |\n| `responseBodyPlainText` | `string` Response body in plain text format. If both `responseBodyPlainText` and `responseBodyHtml` are specified, `responseBodyHtml` will be used. |\n| `responseBodyHtml` | `string` Response body in HTML format. Gmail will sanitize the HTML before storing it. If both `responseBodyPlainText` and `responseBodyHtml` are specified, `responseBodyHtml` will be used. |\n| `restrictToContacts` | `boolean` Flag that determines whether responses are sent to recipients who are not in the user's list of contacts. |\n| `restrictToDomain` | `boolean` Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for Google Workspace users. |\n| `startTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both `startTime` and `endTime` are specified, `startTime` must precede `endTime`. |\n| `endTime` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both `startTime` and `endTime` are specified, `startTime` must precede `endTime`. |"]]