Cloud Spanner V1 Client - Class BatchCreateSessionsResponse (1.86.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
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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSession

The freshly created sessions.

Parameter
Name Description
var array<Google\Cloud\Spanner\V1\Session>
Returns
Type Description
$this