R/firestore_functions.R
projects.databases.documents.createDocument.Rd
Autogenerated via gar_create_api_skeleton
projects.databases.documents.createDocument(
Document,
parent,
collectionId,
documentId = NULL,
mask.fieldPaths = NULL
)
The Document object to pass to this method
Required
Required
The client-assigned document ID to use for this document
The list of field paths in the mask
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.
Other Document functions:
Document()
,
projects.databases.documents.patch()