Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::ListMessagesRequest (v0.1.0)

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
Returns
  • (::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

#filter=

def filter=(value) -> ::String
Parameter
  • 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
Returns
  • (::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

#page_size

def page_size() -> ::Integer
Returns
  • (::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 to 100. If unspecified, server will pick 50 as an approperiate default.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • 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 to 100. If unspecified, server will pick 50 as an approperiate default.
Returns
  • (::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 to 100. If unspecified, server will pick 50 as an approperiate default.

#page_token

def page_token() -> ::String
Returns
  • (::String) — Optional. A token identifying a page of results the server should return.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — Optional. A token identifying a page of results the server should return.
Returns
  • (::String) — Optional. A token identifying a page of results the server should return.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The conversation to list messages under. Format: projects/{project}/locations/{location}/conversations/{conversation_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The conversation to list messages under. Format: projects/{project}/locations/{location}/conversations/{conversation_id}
Returns
  • (::String) — Required. The conversation to list messages under. Format: projects/{project}/locations/{location}/conversations/{conversation_id}