[英]unable to test google assistant action on web simulator (Error Cloud function deployment failed. Dismiss)
Hey Respected Community!嘿尊敬的社区!
I started learning to create google actions.我开始学习创建谷歌操作。
so i created very basic google action.所以我创建了非常基本的谷歌操作。 which invokes by 'hey google talk to Doctor Strange' and after adding 1 more transition which displays suggestion.
它通过“嘿谷歌与奇异博士交谈”调用,然后再添加 1 个显示建议的过渡。 I saved it and trying to test it.
我保存了它并尝试测试它。 but continously getting error.
但不断出错。
cloud function deployment failed.云 function 部署失败。
i am continously trying to test it but getting error.我一直在尝试对其进行测试,但出现错误。
Can anyone help me what i am missing?谁能帮我我想念的东西? thanks in advance
提前致谢
As you surmise in your comments, using the Inline Editor for the webhook fulfillment requires you to have billing enabled for the cloud project it is attached to.正如您在评论中推测的那样,使用内联编辑器实现 webhook 需要您为其附加的云项目启用计费。 (This is because it uses Cloud Functions for Firebase under the hood, and this requires billing to be enabled, even if you limit yourself to the free tier.)
(这是因为它在后台使用了 Firebase 的 Cloud Functions,这需要启用计费,即使您将自己限制在免费层。)
You don't need to use the Inline Editor, or even Google Cloud Functions, for your webhook.您无需为您的 webhook 使用内联编辑器,甚至 Google Cloud Functions。 All you need is a public HTTPS server that can accept and respond with JSON.
您所需要的只是一个可以接受并响应 JSON 的公共 HTTPS 服务器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.