2016-07-05 14 views
3

単純なhelloWorld関数を作成してGoogleのクラウドにデプロイするためのGoogleチュートリアルに従っています。私のマシンはWindows 7 - 64ビットです。 https://cloud.google.com/functions/docs/tutorials/httpGoogle Cloud機能

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 

答えて

0

Googleクラウド機能は、アルファに現在ある、それが唯一のホワイトリストです意味: 私は、このリンクを次のようしています。アカウントがホワイトリストに登録されていないため、このエラーが発生しています。できるだけアルファにアクセスするにはサインアップする必要があります。here

+1

それがホワイトリストに登録されるようにサインアップする時にアルファへのアクセスを取得するにはしばらく時間がかかるん、またはそれはすぐに起こるのでしょうか? –

1

Google Cloud Functionsはパブリックベータ版としてリリースされました。コマンドは少し異なります(アルファコンポーネントをインストールしないなど)。ホワイトリストに登録することなく、すべて動作するはずです。

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

7

それは愚かなことが、のgcloudダッシュボードのウェブサイトにあなたのプロジェクト設定でクラウド機能のAPIを有効にしてくださいかもしれません。

enter image description here

関連する問題