Cloud Spanner V1 Client - Class ListSessionsResponse (1.63.2)

Reference documentation and code samples for the Cloud Spanner V1 Client class ListSessionsResponse.

The response for ListSessions.

Generated from protobuf message google.spanner.v1.ListSessionsResponse

Namespace

Google \ Cloud \ Spanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

The list of requested sessions.

↳ next_page_token string

next_page_token can be sent in a subsequent ListSessions call to fetch more of the matching sessions.

getSessions

The list of requested sessions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSessions

The list of requested sessions.

Parameter
NameDescription
var array<Google\Cloud\Spanner\V1\Session>
Returns
TypeDescription
$this

getNextPageToken

next_page_token can be sent in a subsequent ListSessions call to fetch more of the matching sessions.

Returns
TypeDescription
string

setNextPageToken

next_page_token can be sent in a subsequent ListSessions call to fetch more of the matching sessions.

Parameter
NameDescription
var string
Returns
TypeDescription
$this