Resource: Thread
A collection of messages representing a conversation.
| JSON representation | 
|---|
| {
  "id": string,
  "snippet": string,
  "historyId": string,
  "messages": [
    {
      object ( | 
| Fields | |
|---|---|
| id | 
 The unique ID of the thread. | 
| snippet | 
 A short part of the message text. | 
| historyId | 
 The ID of the last history record that modified this thread. | 
| messages[] | 
 The list of messages in the thread. | 
| Methods | |
|---|---|
| 
 | Immediately and permanently deletes the specified thread. | 
| 
 | Gets the specified thread. | 
| 
 | Lists the threads in the user's mailbox. | 
| 
 | Modifies the labels applied to the thread. | 
| 
 | Moves the specified thread to the trash. | 
| 
 | Removes the specified thread from the trash. |