Google Cloud功能

ROB*_*YAL 3 google-cloud-platform google-cloud-functions

我正在关注创建一个简单的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
Run Code Online (Sandbox Code Playgroud)

Mad*_*las 7

它可能很愚蠢,但一定要在gcloud仪表板网站上的项目设置中启用云功能api.

在此输入图像描述