通过Google Cloud API区分云功能的HTTP和onCall触发器

时间:2018-10-29 08:58:00

标签: firebase google-cloud-platform google-cloud-functions

我打算定期从某个函数调用所有云函数。当前功能是通过使用http,pubsub,firestore,分析,onCall触发器实现的。

在我的调查中,Cloud API上的projects.locations.functions API非常适合列出所有功能。 https://cloud.google.com/functions/docs/reference/rest/v1/projects.locations.functions#HttpsTrigger

但是此API无法区分http触发器和onCall触发器函数。该函数(http和onCall)都被API识别为http触发函数。

有什么办法可以区分这两个触发器吗?

1 个答案:

答案 0 :(得分:0)

这是Cloud API的规范,因此我们无法通过API区分http和onCall触发器。 我向支持团队提出功能要求。