Skip to content

Commit

Permalink
6.0.0 (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdobry committed May 10, 2016
1 parent fd10fd7 commit 87ce5fa
Show file tree
Hide file tree
Showing 38 changed files with 10,053 additions and 14,555 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,35 @@
##### 6.0.0 - 10 May 2016

###### Breaking changes
- Removed `media.upload` from `dataproc` `v1` API
- Removed `media.download` from `dataproc` `v1` API
- Removed `projects.clusters.setIamPolicy` from `dataproc` `v1beta` API
- Removed `projects.clusters.getIamPolicy` from `dataproc` `v1beta` API
- Removed `projects.clusters.testIamPermissions` from `dataproc` `v1beta` API
- Removed `projects.jobs.setIamPolicy` from `dataproc` `v1beta` API
- Removed `projects.jobs.getIamPolicy` from `dataproc` `v1beta` API
- Removed `projects.jobs.testIamPermissions` from `dataproc` `v1beta` API
- Removed `dfareporting` `v1` API
- Removed `dfareporting` `v1.1` API
- Removed `dfareporting` `v1.2` API
- Removed `dfareporting` `v1.3` API
- Removed `dfareporting` `v2.0` API
- Removed `dfareporting` `v2.1` API
- Removed `gan` `v1beta1` API
- Removed `manager` `v1beta2` API

###### Backwards compatible changes
- Added `products.list` to `androidenterprise` `v1` API
- Added `projects.moveDisk` to `compute` `beta` API
- Added `projects.moveInstance` to `compute` `beta` API
- Added `v1beta1.getEidparams` to `proximitybeacon` `v1beta1` API
- Added `compute` `alpha` API
- Added `firebaserules` `v1` API
- Added `safebrowsing` `v4` API

###### Other
- Merged PR #571 by @georules - v2 does not have the create function, updating to v3

##### 5.2.0 - 21 April 2016

###### Backwards compatible changes
Expand Down
3 changes: 2 additions & 1 deletion apis/adexchangebuyer/v1.4.js
Expand Up @@ -531,7 +531,8 @@ function Adexchangebuyer(options) { // eslint-disable-line
* @memberOf! adexchangebuyer(v1.4)
*
* @param {object} params Parameters for request
* @param {string} params.proposalId The proposalId to get deals for.
* @param {string=} params.pqlQuery Query string to retrieve specific deals.
* @param {string} params.proposalId The proposalId to get deals for. To search across proposals specify order_id = '-' as part of the URL.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down
90 changes: 45 additions & 45 deletions apis/adexchangebuyer2/v2beta1.js
Expand Up @@ -74,57 +74,57 @@ function Adexchangebuyer2(options) { // eslint-disable-line
},

/**
* adexchangebuyer2.accounts.clients.create
* adexchangebuyer2.accounts.clients.get
*
* @desc Creates a new client buyer.
* @desc Gets a client buyer with a given client account ID.
*
* @alias adexchangebuyer2.accounts.clients.create
* @alias adexchangebuyer2.accounts.clients.get
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {string} params.accountId Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to create a client for. (required)
* @param {object} params.resource Request body data
* @param {string} params.clientAccountId Numerical account ID of the client buyer to retrieve. (required)
* @param {string} params.accountId Numerical account ID of the client's sponsor buyer. (required)
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
create: function (params, callback) {
get: function (params, callback) {
var parameters = {
options: {
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients',
method: 'POST'
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}',
method: 'GET'
},
params: params,
requiredParams: ['accountId'],
pathParams: ['accountId'],
requiredParams: ['accountId', 'clientAccountId'],
pathParams: ['clientAccountId', 'accountId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* adexchangebuyer2.accounts.clients.get
* adexchangebuyer2.accounts.clients.create
*
* @desc Gets a client buyer with a given client account ID.
* @desc Creates a new client buyer.
*
* @alias adexchangebuyer2.accounts.clients.get
* @alias adexchangebuyer2.accounts.clients.create
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {string} params.clientAccountId Numerical account ID of the client buyer to retrieve. (required)
* @param {string} params.accountId Numerical account ID of the client's sponsor buyer. (required)
* @param {string} params.accountId Unique numerical account ID for the buyer of which the client buyer is a customer; the sponsor buyer to create a client for. (required)
* @param {object} params.resource Request body data
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get: function (params, callback) {
create: function (params, callback) {
var parameters = {
options: {
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}',
method: 'GET'
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients',
method: 'POST'
},
params: params,
requiredParams: ['accountId', 'clientAccountId'],
pathParams: ['clientAccountId', 'accountId'],
requiredParams: ['accountId'],
pathParams: ['accountId'],
context: self
};

Expand All @@ -141,8 +141,8 @@ function Adexchangebuyer2(options) { // eslint-disable-line
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Requested page size. The server may return fewer clients than requested. If unspecified, the server will pick an appropriate default.
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientsResponse.nextPageToken returned from the previous call to the accounts.clients.list method.
* @param {string} params.accountId Unique numerical account ID of the sponsor buyer to list the clients for.
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientsResponse.nextPageToken returned from the previous call to the accounts.clients.list method.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -233,10 +233,10 @@ function Adexchangebuyer2(options) { // eslint-disable-line
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Requested page size. The server may return fewer clients than requested. If unspecified, the server will pick an appropriate default.
* @param {string} params.clientAccountId The account ID of the client buyer to list users for. (required) You must specify either a string representation of a numerical account identifier or the `-` character to list all the client users for all the clients of a given sponsor buyer.
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientUsersResponse.nextPageToken returned from the previous call to the accounts.clients.users.list method.
* @param {integer=} params.pageSize Requested page size. The server may return fewer clients than requested. If unspecified, the server will pick an appropriate default.
* @param {string} params.accountId Numerical account ID of the sponsor buyer of the client to list users for. (required)
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientUsersResponse.nextPageToken returned from the previous call to the accounts.clients.users.list method.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand All @@ -259,59 +259,59 @@ function Adexchangebuyer2(options) { // eslint-disable-line
invitations: {

/**
* adexchangebuyer2.accounts.clients.invitations.get
* adexchangebuyer2.accounts.clients.invitations.create
*
* @desc Retrieves an existing client user invitation.
* @desc Creates and sends out an email invitation to access an Ad Exchange client buyer account.
*
* @alias adexchangebuyer2.accounts.clients.invitations.get
* @alias adexchangebuyer2.accounts.clients.invitations.create
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {string} params.clientAccountId Numerical account ID of the client buyer that the user invitation to be retrieved is associated with. (required)
* @param {string} params.invitationId Numerical identifier of the user invitation to retrieve. (required)
* @param {string} params.clientAccountId Numerical account ID of the client buyer that the user should be associated with. (required)
* @param {string} params.accountId Numerical account ID of the client's sponsor buyer. (required)
* @param {object} params.resource Request body data
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
get: function (params, callback) {
create: function (params, callback) {
var parameters = {
options: {
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
method: 'GET'
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
method: 'POST'
},
params: params,
requiredParams: ['accountId', 'clientAccountId', 'invitationId'],
pathParams: ['clientAccountId', 'invitationId', 'accountId'],
requiredParams: ['accountId', 'clientAccountId'],
pathParams: ['clientAccountId', 'accountId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* adexchangebuyer2.accounts.clients.invitations.create
* adexchangebuyer2.accounts.clients.invitations.get
*
* @desc Creates and sends out an email invitation to access an Ad Exchange client buyer account.
* @desc Retrieves an existing client user invitation.
*
* @alias adexchangebuyer2.accounts.clients.invitations.create
* @alias adexchangebuyer2.accounts.clients.invitations.get
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {string} params.clientAccountId Numerical account ID of the client buyer that the user should be associated with. (required)
* @param {string} params.clientAccountId Numerical account ID of the client buyer that the user invitation to be retrieved is associated with. (required)
* @param {string} params.invitationId Numerical identifier of the user invitation to retrieve. (required)
* @param {string} params.accountId Numerical account ID of the client's sponsor buyer. (required)
* @param {object} params.resource Request body data
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
create: function (params, callback) {
get: function (params, callback) {
var parameters = {
options: {
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations',
method: 'POST'
url: 'https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId}',
method: 'GET'
},
params: params,
requiredParams: ['accountId', 'clientAccountId'],
pathParams: ['clientAccountId', 'accountId'],
requiredParams: ['accountId', 'clientAccountId', 'invitationId'],
pathParams: ['clientAccountId', 'invitationId', 'accountId'],
context: self
};

Expand All @@ -327,10 +327,10 @@ function Adexchangebuyer2(options) { // eslint-disable-line
* @memberOf! adexchangebuyer2(v2beta1)
*
* @param {object} params Parameters for request
* @param {integer=} params.pageSize Requested page size. Server may return fewer clients than requested. If unspecified, server will pick an appropriate default.
* @param {string} params.clientAccountId Numerical account ID of the client buyer to list invitations for. (required) You must either specify a string representation of a numerical account identifier or the `-` character to list all the invitations for all the clients of a given sponsor buyer.
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientUserInvitationsResponse.nextPageToken returned from the previous call to the clients.invitations.list method.
* @param {integer=} params.pageSize Requested page size. Server may return fewer clients than requested. If unspecified, server will pick an appropriate default.
* @param {string} params.accountId Numerical account ID of the client's sponsor buyer. (required)
* @param {string=} params.pageToken A token identifying a page of results the server should return. Typically, this is the value of ListClientUserInvitationsResponse.nextPageToken returned from the previous call to the clients.invitations.list method.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down
4 changes: 2 additions & 2 deletions apis/analyticsreporting/v4.js
Expand Up @@ -21,9 +21,9 @@
var createAPIRequest = require('../../lib/apirequest');

/**
* Analytics Reporting API V4
* Google Analytics Reporting API
*
* The Analytics Reporting API provides access to Analytics report data.
* Accesses Analytics report data.
*
* @example
* var google = require('googleapis');
Expand Down
35 changes: 34 additions & 1 deletion apis/androidenterprise/v1.js
Expand Up @@ -1234,7 +1234,7 @@ function Androidenterprise(options) { // eslint-disable-line
/**
* androidenterprise.products.approve
*
* @desc Approves the specified product (and the relevant app permissions, if any).
* @desc Approves the specified product and the relevant app permissions, if any. The maximum number of products that you can approve per enterprise customer is 1,000. To learn how to use Google Play for Work to design and create a store layout to display approved products to your users, see Store Layout Design.
*
* @alias androidenterprise.products.approve
* @memberOf! androidenterprise(v1)
Expand Down Expand Up @@ -1380,6 +1380,39 @@ function Androidenterprise(options) { // eslint-disable-line
return createAPIRequest(parameters, callback);
},

/**
* androidenterprise.products.list
*
* @desc Finds approved products that match a query.
*
* @alias androidenterprise.products.list
* @memberOf! androidenterprise(v1)
*
* @param {object} params Parameters for request
* @param {boolean=} params.approved Specifies whether to search among all products (false) or among only products that have been approved (true). Only "true" is supported, and should be specified.
* @param {string} params.enterpriseId The ID of the enterprise.
* @param {string=} params.language The BCP47 tag for the user's preferred language (e.g. "en-US", "de"). Results are returned in the language best matching the preferred language.
* @param {integer=} params.maxResults Specifies the maximum number of products that can be returned per request. If not specified, uses a default value of 100, which is also the maximum retrievable within a single response.
* @param {string=} params.query The search query as typed in the Google Play Store search box. If omitted, all approved apps will be returned (using the pagination parameters).
* @param {string=} params.token A pagination token is contained in a request’s response when there are more products. The token can be used in a subsequent request to obtain more products, and so forth. This parameter cannot be used in the initial request.
* @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/androidenterprise/v1/enterprises/{enterpriseId}/products',
method: 'GET'
},
params: params,
requiredParams: ['enterpriseId'],
pathParams: ['enterpriseId'],
context: self
};

return createAPIRequest(parameters, callback);
},

/**
* androidenterprise.products.updatePermissions
*
Expand Down
2 changes: 1 addition & 1 deletion apis/classroom/v1.js
Expand Up @@ -23,7 +23,7 @@ var createAPIRequest = require('../../lib/apirequest');
/**
* Google Classroom API
*
* Google Classroom API
* Manages classes, rosters, and invitations in Google Classroom.
*
* @example
* var google = require('googleapis');
Expand Down

0 comments on commit 87ce5fa

Please sign in to comment.