projects.databases.documents.batchWrite: Applies a batch of write operations. The BatchWrite method...

View source: R/firestore_functions.R

projects.databases.documents.batchWriteR Documentation

Applies a batch of write operations. The BatchWrite method does not apply the write operations atomically and can apply them out of order. Method does not allow more than one write per document. Each write succeeds or fails independently. See the BatchWriteResponse for the success status of each write. If you require an atomically applied set of writes, use Commit instead.

Description

Autogenerated via gar_create_api_skeleton

Usage

projects.databases.documents.batchWrite(BatchWriteRequest, database)

Arguments

BatchWriteRequest

The BatchWriteRequest object to pass to this method

database

Required

Details

Authentication scopes used by this function are:

  • https://www.googleapis.com/auth/cloud-platform

  • https://www.googleapis.com/auth/datastore

Set options(googleAuthR.scopes.selected = c(https://www.googleapis.com/auth/cloud-platform, https://www.googleapis.com/auth/datastore) Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

See Also

Google Documentation

Other BatchWriteRequest functions: BatchWriteRequest()


robonomist/googleFirestore documentation built on Jan. 30, 2023, 6:39 p.m.