How to authenticate with service account and bigrquery package?

后端 未结 2 1288
长发绾君心
长发绾君心 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 08:22

    You can use the function set_service_token()in bigrquery to authenticate with the same service JSON you use in bigQueryR

    library(bigrquery)
    
    set_service_token("location-of-service.json")
    

    Source: https://github.com/rstats-db/bigrquery/issues/22

提交回复
热议问题