Skip to content
Merged

5.1.0 #554

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ script:
- npm test
- npm run lint
after_success:
- npm run coveralls
- npm run codecov
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
##### 5.1.0 - 19 April 2016

###### Backwards compatible changes
- Added `instances.list` to `appengine` `v1beta4` API
- Added `instances.list` to `appengine` `v1beta5` API
- Added `instanceGroupManagers.resizeAdvanced` to `compute` `beta` API

###### Other
- Switched from coveralls to codecov

##### 5.0.0 - 11 April 2016

###### Breaking changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![npm version][npmimg]][npm]
[![Build Status][travisimg]][travis]
[![Code Coverage][coverallsimg]][coveralls]
[![Code Coverage][coverallsimg]][codecov]

Google's officially supported [Node.js][node] client library for using Google
APIs. Support for authorization and authentication with OAuth 2.0, API Keys and
Expand Down Expand Up @@ -518,5 +518,5 @@ See [CONTRIBUTING][contributing].
[gcloud]: https://github.com/GoogleCloudPlatform/gcloud-node
[gcloudapis]: https://googlecloudplatform.github.io/gcloud-node/#/docs/gcloud
[cloudplatform]: https://cloud.google.com/docs/
[coverallsimg]: https://coveralls.io/repos/github/google/google-api-nodejs-client/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/google/google-api-nodejs-client?branch=master
[coverallsimg]: https://codecov.io/github/google/google-api-nodejs-client/coverage.svg?branch=master
[coveralls]: https://codecov.io/github/google/google-api-nodejs-client?branch=master
35 changes: 35 additions & 0 deletions apis/appengine/v1beta4.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,41 @@ function Appengine(options) {
};

return createAPIRequest(parameters, callback);
},

instances: {

/**
* appengine.apps.modules.versions.instances.list
*
* @desc Lists the instances of a version.
*
* @alias appengine.apps.modules.versions.instances.list
* @memberOf! appengine(v1beta4)
*
* @param {object} params - Parameters for request
* @param {string} params.appsId - Part of `name`. Name of the resource requested. For example: "apps/myapp/modules/default/versions/v1".
* @param {string} params.modulesId - Part of `name`. See documentation of `appsId`.
* @param {string} params.versionsId - Part of `name`. See documentation of `appsId`.
* @param {integer=} params.pageSize - Maximum results to return per page.
* @param {string=} params.pageToken - Continuation token for fetching the next page of results.
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
list: function(params, callback) {
var parameters = {
options: {
url: 'https://appengine.googleapis.com/v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances',
method: 'GET'
},
params: params,
requiredParams: ['appsId', 'modulesId', 'versionsId'],
pathParams: ['appsId', 'modulesId', 'versionsId'],
context: self
};

return createAPIRequest(parameters, callback);
}
}
}
},
Expand Down
35 changes: 35 additions & 0 deletions apis/appengine/v1beta5.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,41 @@ function Appengine(options) {
};

return createAPIRequest(parameters, callback);
},

instances: {

/**
* appengine.apps.services.versions.instances.list
*
* @desc Lists the instances of a version.
*
* @alias appengine.apps.services.versions.instances.list
* @memberOf! appengine(v1beta5)
*
* @param {object} params - Parameters for request
* @param {string} params.appsId - Part of `name`. Name of the resource requested. For example: "apps/myapp/services/default/versions/v1".
* @param {string} params.servicesId - Part of `name`. See documentation of `appsId`.
* @param {string} params.versionsId - Part of `name`. See documentation of `appsId`.
* @param {integer=} params.pageSize - Maximum results to return per page.
* @param {string=} params.pageToken - Continuation token for fetching the next page of results.
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
list: function(params, callback) {
var parameters = {
options: {
url: 'https://appengine.googleapis.com/v1beta5/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances',
method: 'GET'
},
params: params,
requiredParams: ['appsId', 'servicesId', 'versionsId'],
pathParams: ['appsId', 'servicesId', 'versionsId'],
context: self
};

return createAPIRequest(parameters, callback);
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion apis/clouderrorreporting/v1beta1.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* Google Cloud Error Reporting API
*
* @classdesc Collects errors from Cloud Logging data or sent directly from client applications. Groups and counts similar errors to provide an overview on the health of the application and to enable further analysis.
* @classdesc Google Stackdriver Error Reporting groups and counts similar errors from cloud services. The Google Stackdriver Error Reporting API provides read access to error groups and their associated errors.

* @namespace clouderrorreporting
* @version v1beta1
Expand Down
31 changes: 31 additions & 0 deletions apis/compute/beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2978,6 +2978,37 @@ function Compute(options) {
return createAPIRequest(parameters, callback);
},

/**
* compute.instanceGroupManagers.resizeAdvanced
*
* @desc Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method. This method is an extended version of Resize and it supports more advanced options.
*
* @alias compute.instanceGroupManagers.resizeAdvanced
* @memberOf! compute(beta)
*
* @param {object} params - Parameters for request
* @param {string} params.instanceGroupManager - The name of the managed instance group.
* @param {string} params.project - Project ID for this request.
* @param {string} params.zone - The name of the zone where the managed instance group is located.
* @param {object} params.resource - Request body data
* @param {callback} callback - The callback that handles the response.
* @return {object} Request object
*/
resizeAdvanced: function(params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/compute/beta/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced',
method: 'POST'
},
params: params,
requiredParams: ['project', 'zone', 'instanceGroupManager'],
pathParams: ['instanceGroupManager', 'project', 'zone'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* compute.instanceGroupManagers.setAutoHealingPolicies
*
Expand Down
2 changes: 1 addition & 1 deletion apis/dns/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* Google Cloud DNS API
*
* @classdesc The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.
* @classdesc Configures and serves authoritative DNS records.
* @namespace dns
* @version v1
* @variation v1
Expand Down
2 changes: 1 addition & 1 deletion apis/genomics/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function Genomics(options) {
/**
* genomics.annotations.create
*
* @desc Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * `exons.start` * `exons.end` All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
* @desc Creates a new annotation. Caller must have WRITE permission for the associated annotation set. The following fields are required: * annotationSetId * referenceName or referenceId ### Transcripts For annotations of type TRANSCRIPT, the following fields of transcript must be provided: * exons.start * exons.end All other fields may be optionally specified, unless documented as being server-generated (for example, the `id` field). The annotated range must be no longer than 100Mbp (mega base pairs). See the Annotation resource for additional restrictions on each field.
*
* @alias genomics.annotations.create
* @memberOf! genomics(v1)
Expand Down
2 changes: 1 addition & 1 deletion apis/replicapool/v1beta2.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* Google Compute Engine Instance Group Manager API
*
* @classdesc The Google Compute Engine Instance Group Manager API provides groups of homogenous Compute Engine Instances.
* @classdesc [Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.
* @namespace replicapool
* @version v1beta2
* @variation v1beta2
Expand Down
2 changes: 1 addition & 1 deletion apis/toolresults/v1beta3.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* Cloud Tool Results API
*
* @classdesc Read and publish results from Cloud Test Lab.
* @classdesc Reads and publishes results from Cloud Test Lab.
* @namespace toolresults
* @version v1beta3
* @variation v1beta3
Expand Down
2 changes: 1 addition & 1 deletion apis/vision/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
var createAPIRequest = require('../../lib/apirequest');

/**
* Cloud Vision API
* Google Cloud Vision API
*
* @classdesc The Google Cloud Vision API allows developers to easily integrate Google vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.
* @namespace vision
Expand Down
2 changes: 1 addition & 1 deletion apis/youtube/v3.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* YouTube Data API
*
* @classdesc Programmatic access to YouTube features.
* @classdesc Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.
* @namespace youtube
* @version v3
* @variation v3
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "googleapis",
"version": "5.0.0",
"version": "5.1.0",
"author": "Google Inc.",
"license": "Apache-2.0",
"description": "Google APIs Client Library for Node.js",
Expand Down Expand Up @@ -49,30 +49,30 @@
"async": "~1.5.2",
"gapitoken": "~0.1.5",
"google-auth-library": "~0.9.7",
"request": "~2.70.0",
"request": "~2.72.0",
"string-template": "~1.0.0"
},
"devDependencies": {
"coveralls": "^2.11.8",
"codecov": "^1.0.1",
"istanbul": "^0.4.2",
"js-beautify": "^1.6.2",
"jshint": "^2.9.1",
"jsdoc": "^3.4.0",
"jshint": "^2.9.1",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"mocha": "^2.4.5",
"nock": "^8.0.0",
"rimraf": "^2.5.2",
"swig": "^1.4.2",
"url": "^0.11.0",
"minimist": "^1.2.0"
"url": "^0.11.0"
},
"scripts": {
"lint": "jshint lib test scripts apis",
"test": "mocha --reporter spec --timeout 4000",
"generate-apis": "node scripts/generate",
"generate-docs": "jsdoc -c jsdoc-conf.json",
"prepare": "npm run generate-apis && npm test && npm run lint && npm version patch",
"prepare": "npm run generate-apis && npm test && npm run lint",
"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"
"codecov": "istanbul cover -x 'apis/**' _mocha --report lcovonly -- --reporter spec --timeout 4000 && cat coverage/lcov.info | codecov"
}
}