Cloud Firestore V1 Client - Class ReadWrite (1.45.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
Name Description
data array

Optional. Data for populating the Message object.

↳ retry_transaction string

An optional transaction to retry.

getRetryTransaction

An optional transaction to retry.

Returns
Type Description
string

setRetryTransaction

An optional transaction to retry.

Parameter
Name Description
var string
Returns
Type Description
$this