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

Unified Diff: generated/googleapis/lib/storagetransfer/v1.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/lib/speech/v1.dart ('k') | generated/googleapis/lib/translate/v2.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 e3f750c11a927c72459286451218c3c24ad13d2e..722f6ddfd79969dd83b709e3e8daf43665d112c7 100644
--- a/generated/googleapis/lib/storagetransfer/v1.dart
+++ b/generated/googleapis/lib/storagetransfer/v1.dart
@@ -439,8 +439,6 @@ class TransferOperationsResourceApi {
* [name] - The value `transferOperations`.
* Value must have pattern "^transferOperations$".
*
- * [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\",...],
@@ -451,6 +449,8 @@ class TransferOperationsResourceApi {
*
* [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.int pageSize, core.String filter, core.String pageToken}) {
+ async.Future<ListOperationsResponse> list(core.String name, {core.String filter, core.String pageToken, core.int pageSize}) {
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 (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (filter != null) {
_queryParams["filter"] = [filter];
}
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
@@ -1954,10 +1954,15 @@ class TransferOperation {
class TransferOptions {
/**
* Whether objects should be deleted from the source after they are
- * transferred to the sink.
+ * transferred to the sink. Note that this option and
+ * `deleteObjectsUniqueInSink` are mutually exclusive.
*/
core.bool deleteObjectsFromSourceAfterTransfer;
- /** Whether objects that exist only in the sink should be deleted. */
+ /**
+ * Whether objects that exist only in the sink should be deleted. Note that
+ * this option and `deleteObjectsFromSourceAfterTransfer` are mutually
+ * exclusive.
+ */
core.bool deleteObjectsUniqueInSink;
/** Whether overwriting objects that already exist in the sink is allowed. */
core.bool overwriteObjectsAlreadyExistingInSink;
« no previous file with comments | « generated/googleapis/lib/speech/v1.dart ('k') | generated/googleapis/lib/translate/v2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698