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 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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`. |"]]