| Index: generated/googleapis/test/storagetransfer/v1_test.dart
|
| diff --git a/generated/googleapis/test/storagetransfer/v1_test.dart b/generated/googleapis/test/storagetransfer/v1_test.dart
|
| index e58f24da288bd0ad3b09f2f8c716882127af01bd..cbc7c9f8c0bbec6097796943ecdaa9a339b0dd40 100644
|
| --- a/generated/googleapis/test/storagetransfer/v1_test.dart
|
| +++ b/generated/googleapis/test/storagetransfer/v1_test.dart
|
| @@ -133,14 +133,14 @@ checkEmpty(api.Empty o) {
|
| buildCounterEmpty--;
|
| }
|
|
|
| -buildUnnamed1411() {
|
| +buildUnnamed1164() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1411(core.List<core.String> o) {
|
| +checkUnnamed1164(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -151,7 +151,7 @@ buildErrorLogEntry() {
|
| var o = new api.ErrorLogEntry();
|
| buildCounterErrorLogEntry++;
|
| if (buildCounterErrorLogEntry < 3) {
|
| - o.errorDetails = buildUnnamed1411();
|
| + o.errorDetails = buildUnnamed1164();
|
| o.url = "foo";
|
| }
|
| buildCounterErrorLogEntry--;
|
| @@ -161,20 +161,20 @@ buildErrorLogEntry() {
|
| checkErrorLogEntry(api.ErrorLogEntry o) {
|
| buildCounterErrorLogEntry++;
|
| if (buildCounterErrorLogEntry < 3) {
|
| - checkUnnamed1411(o.errorDetails);
|
| + checkUnnamed1164(o.errorDetails);
|
| unittest.expect(o.url, unittest.equals('foo'));
|
| }
|
| buildCounterErrorLogEntry--;
|
| }
|
|
|
| -buildUnnamed1412() {
|
| +buildUnnamed1165() {
|
| var o = new core.List<api.ErrorLogEntry>();
|
| o.add(buildErrorLogEntry());
|
| o.add(buildErrorLogEntry());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1412(core.List<api.ErrorLogEntry> o) {
|
| +checkUnnamed1165(core.List<api.ErrorLogEntry> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorLogEntry(o[0]);
|
| checkErrorLogEntry(o[1]);
|
| @@ -187,7 +187,7 @@ buildErrorSummary() {
|
| if (buildCounterErrorSummary < 3) {
|
| o.errorCode = "foo";
|
| o.errorCount = "foo";
|
| - o.errorLogEntries = buildUnnamed1412();
|
| + o.errorLogEntries = buildUnnamed1165();
|
| }
|
| buildCounterErrorSummary--;
|
| return o;
|
| @@ -198,7 +198,7 @@ checkErrorSummary(api.ErrorSummary o) {
|
| if (buildCounterErrorSummary < 3) {
|
| unittest.expect(o.errorCode, unittest.equals('foo'));
|
| unittest.expect(o.errorCount, unittest.equals('foo'));
|
| - checkUnnamed1412(o.errorLogEntries);
|
| + checkUnnamed1165(o.errorLogEntries);
|
| }
|
| buildCounterErrorSummary--;
|
| }
|
| @@ -260,14 +260,14 @@ checkHttpData(api.HttpData o) {
|
| buildCounterHttpData--;
|
| }
|
|
|
| -buildUnnamed1413() {
|
| +buildUnnamed1166() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1413(core.List<api.Operation> o) {
|
| +checkUnnamed1166(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -279,7 +279,7 @@ buildListOperationsResponse() {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.operations = buildUnnamed1413();
|
| + o.operations = buildUnnamed1166();
|
| }
|
| buildCounterListOperationsResponse--;
|
| return o;
|
| @@ -289,19 +289,19 @@ checkListOperationsResponse(api.ListOperationsResponse o) {
|
| buildCounterListOperationsResponse++;
|
| if (buildCounterListOperationsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1413(o.operations);
|
| + checkUnnamed1166(o.operations);
|
| }
|
| buildCounterListOperationsResponse--;
|
| }
|
|
|
| -buildUnnamed1414() {
|
| +buildUnnamed1167() {
|
| var o = new core.List<api.TransferJob>();
|
| o.add(buildTransferJob());
|
| o.add(buildTransferJob());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1414(core.List<api.TransferJob> o) {
|
| +checkUnnamed1167(core.List<api.TransferJob> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTransferJob(o[0]);
|
| checkTransferJob(o[1]);
|
| @@ -313,7 +313,7 @@ buildListTransferJobsResponse() {
|
| buildCounterListTransferJobsResponse++;
|
| if (buildCounterListTransferJobsResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.transferJobs = buildUnnamed1414();
|
| + o.transferJobs = buildUnnamed1167();
|
| }
|
| buildCounterListTransferJobsResponse--;
|
| return o;
|
| @@ -323,32 +323,32 @@ checkListTransferJobsResponse(api.ListTransferJobsResponse o) {
|
| buildCounterListTransferJobsResponse++;
|
| if (buildCounterListTransferJobsResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1414(o.transferJobs);
|
| + checkUnnamed1167(o.transferJobs);
|
| }
|
| buildCounterListTransferJobsResponse--;
|
| }
|
|
|
| -buildUnnamed1415() {
|
| +buildUnnamed1168() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1415(core.List<core.String> o) {
|
| +checkUnnamed1168(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1416() {
|
| +buildUnnamed1169() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1416(core.List<core.String> o) {
|
| +checkUnnamed1169(core.List<core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o[0], unittest.equals('foo'));
|
| unittest.expect(o[1], unittest.equals('foo'));
|
| @@ -359,8 +359,8 @@ buildObjectConditions() {
|
| var o = new api.ObjectConditions();
|
| buildCounterObjectConditions++;
|
| if (buildCounterObjectConditions < 3) {
|
| - o.excludePrefixes = buildUnnamed1415();
|
| - o.includePrefixes = buildUnnamed1416();
|
| + o.excludePrefixes = buildUnnamed1168();
|
| + o.includePrefixes = buildUnnamed1169();
|
| o.maxTimeElapsedSinceLastModification = "foo";
|
| o.minTimeElapsedSinceLastModification = "foo";
|
| }
|
| @@ -371,35 +371,35 @@ buildObjectConditions() {
|
| checkObjectConditions(api.ObjectConditions o) {
|
| buildCounterObjectConditions++;
|
| if (buildCounterObjectConditions < 3) {
|
| - checkUnnamed1415(o.excludePrefixes);
|
| - checkUnnamed1416(o.includePrefixes);
|
| + checkUnnamed1168(o.excludePrefixes);
|
| + checkUnnamed1169(o.includePrefixes);
|
| unittest.expect(o.maxTimeElapsedSinceLastModification, unittest.equals('foo'));
|
| unittest.expect(o.minTimeElapsedSinceLastModification, unittest.equals('foo'));
|
| }
|
| buildCounterObjectConditions--;
|
| }
|
|
|
| -buildUnnamed1417() {
|
| +buildUnnamed1170() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1417(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1170(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
|
| var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1418() {
|
| +buildUnnamed1171() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1418(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1171(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
|
| var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
|
| @@ -412,9 +412,9 @@ buildOperation() {
|
| if (buildCounterOperation < 3) {
|
| o.done = true;
|
| o.error = buildStatus();
|
| - o.metadata = buildUnnamed1417();
|
| + o.metadata = buildUnnamed1170();
|
| o.name = "foo";
|
| - o.response = buildUnnamed1418();
|
| + o.response = buildUnnamed1171();
|
| }
|
| buildCounterOperation--;
|
| return o;
|
| @@ -425,9 +425,9 @@ checkOperation(api.Operation o) {
|
| if (buildCounterOperation < 3) {
|
| unittest.expect(o.done, unittest.isTrue);
|
| checkStatus(o.error);
|
| - checkUnnamed1417(o.metadata);
|
| + checkUnnamed1170(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1418(o.response);
|
| + checkUnnamed1171(o.response);
|
| }
|
| buildCounterOperation--;
|
| }
|
| @@ -489,30 +489,30 @@ checkSchedule(api.Schedule o) {
|
| buildCounterSchedule--;
|
| }
|
|
|
| -buildUnnamed1419() {
|
| +buildUnnamed1172() {
|
| var o = new core.Map<core.String, core.Object>();
|
| o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
|
| return o;
|
| }
|
|
|
| -checkUnnamed1419(core.Map<core.String, core.Object> o) {
|
| +checkUnnamed1172(core.Map<core.String, core.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
|
| var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
|
| }
|
|
|
| -buildUnnamed1420() {
|
| +buildUnnamed1173() {
|
| var o = new core.List<core.Map<core.String, core.Object>>();
|
| - o.add(buildUnnamed1419());
|
| - o.add(buildUnnamed1419());
|
| + o.add(buildUnnamed1172());
|
| + o.add(buildUnnamed1172());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1420(core.List<core.Map<core.String, core.Object>> o) {
|
| +checkUnnamed1173(core.List<core.Map<core.String, core.Object>> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| - checkUnnamed1419(o[0]);
|
| - checkUnnamed1419(o[1]);
|
| + checkUnnamed1172(o[0]);
|
| + checkUnnamed1172(o[1]);
|
| }
|
|
|
| core.int buildCounterStatus = 0;
|
| @@ -521,7 +521,7 @@ buildStatus() {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| o.code = 42;
|
| - o.details = buildUnnamed1420();
|
| + o.details = buildUnnamed1173();
|
| o.message = "foo";
|
| }
|
| buildCounterStatus--;
|
| @@ -532,7 +532,7 @@ checkStatus(api.Status o) {
|
| buildCounterStatus++;
|
| if (buildCounterStatus < 3) {
|
| unittest.expect(o.code, unittest.equals(42));
|
| - checkUnnamed1420(o.details);
|
| + checkUnnamed1173(o.details);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterStatus--;
|
| @@ -647,14 +647,14 @@ checkTransferJob(api.TransferJob o) {
|
| buildCounterTransferJob--;
|
| }
|
|
|
| -buildUnnamed1421() {
|
| +buildUnnamed1174() {
|
| var o = new core.List<api.ErrorSummary>();
|
| o.add(buildErrorSummary());
|
| o.add(buildErrorSummary());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1421(core.List<api.ErrorSummary> o) {
|
| +checkUnnamed1174(core.List<api.ErrorSummary> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkErrorSummary(o[0]);
|
| checkErrorSummary(o[1]);
|
| @@ -667,7 +667,7 @@ buildTransferOperation() {
|
| if (buildCounterTransferOperation < 3) {
|
| o.counters = buildTransferCounters();
|
| o.endTime = "foo";
|
| - o.errorBreakdowns = buildUnnamed1421();
|
| + o.errorBreakdowns = buildUnnamed1174();
|
| o.name = "foo";
|
| o.projectId = "foo";
|
| o.startTime = "foo";
|
| @@ -684,7 +684,7 @@ checkTransferOperation(api.TransferOperation o) {
|
| if (buildCounterTransferOperation < 3) {
|
| checkTransferCounters(o.counters);
|
| unittest.expect(o.endTime, unittest.equals('foo'));
|
| - checkUnnamed1421(o.errorBreakdowns);
|
| + checkUnnamed1174(o.errorBreakdowns);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.projectId, unittest.equals('foo'));
|
| unittest.expect(o.startTime, unittest.equals('foo'));
|
|
|