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

Unified Diff: generated/googleapis_beta/lib/dataproc/v1beta1.dart

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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_beta/lib/dataflow/v1b3.dart ('k') | generated/googleapis_beta/lib/dlp/v2beta1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis_beta/lib/dataproc/v1beta1.dart
diff --git a/generated/googleapis_beta/lib/dataproc/v1beta1.dart b/generated/googleapis_beta/lib/dataproc/v1beta1.dart
index a12b0827218c7f8d273599f15837e3112b0b525d..d8b829547e65f78edcb6df43c9604eacf96341bc 100644
--- a/generated/googleapis_beta/lib/dataproc/v1beta1.dart
+++ b/generated/googleapis_beta/lib/dataproc/v1beta1.dart
@@ -443,14 +443,14 @@ class ProjectsClustersResourceApi {
* [projectId] - Required The ID of the Google Cloud Platform project that the
* cluster belongs to.
*
- * [filter] - Optional A filter constraining which clusters to list. Valid
- * filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 =
- * val2 OR labels.k3 = val3)
- *
* [pageToken] - The standard List page token.
*
* [pageSize] - The standard List page size.
*
+ * [filter] - Optional A filter constraining which clusters to list. Valid
+ * filters contain label terms such as: labels.key1 = val1 AND (-labels.k2 =
+ * val2 OR labels.k3 = val3)
+ *
* Completes with a [ListClustersResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -459,7 +459,7 @@ class ProjectsClustersResourceApi {
* 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 filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListClustersResponse> list(core.String projectId, {core.String pageToken, core.int pageSize, core.String filter}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -470,15 +470,15 @@ class ProjectsClustersResourceApi {
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId 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 = 'v1beta1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/clusters';
@@ -733,6 +733,9 @@ class ProjectsJobsResourceApi {
* [projectId] - Required The ID of the Google Cloud Platform project that the
* job belongs to.
*
+ * [clusterName] - Optional If set, the returned jobs list includes only jobs
+ * that were submitted to the named cluster.
+ *
* [filter] - Optional A filter constraining which jobs to list. Valid filters
* contain job state and label terms such as: labels.key1 = val1 AND
* (labels.k2 = val2 OR labels.k3 = val3)
@@ -749,9 +752,6 @@ class ProjectsJobsResourceApi {
*
* [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
@@ -760,7 +760,7 @@ class ProjectsJobsResourceApi {
* 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 filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize, core.String clusterName}) {
+ async.Future<ListJobsResponse> list(core.String projectId, {core.String clusterName, core.String filter, core.String jobStateMatcher, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -771,6 +771,9 @@ class ProjectsJobsResourceApi {
if (projectId == null) {
throw new core.ArgumentError("Parameter projectId is required.");
}
+ if (clusterName != null) {
+ _queryParams["clusterName"] = [clusterName];
+ }
if (filter != null) {
_queryParams["filter"] = [filter];
}
@@ -783,9 +786,6 @@ class ProjectsJobsResourceApi {
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
- if (clusterName != null) {
- _queryParams["clusterName"] = [clusterName];
- }
_url = 'v1beta1/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs';
« no previous file with comments | « generated/googleapis_beta/lib/dataflow/v1b3.dart ('k') | generated/googleapis_beta/lib/dlp/v2beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698