Bắt buộc. Cuộc trò chuyện để liệt kê tin nhắn. Định dạng: projects/{project}/locations/{location}/conversations/{conversationId}
Tham số truy vấn
Thông số
pageSize
integer
Không bắt buộc. Kích thước trang được yêu cầu. Máy chủ có thể trả về ít mục hơn yêu cầu. Kích thước trang tối đa là 100. Tất cả kích thước trang lớn hơn sẽ được chuyển đổi thành 100. Nếu bạn không chỉ định, máy chủ sẽ chọn 50 làm giá trị mặc định phù hợp.
pageToken
string
Không bắt buộc. Mã thông báo xác định trang kết quả mà máy chủ sẽ trả về.
filter
string
Không bắt buộc. Đang lọc kết quả. Hãy xem AIP-160 để biết cú pháp.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Khó hiểu","hardToUnderstand","thumb-down"],["Thông tin hoặc mã mẫu không chính xác","incorrectInformationOrSampleCode","thumb-down"],["Thiếu thông tin/mẫu tôi cần","missingTheInformationSamplesINeed","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-06-11 UTC."],[],[],null,["# Method: projects.locations.conversations.messages.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListMessagesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [StorageMessage](#StorageMessage)\n - [JSON representation](#StorageMessage.SCHEMA_REPRESENTATION)\n\nLists all messages for a given conversation.\n\n### HTTP request\n\n`GET https://geminidataanalytics.googleapis.com/v1alpha/{parent=projects/*/locations/*/conversations/*}/messages`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for listing chat messages.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\nStorageMessage\n--------------\n\nA stored message containing user message or system message."]]