Packages

@google-cloud/vision

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

Your version

0.22.0

11 Sep 2018Where it was published

0.25.0 is the newest release of 0.22.x.

In short

2 changed

Release note

The section about @google-cloud/vision of a note shared by several packages.

Updating

$ npm install gcloud@0.22.0

Hello, Resource Manager!

(#851, #860)

You now have access to your projects. At this time, support for the Resource Manager API is very minimal as we work out some auth questions.

var gcloud = require('gcloud');

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

The most basic functionality is supported in all environments:

Get your project's metadata

// This refers to your default project as given
// to `gcloud.resource` above.
var project = resource.project();

project.getMetadata(function(err, metadata) {
  if (!err) {
    // metadata = { Project metadata }
  }
});

Get a list of your projects

resource.getProjects(function(err, projects) {
  if (!err) {
    // projects = [ array of Project objects ]
  }
});

See the full API in our Resource Manager 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.