REST Resource: users.drafts
- 资源:草稿
<ph type="x-smartling-placeholder">
- 方法
资源:草稿
JSON 表示法 |
{
"id": string,
"message": {
object (Message )
}
} |
字段 |
id |
string
草稿的不可变 ID。
|
message |
object (Message )
草稿的邮件内容。
|
方法 |
|
创建带有 DRAFT 标签的新草稿。 |
|
立即永久删除指定的草稿。 |
|
获取指定的草稿。 |
|
列出用户邮箱中的草稿。 |
|
将指定的现有草稿发送给 To 、Cc 和 Bcc 标头中的收件人。 |
|
替换草稿内容。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-13。
[null,null,["最后更新时间 (UTC):2024-10-13。"],[[["A draft represents an email in the user's mailbox that is saved but not yet sent."],["Drafts are identified by a unique, immutable ID and contain a message object with the email content."],["Gmail API provides methods to create, delete, retrieve, list, send, and update drafts."]]],["Drafts, representing unsent emails, are identified by an immutable ID and contain message content. Core actions include creating new drafts, deleting existing ones permanently, retrieving specific drafts, and listing all drafts in a mailbox. Users can send an existing draft to its intended recipients. Additionally, content within a draft can be modified by replacing it entirely. These drafts can be represented using a JSON format.\n"]]