How to authenticate with service account and bigrquery package?

后端 未结 2 1285
长发绾君心
长发绾君心 2020-12-06 07:50

I have been able to authenticate using the json file associated with a service account using googleAuth and bigQueryR.

# Load Packa         


        
2条回答
  •  南方客
    南方客 (楼主)
    2020-12-06 07:59

    set_service_token() is now deprecated.

    Use bq_auth() instead:

    bq_auth(path = "location_of_service_token.json")
    

    Source: https://rdrr.io/cran/bigrquery/man/bigrquery-deprecated.html

提交回复
热议问题