Skip to content

Commit

Permalink
7.1.0 (#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed May 23, 2016
1 parent 0115f0f commit 35d14fb
Show file tree
Hide file tree
Showing 21 changed files with 763 additions and 55 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ language: node_js
node_js:
- "0.10"
- "0.12"
- "4.2"
- "4"
- "5"
- "stable"

cache:
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
##### 7.1.0 - 24 May 2016

###### Backwards compatible changes
- Added `acceleratedmobilepageurl` `v1` API
- Added `reviews.get` to `androidpublisher` `v2` API
- Added `reviews.list` to `androidpublisher` `v2` API
- Added `reviews.reply` to `androidpublisher` `v2` API
- Added `courses.courseWork.create` to `classroom` `v1` API
- Added `courses.courseWork.get` to `classroom` `v1` API
- Added `courses.courseWork.list` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.get` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.patch` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.list` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.turnIn` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.reclaim` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.return` to `classroom` `v1` API
- Added `courses.courseWork.studentSubmissions.modifyAttachments` to `classroom` `v1` API
- Added `projects.getAncestry` to `cloudresourcemanager` `v1beta1` API
- Added `accounts.avails.get` to `playmoviespartner` `v1` API
- Added `accounts.components.list` to `playmoviespartner` `v1` API
- Added `accounts.components.type.get` to `playmoviespartner` `v1` API

##### 7.0.0 - 16 May 2016

###### Breaking changes
Expand Down
76 changes: 76 additions & 0 deletions apis/acceleratedmobilepageurl/v1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/* jshint maxlen: false */

'use strict';

var createAPIRequest = require('../../lib/apirequest');

/**
* Accelerated Mobile Page (AMP) URL API
*
* This API contains a single method, [batchGet](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls/batchGet). Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s). For more information, see [Link to AMP Content](/amp/cache/use-amp-url).
*
* @example
* var google = require('googleapis');
* var acceleratedmobilepageurl = google.acceleratedmobilepageurl('v1');
*
* @namespace acceleratedmobilepageurl
* @type {Function}
* @version v1
* @variation v1
* @param {object=} options Options for Acceleratedmobilepageurl
*/
function Acceleratedmobilepageurl(options) { // eslint-disable-line
var self = this;
self._options = options || {};

self.ampUrls = {

/**
* acceleratedmobilepageurl.ampUrls.batchGet
*
* @desc Returns AMP URL(s) and equivalent [AMP Cache URL(s)](/amp/cache/overview#amp-cache-url-format).
*
* @alias acceleratedmobilepageurl.ampUrls.batchGet
* @memberOf! acceleratedmobilepageurl(v1)
*
* @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
*/
batchGet: function (params, callback) {
var parameters = {
options: {
url: 'https://acceleratedmobilepageurl.googleapis.com/v1/ampUrls:batchGet',
method: 'POST'
},
params: params,
requiredParams: [],
pathParams: [],
context: self
};

return createAPIRequest(parameters, callback);
}

};
}

module.exports = Acceleratedmobilepageurl;
94 changes: 94 additions & 0 deletions apis/androidpublisher/v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1668,6 +1668,100 @@ function Androidpublisher(options) { // eslint-disable-line
}
}
};

self.reviews = {

/**
* androidpublisher.reviews.get
*
* @desc Returns a single review.
*
* @alias androidpublisher.reviews.get
* @memberOf! androidpublisher(v2)
*
* @param {object} params Parameters for request
* @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame".
* @param {string} params.reviewId
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get: function (params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}',
method: 'GET'
},
params: params,
requiredParams: ['packageName', 'reviewId'],
pathParams: ['packageName', 'reviewId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* androidpublisher.reviews.list
*
* @desc Returns a list of reviews.
*
* @alias androidpublisher.reviews.list
* @memberOf! androidpublisher(v2)
*
* @param {object} params Parameters for request
* @param {integer=} params.maxResults
* @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame".
* @param {integer=} params.startIndex
* @param {string=} params.token
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
list: function (params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/androidpublisher/v2/applications/{packageName}/reviews',
method: 'GET'
},
params: params,
requiredParams: ['packageName'],
pathParams: ['packageName'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* androidpublisher.reviews.reply
*
* @desc Reply to a single review, or update an existing reply.
*
* @alias androidpublisher.reviews.reply
* @memberOf! androidpublisher(v2)
*
* @param {object} params Parameters for request
* @param {string} params.packageName Unique identifier for the Android app for which we want reviews; for example, "com.spiffygame".
* @param {string} params.reviewId
* @param {object} params.resource Request body data
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
reply: function (params, callback) {
var parameters = {
options: {
url: 'https://www.googleapis.com/androidpublisher/v2/applications/{packageName}/reviews/{reviewId}:reply',
method: 'POST'
},
params: params,
requiredParams: ['packageName', 'reviewId'],
pathParams: ['packageName', 'reviewId'],
context: self
};

return createAPIRequest(parameters, callback);
}

};
}

module.exports = Androidpublisher;
Loading

0 comments on commit 35d14fb

Please sign in to comment.