compute-getting-started-javascript

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

  • Owner: GoogleCloudPlatform/compute-getting-started-javascript
  • Platform:
  • License:: Apache License 2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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/

Main metrics

Overview
Name With OwnerGoogleCloudPlatform/compute-getting-started-javascript
Primary Language
Program language (Language Count: 0)
Platform
License:Apache License 2.0
所有者活动
Created At2012-12-03 22:26:51
Pushed At2013-02-08 17:57:56
Last Commit At2013-02-08 09:57:48
Release Count0
用户参与
Stargazers Count17
Watchers Count63
Fork Count11
Commits Count5
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private