Google Cloud Discovery Engine V1 Client - Class ListSessionsResponse (1.3.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListSessionsResponse.

Response for ListSessions method.

Generated from protobuf message google.cloud.discoveryengine.v1.ListSessionsResponse

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sessions array<Google\Cloud\DiscoveryEngine\V1\Session>

All the Sessions for a given data store.

↳ next_page_token string

Pagination token, if not returned indicates the last page.

getSessions

All the Sessions for a given data store.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSessions

All the Sessions for a given data store.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1\Session>
Returns
Type Description
$this

getNextPageToken

Pagination token, if not returned indicates the last page.

Returns
Type Description
string

setNextPageToken

Pagination token, if not returned indicates the last page.

Parameter
Name Description
var string
Returns
Type Description
$this