Attribute

AccessToken (AT)

Purpose

Specifies the access token required to authenticate to a Google BigQuery instance when OAuth 2.0 is enabled (AuthenticationMethod=oauth2.0).

The access token acts as a session ID for the connection. See "Generating access token and refresh token" to know how to obtain an access token.

Valid Values

string

where:

string
is the access token you have obtained to authenticate to Google BigQuery.

Notes

  • If a value for the Access Token option is not specified, the driver uses the value of the Refresh Token option to make a connection.
  • If both Access Token and Refresh Token values are not specified, the driver cannot make a successful connection.
  • If both AccessToken and RefreshToken values are specified, the driver uses the AccessToken value. However, if the AccessToken value expires, it uses the RefreshToken value to generate a new AccessToken value.

Default

None

See also

Configuring OAuth 2.0 authentication

Generating access tokens and refresh tokens

Authentication Method

Refresh Token