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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ transaction |
string
The transaction identifier (always present). |
getTransaction
The transaction identifier (always present).
Generated from protobuf field bytes transaction = 1;
Returns | |
---|---|
Type | Description |
string |
setTransaction
The transaction identifier (always present).
Generated from protobuf field bytes transaction = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |