| Index: generated/googleapis/test/storage/v1_test.dart
|
| diff --git a/generated/googleapis/test/storage/v1_test.dart b/generated/googleapis/test/storage/v1_test.dart
|
| index 4693d9c41ed10d19a1212146e5c55f018e033ed9..69ff3dbd3342909afe3290f59f2eee1d7e749b53 100644
|
| --- a/generated/googleapis/test/storage/v1_test.dart
|
| +++ b/generated/googleapis/test/storage/v1_test.dart
|
| @@ -51,53 +51,53 @@ http.StreamedResponse stringResponse(
|
| return new http.StreamedResponse(stream, status, headers: headers);
|
| }
|
|
|
| -buildUnnamed721() {
|
| +buildUnnamed728() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed721(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed728(core.List<api.BucketAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketAccessControl(o[0]);
|
| checkBucketAccessControl(o[1]);
|
| }
|
|
|
| -buildUnnamed722() {
|
| +buildUnnamed729() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed722(core.List<core.String> o) {
|
| +checkUnnamed729(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'));
|
| }
|
|
|
| -buildUnnamed723() {
|
| +buildUnnamed730() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed723(core.List<core.String> o) {
|
| +checkUnnamed730(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'));
|
| }
|
|
|
| -buildUnnamed724() {
|
| +buildUnnamed731() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed724(core.List<core.String> o) {
|
| +checkUnnamed731(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'));
|
| @@ -109,9 +109,9 @@ buildBucketCors() {
|
| buildCounterBucketCors++;
|
| if (buildCounterBucketCors < 3) {
|
| o.maxAgeSeconds = 42;
|
| - o.method = buildUnnamed722();
|
| - o.origin = buildUnnamed723();
|
| - o.responseHeader = buildUnnamed724();
|
| + o.method = buildUnnamed729();
|
| + o.origin = buildUnnamed730();
|
| + o.responseHeader = buildUnnamed731();
|
| }
|
| buildCounterBucketCors--;
|
| return o;
|
| @@ -121,34 +121,34 @@ checkBucketCors(api.BucketCors o) {
|
| buildCounterBucketCors++;
|
| if (buildCounterBucketCors < 3) {
|
| unittest.expect(o.maxAgeSeconds, unittest.equals(42));
|
| - checkUnnamed722(o.method);
|
| - checkUnnamed723(o.origin);
|
| - checkUnnamed724(o.responseHeader);
|
| + checkUnnamed729(o.method);
|
| + checkUnnamed730(o.origin);
|
| + checkUnnamed731(o.responseHeader);
|
| }
|
| buildCounterBucketCors--;
|
| }
|
|
|
| -buildUnnamed725() {
|
| +buildUnnamed732() {
|
| var o = new core.List<api.BucketCors>();
|
| o.add(buildBucketCors());
|
| o.add(buildBucketCors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed725(core.List<api.BucketCors> o) {
|
| +checkUnnamed732(core.List<api.BucketCors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketCors(o[0]);
|
| checkBucketCors(o[1]);
|
| }
|
|
|
| -buildUnnamed726() {
|
| +buildUnnamed733() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed726(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed733(core.List<api.ObjectAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObjectAccessControl(o[0]);
|
| checkObjectAccessControl(o[1]);
|
| @@ -175,14 +175,14 @@ checkBucketLifecycleRuleAction(api.BucketLifecycleRuleAction o) {
|
| buildCounterBucketLifecycleRuleAction--;
|
| }
|
|
|
| -buildUnnamed727() {
|
| +buildUnnamed734() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed727(core.List<core.String> o) {
|
| +checkUnnamed734(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'));
|
| @@ -196,7 +196,7 @@ buildBucketLifecycleRuleCondition() {
|
| o.age = 42;
|
| o.createdBefore = core.DateTime.parse("2002-02-27T14:01:02Z");
|
| o.isLive = true;
|
| - o.matchesStorageClass = buildUnnamed727();
|
| + o.matchesStorageClass = buildUnnamed734();
|
| o.numNewerVersions = 42;
|
| }
|
| buildCounterBucketLifecycleRuleCondition--;
|
| @@ -209,7 +209,7 @@ checkBucketLifecycleRuleCondition(api.BucketLifecycleRuleCondition o) {
|
| unittest.expect(o.age, unittest.equals(42));
|
| unittest.expect(o.createdBefore, unittest.equals(core.DateTime.parse("2002-02-27T00:00:00")));
|
| unittest.expect(o.isLive, unittest.isTrue);
|
| - checkUnnamed727(o.matchesStorageClass);
|
| + checkUnnamed734(o.matchesStorageClass);
|
| unittest.expect(o.numNewerVersions, unittest.equals(42));
|
| }
|
| buildCounterBucketLifecycleRuleCondition--;
|
| @@ -236,14 +236,14 @@ checkBucketLifecycleRule(api.BucketLifecycleRule o) {
|
| buildCounterBucketLifecycleRule--;
|
| }
|
|
|
| -buildUnnamed728() {
|
| +buildUnnamed735() {
|
| var o = new core.List<api.BucketLifecycleRule>();
|
| o.add(buildBucketLifecycleRule());
|
| o.add(buildBucketLifecycleRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed728(core.List<api.BucketLifecycleRule> o) {
|
| +checkUnnamed735(core.List<api.BucketLifecycleRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketLifecycleRule(o[0]);
|
| checkBucketLifecycleRule(o[1]);
|
| @@ -254,7 +254,7 @@ buildBucketLifecycle() {
|
| var o = new api.BucketLifecycle();
|
| buildCounterBucketLifecycle++;
|
| if (buildCounterBucketLifecycle < 3) {
|
| - o.rule = buildUnnamed728();
|
| + o.rule = buildUnnamed735();
|
| }
|
| buildCounterBucketLifecycle--;
|
| return o;
|
| @@ -263,7 +263,7 @@ buildBucketLifecycle() {
|
| checkBucketLifecycle(api.BucketLifecycle o) {
|
| buildCounterBucketLifecycle++;
|
| if (buildCounterBucketLifecycle < 3) {
|
| - checkUnnamed728(o.rule);
|
| + checkUnnamed735(o.rule);
|
| }
|
| buildCounterBucketLifecycle--;
|
| }
|
| @@ -355,9 +355,9 @@ buildBucket() {
|
| var o = new api.Bucket();
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - o.acl = buildUnnamed721();
|
| - o.cors = buildUnnamed725();
|
| - o.defaultObjectAcl = buildUnnamed726();
|
| + o.acl = buildUnnamed728();
|
| + o.cors = buildUnnamed732();
|
| + o.defaultObjectAcl = buildUnnamed733();
|
| o.etag = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| @@ -382,9 +382,9 @@ buildBucket() {
|
| checkBucket(api.Bucket o) {
|
| buildCounterBucket++;
|
| if (buildCounterBucket < 3) {
|
| - checkUnnamed721(o.acl);
|
| - checkUnnamed725(o.cors);
|
| - checkUnnamed726(o.defaultObjectAcl);
|
| + checkUnnamed728(o.acl);
|
| + checkUnnamed732(o.cors);
|
| + checkUnnamed733(o.defaultObjectAcl);
|
| unittest.expect(o.etag, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| @@ -465,14 +465,14 @@ checkBucketAccessControl(api.BucketAccessControl o) {
|
| buildCounterBucketAccessControl--;
|
| }
|
|
|
| -buildUnnamed729() {
|
| +buildUnnamed736() {
|
| var o = new core.List<api.BucketAccessControl>();
|
| o.add(buildBucketAccessControl());
|
| o.add(buildBucketAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed729(core.List<api.BucketAccessControl> o) {
|
| +checkUnnamed736(core.List<api.BucketAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucketAccessControl(o[0]);
|
| checkBucketAccessControl(o[1]);
|
| @@ -483,7 +483,7 @@ buildBucketAccessControls() {
|
| var o = new api.BucketAccessControls();
|
| buildCounterBucketAccessControls++;
|
| if (buildCounterBucketAccessControls < 3) {
|
| - o.items = buildUnnamed729();
|
| + o.items = buildUnnamed736();
|
| o.kind = "foo";
|
| }
|
| buildCounterBucketAccessControls--;
|
| @@ -493,20 +493,20 @@ buildBucketAccessControls() {
|
| checkBucketAccessControls(api.BucketAccessControls o) {
|
| buildCounterBucketAccessControls++;
|
| if (buildCounterBucketAccessControls < 3) {
|
| - checkUnnamed729(o.items);
|
| + checkUnnamed736(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBucketAccessControls--;
|
| }
|
|
|
| -buildUnnamed730() {
|
| +buildUnnamed737() {
|
| var o = new core.List<api.Bucket>();
|
| o.add(buildBucket());
|
| o.add(buildBucket());
|
| return o;
|
| }
|
|
|
| -checkUnnamed730(core.List<api.Bucket> o) {
|
| +checkUnnamed737(core.List<api.Bucket> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBucket(o[0]);
|
| checkBucket(o[1]);
|
| @@ -517,7 +517,7 @@ buildBuckets() {
|
| var o = new api.Buckets();
|
| buildCounterBuckets++;
|
| if (buildCounterBuckets < 3) {
|
| - o.items = buildUnnamed730();
|
| + o.items = buildUnnamed737();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| }
|
| @@ -528,21 +528,21 @@ buildBuckets() {
|
| checkBuckets(api.Buckets o) {
|
| buildCounterBuckets++;
|
| if (buildCounterBuckets < 3) {
|
| - checkUnnamed730(o.items);
|
| + checkUnnamed737(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| }
|
| buildCounterBuckets--;
|
| }
|
|
|
| -buildUnnamed731() {
|
| +buildUnnamed738() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed731(core.Map<core.String, core.String> o) {
|
| +checkUnnamed738(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -557,7 +557,7 @@ buildChannel() {
|
| o.expiration = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.params = buildUnnamed731();
|
| + o.params = buildUnnamed738();
|
| o.payload = true;
|
| o.resourceId = "foo";
|
| o.resourceUri = "foo";
|
| @@ -575,7 +575,7 @@ checkChannel(api.Channel o) {
|
| unittest.expect(o.expiration, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed731(o.params);
|
| + checkUnnamed738(o.params);
|
| unittest.expect(o.payload, unittest.isTrue);
|
| unittest.expect(o.resourceId, unittest.equals('foo'));
|
| unittest.expect(o.resourceUri, unittest.equals('foo'));
|
| @@ -627,14 +627,14 @@ checkComposeRequestSourceObjects(api.ComposeRequestSourceObjects o) {
|
| buildCounterComposeRequestSourceObjects--;
|
| }
|
|
|
| -buildUnnamed732() {
|
| +buildUnnamed739() {
|
| var o = new core.List<api.ComposeRequestSourceObjects>();
|
| o.add(buildComposeRequestSourceObjects());
|
| o.add(buildComposeRequestSourceObjects());
|
| return o;
|
| }
|
|
|
| -checkUnnamed732(core.List<api.ComposeRequestSourceObjects> o) {
|
| +checkUnnamed739(core.List<api.ComposeRequestSourceObjects> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkComposeRequestSourceObjects(o[0]);
|
| checkComposeRequestSourceObjects(o[1]);
|
| @@ -647,7 +647,7 @@ buildComposeRequest() {
|
| if (buildCounterComposeRequest < 3) {
|
| o.destination = buildObject();
|
| o.kind = "foo";
|
| - o.sourceObjects = buildUnnamed732();
|
| + o.sourceObjects = buildUnnamed739();
|
| }
|
| buildCounterComposeRequest--;
|
| return o;
|
| @@ -658,19 +658,19 @@ checkComposeRequest(api.ComposeRequest o) {
|
| if (buildCounterComposeRequest < 3) {
|
| checkObject(o.destination);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed732(o.sourceObjects);
|
| + checkUnnamed739(o.sourceObjects);
|
| }
|
| buildCounterComposeRequest--;
|
| }
|
|
|
| -buildUnnamed733() {
|
| +buildUnnamed740() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed733(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed740(core.List<api.ObjectAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObjectAccessControl(o[0]);
|
| checkObjectAccessControl(o[1]);
|
| @@ -697,14 +697,14 @@ checkObjectCustomerEncryption(api.ObjectCustomerEncryption o) {
|
| buildCounterObjectCustomerEncryption--;
|
| }
|
|
|
| -buildUnnamed734() {
|
| +buildUnnamed741() {
|
| var o = new core.Map<core.String, core.String>();
|
| o["x"] = "foo";
|
| o["y"] = "foo";
|
| return o;
|
| }
|
|
|
| -checkUnnamed734(core.Map<core.String, core.String> o) {
|
| +checkUnnamed741(core.Map<core.String, core.String> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| unittest.expect(o["x"], unittest.equals('foo'));
|
| unittest.expect(o["y"], unittest.equals('foo'));
|
| @@ -736,7 +736,7 @@ buildObject() {
|
| var o = new api.Object();
|
| buildCounterObject++;
|
| if (buildCounterObject < 3) {
|
| - o.acl = buildUnnamed733();
|
| + o.acl = buildUnnamed740();
|
| o.bucket = "foo";
|
| o.cacheControl = "foo";
|
| o.componentCount = 42;
|
| @@ -752,7 +752,7 @@ buildObject() {
|
| o.kind = "foo";
|
| o.md5Hash = "foo";
|
| o.mediaLink = "foo";
|
| - o.metadata = buildUnnamed734();
|
| + o.metadata = buildUnnamed741();
|
| o.metageneration = "foo";
|
| o.name = "foo";
|
| o.owner = buildObjectOwner();
|
| @@ -771,7 +771,7 @@ buildObject() {
|
| checkObject(api.Object o) {
|
| buildCounterObject++;
|
| if (buildCounterObject < 3) {
|
| - checkUnnamed733(o.acl);
|
| + checkUnnamed740(o.acl);
|
| unittest.expect(o.bucket, unittest.equals('foo'));
|
| unittest.expect(o.cacheControl, unittest.equals('foo'));
|
| unittest.expect(o.componentCount, unittest.equals(42));
|
| @@ -787,7 +787,7 @@ checkObject(api.Object o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.md5Hash, unittest.equals('foo'));
|
| unittest.expect(o.mediaLink, unittest.equals('foo'));
|
| - checkUnnamed734(o.metadata);
|
| + checkUnnamed741(o.metadata);
|
| unittest.expect(o.metageneration, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkObjectOwner(o.owner);
|
| @@ -866,14 +866,14 @@ checkObjectAccessControl(api.ObjectAccessControl o) {
|
| buildCounterObjectAccessControl--;
|
| }
|
|
|
| -buildUnnamed735() {
|
| +buildUnnamed742() {
|
| var o = new core.List<api.ObjectAccessControl>();
|
| o.add(buildObjectAccessControl());
|
| o.add(buildObjectAccessControl());
|
| return o;
|
| }
|
|
|
| -checkUnnamed735(core.List<api.ObjectAccessControl> o) {
|
| +checkUnnamed742(core.List<api.ObjectAccessControl> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObjectAccessControl(o[0]);
|
| checkObjectAccessControl(o[1]);
|
| @@ -884,7 +884,7 @@ buildObjectAccessControls() {
|
| var o = new api.ObjectAccessControls();
|
| buildCounterObjectAccessControls++;
|
| if (buildCounterObjectAccessControls < 3) {
|
| - o.items = buildUnnamed735();
|
| + o.items = buildUnnamed742();
|
| o.kind = "foo";
|
| }
|
| buildCounterObjectAccessControls--;
|
| @@ -894,33 +894,33 @@ buildObjectAccessControls() {
|
| checkObjectAccessControls(api.ObjectAccessControls o) {
|
| buildCounterObjectAccessControls++;
|
| if (buildCounterObjectAccessControls < 3) {
|
| - checkUnnamed735(o.items);
|
| + checkUnnamed742(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterObjectAccessControls--;
|
| }
|
|
|
| -buildUnnamed736() {
|
| +buildUnnamed743() {
|
| var o = new core.List<api.Object>();
|
| o.add(buildObject());
|
| o.add(buildObject());
|
| return o;
|
| }
|
|
|
| -checkUnnamed736(core.List<api.Object> o) {
|
| +checkUnnamed743(core.List<api.Object> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkObject(o[0]);
|
| checkObject(o[1]);
|
| }
|
|
|
| -buildUnnamed737() {
|
| +buildUnnamed744() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed737(core.List<core.String> o) {
|
| +checkUnnamed744(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'));
|
| @@ -931,10 +931,10 @@ buildObjects() {
|
| var o = new api.Objects();
|
| buildCounterObjects++;
|
| if (buildCounterObjects < 3) {
|
| - o.items = buildUnnamed736();
|
| + o.items = buildUnnamed743();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| - o.prefixes = buildUnnamed737();
|
| + o.prefixes = buildUnnamed744();
|
| }
|
| buildCounterObjects--;
|
| return o;
|
| @@ -943,10 +943,10 @@ buildObjects() {
|
| checkObjects(api.Objects o) {
|
| buildCounterObjects++;
|
| if (buildCounterObjects < 3) {
|
| - checkUnnamed736(o.items);
|
| + checkUnnamed743(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed737(o.prefixes);
|
| + checkUnnamed744(o.prefixes);
|
| }
|
| buildCounterObjects--;
|
| }
|
|
|