get_project_id: Get project id

Description Usage Arguments Value Examples

View source: R/auth.R

Description

Fetches the Google Cloud Services (GCS) project id associated with a service account key.

Usage

1
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

1
2
3
4
## Not run: 
project_id <- get_project_id()

## End(Not run)

daiR documentation built on June 11, 2021, 5:16 p.m.