Skip to content

Commit

Permalink
Switch to individual API packages. (#169)
Browse files Browse the repository at this point in the history
* Switch to individual API packages.

* Address comments

* Address comments
  • Loading branch information
jmdobry authored Aug 16, 2016
1 parent e0ae1f9 commit aeae10f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions compute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"system-test": "mocha -R spec -t 120000 --require intelli-espower-loader ../system-test/_setup.js system-test/*.test.js"
},
"dependencies": {
"gcloud": "^0.37.0",
"googleapis": "^12.0.0",
"@google-cloud/compute": "^0.1.1",
"googleapis": "^12.2.0",
"nodemailer": "^2.4.1",
"nodemailer-smtp-transport": "^2.5.0",
"sendgrid": "^2.0.0"
},
"devDependencies": {
"mocha": "^2.5.3"
"mocha": "^3.0.2"
}
}
14 changes: 7 additions & 7 deletions compute/vms.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
'use strict';

// [START auth]
// By default, gcloud will authenticate using the service account file specified
// by the GOOGLE_APPLICATION_CREDENTIALS environment variable and use the
// project specified by the GCLOUD_PROJECT environment variable. See
// https://googlecloudplatform.github.io/gcloud-node/#/docs/guides/authentication
var gcloud = require('gcloud');
// By default, the client will authenticate using the service account file
// specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable and use
// the project specified by the GCLOUD_PROJECT environment variable. See
// https://googlecloudplatform.github.io/gcloud-node/#/docs/google-cloud/latest/guides/authentication
var Compute = require('@google-cloud/compute');
// [END auth]

// [START initialize]
// Get a reference to the compute component
var compute = gcloud.compute();
// Instantiate a compute client
var compute = Compute();
// [END initialize]

// [START list]
Expand Down

0 comments on commit aeae10f

Please sign in to comment.