REST Resource: users.drafts
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: 초안
JSON 표현 |
{
"id": string,
"message": {
object (Message )
}
} |
필드 |
id |
string
답안의 변경할 수 없는 ID입니다.
|
message |
object (Message )
초안의 메시지 콘텐츠입니다.
|
메서드 |
|
DRAFT 라벨이 지정된 새 초안을 만듭니다. |
|
지정된 초안을 즉시 영구적으로 삭제합니다. |
|
지정된 답안을 가져옵니다. |
|
사용자의 메일함에 있는 답장을 표시합니다. |
|
지정된 기존 초안을 To , Cc , Bcc 헤더의 수신자에게 전송합니다. |
|
초안의 콘텐츠를 대체합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[],[],null,["# REST Resource: users.drafts\n\n- [Resource: Draft](#Draft)\n - [JSON representation](#Draft.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Draft\n---------------\n\nA draft email in the user's mailbox.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"message\": { object (/workspace/gmail/api/reference/rest/v1/users.messages#Message) } } ``` |\n\n| Fields ||\n|-----------|-------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The immutable ID of the draft. |\n| `message` | `object (`[Message](/workspace/gmail/api/reference/rest/v1/users.messages#Message)`)` The message content of the draft. |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| ### [create](/workspace/gmail/api/reference/rest/v1/users.drafts/create) | Creates a new draft with the `DRAFT` label. |\n| ### [delete](/workspace/gmail/api/reference/rest/v1/users.drafts/delete) | Immediately and permanently deletes the specified draft. |\n| ### [get](/workspace/gmail/api/reference/rest/v1/users.drafts/get) | Gets the specified draft. |\n| ### [list](/workspace/gmail/api/reference/rest/v1/users.drafts/list) | Lists the drafts in the user's mailbox. |\n| ### [send](/workspace/gmail/api/reference/rest/v1/users.drafts/send) | Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. |\n| ### [update](/workspace/gmail/api/reference/rest/v1/users.drafts/update) | Replaces a draft's content. |"]]