Index: generated/googleapis/lib/cloudkms/v1.dart |
diff --git a/generated/googleapis/lib/cloudkms/v1.dart b/generated/googleapis/lib/cloudkms/v1.dart |
index 73be9754acce0fe601f88d2d6f335d4c08db254b..77aade2bf595ac032643920cb0698451959c2978 100644 |
--- a/generated/googleapis/lib/cloudkms/v1.dart |
+++ b/generated/googleapis/lib/cloudkms/v1.dart |
@@ -1126,15 +1126,15 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResourceApi { |
* Value must have pattern |
* "^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$". |
* |
- * [pageToken] - Optional pagination token, returned earlier via |
- * ListCryptoKeyVersionsResponse.next_page_token. |
- * |
* [pageSize] - Optional limit on the number of CryptoKeyVersions to |
* include in the response. Further CryptoKeyVersions can |
* subsequently be obtained by including the |
* ListCryptoKeyVersionsResponse.next_page_token in a subsequent request. |
* If unspecified, the server will pick an appropriate default. |
* |
+ * [pageToken] - Optional pagination token, returned earlier via |
+ * ListCryptoKeyVersionsResponse.next_page_token. |
+ * |
* Completes with a [ListCryptoKeyVersionsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1143,7 +1143,7 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListCryptoKeyVersionsResponse> list(core.String parent, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListCryptoKeyVersionsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1154,12 +1154,12 @@ class ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResourceApi { |
if (parent == null) { |
throw new core.ArgumentError("Parameter parent is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/cryptoKeyVersions'; |