Reference documentation and code samples for the Cloud Spanner V1 Client class BatchCreateSessionsResponse.
The response for BatchCreateSessions.
Generated from protobuf message google.spanner.v1.BatchCreateSessionsResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session |
array<Google\Cloud\Spanner\V1\Session>
The freshly created sessions. |
getSession
The freshly created sessions.
Generated from protobuf field repeated .google.spanner.v1.Session session = 1;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSession
The freshly created sessions.
Generated from protobuf field repeated .google.spanner.v1.Session session = 1;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Spanner\V1\Session>
|
Returns | |
---|---|
Type | Description |
$this |