2016-07-05 14 views
3

간단한 helloWorld 기능을 만들고 Google 클라우드에 배포하는 방법에 대한 Google 자습서를 따르고 있습니다. 내 컴퓨터는 Windows 7 - 64 비트입니다. https://cloud.google.com/functions/docs/tutorials/httpGoogle 클라우드 기능

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