Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Unified Diff: generated/googleapis/lib/firebaserules/v1.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/drive/v3.dart ('k') | generated/googleapis/lib/genomics/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/firebaserules/v1.dart
diff --git a/generated/googleapis/lib/firebaserules/v1.dart b/generated/googleapis/lib/firebaserules/v1.dart
index 631c179fc13a340c191292e5d732f3066a723922..b2587a049b2eaa96c0376cb2c9363821d2877649 100644
--- a/generated/googleapis/lib/firebaserules/v1.dart
+++ b/generated/googleapis/lib/firebaserules/v1.dart
@@ -289,13 +289,6 @@ class ProjectsReleasesResourceApi {
* Format: `projects/{project_id}`
* Value must have pattern "^projects/[^/]+$".
*
- * [pageToken] - Next page token for the next batch of `Release` instances.
- *
- * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
- * Note: `page_size` is just a hint and the service may choose to load less
- * than `page_size` due to the size of the output. To traverse all of the
- * releases, caller should iterate until the `page_token` is empty.
- *
* [filter] - `Release` filter. The list method supports filters with
* restrictions on the
* `Release` `name` and also on the `Ruleset` `ruleset_name`.
@@ -323,6 +316,13 @@ class ProjectsReleasesResourceApi {
* collections. Fully qualified prefixed may also be used. e.g.
* `name=projects/foo/releases/prod* ruleset_name=projects/foo/rulesets/uuid1`
*
+ * [pageToken] - Next page token for the next batch of `Release` instances.
+ *
+ * [pageSize] - Page size to load. Maximum of 100. Defaults to 10.
+ * Note: `page_size` is just a hint and the service may choose to load less
+ * than `page_size` due to the size of the output. To traverse all of the
+ * releases, caller should iterate until the `page_token` is empty.
+ *
* Completes with a [ListReleasesResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -331,7 +331,7 @@ class ProjectsReleasesResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListReleasesResponse> list(core.String name, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListReleasesResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -342,15 +342,15 @@ class ProjectsReleasesResourceApi {
if (name == null) {
throw new core.ArgumentError("Parameter name is required.");
}
+ if (filter != null) {
+ _queryParams["filter"] = [filter];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name') + '/releases';
« no previous file with comments | « generated/googleapis/lib/drive/v3.dart ('k') | generated/googleapis/lib/genomics/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698