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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-05 UTC。
[null,null,["最終更新日 2024-09-05 UTC。"],[[["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"]]