Cloud Spanner V1 Client - Class BatchCreateSessionsResponse (1.66.0)

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

Namespace

Google \ Cloud \ Spanner \ V1

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSession

The freshly created sessions.

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