Cloud Firestore V1 Client - Class RollbackRequest (1.28.0)

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

The request for Firestore.Rollback.

Generated from protobuf message google.firestore.v1.RollbackRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ database string

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

↳ transaction string

Required. The transaction to roll back.

getDatabase

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

Returns
TypeDescription
string

setDatabase

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTransaction

Required. The transaction to roll back.

Returns
TypeDescription
string

setTransaction

Required. The transaction to roll back.

Parameter
NameDescription
var string
Returns
TypeDescription
$this