Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::ListMessagesRequest.
Request for listing chat messages based on parent and conversation_id.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filter
def filter() -> ::String-
(::String) —
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
- create_time (e.g.,
#filter=
def filter=(value) -> ::String-
value (::String) —
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
- create_time (e.g.,
-
(::String) —
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
- create_time (e.g.,
#page_size
def page_size() -> ::Integer-
(::Integer) — Optional. Requested page size. Server may return fewer items than
requested. The max page size is
100. All larger page sizes will be coerced to100. If unspecified, server will pick50as an appropriate default.
#page_size=
def page_size=(value) -> ::Integer-
value (::Integer) — Optional. Requested page size. Server may return fewer items than
requested. The max page size is
100. All larger page sizes will be coerced to100. If unspecified, server will pick50as an appropriate default.
-
(::Integer) — Optional. Requested page size. Server may return fewer items than
requested. The max page size is
100. All larger page sizes will be coerced to100. If unspecified, server will pick50as an appropriate default.
#page_token
def page_token() -> ::String- (::String) — Optional. A token identifying a page of results the server should return.
#page_token=
def page_token=(value) -> ::String- value (::String) — Optional. A token identifying a page of results the server should return.
- (::String) — Optional. A token identifying a page of results the server should return.
#parent
def parent() -> ::String-
(::String) — Required. The conversation to list messages under.
Format:
projects/{project}/locations/{location}/conversations/{conversation_id}
#parent=
def parent=(value) -> ::String-
value (::String) — Required. The conversation to list messages under.
Format:
projects/{project}/locations/{location}/conversations/{conversation_id}
-
(::String) — Required. The conversation to list messages under.
Format:
projects/{project}/locations/{location}/conversations/{conversation_id}
#pending_write_wait_skipped
def pending_write_wait_skipped() -> ::Boolean- (::Boolean) — Optional. If true, the wait for in-flight writes on the most recent turn is skipped. By default ListMessages waits for those writes to become durable so a caller reading right after a chat turn does not miss the tail of that turn's messages.
#pending_write_wait_skipped=
def pending_write_wait_skipped=(value) -> ::Boolean- value (::Boolean) — Optional. If true, the wait for in-flight writes on the most recent turn is skipped. By default ListMessages waits for those writes to become durable so a caller reading right after a chat turn does not miss the tail of that turn's messages.
- (::Boolean) — Optional. If true, the wait for in-flight writes on the most recent turn is skipped. By default ListMessages waits for those writes to become durable so a caller reading right after a chat turn does not miss the tail of that turn's messages.