Autogenerated via gar_create_api_skeleton

projects.databases.documents.createDocument(
  Document,
  parent,
  collectionId,
  documentId = NULL,
  mask.fieldPaths = NULL
)

Arguments

Document

The Document object to pass to this method

parent

Required

collectionId

Required

documentId

The client-assigned document ID to use for this document

mask.fieldPaths

The list of field paths in the mask

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