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.
Usage
auth_g_drive_gcp(path_gcp_service_account_key = Sys.getenv("PATH_GCP_KEY_ZDA"))
Details
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.
See also
Other Google Apps functions:
auth_g_sheets_gcp()
,
backup_g_file()
,
backup_g_sheet()
,
g_file_mod_time()
,
upload_to_g_drive()