Index: generated/googleapis_beta/lib/pubsub/v1beta2.dart |
diff --git a/generated/googleapis_beta/lib/pubsub/v1beta2.dart b/generated/googleapis_beta/lib/pubsub/v1beta2.dart |
index c1eacd7049d964a63e56a30a392ef23340d0685c..9c699a671c3089758ef7a56a4aa10d5eb3112a9e 100644 |
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart |
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart |
@@ -294,13 +294,13 @@ class ProjectsSubscriptionsResourceApi { |
* [project] - The name of the cloud project that subscriptions belong to. |
* 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 |
@@ -309,7 +309,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; |
@@ -320,12 +320,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 = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions'; |
@@ -784,13 +784,13 @@ class ProjectsTopicsResourceApi { |
* [project] - The name of the cloud project that topics belong to. |
* 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 |
@@ -799,7 +799,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; |
@@ -810,12 +810,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 = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics'; |