Cloud Firestore V1beta1 Client - Class ReadWrite (1.44.1)

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
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