| 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';
|
|
|
|
|