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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],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`. |"]]