get_project_id: Get project id

View source: R/auth.R

get_project_idR 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)

daiR documentation built on Sept. 8, 2023, 5:43 p.m.