首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Google云函数

Google云函数
EN

Stack Overflow用户
提问于 2016-07-05 12:57:07
回答 3查看 2.9K关注 0票数 3

我正在按照谷歌教程创建一个简单的helloWorld函数并将其部署到谷歌云上。我的机器是Windows 7- 64位。我正在关注这个链接:https://cloud.google.com/functions/docs/tutorials/http

代码语言:javascript
复制
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
EN

回答 3

Stack Overflow用户

发布于 2017-05-09 08:10:59

这可能很愚蠢,但请确保在gcloud仪表板网站上的项目设置中启用了cloud functions api。

票数 8
EN

Stack Overflow用户

发布于 2017-03-12 05:56:03

Google Cloud Functions刚刚作为公开测试版发布。命令略有不同(例如,您不安装alpha组件)!它现在应该都可以工作了,而不需要加入白名单。

https://cloud.google.com/functions/

票数 1
EN

Stack Overflow用户

发布于 2016-08-03 07:02:43

Google Cloud Functions目前在Alpha中,这意味着它只是白名单。您收到此错误是因为您的帐户未被列入白名单。您需要注册才能访问Alpha,您可以使用here

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38195432

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档