bigrquery (version 0.3.0)

get_access_cred: Get and set access credentials

Description

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.

Usage

get_access_cred()

set_access_cred(value)

reset_access_cred()

set_service_token(service_token)

Arguments

value

new access credentials, as returned by oauth2.0_token

service_token

A JSON string, URL or file, giving or pointing to the service token file.

API console

To manage your google projects, use the API console: https://console.cloud.google.com/