v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13188387.8 KB
projects

Commits a transaction, optionally creating, deleting or modifying some entities.

post/v1/projects/{projectId}:commit

Path parameters

projectIdstring required

Required. The ID of the project against which to make the request.

Request body

databaseIdstring

The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.

mode'MODE_UNSPECIFIED' | 'TRANSACTIONAL' | 'NON_TRANSACTIONAL'

The type of commit to perform. Defaults to TRANSACTIONAL.

transactionstring byte

The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.

Response

Successful response