Cloud Spanner V1 Client - Class ListSessionsResponse (1.54.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

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.

Generated from protobuf field repeated .google.spanner.v1.Session sessions = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSessions

The list of requested sessions.

Generated from protobuf field repeated .google.spanner.v1.Session sessions = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this