| Index: generated/googleapis_beta/lib/dataflow/v1b3.dart
|
| diff --git a/generated/googleapis_beta/lib/dataflow/v1b3.dart b/generated/googleapis_beta/lib/dataflow/v1b3.dart
|
| index a89f012479c7327366bd21812e5546ea5e1ed76f..3860b078613c2de6ae0358fa646a7b7b4a98ad31 100644
|
| --- a/generated/googleapis_beta/lib/dataflow/v1b3.dart
|
| +++ b/generated/googleapis_beta/lib/dataflow/v1b3.dart
|
| @@ -114,8 +114,6 @@ class ProjectsJobsResourceApi {
|
| *
|
| * [projectId] - The ID of the Cloud Platform project that the job belongs to.
|
| *
|
| - * [location] - The location that contains this job.
|
| - *
|
| * [replaceJobId] - Deprecated. This field is now in the Job message.
|
| *
|
| * [view] - The level of information requested in response.
|
| @@ -125,6 +123,8 @@ class ProjectsJobsResourceApi {
|
| * - "JOB_VIEW_ALL" : A JOB_VIEW_ALL.
|
| * - "JOB_VIEW_DESCRIPTION" : A JOB_VIEW_DESCRIPTION.
|
| *
|
| + * [location] - The location that contains this job.
|
| + *
|
| * Completes with a [Job].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -133,7 +133,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<Job> create(Job request, core.String projectId, {core.String location, core.String replaceJobId, core.String view}) {
|
| + async.Future<Job> create(Job request, core.String projectId, {core.String replaceJobId, core.String view, core.String location}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -147,15 +147,15 @@ class ProjectsJobsResourceApi {
|
| if (projectId == null) {
|
| throw new core.ArgumentError("Parameter projectId is required.");
|
| }
|
| - if (location != null) {
|
| - _queryParams["location"] = [location];
|
| - }
|
| if (replaceJobId != null) {
|
| _queryParams["replaceJobId"] = [replaceJobId];
|
| }
|
| if (view != null) {
|
| _queryParams["view"] = [view];
|
| }
|
| + if (location != null) {
|
| + _queryParams["location"] = [location];
|
| + }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs';
|
|
|
| @@ -237,11 +237,11 @@ class ProjectsJobsResourceApi {
|
| *
|
| * [jobId] - The job to get messages for.
|
| *
|
| - * [location] - The location which contains the job specified by job_id.
|
| - *
|
| * [startTime] - Return only metric data that has changed since this time.
|
| * Default is to return all information about all metrics for the job.
|
| *
|
| + * [location] - The location which contains the job specified by job_id.
|
| + *
|
| * Completes with a [JobMetrics].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -250,7 +250,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<JobMetrics> getMetrics(core.String projectId, core.String jobId, {core.String location, core.String startTime}) {
|
| + async.Future<JobMetrics> getMetrics(core.String projectId, core.String jobId, {core.String startTime, core.String location}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -264,12 +264,12 @@ class ProjectsJobsResourceApi {
|
| if (jobId == null) {
|
| throw new core.ArgumentError("Parameter jobId is required.");
|
| }
|
| - if (location != null) {
|
| - _queryParams["location"] = [location];
|
| - }
|
| if (startTime != null) {
|
| _queryParams["startTime"] = [startTime];
|
| }
|
| + if (location != null) {
|
| + _queryParams["location"] = [location];
|
| + }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/metrics';
|
|
|
| @@ -541,6 +541,19 @@ class ProjectsJobsMessagesResourceApi {
|
| *
|
| * [jobId] - The job to get messages about.
|
| *
|
| + * [pageSize] - If specified, determines the maximum number of messages to
|
| + * return. If unspecified, the service may choose an appropriate
|
| + * default, or may return an arbitrarily large number of results.
|
| + *
|
| + * [minimumImportance] - Filter to only get messages with importance >= level
|
| + * Possible string values are:
|
| + * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
|
| + * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
|
| + * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
|
| + * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
|
| + * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
|
| + * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
|
| + *
|
| * [location] - The location which contains the job specified by job_id.
|
| *
|
| * [endTime] - Return only messages with timestamps < end_time. The default is
|
| @@ -556,19 +569,6 @@ class ProjectsJobsMessagesResourceApi {
|
| * by an earlier call. This will cause the next page of results to
|
| * be returned.
|
| *
|
| - * [pageSize] - If specified, determines the maximum number of messages to
|
| - * return. If unspecified, the service may choose an appropriate
|
| - * default, or may return an arbitrarily large number of results.
|
| - *
|
| - * [minimumImportance] - Filter to only get messages with importance >= level
|
| - * Possible string values are:
|
| - * - "JOB_MESSAGE_IMPORTANCE_UNKNOWN" : A JOB_MESSAGE_IMPORTANCE_UNKNOWN.
|
| - * - "JOB_MESSAGE_DEBUG" : A JOB_MESSAGE_DEBUG.
|
| - * - "JOB_MESSAGE_DETAILED" : A JOB_MESSAGE_DETAILED.
|
| - * - "JOB_MESSAGE_BASIC" : A JOB_MESSAGE_BASIC.
|
| - * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
|
| - * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
|
| - *
|
| * Completes with a [ListJobMessagesResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -577,7 +577,7 @@ class ProjectsJobsMessagesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.String location, core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String minimumImportance}) {
|
| + async.Future<ListJobMessagesResponse> list(core.String projectId, core.String jobId, {core.int pageSize, core.String minimumImportance, core.String location, core.String endTime, core.String startTime, core.String pageToken}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -591,6 +591,12 @@ class ProjectsJobsMessagesResourceApi {
|
| if (jobId == null) {
|
| throw new core.ArgumentError("Parameter jobId is required.");
|
| }
|
| + if (pageSize != null) {
|
| + _queryParams["pageSize"] = ["${pageSize}"];
|
| + }
|
| + if (minimumImportance != null) {
|
| + _queryParams["minimumImportance"] = [minimumImportance];
|
| + }
|
| if (location != null) {
|
| _queryParams["location"] = [location];
|
| }
|
| @@ -603,12 +609,6 @@ class ProjectsJobsMessagesResourceApi {
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| - if (pageSize != null) {
|
| - _queryParams["pageSize"] = ["${pageSize}"];
|
| - }
|
| - if (minimumImportance != null) {
|
| - _queryParams["minimumImportance"] = [minimumImportance];
|
| - }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages';
|
|
|
| @@ -1251,19 +1251,6 @@ class ProjectsLocationsJobsMessagesResourceApi {
|
| *
|
| * [jobId] - The job to get messages about.
|
| *
|
| - * [endTime] - Return only messages with timestamps < end_time. The default is
|
| - * now
|
| - * (i.e. return up to the latest messages available).
|
| - *
|
| - * [startTime] - If specified, return only messages with timestamps >=
|
| - * start_time.
|
| - * The default is the job creation time (i.e. beginning of messages).
|
| - *
|
| - * [pageToken] - If supplied, this should be the value of next_page_token
|
| - * returned
|
| - * by an earlier call. This will cause the next page of results to
|
| - * be returned.
|
| - *
|
| * [pageSize] - If specified, determines the maximum number of messages to
|
| * return. If unspecified, the service may choose an appropriate
|
| * default, or may return an arbitrarily large number of results.
|
| @@ -1277,6 +1264,19 @@ class ProjectsLocationsJobsMessagesResourceApi {
|
| * - "JOB_MESSAGE_WARNING" : A JOB_MESSAGE_WARNING.
|
| * - "JOB_MESSAGE_ERROR" : A JOB_MESSAGE_ERROR.
|
| *
|
| + * [endTime] - Return only messages with timestamps < end_time. The default is
|
| + * now
|
| + * (i.e. return up to the latest messages available).
|
| + *
|
| + * [startTime] - If specified, return only messages with timestamps >=
|
| + * start_time.
|
| + * The default is the job creation time (i.e. beginning of messages).
|
| + *
|
| + * [pageToken] - If supplied, this should be the value of next_page_token
|
| + * returned
|
| + * by an earlier call. This will cause the next page of results to
|
| + * be returned.
|
| + *
|
| * Completes with a [ListJobMessagesResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1285,7 +1285,7 @@ class ProjectsLocationsJobsMessagesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListJobMessagesResponse> list(core.String projectId, core.String location, core.String jobId, {core.String endTime, core.String startTime, core.String pageToken, core.int pageSize, core.String minimumImportance}) {
|
| + async.Future<ListJobMessagesResponse> list(core.String projectId, core.String location, core.String jobId, {core.int pageSize, core.String minimumImportance, core.String endTime, core.String startTime, core.String pageToken}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1302,6 +1302,12 @@ class ProjectsLocationsJobsMessagesResourceApi {
|
| if (jobId == null) {
|
| throw new core.ArgumentError("Parameter jobId is required.");
|
| }
|
| + if (pageSize != null) {
|
| + _queryParams["pageSize"] = ["${pageSize}"];
|
| + }
|
| + if (minimumImportance != null) {
|
| + _queryParams["minimumImportance"] = [minimumImportance];
|
| + }
|
| if (endTime != null) {
|
| _queryParams["endTime"] = [endTime];
|
| }
|
| @@ -1311,12 +1317,6 @@ class ProjectsLocationsJobsMessagesResourceApi {
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| - if (pageSize != null) {
|
| - _queryParams["pageSize"] = ["${pageSize}"];
|
| - }
|
| - if (minimumImportance != null) {
|
| - _queryParams["minimumImportance"] = [minimumImportance];
|
| - }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/jobs/' + commons.Escaper.ecapeVariable('$jobId') + '/messages';
|
|
|
| @@ -1577,15 +1577,15 @@ class ProjectsLocationsTemplatesResourceApi {
|
| *
|
| * [location] - The location to which to direct the request.
|
| *
|
| + * [validateOnly] - If true, the request is validated but not actually
|
| + * executed.
|
| + * Defaults to false.
|
| + *
|
| * [gcsPath] - Required. A Cloud Storage path to the template from which to
|
| * create
|
| * the job.
|
| * Must be valid Cloud Storage URL, beginning with 'gs://'.
|
| *
|
| - * [validateOnly] - If true, the request is validated but not actually
|
| - * executed.
|
| - * Defaults to false.
|
| - *
|
| * Completes with a [LaunchTemplateResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1594,7 +1594,7 @@ class ProjectsLocationsTemplatesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, core.String location, {core.String gcsPath, core.bool validateOnly}) {
|
| + async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, core.String location, {core.bool validateOnly, core.String gcsPath}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1611,12 +1611,12 @@ class ProjectsLocationsTemplatesResourceApi {
|
| if (location == null) {
|
| throw new core.ArgumentError("Parameter location is required.");
|
| }
|
| - if (gcsPath != null) {
|
| - _queryParams["gcsPath"] = [gcsPath];
|
| - }
|
| if (validateOnly != null) {
|
| _queryParams["validateOnly"] = ["${validateOnly}"];
|
| }
|
| + if (gcsPath != null) {
|
| + _queryParams["gcsPath"] = [gcsPath];
|
| + }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/locations/' + commons.Escaper.ecapeVariable('$location') + '/templates:launch';
|
|
|
| @@ -1692,6 +1692,8 @@ class ProjectsTemplatesResourceApi {
|
| * [projectId] - Required. The ID of the Cloud Platform project that the job
|
| * belongs to.
|
| *
|
| + * [location] - The location to which to direct the request.
|
| + *
|
| * [view] - The view to retrieve. Defaults to METADATA_ONLY.
|
| * Possible string values are:
|
| * - "METADATA_ONLY" : A METADATA_ONLY.
|
| @@ -1700,8 +1702,6 @@ class ProjectsTemplatesResourceApi {
|
| * create the job.
|
| * Must be a valid Cloud Storage URL, beginning with `gs://`.
|
| *
|
| - * [location] - The location to which to direct the request.
|
| - *
|
| * Completes with a [GetTemplateResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1710,7 +1710,7 @@ class ProjectsTemplatesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<GetTemplateResponse> get(core.String projectId, {core.String view, core.String gcsPath, core.String location}) {
|
| + async.Future<GetTemplateResponse> get(core.String projectId, {core.String location, core.String view, core.String gcsPath}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1721,15 +1721,15 @@ class ProjectsTemplatesResourceApi {
|
| if (projectId == null) {
|
| throw new core.ArgumentError("Parameter projectId is required.");
|
| }
|
| + if (location != null) {
|
| + _queryParams["location"] = [location];
|
| + }
|
| if (view != null) {
|
| _queryParams["view"] = [view];
|
| }
|
| if (gcsPath != null) {
|
| _queryParams["gcsPath"] = [gcsPath];
|
| }
|
| - if (location != null) {
|
| - _queryParams["location"] = [location];
|
| - }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/templates:get';
|
|
|
| @@ -1753,17 +1753,17 @@ class ProjectsTemplatesResourceApi {
|
| * [projectId] - Required. The ID of the Cloud Platform project that the job
|
| * belongs to.
|
| *
|
| - * [gcsPath] - Required. A Cloud Storage path to the template from which to
|
| - * create
|
| - * the job.
|
| - * Must be valid Cloud Storage URL, beginning with 'gs://'.
|
| - *
|
| * [location] - The location to which to direct the request.
|
| *
|
| * [validateOnly] - If true, the request is validated but not actually
|
| * executed.
|
| * Defaults to false.
|
| *
|
| + * [gcsPath] - Required. A Cloud Storage path to the template from which to
|
| + * create
|
| + * the job.
|
| + * Must be valid Cloud Storage URL, beginning with 'gs://'.
|
| + *
|
| * Completes with a [LaunchTemplateResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -1772,7 +1772,7 @@ class ProjectsTemplatesResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, {core.String gcsPath, core.String location, core.bool validateOnly}) {
|
| + async.Future<LaunchTemplateResponse> launch(LaunchTemplateParameters request, core.String projectId, {core.String location, core.bool validateOnly, core.String gcsPath}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -1786,15 +1786,15 @@ class ProjectsTemplatesResourceApi {
|
| if (projectId == null) {
|
| throw new core.ArgumentError("Parameter projectId is required.");
|
| }
|
| - if (gcsPath != null) {
|
| - _queryParams["gcsPath"] = [gcsPath];
|
| - }
|
| if (location != null) {
|
| _queryParams["location"] = [location];
|
| }
|
| if (validateOnly != null) {
|
| _queryParams["validateOnly"] = ["${validateOnly}"];
|
| }
|
| + if (gcsPath != null) {
|
| + _queryParams["gcsPath"] = [gcsPath];
|
| + }
|
|
|
| _url = 'v1b3/projects/' + commons.Escaper.ecapeVariable('$projectId') + '/templates:launch';
|
|
|
| @@ -6973,8 +6973,8 @@ class Status {
|
| /** The status code, which should be an enum value of google.rpc.Code. */
|
| core.int code;
|
| /**
|
| - * A list of messages that carry the error details. There will be a
|
| - * common set of message types for APIs to use.
|
| + * A list of messages that carry the error details. There is a common set of
|
| + * message types for APIs to use.
|
| *
|
| * The values for Object must be JSON objects. It can consist of `num`,
|
| * `String`, `bool` and `null` as well as `Map` and `List` values.
|
|
|