Since the majority of bigquery API requests need to be authenticated
bigrquery maintains package-wide OAuth authentication credentials in a
private environment. In ordinary operation, you should never need to use
these functions but they are provided in case you want to switch
credentials mid-stream. You may can use set_service_token
for non-interactive authentication.
get_access_cred()has_access_cred()
set_access_cred(value)
reset_access_cred()
set_oauth2.0_cred(app = NULL)
set_service_token(service_token)
new access credentials, as returned by
httr::oauth2.0_token()
A Google OAuth application created using
oauth_app
A JSON string, URL or file, giving or pointing to the service token file.
get_access_cred()
OAuth2 credentials token
has_access_cred()
TRUE if credentials are set
To manage your google projects, use the API console: https://console.cloud.google.com/