compute-getting-started-javascript

This is a simple web-based example of calling the Google Compute Engine API in JavaScript.

  • 所有者: GoogleCloudPlatform/compute-getting-started-javascript
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Google Compute Engine JavaScript Sample Application

Description

This is a simple web-based example of calling the Google Compute Engine API
in JavaScript. It uses the [Google API JavaScript Client][1].

Setup Authentication

NOTE: This README assumes that you have enabled access to the Google Compute
Engine API via the Google API Console page.

  1. Visit https://code.google.com/apis/console/?api=compute to register your
    application.
  • Click on "API Access" in the left column
  • If you have not generated any client IDs, click the button labeled
    "Create an OAuth2 client ID...", otherwise, either select a previously
    created client ID, or click "Create another client ID..."
  • Give your application a name and click "Next"
  • Select "Web Application" as the "Application type"
  • Click "Create client ID"
  • Click "Edit settings..." for your new client ID
  • Under the redirect URI, enter the location of your JavaScript application
  • Under the JavaScript origin, enter the location of your JavaScript
    application
  • Click "Update"
  1. Update the following in app.html (projectId, clientId, apiKey).

Running the Sample Application

  1. Load app.html on your web server, and visit the appropriate website in
    your web browser.

[1] http://code.google.com/p/google-api-javascript-client/

主要指标

概览
名称与所有者GoogleCloudPlatform/compute-getting-started-javascript
主编程语言
编程语言 (语言数: 0)
平台
许可证Apache License 2.0
所有者活动
创建于2012-12-03 22:26:51
推送于2013-02-08 17:57:56
最后一次提交2013-02-08 09:57:48
发布数0
用户参与
星数17
关注者数63
派生数10
提交数5
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?