Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: generated/googleapis/lib/fitness/v1.dart

Issue 770773002: Api roll 7: 2014-12-01 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/doubleclicksearch/v2.dart ('k') | generated/googleapis/lib/mapsengine/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/fitness/v1.dart
diff --git a/generated/googleapis/lib/fitness/v1.dart b/generated/googleapis/lib/fitness/v1.dart
index 330f8b75b882ae8f0e39c81568b052cbd259541d..7657f79edd8976edfb1bbe25ca1ea0062ca01b08 100644
--- a/generated/googleapis/lib/fitness/v1.dart
+++ b/generated/googleapis/lib/fitness/v1.dart
@@ -427,6 +427,10 @@ class UsersDataSourcesDatasetsResourceApi {
* from the epoch. The ID is formatted like: "startTime-endTime" where
* startTime and endTime are 64 bit integers.
*
+ * [limit] - If specified, no more than this many data points will be included
+ * in the dataset. If the there are more data points in the dataset,
+ * nextPageToken will be set in the dataset response.
+ *
* [pageToken] - The continuation token, which is used to page through large
* datasets. To get the next page of a dataset, set this parameter to the
* value of nextPageToken from the previous response. Each subsequent call
@@ -441,7 +445,7 @@ class UsersDataSourcesDatasetsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<Dataset> get(core.String userId, core.String dataSourceId, core.String datasetId, {core.String pageToken}) {
+ async.Future<Dataset> get(core.String userId, core.String dataSourceId, core.String datasetId, {core.int limit, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -458,6 +462,9 @@ class UsersDataSourcesDatasetsResourceApi {
if (datasetId == null) {
throw new core.ArgumentError("Parameter datasetId is required.");
}
+ if (limit != null) {
+ _queryParams["limit"] = ["${limit}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
« no previous file with comments | « generated/googleapis/lib/doubleclicksearch/v2.dart ('k') | generated/googleapis/lib/mapsengine/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698