From 9a134aaf1e10a8ab8ade5946c36ded4defc70b17 Mon Sep 17 00:00:00 2001 From: Luis Deschamps Rudge Date: Wed, 22 Aug 2018 13:06:45 -0300 Subject: [PATCH] Add search_engine to JSDOC --- src/management/index.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/management/index.js b/src/management/index.js index 2f60ed207..8ad8e9845 100644 --- a/src/management/index.js +++ b/src/management/index.js @@ -860,6 +860,7 @@ utils.wrapPropertyMethod(ManagementClient, 'updateRule', 'rules.update'); * * // Pagination settings. * var params = { + * search_engine: 'v3', * per_page: 10, * page: 0 * }; @@ -868,10 +869,11 @@ utils.wrapPropertyMethod(ManagementClient, 'updateRule', 'rules.update'); * console.log(users.length); * }); * - * @param {Object} [params] Users params. - * @param {Number} [params.per_page] Number of results per page. - * @param {Number} [params.page] Page number, zero indexed. - * @param {Function} [cb] Callback function. + * @param {Object} [params] Users params. + * @param {Number} [params.search_engine] The version of the search engine to use. + * @param {Number} [params.per_page] Number of results per page. + * @param {Number} [params.page] Page number, zero indexed. + * @param {Function} [cb] Callback function. * * @return {Promise|undefined} */ @@ -1925,5 +1927,4 @@ utils.wrapPropertyMethod(ManagementClient, 'getRulesConfigs', 'rulesConfigs.getA */ utils.wrapPropertyMethod(ManagementClient, 'deleteRulesConfig', 'rulesConfigs.delete'); - module.exports = ManagementClient;