g_file_mod_time: Get Google Drive file modification timestamp

g_file_mod_timeR Documentation

Get Google Drive file modification timestamp

Description

Get Google Drive file modification timestamp

Usage

g_file_mod_time(
  g_id,
  path_gcp_service_account_key = Sys.getenv("PATH_GCP_KEY_ZDA")
)

Arguments

g_id

Google Drive file ID. A character scalar.

path_gcp_service_account_key

Path to the GCP Service Account Key JSON file. See auth_g_drive_gcp() for details.

Value

A datetime.

See Also

Other Google Apps functions: auth_g_drive_gcp(), auth_g_sheets_gcp(), backup_g_file(), backup_g_sheet(), upload_to_g_drive()


zdaarau/fokus documentation built on Dec. 24, 2024, 10:47 p.m.