Description Usage Arguments Value Examples
Produces an access token for Google Cloud Services (GCS)
1 2 3 4 | dai_token(
path = Sys.getenv("GCS_AUTH_FILE"),
scopes = "https://www.googleapis.com/auth/cloud-platform"
)
|
path |
path to a JSON file with a service account key |
scopes |
GCS auth scopes for the token |
a GCS access token object (if credentials are valid) or a message (if not).
1 2 3 4 | ## Not run:
token <- dai_token()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.