Reference documentation and code samples for the Cloud Firestore V1 Client class BeginTransactionRequest.
The request for Firestore.BeginTransaction .
Generated from protobuf message google.firestore.v1.BeginTransactionRequest
Namespace
Google \ Cloud \ Firestore \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ database
string
Required. The database name. In the format: projects/{project_id}/databases/{database_id}
.
↳ options
Google\Cloud\Firestore\V1\TransactionOptions
The options for the transaction. Defaults to a read-write transaction.
getDatabase
Required. The database name. In the format: projects/{project_id}/databases/{database_id}
.
string
setDatabase
Required. The database name. In the format: projects/{project_id}/databases/{database_id}
.
var
string
$this
getOptions
The options for the transaction.
Defaults to a read-write transaction.
hasOptions
clearOptions
setOptions
The options for the transaction.
Defaults to a read-write transaction.
$this
static::build
database
string
Required. The database name. In the format: projects/{project_id}/databases/{database_id}
.