pubsub_auth: Authenticate a Pub/Sub client

Description Usage Arguments Value See Also

View source: R/auth.R

Description

Authenticate a Pub/Sub client

Usage

1
2
3
4
5
pubsub_auth(
  json_file = Sys.getenv("GCP_AUTH_FILE"),
  token = NULL,
  email = NULL
)

Arguments

json_file

character Path of the JSON file containing credentials for a GCP service account

token

character An existing authentication token

email

character The email to default authentication to

Value

None, called for side effects

See Also

Other Auth functions: ps_project_get(), ps_project_set()


googlePubsubR documentation built on Jan. 17, 2022, 1:06 a.m.