【问题标题】:Using IMPORTDATA() with objects from google bucket将 IMPORTDATA() 与来自谷歌存储桶的对象一起使用
【发布时间】:2020-10-12 12:11:13
【问题描述】:

谷歌表格中的“=IMPORTDATA()”函数在使用谷歌存储桶中的 URL 时是否有效?

在使用该功能时,我似乎只能从其他站点(AWS 等)获取外部 URL 以加载。

【问题讨论】:

  • 你能分享一个例子吗?
  • 当然。我将此文件加载到公共 google 存储桶:link ...您应该能够访问和查看它。当我使用 '=IMPORTDATA("storage.cloud.google.com/mypublicbucket99/test2.txt")' 时它不起作用....看起来不是打开链接,而是该函数加载身份验证网站而不是内容

标签: google-sheets google-sheets-formula google-bucket


【解决方案1】:

您可以尝试使用googleapis 端点:

=IMPORTDATA("https://storage.googleapis.com/mypublicbucket99/test2.txt")

参考https://cloud.google.com/storage/docs/request-endpoints#typical

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2018-05-15
  • 1970-01-01
  • 2015-04-20
  • 2020-07-02
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多