@@ -278,20 +278,31 @@ Topic.formatName_ = function(projectId, name) {
278278 * @param {function } callback - The callback function.
279279 *
280280 * @example
281- * var callback = function(err, subscriptions, nextQuery, apiResponse) {
282- * // If `nextQuery` is non-null, there may be more results to fetch. To do
283- * // so, run `topic.getSubscriptions(nextQuery, callback);`.
284- * };
285- *
286- * // Get all subscriptions for this topic.
287- * topic.getSubscriptions(callback);
281+ * topic.getSubscriptions(function(err, subscriptions) {
282+ * // subscriptions is an array of `Subscription` objects.
283+ * });
288284 *
289285 * // Customize the query.
290286 * topic.getSubscriptions({
291287 * pageSize: 3
292288 * }, callback);
293289 *
294290 * //-
291+ * // To control how many API requests are made and page through the results
292+ * // manually, set `autoPaginate` to `false`.
293+ * //-
294+ * function callback(err, subscriptions, nextQuery, apiResponse) {
295+ * if (nextQuery) {
296+ * // More results exist.
297+ * topic.getSubscriptions(nextQuery, callback);
298+ * }
299+ * }
300+ *
301+ * topic.getSubscriptions({
302+ * autoPaginate: false
303+ * }, callback);
304+ *
305+ * //-
295306 * // If the callback is omitted, we'll return a Promise.
296307 * //-
297308 * topic.getSubscriptions().then(function(data) {
0 commit comments