Skip to content

google-cloud v0.43.0

Choose a tag to compare

@callmehiphop callmehiphop released this 21 Oct 21:32

Updating

$ npm install google-cloud@0.43.0

New Storage Classes!

(#1727, #1728)

This release brings support for several new storage classes:

To leverage any of the new storage classes, you can use the coldline, multiRegional and regional options respectively.

var gcloud = require('google-cloud')({
  projectId: 'grape-spaceship-123',
  keyFilename: '/path/to/keyfile.json'
});

var gcs = gcloud.storage();

var metadata = {
  location: 'US-CENTRAL1',
  multiRegional: true
};

gcs.createBucket('my-bucket', metadata, function(err, bucket) {});
  • Language (#1721, #1723): Updated auto-generated API.
  • Logging (#1721, #1735): Updated auto-generated API.
  • PubSub (#1721, #1734): Updated auto-generated API.
  • Speech (#1721, #1737): Updated auto-generated API.
  • Vision (#1721, #1736): Updated auto-generated API.