Socket
Socket
Sign inDemoInstall

googleapis

Package Overview
Dependencies
Maintainers
2
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googleapis - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

apis/adexchangeseller/v2.0.js

153

apis/genomics/v1beta.js

@@ -51,5 +51,5 @@ /**

* @param {string=} params.allele - Required. The allele to look for ('A', 'C', 'G' or 'T').
* @param {string=} params.contig - Required. The contig to query over.
* @param {string=} params.position - Required. The 0-based position to query.
* @param {string} params.variantsetId - The ID of the variantset to query over. It must be public. Private variantsets will return an unauthorized exception.
* @param {string=} params.referenceName - Required. The reference to query over.
* @param {string} params.variantSetId - The ID of the variant set to query over. It must be public. Private variant sets will return an unauthorized exception.
* @param {callback} callback - The callback that handles the response.

@@ -61,8 +61,8 @@ * @return {object} Request object

options: {
url: 'https://www.googleapis.com/genomics/v1beta/beacons/' + params.variantsetId,
url: 'https://www.googleapis.com/genomics/v1beta/beacons/' + params.variantSetId,
method: 'GET'
},
params: params,
requiredParams: ['variantsetId'],
pathParams: ['variantsetId'],
requiredParams: ['variantSetId'],
pathParams: ['variantSetId'],
context: self

@@ -81,3 +81,3 @@ };

*
* @desc Creates a new callset.
* @desc Creates a new call set.
*

@@ -108,3 +108,3 @@ * @alias genomics.callsets.create

*
* @desc Deletes a callset.
* @desc Deletes a call set.
*

@@ -115,3 +115,3 @@ * @alias genomics.callsets.delete

* @param {object} params - Parameters for request
* @param {string} params.callsetId - The ID of the callset to be deleted.
* @param {string} params.callSetId - The ID of the callset to be deleted.
* @param {callback} callback - The callback that handles the response.

@@ -123,8 +123,8 @@ * @return {object} Request object

options: {
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callsetId,
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callSetId,
method: 'DELETE'
},
params: params,
requiredParams: ['callsetId'],
pathParams: ['callsetId'],
requiredParams: ['callSetId'],
pathParams: ['callSetId'],
context: self

@@ -139,3 +139,3 @@ };

*
* @desc Gets a callset by ID.
* @desc Gets a call set by ID.
*

@@ -146,3 +146,3 @@ * @alias genomics.callsets.get

* @param {object} params - Parameters for request
* @param {string} params.callsetId - The ID of the callset.
* @param {string} params.callSetId - The ID of the callset.
* @param {callback} callback - The callback that handles the response.

@@ -154,8 +154,8 @@ * @return {object} Request object

options: {
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callsetId,
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callSetId,
method: 'GET'
},
params: params,
requiredParams: ['callsetId'],
pathParams: ['callsetId'],
requiredParams: ['callSetId'],
pathParams: ['callSetId'],
context: self

@@ -170,3 +170,3 @@ };

*
* @desc Updates a callset. This method supports patch semantics.
* @desc Updates a call set. This method supports patch semantics.
*

@@ -177,3 +177,3 @@ * @alias genomics.callsets.patch

* @param {object} params - Parameters for request
* @param {string} params.callsetId - The ID of the callset to be updated.
* @param {string} params.callSetId - The ID of the callset to be updated.
* @param {object} params.resource - Request body data

@@ -186,8 +186,8 @@ * @param {callback} callback - The callback that handles the response.

options: {
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callsetId,
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callSetId,
method: 'PATCH'
},
params: params,
requiredParams: ['callsetId'],
pathParams: ['callsetId'],
requiredParams: ['callSetId'],
pathParams: ['callSetId'],
context: self

@@ -202,3 +202,3 @@ };

*
* @desc Gets a list of callsets matching the criteria.
* @desc Gets a list of call sets matching the criteria.
*

@@ -229,3 +229,3 @@ * @alias genomics.callsets.search

*
* @desc Updates a callset.
* @desc Updates a call set.
*

@@ -236,3 +236,3 @@ * @alias genomics.callsets.update

* @param {object} params - Parameters for request
* @param {string} params.callsetId - The ID of the callset to be updated.
* @param {string} params.callSetId - The ID of the callset to be updated.
* @param {object} params.resource - Request body data

@@ -245,8 +245,8 @@ * @param {callback} callback - The callback that handles the response.

options: {
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callsetId,
url: 'https://www.googleapis.com/genomics/v1beta/callsets/' + params.callSetId,
method: 'PUT'
},
params: params,
requiredParams: ['callsetId'],
pathParams: ['callsetId'],
requiredParams: ['callSetId'],
pathParams: ['callSetId'],
context: self

@@ -951,19 +951,19 @@ };

/**
* genomics.variants.getSummary
* genomics.variants.import
*
* @desc Gets a summary of all the variant data in a variantset.
* @desc Creates variant data by asynchronously importing the provided information.
*
* @alias genomics.variants.getSummary
* @alias genomics.variants.import
* @memberOf! genomics(v1beta)
*
* @param {object=} params - Parameters for request
* @param {string=} params.variantsetId - Required. The ID of the variant set to get variant summary information for.
* @param {object} params - Parameters for request
* @param {object} params.resource - Request body data
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
getSummary: function(params, callback) {
import: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variants/summary',
method: 'GET'
url: 'https://www.googleapis.com/genomics/v1beta/variants/import',
method: 'POST'
},

@@ -978,7 +978,7 @@ params: params,

/**
* genomics.variants.import
* genomics.variants.search
*
* @desc Creates variant data by asynchronously importing the provided information.
* @desc Gets a list of variants matching the criteria.
*
* @alias genomics.variants.import
* @alias genomics.variants.search
* @memberOf! genomics(v1beta)

@@ -991,6 +991,6 @@ *

*/
import: function(params, callback) {
search: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variants/import',
url: 'https://www.googleapis.com/genomics/v1beta/variants/search',
method: 'POST'

@@ -1006,7 +1006,7 @@ },

/**
* genomics.variants.patch
* genomics.variants.update
*
* @desc Updates a variant. This method supports patch semantics.
* @desc Updates a variant's names and info fields. All other modifications are silently ignored. Returns the modified variant without its calls.
*
* @alias genomics.variants.patch
* @alias genomics.variants.update
* @memberOf! genomics(v1beta)

@@ -1020,7 +1020,7 @@ *

*/
patch: function(params, callback) {
update: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variants/' + params.variantId,
method: 'PATCH'
method: 'PUT'
},

@@ -1034,24 +1034,58 @@ params: params,

return createAPIRequest(parameters, callback);
}
};
this.variantsets = {
/**
* genomics.variantsets.delete
*
* @desc Deletes the contents of a variant set. The variant set object is not deleted.
*
* @alias genomics.variantsets.delete
* @memberOf! genomics(v1beta)
*
* @param {object} params - Parameters for request
* @param {string} params.variantSetId - The ID of the variant set to be deleted.
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
delete: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variantsets/' + params.variantSetId,
method: 'DELETE'
},
params: params,
requiredParams: ['variantSetId'],
pathParams: ['variantSetId'],
context: self
};
return createAPIRequest(parameters, callback);
},
/**
* genomics.variants.search
* genomics.variantsets.get
*
* @desc Gets a list of variants matching the criteria.
* @desc Gets a variant set by ID.
*
* @alias genomics.variants.search
* @alias genomics.variantsets.get
* @memberOf! genomics(v1beta)
*
* @param {object} params - Parameters for request
* @param {object} params.resource - Request body data
* @param {string} params.variantSetId - Required. The ID of the variant set.
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
search: function(params, callback) {
get: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variants/search',
method: 'POST'
url: 'https://www.googleapis.com/genomics/v1beta/variantsets/' + params.variantSetId,
method: 'GET'
},
params: params,
requiredParams: ['variantSetId'],
pathParams: ['variantSetId'],
context: self

@@ -1064,11 +1098,10 @@ };

/**
* genomics.variants.update
* genomics.variantsets.search
*
* @desc Updates a variant.
* @desc Returns a list of all variant sets matching search criteria.
*
* @alias genomics.variants.update
* @alias genomics.variantsets.search
* @memberOf! genomics(v1beta)
*
* @param {object} params - Parameters for request
* @param {string} params.variantId - The ID of the variant to be updated..
* @param {object} params.resource - Request body data

@@ -1078,11 +1111,9 @@ * @param {callback} callback - The callback that handles the response.

*/
update: function(params, callback) {
search: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/genomics/v1beta/variants/' + params.variantId,
method: 'PUT'
url: 'https://www.googleapis.com/genomics/v1beta/variantsets/search',
method: 'POST'
},
params: params,
requiredParams: ['variantId'],
pathParams: ['variantId'],
context: self

@@ -1089,0 +1120,0 @@ };

@@ -119,2 +119,3 @@ /**

'webfonts': requireAPI('webfonts'),
'webmasters': requireAPI('webmasters'),
'youtube': requireAPI('youtube'),

@@ -121,0 +122,0 @@ 'youtubeAnalytics': requireAPI('youtubeAnalytics')

@@ -38,2 +38,8 @@ /**

Compute.super_.call(this);
// Start with an expired refresh token, which will automatically be refreshed
// before the first API call is made.
this.credentials = {
refresh_token: 'compute-placeholder',
expiry_date: 1
};
}

@@ -47,19 +53,2 @@

/**
* Get the initial access token from compute metadata server.
* @param {function=} opt_callback Optional callback.
*/
Compute.prototype.authorize = function(opt_callback) {
var that = this;
that.refreshToken_(null, function(err, result) {
if (!err) {
that.credentials = result;
that.credentials.refresh_token = 'compute-placeholder';
}
if (opt_callback) {
opt_callback(err, result);
}
});
};
/**
* Refreshes the access token.

@@ -66,0 +55,0 @@ * @param {object=} ignored_

@@ -303,7 +303,11 @@ /**

}
var login = this.verifySignedJwtWithCerts(idToken, certs, audience,
var login;
try {
login = this.verifySignedJwtWithCerts(idToken, certs, audience,
OAuth2Client.ISSUER_);
if (!login) {
callback('Unable to verify the ID Token', null);
} catch (err) {
callback(err);
return;
}
callback(null, login);

@@ -310,0 +314,0 @@ }.bind(this));

{
"name": "googleapis",
"version": "1.0.12",
"version": "1.0.13",
"author": "Google Inc.",

@@ -36,18 +36,20 @@ "description": "Google APIs Client Library for Node.js",

"dependencies": {
"async": "0.2.10",
"gapitoken": "0.1.2",
"multipart-stream": "1.0.0",
"request": "2.37.0"
"async": "~0.9.0",
"gapitoken": "~0.1.2",
"multipart-stream": "~1.0.0",
"request": "~2.40.0"
},
"devDependencies": {
"js-beautify": "1.5.1",
"jsdoc": "3.3.0-alpha9",
"coveralls": "^2.11.1",
"istanbul": "~0.3.2",
"js-beautify": "^1.5.1",
"jshint": "^2.5.5",
"mkdirp": "0.5.0",
"mocha": "1.8.1",
"nock": "0.42.1",
"rimraf": "2.2.8",
"swig": "1.3.2",
"url": "0.7.9",
"minimist": "1.1.0"
"jsdoc": "~3.3.0-alpha9",
"mkdirp": "~0.5.0",
"mocha": "^1.8.1",
"nock": "~0.46.0",
"rimraf": "^2.2.8",
"swig": "^1.4.2",
"url": "~0.10.1",
"minimist": "^1.1.0"
},

@@ -59,5 +61,7 @@ "scripts": {

"generate-docs": "jsdoc -c jsdoc-conf.json ./README.md",
"prepare": "npm run generate-apis && npm test && npm run lint && npm version patch"
"prepare": "npm run generate-apis && npm test && npm run lint && npm version patch",
"coverage": "istanbul cover -x 'apis/**' _mocha -- --reporter spec --timeout 4000",
"coveralls": "istanbul cover -x 'apis/**' _mocha --report lcovonly -- --reporter spec --timeout 4000 && cat coverage/lcov.info | coveralls"
},
"license": "Apache-2.0"
}

@@ -1,3 +0,6 @@

# Google APIs Node.js Client [![Build Status][travisimg]][travis]
# Google APIs Node.js Client
[![Build Status][travisimg]][travis]
[![Code Coverage][coverallsimg]][coveralls]
Google's officially supported [node.js][node] client library for using

@@ -356,1 +359,3 @@ Google APIs. It also supports authorization and authentication with OAuth 2.0.

[cloudplatform]: https://developers.google.com/cloud/
[coveralls]: https://coveralls.io/r/google/google-api-nodejs-client?branch=master
[coverallsimg]: https://img.shields.io/coveralls/google/google-api-nodejs-client.svg

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 too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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