반환할 최대 스레드 수입니다. 이 필드의 기본값은 100입니다. 이 필드에 허용되는 최댓값은 500입니다.
pageToken
string
목록에서 특정 결과 페이지를 검색하는 페이지 토큰입니다.
q
string
지정된 쿼리와 일치하는 스레드만 반환합니다. Gmail 검색창과 동일한 쿼리 형식을 지원합니다. 예를 들면 "from:someuser@example.com rfc822msgid:<somemsgid@example.com>
is:unread"입니다. gmail.metadata 범위를 사용하여 API에 액세스할 때는 매개변수를 사용할 수 없습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-09-05(UTC)"],[[["Lists all threads in a user's mailbox, including those in SPAM and TRASH if specified."],["Allows filtering threads by labels, search queries, and maximum results returned."],["Supports pagination for retrieving large lists of threads via `pageToken`."],["Requires authorization with specific Gmail scopes for access."],["Provides an estimate of the total number of results and thread details via the API response."]]],["This outlines how to list threads in a user's Gmail mailbox using the Gmail API. It uses a `GET` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/threads`. Required path parameter: `userId`. Optional query parameters: `maxResults`, `pageToken`, `q`, `labelIds[]`, `includeSpamTrash`. The request body is empty. The response includes a list of `threads`, `nextPageToken` for pagination, and `resultSizeEstimate`. Access requires specific authorization scopes.\n"]]