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

Unified Diff: generated/googleapis/lib/storagetransfer/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/storage/v1.dart ('k') | generated/googleapis/lib/streetviewpublish/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/storagetransfer/v1.dart
diff --git a/generated/googleapis/lib/storagetransfer/v1.dart b/generated/googleapis/lib/storagetransfer/v1.dart
index 82e3151b92926b4d56b3e6d93de7ce7561e5370c..db18a600265163be491e8d497e56f66a36b9775c 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -190,10 +190,6 @@ class TransferJobsResourceApi {
*
* Request parameters:
*
- * [pageToken] - The list page token.
- *
- * [pageSize] - The list page size. The max allowed value is 256.
- *
* [filter] - A list of query parameters specified as JSON text in the form of
* {"project_id":"my_project_id",
* "job_names":["jobid1","jobid2",...],
@@ -204,6 +200,10 @@ class TransferJobsResourceApi {
* and `job_statuses` are optional. The valid values for `job_statuses` are
* case-insensitive: `ENABLED`, `DISABLED`, and `DELETED`.
*
+ * [pageToken] - The list page token.
+ *
+ * [pageSize] - The list page size. The max allowed value is 256.
+ *
* Completes with a [ListTransferJobsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -212,7 +212,7 @@ class TransferJobsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTransferJobsResponse> list({core.String pageToken, core.int pageSize, core.String filter}) {
+ async.Future<ListTransferJobsResponse> list({core.String filter, core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -220,15 +220,15 @@ class TransferJobsResourceApi {
var _downloadOptions = commons.DownloadOptions.Metadata;
var _body = null;
+ 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/transferJobs';
@@ -439,6 +439,10 @@ class TransferOperationsResourceApi {
* [name] - The value `transferOperations`.
* Value must have pattern "^transferOperations$".
*
+ * [pageToken] - The list page token.
+ *
+ * [pageSize] - The list page size. The max allowed value is 256.
+ *
* [filter] - A list of query parameters specified as JSON text in the form of
* {\"project_id\" : \"my_project_id\", \"job_names\" : [\"jobid1\",
* \"jobid2\",...], \"operation_names\" : [\"opid1\", \"opid2\",...],
@@ -447,10 +451,6 @@ class TransferOperationsResourceApi {
* must be specified with array notation. `job_names`, `operation_names`, and
* `transfer_statuses` are optional.
*
- * [pageToken] - The list page token.
- *
- * [pageSize] - The list page size. The max allowed value is 256.
- *
* Completes with a [ListOperationsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -459,7 +459,7 @@ class TransferOperationsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
+ async.Future<ListOperationsResponse> list(core.String name, {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 TransferOperationsResourceApi {
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');
@@ -2074,7 +2074,10 @@ class UpdateTransferJobRequest {
*/
core.String projectId;
/**
- * The job to update.
+ * The job to update. `transferJob` is expected to specify only three fields:
+ * `description`, `transferSpec`, and `status`. An UpdateTransferJobRequest
+ * that specifies other fields will be rejected with an error
+ * `INVALID_ARGUMENT`.
* Required.
*/
TransferJob transferJob;
« no previous file with comments | « generated/googleapis/lib/storage/v1.dart ('k') | generated/googleapis/lib/streetviewpublish/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698