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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 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/content/v2.dart ('k') | generated/googleapis/lib/datastore/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/dataproc/v1.dart
diff --git a/generated/googleapis/lib/dataproc/v1.dart b/generated/googleapis/lib/dataproc/v1.dart
index 2ee5301e7616d7dc663e1686b6295cca3256230a..cab8750eeb0f26b451dd89675213ceed99850fc7 100644
--- a/generated/googleapis/lib/dataproc/v1.dart
+++ b/generated/googleapis/lib/dataproc/v1.dart
@@ -278,8 +278,6 @@ class ProjectsRegionsClustersResourceApi {
* [region] - Required. The Cloud Dataproc region in which to handle the
* request.
*
- * [pageToken] - Optional. The standard List page token.
- *
* [pageSize] - Optional. The standard List page size.
*
* [filter] - Optional. A filter constraining the clusters to list. Filters
@@ -294,6 +292,8 @@ class ProjectsRegionsClustersResourceApi {
* implicit AND operator.Example filter:status.state = ACTIVE AND clusterName
* = mycluster AND labels.env = staging AND labels.starred = *
*
+ * [pageToken] - Optional. The standard List page token.
+ *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -302,7 +302,7 @@ class ProjectsRegionsClustersResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListClustersResponse> list(core.String projectId, core.String region, {core.int pageSize, core.String filter, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -316,15 +316,15 @@ class ProjectsRegionsClustersResourceApi {
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
if (filter != null) {
_queryParams["filter"] = [filter];
}
+ if (pageToken != null) {
+ _queryParams["pageToken"] = [pageToken];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/clusters';
@@ -609,11 +609,6 @@ class ProjectsRegionsJobsResourceApi {
* [region] - Required. The Cloud Dataproc region in which to handle the
* request.
*
- * [pageSize] - Optional. The number of results to return in each response.
- *
- * [clusterName] - Optional. If set, the returned jobs list includes only jobs
- * that were submitted to the named cluster.
- *
* [filter] - Optional. A filter constraining the jobs to list. Filters are
* case-sensitive and have the following syntax:field = value AND field =
* value ...where field is status.state or labels.[KEY], and [KEY] is a label
@@ -633,6 +628,11 @@ class ProjectsRegionsJobsResourceApi {
* [pageToken] - Optional. The page token, returned by a previous call, to
* request the next page of results.
*
+ * [pageSize] - Optional. The number of results to return in each response.
+ *
+ * [clusterName] - Optional. If set, the returned jobs list includes only jobs
+ * that were submitted to the named cluster.
+ *
* Completes with a [ListJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -641,7 +641,7 @@ class ProjectsRegionsJobsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListJobsResponse> list(core.String projectId, core.String region, {core.int pageSize, core.String clusterName, core.String filter, core.String jobStateMatcher, core.String pageToken}) {
+ async.Future<ListJobsResponse> list(core.String projectId, core.String region, {core.String filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize, core.String clusterName}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -655,12 +655,6 @@ class ProjectsRegionsJobsResourceApi {
if (region == null) {
throw new core.ArgumentError("Parameter region is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (clusterName != null) {
- _queryParams["clusterName"] = [clusterName];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -670,6 +664,12 @@ class ProjectsRegionsJobsResourceApi {
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
+ if (clusterName != null) {
+ _queryParams["clusterName"] = [clusterName];
+ }
_url = 'v1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/regions/' + commons.Escaper.ecapeVariable('$region') + '/jobs';
« no previous file with comments | « generated/googleapis/lib/content/v2.dart ('k') | generated/googleapis/lib/datastore/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698