Cloud Spanner V1 Client - Class GetSessionRequest (1.56.0)

Reference documentation and code samples for the Cloud Spanner V1 Client class GetSessionRequest.

The request for GetSession.

Generated from protobuf message google.spanner.v1.GetSessionRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the session to retrieve.

getName

Required. The name of the session to retrieve.

Returns
TypeDescription
string

setName

Required. The name of the session to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this