英文:
app_engine_apis: true not appearing in deployed version's config
问题
我正在尝试在116运行时部署一个需要任务队列的Go API。当访问利用任务队列的端点时,日志告诉我:请在您的app.yaml中添加app_engine_apis: true以启用
。我已经在我的app.yaml中添加了它(见下文),但它在控制台中的版本的最终配置中并没有出现。有什么想法吗?
编辑:为了清楚起见,在这个界面上,我尝试切换到go115运行时,但是两个运行时都存在同样的问题。
英文:
i'm trying to deploy a go API on the 116 runtime that requires task queues. Upon accessing the endpoint that utilizes task queues, the log tells me: please add app_engine_apis: true to your app.yaml to enable
. I've added it in my app.yml (see below) but it does not appear in the final configs for the version in the console. Any ideas?
edit: for clarity, in this screen I attempted toggling to the go115 runtime, but the same issue exists for both runtimes
答案1
得分: 0
鉴于在第二代运行时中使用GAE服务仍处于预览阶段,控制台中可能还没有实现可见性。您可以使用Admin API来检查是否已应用设置,其中应该显示"appEngineApis": true
设置。
如果使用gcloud beta app versions describe命令(确保包含beta
),也可以查看设置。
英文:
Given using the GAE services in 2nd Gen runtimes is still in Preview, visibility in the console probably just hasn't been implemented. You can check if the setting has been applied using the Admin API, where "appEngineApis": true
setting should be showing.
It also shows if you use gcloud beta app versions describe (make sure to include beta
).
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论