Google Cloud Gemini Data Analytics V1beta Client - Class ListMessagesResponse (0.1.1)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ListMessagesResponse.

Response for listing chat messages.

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ListMessagesResponse

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ messages array<StorageMessage>

The list of chat messages.

↳ next_page_token string

A token identifying a page of results the server should return.

getMessages

The list of chat messages.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMessages

The list of chat messages.

Parameter
Name Description
var array<StorageMessage>
Returns
Type Description
$this

getNextPageToken

A token identifying a page of results the server should return.

Returns
Type Description
string

setNextPageToken

A token identifying a page of results the server should return.

Parameter
Name Description
var string
Returns
Type Description
$this