Google Cloud Discovery Engine V1beta Client - Class ListSessionsResponse (0.11.1)

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

Response for ListSessions method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sessions array<Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\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