projects.databases.documents.get: Gets a single document.

View source: R/firestore_functions.R

projects.databases.documents.getR Documentation

Gets a single document.

Description

Autogenerated via gar_create_api_skeleton

Usage

projects.databases.documents.get(
  name,
  mask.fieldPaths = NULL,
  readTime = NULL,
  transaction = NULL
)

Arguments

name

Required

mask.fieldPaths

The list of field paths in the mask

readTime

Reads the version of the document at the given time

transaction

Reads the document in a transaction

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

Google Documentation


robonomist/googleFirestore documentation built on Jan. 30, 2023, 6:39 p.m.