我正在按照谷歌教程创建一个简单的 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