ps_project_set {googlePubsubR}R 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)


[Package googlePubsubR version 0.0.4 Index]