简体   繁体   English

无法在 web 模拟器上测试谷歌助手操作(错误云 function 部署失败。关闭)

[英]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.

相关问题 Google Cloud Function 构建失败。 错误 ID:99f2b037 - Google Cloud Function Build failed. Error ID: 99f2b037 部署错误:由于使用 Tweepy 对 Google Cloud Function 进行健康检查失败,函数部署失败 - Deployment Error: Function deployment failed due to a health check failure on Google Cloud Function with Tweepy Google Assistant的Firebase部署错误 - Firebase Deployment Error for Google Assistant Google助手操作,无功能网址 - Google assistant action, no function URL 使用 go 客户端部署 GCP 云功能时,我收到:“错误 400:前提条件检查失败。,失败前提条件” - When deploying GCP cloud function with go client I receive: "Error 400: Precondition check failed., failedPrecondition" Google Cloud Functions - Python 部署失败 - 部署失败:Function 加载用户代码失败 - Google Cloud Functions - Python deployment failing - Deployment failure: Function failed on loading user code Google Cloud Function 部署失败 - Google Cloud Function deployment failure 测试谷歌云 Function - Test Google Cloud Function Google Cloud Function: FunctionsError: OperationError: code=13, message=由于运行状况检查失败,函数部署失败 - Google Cloud Function: FunctionsError: OperationError: code=13, message=Function deployment failed due to a health check failure Firebase 云功能中的部署错误 - Deployment error in Firebase cloud function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM