Packages

@google-cloud/vision

6.2.0 · 12 Oct 2026Apache-2.01.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.20.0

15 Jun 2018Where it was published

0.25.0 is the newest release of 0.20.x.

In short

2 changed

Release note

Updating

$ npm update gcloud

Hello, Compute Engine!

(#341, #718, #721, #792)

This release is for one thing only: introducing support for Compute Engine! You now have access to your instances, firewall rules, disks, snapshots, addresses, and networks.

Here's how you can create a virtual machine from the latest Ubuntu image.

var gcloud = require('gcloud');

var gce = gcloud.compute({
  projectId: 'my-project',
  keyFilename: '/path/to/keyfile.json'
});

var zone = gce.zone('us-central1-a');
var name = 'ubuntu-http';
var config =  {
  os: 'ubuntu',
  http: true // allow HTTP traffic
};

zone.createVM(name, config, function(err, vm, operation) {
  // `operation` lets you check the status of long-running tasks.

  operation.onComplete(function(err, metadata) {
    if (!err) {
      // Virtual machine created!
    }
  });
});

See the full API in our Compute Engine API documentation

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.