projects.databases.importDocuments: Imports documents into Google Cloud Firestore. Existing...

View source: R/firestore_functions.R

projects.databases.importDocumentsR Documentation

Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.

Description

Autogenerated via gar_create_api_skeleton

Usage

projects.databases.importDocuments(
  GoogleFirestoreAdminV1ImportDocumentsRequest,
  name
)

Arguments

GoogleFirestoreAdminV1ImportDocumentsRequest

The GoogleFirestoreAdminV1ImportDocumentsRequest object to pass to this method

name

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 GoogleFirestoreAdminV1ImportDocumentsRequest functions: GoogleFirestoreAdminV1ImportDocumentsRequest()


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