ps_project_set: Set GCP projectId

View source: R/utils.R

ps_project_setR Documentation

Set GCP projectId

Description

Set GCP projectId

Usage

ps_project_set(project_id)

Arguments

project_id

character A valid GCP projectId

Value

character ProjectId string

See Also

Other Auth functions: ps_project_get(), pubsub_auth()

Examples

## Not run: 
ps_project_set("my-new-project")
# Do whatever...
# Jump back on the default project
ps_project_set(Sys.getenv("GCP_PROJECT"))

## End(Not run)


googlePubsubR documentation built on March 7, 2023, 6:38 p.m.