Cloud Firestore V1 Client - Class ReadWrite (1.38.0)

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

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

Firestore does not allow 3rd party auth requests to create read-write. transactions.

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

Namespace

Google \ Cloud \ Firestore \ V1 \ 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