Cloud Firestore V1beta1 Client - Class BeginTransactionResponse (1.46.0)

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

The response for Firestore.BeginTransaction.

Generated from protobuf message google.firestore.v1beta1.BeginTransactionResponse

Namespace

Google \ Cloud \ Firestore \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ transaction string

The transaction that was started.

getTransaction

The transaction that was started.

Returns
Type Description
string

setTransaction

The transaction that was started.

Parameter
Name Description
var string
Returns
Type Description
$this