Index: generated/googleapis/lib/pubsub/v1.dart |
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart |
index cd2f691a85ac45aaf7b8314845bb2dfde9e3132f..278000a3850ac47af963f9f00a0093309333e7ad 100644 |
--- a/generated/googleapis/lib/pubsub/v1.dart |
+++ b/generated/googleapis/lib/pubsub/v1.dart |
@@ -457,13 +457,13 @@ class ProjectsSubscriptionsResourceApi { |
* Format is `projects/{project}`. |
* Value must have pattern "^projects/[^/]+$". |
* |
- * [pageSize] - Maximum number of subscriptions to return. |
- * |
* [pageToken] - The value returned by the last `ListSubscriptionsResponse`; |
* indicates that |
* this is a continuation of a prior `ListSubscriptions` call, and that the |
* system should return the next page of data. |
* |
+ * [pageSize] - Maximum number of subscriptions to return. |
+ * |
* Completes with a [ListSubscriptionsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -472,7 +472,7 @@ class ProjectsSubscriptionsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) { |
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -483,12 +483,12 @@ class ProjectsSubscriptionsResourceApi { |
if (project == null) { |
throw new core.ArgumentError("Parameter project is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions'; |
@@ -952,13 +952,13 @@ class ProjectsTopicsResourceApi { |
* Format is `projects/{project}`. |
* Value must have pattern "^projects/[^/]+$". |
* |
- * [pageSize] - Maximum number of topics to return. |
- * |
* [pageToken] - The value returned by the last `ListTopicsResponse`; |
* indicates that this is |
* a continuation of a prior `ListTopics` call, and that the system should |
* return the next page of data. |
* |
+ * [pageSize] - Maximum number of topics to return. |
+ * |
* Completes with a [ListTopicsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -967,7 +967,7 @@ class ProjectsTopicsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) { |
+ async.Future<ListTopicsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -978,12 +978,12 @@ class ProjectsTopicsResourceApi { |
if (project == null) { |
throw new core.ArgumentError("Parameter project is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics'; |