如何设置自动导入到 Google 数据准备?

How can I set up an automated import to Google Data Prep?

使用 Google 数据准备时,我能够为更新我的 BigQuery 表的 运行 个作业创建自动计划。

但是,考虑到 Prep 中使用的数据是通过手动将 CSV(或 JSON、xlsx 等)拖放到数据存储桶中来更新的,这似乎毫无意义。

我试图寻找一种确定的方法来使用我的 PC 上定期更新的文件自动更新此存储桶,但似乎没有我能找到的最佳实践解决方案。

应该如何高效且有效地执行此操作?

因此,要将文件从您的计算机上传到 Google 云存储,有几种可能性。如果您只是 运行 一个处理该共享目录中任何更改的守护进程,您可以使用以下不同语言编写自动上传代码:C#、Go、Java、Node.JS、PHP、Python 或 Ruby.

你在这里some code examples for uploading objects but, be aware that there is also a detailed Cloud Storage Client Libraries references and you can also find the GitHub links in "Additional Resources".