auth_g_drive_gcp | R Documentation |
Authorizes the googledrive package to access and manage files on your Google Drive via a Google Cloud Platform (GCP) Service Account Key file (in JSON format). See the relevant documentation for details.
auth_g_drive_gcp(path_gcp_service_account_key = Sys.getenv("PATH_GCP_KEY_ZDA"))
path_gcp_service_account_key |
Path to the GCP Service Account Key JSON file. |
The recommended way to provide the filesystem path to the GCP Service Account Key file is to set the environment variable PATH_GCP_KEY_ZDA
to that path, e.g. via the .Renviron
file.
path_gcp_service_account_key
, invisibly.
Other Google Apps functions:
auth_g_sheets_gcp()
,
backup_g_file()
,
backup_g_sheet()
,
g_file_mod_time()
,
upload_to_g_drive()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.