View source: R/firestore_functions.R
projects.databases.documents.createDocument | R Documentation |
Autogenerated via gar_create_api_skeleton
projects.databases.documents.createDocument( Document, parent, collectionId, documentId = NULL, mask.fieldPaths = NULL )
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 |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.