Index: generated/googleapis/lib/cloudbuild/v1.dart |
diff --git a/generated/googleapis/lib/cloudbuild/v1.dart b/generated/googleapis/lib/cloudbuild/v1.dart |
index 2d8e4c9d4fe36752e6147a67126b0ea2befc9889..7008468f8a707844f5c227d9b09827a562c979f8 100644 |
--- a/generated/googleapis/lib/cloudbuild/v1.dart |
+++ b/generated/googleapis/lib/cloudbuild/v1.dart |
@@ -365,12 +365,12 @@ class ProjectsBuildsResourceApi { |
* |
* [projectId] - ID of the project. |
* |
+ * [pageToken] - Token to provide to skip to a particular spot in the list. |
+ * |
* [pageSize] - Number of results to return in the list. |
* |
* [filter] - The raw filter text to constrain the results. |
* |
- * [pageToken] - Token to provide to skip to a particular spot in the list. |
- * |
* Completes with a [ListBuildsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -379,7 +379,7 @@ class ProjectsBuildsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListBuildsResponse> list(core.String projectId, {core.int pageSize, core.String filter, core.String pageToken}) { |
+ async.Future<ListBuildsResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -390,15 +390,15 @@ class ProjectsBuildsResourceApi { |
if (projectId == null) { |
throw new core.ArgumentError("Parameter projectId is required."); |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/builds'; |