# Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::ListMessagesResponse (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::ListMessagesResponse.

Response for listing chat messages.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #messages

    def messages() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::StorageMessage>

**Returns**

- (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1beta::StorageMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-StorageMessage)\>) --- The list of chat messages.

### #messages=

    def messages=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::StorageMessage>

**Parameter**

- **value** (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1beta::StorageMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-StorageMessage)\>) --- The list of chat messages.
**Returns**

- (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1beta::StorageMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-StorageMessage)\>) --- The list of chat messages.

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token identifying a page of results the server should return.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token identifying a page of results the server should return.
**Returns**

- (::String) --- A token identifying a page of results the server should return.