This is a function to authorize the R package to access the Google Pubsub API. This package does not provide a default credential for testing. In order to test out the functions, you would need to enable the Google Pubsub API and obtain the auth JSON file for this. Authentication for this is done via a service account
1 | authorize(json_service_account_file)
|
json_service_account_file |
A Service Account Authentication file location. Do ensure that it is in the JSON format This is obtained from Google API Credentials |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.