尝试在我的应用程序中使用BigQuery。我收到了这个错误,我不知道为什么。有关后续步骤的任何反馈。事情设置为“公共”,因此它不是GS拒绝消息。
{"kind"=>"bigquery#job", "etag"=>"\"GwY6LdvTeqT4YdFN4PyQz2tXZdQ/0q_--jbh-hteL0v2xbStstv0h40\"", "id"=>"tempusgroup.com:omagoog:job_7d07a09c108a49f686c7580461816048", "selfLink"=>"https://www.googleapis.com/bigquery/v2/projects/tempusgroup.com:omagoog/jobs/job_7d07a09c108a49f686c7580461816048", "jobReference"=>{"projectId"=>"tempusgroup.com:omagoog", "jobId"=>"job_7d07a09c108a49f686c7580461816048"}, "configuration"=>{"load"=>{"sourceUris"=>["gs://omaload/mentions_94354.utf-8.bigquery"], "schema"=>{"fields"=>[{"name"=>"created_at", "type"=>"STRING"}, {"name"=>"keyword", "type"=>"STRING"}, {"name"=>"phrases", "type"=>"RECORD", "mode"=>"REPEATED", "fields"=>[{"name"=>"phrase", "type"=>"STRING"}]}]}, "destinationTable"=>{"projectId"=>"tempusgroup.com:omagoog", "datasetId"=>"omadata", "tableId"=>"mentions_test"}, "createDisposition"=>"CREATE_IF_NEEDED", "sourceFormat"=>"NEWLINE_DELIMITED_JSON"}}, "status"=>{"state"=>"DONE", "errorResult"=>{"reason"=>"accessDenied", "message"=>"Access Denied: File gs://omaload/mentions_94354.utf-8.bigquery: Access Denied"}, "errors"=>[{"reason"=>"accessDenied", "message"=>"Access Denied: File gs://omaload/mentions_94354.utf-8.bigquery: Access Denied"}]}, "statistics"=>{"startTime"=>"1358707905511", "endTime"=>"1358707905511"}}
答案 0 :(得分:1)
作业中的Google存储文件似乎不公开:
$ gsutil cat gs://omaload/mentions_94354.utf-8.bigquery | head
GSResponseError:: status=403, code=None, reason=Forbidden.