我在这里关注谷歌云功能教程:https ://cloud.google.com/functions/docs/quickstart
我安装google-cloud-sdk
并获取path.bash.inc
和completion.bash.inc
.
命令步骤起作用并gsutil
创建存储桶。
当我gcloud beta functions deploy helloWorld --stage-bucket [BUCKET_NAME] --trigger-topic hello_world
用我的 [BUCKET_NAME] 运行替换时,我得到了使用帮助和以下错误:
``` 错误:(gcloud.beta)无效的选择:“功能”。
有效的选择是 [app, auth, bigtable, compute, config, container, dataflow, dataproc, debug, deployment-manager, emulators, error-reporting, iam, init, logging, ml, organizations, projects, pubsub, service-management,源,sql,测试]。```
我不确定 gcloud 命令是如何工作的,但我可以functions
在.lib/surface/
google-cloud-sdk
为什么不gcloud beta functions
工作?我怎样才能让它工作?