Cloud Spanner V1 Client - Class BatchCreateSessionsResponse (1.54.2)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSession

The freshly created sessions.

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

Parameter
NameDescription
var array<Google\Cloud\Spanner\V1\Session>
Returns
TypeDescription
$this