cr_setup_auth | R Documentation |
This will use your Google OAuth2 user to create a suitable service account
cr_setup_auth( email = Sys.getenv("GARGLE_EMAIL"), file = "googlecloudrunner-auth-key.json", session_user = NULL )
email |
What email to open OAuth2 with |
file |
Where to save the authentication file |
session_user |
1 for user level, 2 for project level, leave |
TRUE if the file is ready to be setup by cr_setup, FALSE if need to stop
Other setup functions:
cr_setup_service()
,
cr_setup_test()
,
cr_setup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.