View source: R/firestore_functions.R
projects.databases.documents.patch | R Documentation |
Autogenerated via gar_create_api_skeleton
projects.databases.documents.patch( Document, name, mask.fieldPaths = NULL, currentDocument.updateTime = NULL, currentDocument.exists = NULL, updateMask.fieldPaths = NULL )
Document |
The Document object to pass to this method |
name |
The resource name of the document, for example |
mask.fieldPaths |
The list of field paths in the mask |
currentDocument.updateTime |
When set, the target document must exist and have been last updated at that time |
currentDocument.exists |
When set to |
updateMask.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.createDocument()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.