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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSessions
The list of requested sessions.
| 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.
| 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 |
|