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 | |
---|---|
Name | Description |
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
|
getSessions
The list of requested sessions.
Generated from protobuf field repeated .google.spanner.v1.Session sessions = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSessions
The list of requested sessions.
Generated from protobuf field repeated .google.spanner.v1.Session sessions = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Spanner\V1\Session>
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |