get_project_id {daiR} | R Documentation |
Get project id
Description
Fetches the Google Cloud Services (GCS) project id associated with a service account key.
Usage
get_project_id(path = Sys.getenv("GCS_AUTH_FILE"))
Arguments
path |
path to the JSON file with your service account key |
Value
a string with a GCS project id
Examples
## Not run:
project_id <- get_project_id()
## End(Not run)
[Package daiR version 1.0.0 Index]