我試圖用Google Cloud PubSub我Google Cloud Dataproc集羣,我收到類似下面的認證範圍的錯誤:與雲Dataproc和其他谷歌雲產品
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "Request had insufficient authentication scopes.",
"reason" : "forbidden"
} ],
"message" : "Request had insufficient authentication scopes.",
"status" : "PERMISSION_DENIED"
}
我怎樣才能解決這個問題,這樣我就可以在Cloud Dataproc上運行的Spark/Hadoop項目中使用PubSub(和其他Google雲)產品?