# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::ListMessagesResponse (v0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::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::V1::StorageMessage>

**Returns**

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

### #messages=

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

**Parameter**

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

- (::Array\<[::Google::Cloud::GeminiDataAnalytics::V1::StorageMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-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.