在GCP中未经处理的文件夹时,要获得通知的通知
我是GCP的初学者,我想处理两个文件夹和未经处理的文件夹 在云存储桶中。每当文件从任何源到Google储物桶中的文件时,如果将文件成功地插入到目标(例如BigQuery)之后,云功能将被触发,即使没有进入未经处理的文件夹,该文件将进入已处理的文件夹。 我想知道,当文件进入未加工的文件夹或错误文件夹时,如何获得警报?
我必须编写代码,还是应该写一个云功能或其他任何使我警报的东西?
任何帮助将不胜感激 谢谢
I am beginner to GCP, I want to have two folders processed and unprocessed folder
in the cloud storage bucket. whenever a files comes to the google storage bucket from any source, after which cloud function will get triggered, if the files are successfully inserted into the target such as Bigquery, the file will go into the processed folder, if not into the unprocessed folder.
I want to know how can I get alerts when the files go into the unprocessed folder or error folder??
Do I have to write a code or Should I write a cloud function or anything else which gets me alerts??
Any help will be appreciated
Thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您提到的,云功能的用法是正确的方法。
需要一个简单的功能,然后将其与与水桶关联的适当触发器部署。
更多详细信息,可以在此处找到示例:
https://cloud.google.com/functions/docs/docs/docs/calling/calling/calling/storage/storage
As you mentioned usage of Cloud Functions is the right approach.
A simple function is required, then it should be deployed with the proper trigger associated with a bucket.
More details, with examples can be found here:
https://cloud.google.com/functions/docs/calling/storage