Cloud Spanner V1 Client - Class ListSessionsResponse (1.89.0)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ sessions array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setSessions

The list of requested sessions.

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

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this