Skip to content

Commit

Permalink
docs: remove nextQuery docs & annotate arrays correctly (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored and callmehiphop committed Sep 6, 2016
1 parent 86239e6 commit 351e524
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions packages/google-cloud-dns/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ DNS.prototype.createZone = function(name, config, callback) {
* @resource [ManagedZones: list API Documentation]{@link https://cloud.google.com/dns/api/v1/managedZones/list}
*
* @param {object=} query - Query object.
* @param {boolean} query.autoPaginate - Have pagination handled automatically.
* Default: true.
* @param {number} query.maxApiCalls - Maximum number of API calls to make.
* @param {number} query.maxResults - Maximum number of results to return.
* @param {string} query.pageToken - Page token.
Expand Down
8 changes: 4 additions & 4 deletions packages/google-cloud-dns/src/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ Zone.prototype.export = function(localPath, callback) {
* @resource [Changes: get API Documentation]{@link https://cloud.google.com/dns/api/v1/changes/get}
*
* @param {object=} query - The query object.
* @param {boolean} query.autoPaginate - Have pagination handled automatically.
* Default: true.
* @param {number} query.maxApiCalls - Maximum number of API calls to make.
* @param {number} query.maxResults - Maximum number of results to return.
* @param {string} query.pageToken - The page token.
Expand All @@ -445,8 +447,6 @@ Zone.prototype.export = function(localPath, callback) {
* @param {?error} callback.err - An API error.
* @param {?module:dns/change[]} callback.changes - An array of
* {module:dns/change} objects.
* @param {?object} callback.nextQuery - A query object representing the next
* page of results.
* @param {object} callback.apiResponse - Raw API response.
*
* @example
Expand Down Expand Up @@ -533,6 +533,8 @@ Zone.prototype.getChanges = function(query, callback) {
* @resource [ResourceRecordSets: list API Documentation]{@link https://cloud.google.com/dns/api/v1/resourceRecordSets/list}
*
* @param {object=} query - The query object.
* @param {boolean} query.autoPaginate - Have pagination handled automatically.
* Default: true.
* @param {number} query.maxApiCalls - Maximum number of API calls to make.
* @param {number} query.maxResults - Maximum number of results to be returned.
* @param {string} query.name - Restricts the list to return only records with
Expand All @@ -544,8 +546,6 @@ Zone.prototype.getChanges = function(query, callback) {
* @param {?error} callback.err - An API error.
* @param {?module:dns/record[]} callback.records - An array of
* {module:dns/record} objects.
* @param {?object} callback.nextQuery - A query object representing the next
* page of results.
* @param {object} callback.apiResponse - Raw API response.
*
* @example
Expand Down

0 comments on commit 351e524

Please sign in to comment.