Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::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}