谷歌云功能
问题描述:
我正在关注如何创建一个简单的helloWorld函数并将其部署到谷歌云上的谷歌教程。我的机器是Windows 7 - 64位。 我下面这个链接:https://cloud.google.com/functions/docs/tutorials/http谷歌云功能
However I am facing few issues here:
1. Before You Begin -> Enable the API: getting the following error: "You have no permissions to use requested API"
2. Install the Cloud SDK: When I run the downloaded installer, following error comes: "Unzip failed: Error opening ZIP file"
I however installed SDK from another link:
https://cloud.google.com/sdk/downloads#versioned
3. Unable to install alpha component. Used this command:
gcloud components install alpha
4. Deploying the function:
ERROR: (gcloud.alpha.functions.deploy) ResponseError: status=[403], code=[Forbid
den], message=[Cannot access Google Cloud Functions API in project gcf-project-1
]
If anybody knows the solution, please help.
Thanks,
Robin
答
Google Cloud Functions刚刚发布为公开测试版。这些命令稍有不同(例如,您不需要安装alpha组件)!它应该现在都工作,没有白名单。
是否需要一段时间,一旦签署了白名单以访问阿尔法,还是应该立即发生的呢? –