Cloud Firestore V1 Client - Class BeginTransactionResponse (1.37.7)

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

The response for Firestore.BeginTransaction.

Generated from protobuf message google.firestore.v1.BeginTransactionResponse

Namespace

Google \ Cloud \ Firestore \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ transaction string

The transaction that was started.

getTransaction

The transaction that was started.

Returns
TypeDescription
string

setTransaction

The transaction that was started.

Parameter
NameDescription
var string
Returns
TypeDescription
$this