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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده 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`. |"]]