Cloud Firestore V1beta1 Client - Class ReadWrite (1.38.0)

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

Options for a transaction that can be used to read and write documents.

Generated from protobuf message google.firestore.v1beta1.TransactionOptions.ReadWrite

Namespace

Google \ Cloud \ Firestore \ V1beta1 \ TransactionOptions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ retry_transaction string

An optional transaction to retry.

getRetryTransaction

An optional transaction to retry.

Returns
TypeDescription
string

setRetryTransaction

An optional transaction to retry.

Parameter
NameDescription
var string
Returns
TypeDescription
$this