ListMessagesRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)Request for listing chat messages based on parent and conversation_id.
Attributes |
|
|---|---|
| Name | Description |
parent |
str
Required. The conversation to list messages under. Format: projects/{project}/locations/{location}/conversations/{conversation_id}
|
page_size |
int
Optional. Requested page size. Server may return fewer items than requested. The max page size is 100. All larger page sizes will be coerced to 100. If unspecified, server will pick 50 as an approperiate default. |
page_token |
str
Optional. A token identifying a page of results the server should return. |
filter |
str
Optional. Filtering results. See AIP-160 __ for syntax.
ListMessages allows filtering by:
- create_time (e.g.,
createTime > "2025-01-28T06:51:56-08:00")
- update_time
|