Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

google-cloud

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-cloud - npm Package Compare versions

Comparing version 0.47.0 to 0.48.0

228

npm-shrinkwrap.json
{
"name": "google-cloud",
"version": "0.47.0",
"version": "0.48.0",
"dependencies": {
"@google-cloud/bigquery": {
"version": "0.7.0",
"from": "@google-cloud/bigquery@>=0.7.0 <0.8.0",
"resolved": "https://registry.npmjs.org/@google-cloud/bigquery/-/bigquery-0.7.0.tgz"
"version": "0.8.0",
"from": "@google-cloud/bigquery@>=0.8.0 <0.9.0",
"resolved": "https://registry.npmjs.org/@google-cloud/bigquery/-/bigquery-0.8.0.tgz"
},

@@ -13,25 +13,23 @@ "@google-cloud/bigtable": {

"from": "@google-cloud/bigtable@>=0.8.0 <0.9.0",
"resolved": "https://registry.npmjs.org/@google-cloud/bigtable/-/bigtable-0.8.0.tgz",
"dependencies": {
"dot-prop": {
"version": "3.0.0",
"from": "dot-prop@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz"
}
}
"resolved": "https://registry.npmjs.org/@google-cloud/bigtable/-/bigtable-0.8.0.tgz"
},
"@google-cloud/common": {
"version": "0.12.0",
"version": "0.12.1",
"from": "@google-cloud/common@>=0.12.0 <0.13.0",
"resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-0.12.0.tgz"
"resolved": "https://registry.npmjs.org/@google-cloud/common/-/common-0.12.1.tgz"
},
"@google-cloud/common-grpc": {
"version": "0.1.4",
"version": "0.1.6",
"from": "@google-cloud/common-grpc@>=0.1.1 <0.2.0",
"resolved": "https://registry.npmjs.org/@google-cloud/common-grpc/-/common-grpc-0.1.4.tgz",
"resolved": "https://registry.npmjs.org/@google-cloud/common-grpc/-/common-grpc-0.1.6.tgz",
"dependencies": {
"dot-prop": {
"version": "2.4.0",
"from": "dot-prop@>=2.4.0 <3.0.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-2.4.0.tgz"
},
"google-proto-files": {
"version": "0.9.1",
"from": "google-proto-files@>=0.9.1 <0.10.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.9.1.tgz"
"version": "0.10.0",
"from": "google-proto-files@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.10.0.tgz"
}

@@ -61,5 +59,24 @@ }

"@google-cloud/logging": {
"version": "0.7.0",
"version": "0.7.1",
"from": "@google-cloud/logging@>=0.7.0 <0.8.0",
"resolved": "https://registry.npmjs.org/@google-cloud/logging/-/logging-0.7.0.tgz"
"resolved": "https://registry.npmjs.org/@google-cloud/logging/-/logging-0.7.1.tgz",
"dependencies": {
"google-gax": {
"version": "0.12.2",
"from": "google-gax@>=0.12.2 <0.13.0",
"resolved": "https://registry.npmjs.org/google-gax/-/google-gax-0.12.2.tgz",
"dependencies": {
"google-proto-files": {
"version": "0.9.1",
"from": "google-proto-files@>=0.9.1 <0.10.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.9.1.tgz"
}
}
},
"google-proto-files": {
"version": "0.10.0",
"from": "google-proto-files@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.10.0.tgz"
}
}
},

@@ -77,5 +94,24 @@ "@google-cloud/monitoring": {

"@google-cloud/pubsub": {
"version": "0.8.0",
"from": "@google-cloud/pubsub@>=0.8.0 <0.9.0",
"resolved": "https://registry.npmjs.org/@google-cloud/pubsub/-/pubsub-0.8.0.tgz"
"version": "0.8.1",
"from": "@google-cloud/pubsub@>=0.8.1 <0.9.0",
"resolved": "https://registry.npmjs.org/@google-cloud/pubsub/-/pubsub-0.8.1.tgz",
"dependencies": {
"google-gax": {
"version": "0.12.2",
"from": "google-gax@>=0.12.2 <0.13.0",
"resolved": "https://registry.npmjs.org/google-gax/-/google-gax-0.12.2.tgz",
"dependencies": {
"google-proto-files": {
"version": "0.9.1",
"from": "google-proto-files@>=0.9.1 <0.10.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.9.1.tgz"
}
}
},
"google-proto-files": {
"version": "0.10.0",
"from": "google-proto-files@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.10.0.tgz"
}
}
},

@@ -88,5 +124,5 @@ "@google-cloud/resource": {

"@google-cloud/spanner": {
"version": "0.1.0",
"version": "0.1.1",
"from": "@google-cloud/spanner@>=0.1.0 <0.2.0",
"resolved": "https://registry.npmjs.org/@google-cloud/spanner/-/spanner-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/@google-cloud/spanner/-/spanner-0.1.1.tgz",
"dependencies": {

@@ -101,5 +137,24 @@ "google-proto-files": {

"@google-cloud/speech": {
"version": "0.6.0",
"from": "@google-cloud/speech@>=0.6.0 <0.7.0",
"resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-0.6.0.tgz"
"version": "0.7.0",
"from": "@google-cloud/speech@>=0.7.0 <0.8.0",
"resolved": "https://registry.npmjs.org/@google-cloud/speech/-/speech-0.7.0.tgz",
"dependencies": {
"google-gax": {
"version": "0.12.2",
"from": "google-gax@>=0.12.0 <0.13.0",
"resolved": "https://registry.npmjs.org/google-gax/-/google-gax-0.12.2.tgz",
"dependencies": {
"google-proto-files": {
"version": "0.9.1",
"from": "google-proto-files@>=0.9.1 <0.10.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.9.1.tgz"
}
}
},
"google-proto-files": {
"version": "0.10.0",
"from": "google-proto-files@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.10.0.tgz"
}
}
},

@@ -117,5 +172,24 @@ "@google-cloud/storage": {

"@google-cloud/vision": {
"version": "0.8.0",
"from": "@google-cloud/vision@>=0.8.0 <0.9.0",
"resolved": "https://registry.npmjs.org/@google-cloud/vision/-/vision-0.8.0.tgz"
"version": "0.9.0",
"from": "@google-cloud/vision@>=0.9.0 <0.10.0",
"resolved": "https://registry.npmjs.org/@google-cloud/vision/-/vision-0.9.0.tgz",
"dependencies": {
"google-gax": {
"version": "0.12.2",
"from": "google-gax@>=0.12.1 <0.13.0",
"resolved": "https://registry.npmjs.org/google-gax/-/google-gax-0.12.2.tgz",
"dependencies": {
"google-proto-files": {
"version": "0.9.1",
"from": "google-proto-files@>=0.9.1 <0.10.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.9.1.tgz"
}
}
},
"google-proto-files": {
"version": "0.10.0",
"from": "google-proto-files@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.10.0.tgz"
}
}
},

@@ -145,3 +219,47 @@ "abbrev": {

"from": "are-we-there-yet@>=1.1.2 <1.2.0",
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz"
"resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz",
"dependencies": {
"readable-stream": {
"version": "2.2.2",
"from": "readable-stream@>=2.0.0 <3.0.0||>=1.1.13 <2.0.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz",
"dependencies": {
"buffer-shims": {
"version": "1.0.0",
"from": "buffer-shims@>=1.0.0 <2.0.0",
"resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz"
},
"core-util-is": {
"version": "1.0.2",
"from": "core-util-is@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
},
"inherits": {
"version": "2.0.3",
"from": "inherits@>=2.0.1 <2.1.0",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz"
},
"isarray": {
"version": "1.0.0",
"from": "isarray@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
},
"process-nextick-args": {
"version": "1.0.7",
"from": "process-nextick-args@>=1.0.6 <1.1.0",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz"
},
"string_decoder": {
"version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
},
"util-deprecate": {
"version": "1.0.2",
"from": "util-deprecate@>=1.0.1 <1.1.0",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
}
}
}
}
},

@@ -179,5 +297,5 @@ "arguejs": {

"async": {
"version": "2.1.4",
"version": "2.1.5",
"from": "async@>=2.1.2 <3.0.0",
"resolved": "https://registry.npmjs.org/async/-/async-2.1.4.tgz"
"resolved": "https://registry.npmjs.org/async/-/async-2.1.5.tgz"
},

@@ -436,5 +554,5 @@ "asynckit": {

"dot-prop": {
"version": "2.4.0",
"from": "dot-prop@>=2.4.0 <3.0.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-2.4.0.tgz"
"version": "3.0.0",
"from": "dot-prop@>=3.0.0 <4.0.0",
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-3.0.0.tgz"
},

@@ -624,5 +742,5 @@ "duplexify": {

"async": {
"version": "2.1.4",
"version": "2.1.5",
"from": "async@^2.0.1",
"resolved": "https://registry.npmjs.org/async/-/async-2.1.4.tgz"
"resolved": "https://registry.npmjs.org/async/-/async-2.1.5.tgz"
}

@@ -637,5 +755,5 @@ }

"qs": {
"version": "6.2.1",
"version": "6.2.2",
"from": "qs@>=6.2.0 <6.3.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.2.1.tgz"
"resolved": "https://registry.npmjs.org/qs/-/qs-6.2.2.tgz"
},

@@ -673,3 +791,3 @@ "request": {

"version": "0.8.6",
"from": "google-proto-files@>=0.8.6 <0.9.0",
"from": "google-proto-files@>=0.8.0 <0.9.0",
"resolved": "https://registry.npmjs.org/google-proto-files/-/google-proto-files-0.8.6.tgz"

@@ -802,5 +920,5 @@ },

"is": {
"version": "3.2.0",
"version": "3.2.1",
"from": "is@>=3.0.1 <4.0.0",
"resolved": "https://registry.npmjs.org/is/-/is-3.2.0.tgz"
"resolved": "https://registry.npmjs.org/is/-/is-3.2.1.tgz"
},

@@ -833,5 +951,5 @@ "is-arrayish": {

"is-my-json-valid": {
"version": "2.15.0",
"version": "2.16.0",
"from": "is-my-json-valid@>=2.12.4 <3.0.0",
"resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz"
"resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz"
},

@@ -928,5 +1046,5 @@ "is-obj": {

"JSONStream": {
"version": "1.3.0",
"version": "1.3.1",
"from": "JSONStream@>=1.0.7 <2.0.0",
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.0.tgz"
"resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.1.tgz"
},

@@ -1314,5 +1432,5 @@ "jsprim": {

"qs": {
"version": "6.3.0",
"version": "6.3.1",
"from": "qs@>=6.3.0 <6.4.0",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.3.0.tgz"
"resolved": "https://registry.npmjs.org/qs/-/qs-6.3.1.tgz"
},

@@ -1330,5 +1448,5 @@ "rc": {

"readable-stream": {
"version": "2.2.2",
"version": "2.2.3",
"from": "readable-stream@>=2.2.2 <3.0.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz"
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.3.tgz"
},

@@ -1421,5 +1539,5 @@ "repeating": {

"sshpk": {
"version": "1.10.2",
"version": "1.11.0",
"from": "sshpk@>=1.7.0 <2.0.0",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.10.2.tgz",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.11.0.tgz",
"dependencies": {

@@ -1426,0 +1544,0 @@ "assert-plus": {

{
"name": "google-cloud",
"version": "0.47.0",
"version": "0.48.0",
"author": "Google Inc.",
"description": "Google Cloud APIs Client Library for Node.js",
"description": "Cloud APIs Client Library for Node.js",
"contributors": [

@@ -103,3 +103,3 @@ {

"dependencies": {
"@google-cloud/bigquery": "^0.7.0",
"@google-cloud/bigquery": "^0.8.0",
"@google-cloud/bigtable": "^0.8.0",

@@ -113,9 +113,9 @@ "@google-cloud/compute": "^0.5.0",

"@google-cloud/prediction": "^0.5.0",
"@google-cloud/pubsub": "^0.8.0",
"@google-cloud/pubsub": "^0.8.1",
"@google-cloud/resource": "^0.6.0",
"@google-cloud/spanner": "^0.1.0",
"@google-cloud/speech": "^0.6.0",
"@google-cloud/speech": "^0.7.0",
"@google-cloud/storage": "^0.7.0",
"@google-cloud/translate": "^0.7.0",
"@google-cloud/vision": "^0.8.0",
"@google-cloud/vision": "^0.9.0",
"extend": "^3.0.0"

@@ -122,0 +122,0 @@ },

@@ -1,5 +0,6 @@

# Google Cloud Node.js Client
# Cloud Node.js Client
> Node.js idiomatic client for [Google Cloud Platform](https://cloud.google.com/) services.
[![NPM Version](https://img.shields.io/npm/v/google-cloud.svg)](https://www.npmjs.org/package/google-cloud)
[![CircleCI](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-node/tree/master.svg?style=svg)](https://circleci.com/gh/GoogleCloudPlatform/google-cloud-node/tree/master)
[![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/GoogleCloudPlatform/google-cloud-node?svg=true)](https://ci.appveyor.com/project/GoogleCloudPlatform/google-cloud-node)

@@ -15,4 +16,4 @@ [![Dependency Status](https://dependencyci.com/github/GoogleCloudPlatform/google-cloud-node/badge)](https://dependencyci.com/github/GoogleCloudPlatform/google-cloud-node)

* [Google BigQuery](#google-bigquery-beta) (Beta)
* [Google Cloud Datastore](#google-cloud-datastore-beta) (Beta)
* [Google Cloud Storage](#google-cloud-storage-beta) (Beta)
* [Cloud Datastore](#google-cloud-datastore-beta) (Beta)
* [Cloud Storage](#google-cloud-storage-beta) (Beta)
* [Google Stackdriver Logging](#google-stackdriver-logging-beta) (Beta)

@@ -22,12 +23,12 @@

* [Cloud Bigtable](#cloud-bigtable-alpha) (Alpha)
* [Cloud DNS](#cloud-dns-alpha) (Alpha)
* [Cloud Natural Language](#cloud-natural-language-alpha) (Alpha)
* [Cloud Pub/Sub](#cloud-pubsub-alpha) (Alpha)
* [Cloud Resource Manager](#cloud-resource-manager-alpha) (Alpha)
* [Cloud Spanner](#cloud-spanner-alpha) (Alpha)
* [Google Cloud Bigtable](#google-cloud-bigtable-alpha) (Alpha)
* [Google Cloud DNS](#google-cloud-dns-alpha) (Alpha)
* [Google Cloud Natural Language](#google-cloud-natural-language-alpha) (Alpha)
* [Google Cloud Pub/Sub](#google-cloud-pubsub-alpha) (Alpha)
* [Google Cloud Resource Manager](#google-cloud-resource-manager-alpha) (Alpha)
* [Google Cloud Speech](#google-cloud-speech-alpha) (Alpha)
* [Google Cloud Translation API](#google-cloud-translation-api-alpha) (Alpha)
* [Google Cloud Vision](#google-cloud-vision-alpha) (Alpha)
* [Google Compute Engine](#google-compute-engine-alpha) (Alpha)
* [Cloud Speech](#cloud-speech-alpha) (Alpha)
* [Cloud Translation API](#cloud-translation-api-alpha) (Alpha)
* [Cloud Vision](#cloud-vision-alpha) (Alpha)
* [Google Compute Engine](#compute-engine-alpha) (Alpha)
* [Google Prediction API](#google-prediction-api-alpha) (Alpha)

@@ -59,3 +60,3 @@ * [Google Stackdriver Monitoring](#google-stackdriver-monitoring-alpha) (Alpha)

With `google-cloud` it's incredibly easy to get authenticated and start using Google's APIs. You can set your credentials on a global basis as well as on a per-API basis. See each individual API section below to see how you can auth on a per-API-basis. This is useful if you want to use different accounts for different Google Cloud services.
With `google-cloud` it's incredibly easy to get authenticated and start using Google's APIs. You can set your credentials on a global basis as well as on a per-API basis. See each individual API section below to see how you can auth on a per-API-basis. This is useful if you want to use different accounts for different Cloud services.

@@ -179,3 +180,3 @@ ### On Google Cloud Platform

## Google Cloud Datastore (Beta)
## Cloud Datastore (Beta)

@@ -185,3 +186,3 @@ - [API Documentation][gcloud-datastore-docs]

*Follow the [activation instructions][cloud-datastore-activation] to use the Google Cloud Datastore API with your project.*
*Follow the [activation instructions][cloud-datastore-activation] to use the Cloud Datastore API with your project.*

@@ -255,3 +256,3 @@ #### Using the all-in-one module

## Google Cloud Storage (Beta)
## Cloud Storage (Beta)

@@ -400,99 +401,8 @@ - [API Documentation][gcloud-storage-docs]

## Cloud Spanner (Alpha)
## Cloud Bigtable (Alpha)
- [API Documentation][gcloud-spanner-docs]
- [Official Documentation][cloud-spanner-docs]
#### Using the all-in-one module
```
$ npm install --save google-cloud
```
```js
var gcloud = require('google-cloud');
var spanner = gcloud.spanner;
```
#### Using the Cloud Spanner API module
```
$ npm install --save @google-cloud/spanner
```
```js
var spanner = require('@google-cloud/spanner');
```
#### Preview
```js
// Authenticating on a per-API-basis. You don't need to do this if you auth on a
// global basis (see Authentication section above).
var spannerClient = spanner({
projectId: 'grape-spaceship-123',
keyFilename: '/path/to/keyfile.json'
});
var instance = spannerClient.instance('my-instance');
var database = instance.database('my-database');
// Create a table.
var schema =
'CREATE TABLE Singers (' +
' SingerId INT64 NOT NULL,' +
' FirstName STRING(1024),' +
' LastName STRING(1024),' +
' SingerInfo BYTES(MAX),' +
') PRIMARY KEY(SingerId)';
database.createTable(schema, function(err, table, operation) {
if (err) {
// Error handling omitted.
}
operation
.on('error', function(err) {})
.on('complete', function() {
// Table created successfully.
});
});
// Insert data into the table.
var table = database.table('Singers');
table.insert({
SingerId: 10,
FirstName: 'Eddie',
LastName: 'Wilson'
}, function(err) {
if (!err) {
// Row inserted successfully.
}
});
// Run a query as a readable object stream.
database.runStream('SELECT * FROM Singers')
.on('error', function(err) {})
.on('data', function(row) {
// row.toJSON() = {
// SingerId: 10,
// FirstName: 'Eddie',
// LastName: 'Wilson'
// }
}
})
.on('end', function() {
// All results retrieved.
});
```
## Google Cloud Bigtable (Alpha)
- [API Documentation][gcloud-bigtable-docs]
- [Official Documentation][cloud-bigtable-docs]
*You may need to [create a cluster][cloud-bigtable-cluster] to use the Google Cloud Bigtable API with your project.*
*You may need to [create a cluster][cloud-bigtable-cluster] to use the Cloud Bigtable API with your project.*

@@ -563,3 +473,3 @@ #### Using the all-in-one module

## Google Cloud DNS (Alpha)
## Cloud DNS (Alpha)

@@ -623,3 +533,3 @@ - [API Documentation][gcloud-dns-docs]

## Google Cloud Natural Language (Alpha)
## Cloud Natural Language (Alpha)

@@ -706,3 +616,3 @@ - [API Documentation][gcloud-language-docs]

## Google Cloud Pub/Sub (Alpha)
## Cloud Pub/Sub (Alpha)

@@ -765,3 +675,3 @@ - [API Documentation][gcloud-pubsub-docs]

## Google Cloud Resource Manager (Alpha)
## Cloud Resource Manager (Alpha)

@@ -819,4 +729,95 @@ - [API Documentation][gcloud-resource-docs]

## Google Cloud Speech (Alpha)
## Cloud Spanner (Alpha)
- [API Documentation][gcloud-spanner-docs]
- [Official Documentation][cloud-spanner-docs]
#### Using the all-in-one module
```
$ npm install --save google-cloud
```
```js
var gcloud = require('google-cloud');
var spanner = gcloud.spanner;
```
#### Using the Cloud Spanner API module
```
$ npm install --save @google-cloud/spanner
```
```js
var spanner = require('@google-cloud/spanner');
```
#### Preview
```js
// Authenticating on a per-API-basis. You don't need to do this if you auth on a
// global basis (see Authentication section above).
var spannerClient = spanner({
projectId: 'grape-spaceship-123',
keyFilename: '/path/to/keyfile.json'
});
var instance = spannerClient.instance('my-instance');
var database = instance.database('my-database');
// Create a table.
var schema =
'CREATE TABLE Singers (' +
' SingerId INT64 NOT NULL,' +
' FirstName STRING(1024),' +
' LastName STRING(1024),' +
' SingerInfo BYTES(MAX),' +
') PRIMARY KEY(SingerId)';
database.createTable(schema, function(err, table, operation) {
if (err) {
// Error handling omitted.
}
operation
.on('error', function(err) {})
.on('complete', function() {
// Table created successfully.
});
});
// Insert data into the table.
var table = database.table('Singers');
table.insert({
SingerId: 10,
FirstName: 'Eddie',
LastName: 'Wilson'
}, function(err) {
if (!err) {
// Row inserted successfully.
}
});
// Run a query as a readable object stream.
database.runStream('SELECT * FROM Singers')
.on('error', function(err) {})
.on('data', function(row) {
// row.toJSON() = {
// SingerId: 10,
// FirstName: 'Eddie',
// LastName: 'Wilson'
// }
}
})
.on('end', function() {
// All results retrieved.
});
```
## Cloud Speech (Alpha)
- [API Documentation][gcloud-speech-docs]

@@ -903,3 +904,3 @@ - [Official Documentation][cloud-speech-docs]

## Google Cloud Translation API (Alpha)
## Cloud Translation API (Alpha)

@@ -973,3 +974,3 @@ - [API Documentation][gcloud-translate-docs]

## Google Cloud Vision (Alpha)
## Cloud Vision (Alpha)

@@ -976,0 +977,0 @@ - [API Documentation][gcloud-vision-docs]

@@ -91,3 +91,3 @@ /*!

/**
* [Google Cloud Datastore](https://developers.google.com/datastore/) is a
* [Cloud Datastore](https://developers.google.com/datastore/) is a
* fully managed, schemaless database for storing non-relational data. Use

@@ -111,3 +111,3 @@ * this object to create a Dataset to interact with your data, an "Int", and a

/**
* [Google Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a
* [Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a
* high-performance, resilient, global DNS service that provides a cost-

@@ -133,3 +133,3 @@ * effective way to make your applications and services available to your

/**
* The [Google Cloud Natural Language](https://cloud.google.com/natural-language/docs)
* The [Cloud Natural Language](https://cloud.google.com/natural-language/docs)
* API provides natural language understanding technologies to developers,

@@ -228,4 +228,4 @@ * including sentiment analysis, entity recognition, and syntax analysis.

/**
* [Google Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a
* reliable, many-to-many, asynchronous messaging service from Google Cloud
* [Cloud Pub/Sub](https://developers.google.com/pubsub/overview) is a
* reliable, many-to-many, asynchronous messaging service from Cloud
* Platform.

@@ -310,4 +310,4 @@ *

/**
* Google Cloud Storage allows you to store data on Google infrastructure.
* Read [Google Cloud Storage API docs](https://developers.google.com/storage)
* Cloud Storage allows you to store data on Google infrastructure.
* Read [Cloud Storage API docs](https://developers.google.com/storage)
* for more information.

@@ -329,6 +329,6 @@ *

/**
* With [Google Cloud Translation](https://cloud.google.com/translate), you
* With [Cloud Translation](https://cloud.google.com/translate), you
* can dynamically translate text between thousands of language pairs.
*
* This API lets websites and programs integrate with Google Cloud Translation
* This API lets websites and programs integrate with Cloud Translation
* API programmatically.

@@ -335,0 +335,0 @@ *

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc