Cloud Spanner V1 Client - Class DeleteSessionRequest (1.64.0)

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

The request for DeleteSession.

Generated from protobuf message google.spanner.v1.DeleteSessionRequest

Namespace

Google \ Cloud \ Spanner \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the session to delete.

getName

Required. The name of the session to delete.

Returns
TypeDescription
string

setName

Required. The name of the session to delete.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the session to delete. Please see Google\Cloud\Spanner\V1\SpannerClient::sessionName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Spanner\V1\DeleteSessionRequest