Autogenerated via gar_create_api_skeleton

projects.databases.documents.patch(
  Document,
  name,
  mask.fieldPaths = NULL,
  currentDocument.updateTime = NULL,
  currentDocument.exists = NULL,
  updateMask.fieldPaths = NULL
)

Arguments

Document

The Document object to pass to this method

name

The resource name of the document, for example projects/{project_id}/databases/{database_id}/documents/{document_path}

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 true, the target document must exist

updateMask.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.