3

簡単なhelloWorld関数を作成してGoogleクラウドにデプロイすることに関するGoogleチュートリアルに従っています。私のマシンは 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
4

3 に答える 3

1

Google Cloud Functions は、パブリック ベータ版としてリリースされたばかりです。コマンドが若干異なります (たとえば、アルファ コンポーネントをインストールしません)。ホワイトリストに登録しなくても、すべて機能するはずです。

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

于 2017-03-11T21:56:03.230 に答える