dai_token | R Documentation |
Produces an access token for Google Cloud Services (GCS)
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).
## 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.