Cloud Datastore V1 Client - Class BeginTransactionResponse (1.26.0)

Reference documentation and code samples for the Cloud Datastore V1 Client class BeginTransactionResponse.

The response for Datastore.BeginTransaction.

Generated from protobuf message google.datastore.v1.BeginTransactionResponse

Namespace

Google \ Cloud \ Datastore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ transaction string

The transaction identifier (always present).

getTransaction

The transaction identifier (always present).

Returns
TypeDescription
string

setTransaction

The transaction identifier (always present).

Parameter
NameDescription
var string
Returns
TypeDescription
$this