VacationSettings
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir hesap için tatil otomatik yanıt ayarları. Bu ayarlar, web arayüzündeki "Otomatik yanıtlayıcı" özelliğine karşılık gelir.
JSON gösterimi |
{
"enableAutoReply": boolean,
"responseSubject": string,
"responseBodyPlainText": string,
"responseBodyHtml": string,
"restrictToContacts": boolean,
"restrictToDomain": boolean,
"startTime": string,
"endTime": string
} |
Alanlar |
enableAutoReply |
boolean
Gmail'in iletileri otomatik olarak yanıtlayıp yanıtlamayacağını kontrol eden işaret.
|
responseSubject |
string
Tatil yanıtlarında konu satırının başına eklenecek isteğe bağlı metin. Otomatik yanıtların etkinleştirilebilmesi için yanıt konusunun veya yanıt gövdesinin boş olmaması gerekir.
|
responseBodyPlainText |
string
Düz metin biçiminde yanıt gövdesi. Hem responseBodyPlainText hem de responseBodyHtml belirtilirse responseBodyHtml kullanılır.
|
responseBodyHtml |
string
HTML biçiminde yanıt gövdesi. Gmail, HTML'yi depolamadan önce temizler. Hem responseBodyPlainText hem de responseBodyHtml belirtilirse responseBodyHtml kullanılır.
|
restrictToContacts |
boolean
Yanıtların, kullanıcının kişiler listesinde bulunmayan alıcılara gönderilip gönderilmeyeceğini belirleyen işaret.
|
restrictToDomain |
boolean
Yanıtların, kullanıcının alanının dışındaki alıcılara gönderilip gönderilmeyeceğini belirleyen işaret. Bu özellik yalnızca Google Workspace kullanıcıları tarafından kullanılabilir.
|
startTime |
string (int64 format)
Otomatik yanıtların gönderileceği isteğe bağlı başlangıç zamanı (dönem ms). Bu ayar belirtildiğinde Gmail, yalnızca başlangıç zamanından sonra aldığı iletileri otomatik olarak yanıtlar. Hem startTime hem de endTime belirtilirse startTime , endTime 'ten önce gelmelidir.
|
endTime |
string (int64 format)
Otomatik yanıtların gönderileceği isteğe bağlı bitiş zamanı (epoch ms). Bu ayar belirtildiğinde Gmail, yalnızca bitiş zamanından önce aldığı iletileri otomatik olarak yanıtlar. Hem startTime hem de endTime belirtilirse startTime , endTime 'ten önce gelmelidir.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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`. |"]]