REST Resource: users.threads
משאב: פרוטוקול Thread
אוסף של הודעות שמייצגות שיחה.
ייצוג JSON |
{
"id": string,
"snippet": string,
"historyId": string,
"messages": [
{
object (Message )
}
]
} |
שדות |
id |
string
המזהה הייחודי של השרשור.
|
snippet |
string
חלק קצר מטקסט ההודעה.
|
historyId |
string
המזהה של רשומת ההיסטוריה האחרונה שבעקבותיה השרשור הזה השתנה.
|
messages[] |
object (Message )
רשימת ההודעות בשרשור.
|
שיטות |
|
מתבצעת מחיקה מיידית וסופית של השרשור שצוין. |
|
התוצאה של השרשור שצוין. |
|
ליצירת רשימה של השרשורים בתיבת הדואר של המשתמש. |
|
שינוי התוויות שהוחלו על השרשור. |
|
העברת השרשור שצוין לאשפה. |
|
הסרת השרשור שצוין מהאשפה. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]