Index: generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart |
diff --git a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart |
index a554c3cf85ec28adccc15e3955d42d7fc79b160b..3d2132600f255f92aa41b047b4a6d643655d14bc 100644 |
--- a/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart |
+++ b/generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart |
@@ -385,6 +385,10 @@ class AccountsClientsInvitationsResourceApi { |
* to list all the invitations for all the clients |
* of a given sponsor buyer. |
* |
+ * [pageSize] - Requested page size. Server may return fewer clients than |
+ * requested. |
+ * If unspecified, server will pick an appropriate default. |
+ * |
* [pageToken] - A token identifying a page of results the server should |
* return. |
* Typically, this is the value of |
@@ -393,10 +397,6 @@ class AccountsClientsInvitationsResourceApi { |
* clients.invitations.list |
* method. |
* |
- * [pageSize] - Requested page size. Server may return fewer clients than |
- * requested. |
- * If unspecified, server will pick an appropriate default. |
- * |
* Completes with a [ListClientUserInvitationsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -405,7 +405,7 @@ class AccountsClientsInvitationsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListClientUserInvitationsResponse> list(core.String accountId, core.String clientAccountId, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListClientUserInvitationsResponse> list(core.String accountId, core.String clientAccountId, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -419,12 +419,12 @@ class AccountsClientsInvitationsResourceApi { |
if (clientAccountId == null) { |
throw new core.ArgumentError("Parameter clientAccountId is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v2beta1/accounts/' + commons.Escaper.ecapeVariable('$accountId') + '/clients/' + commons.Escaper.ecapeVariable('$clientAccountId') + '/invitations'; |