REST Resource: users.threads
资源:Thread
JSON 表示法 |
{
"id": string,
"snippet": string,
"historyId": string,
"messages": [
{
object (Message )
}
]
} |
字段 |
id |
string
线程的唯一 ID。
|
snippet |
string
消息文本的简短部分。
|
historyId |
string
修改此讨论帖的最后一条历史记录的 ID。
|
messages[] |
object (Message )
会话串中的消息列表。
|
方法 |
|
立即永久删除指定的线程。 |
|
获取指定的线程。 |
|
列出用户邮箱中的会话。 |
|
修改应用于会话的标签。 |
|
将指定的会话串移至回收站。 |
|
从回收站中移除指定的会话。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-05。
[null,null,["最后更新时间 (UTC):2024-09-05。"],[[["A Thread is a collection of messages forming a conversation, identified by a unique ID and containing a snippet of the message text."],["Threads contain metadata such as `snippet`, `historyId`, and a list of messages."],["You can manage Threads using methods like `delete`, `get`, `list`, `modify`, `trash`, and `untrash` to perform actions such as retrieving, modifying, or deleting them."]]],["Threads represent message collections in a conversation. Key details include a unique `id`, a `snippet` of text, the `historyId` of modifications, and an array of `messages`. Threads can be managed via methods to get thread information, list all threads, modify labels, and delete, trash, or untrash them. The thread's JSON representation shows the structure of the information, with string fields for identification and metadata and an array of messages.\n"]]