REST Resource: users.threads
리소스: 스레드
JSON 표현 |
{
"id": string,
"snippet": string,
"historyId": string,
"messages": [
{
object (Message )
}
]
} |
필드 |
id |
string
스레드의 고유 ID입니다.
|
snippet |
string
메시지 텍스트의 짧은 부분입니다.
|
historyId |
string
이 대화목록을 수정한 마지막 기록 레코드의 ID입니다.
|
messages[] |
object (Message )
대화목록의 메시지 목록입니다.
|
메서드 |
|
지정된 스레드를 즉시 영구적으로 삭제합니다. |
|
지정된 스레드를 가져옵니다. |
|
사용자 편지함에 있는 스레드를 나열합니다. |
|
대화목록에 적용된 라벨을 수정합니다. |
|
지정된 대화목록을 휴지통으로 이동합니다. |
|
지정된 대화목록을 휴지통에서 삭제합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]