| Index: generated/googleapis/test/compute/v1_test.dart
|
| diff --git a/generated/googleapis/test/compute/v1_test.dart b/generated/googleapis/test/compute/v1_test.dart
|
| index d39f26d2e4bc3e68cb213fa4269b86974c443f87..33123931758365b85b07ee63e13e0b3645740269 100644
|
| --- a/generated/googleapis/test/compute/v1_test.dart
|
| +++ b/generated/googleapis/test/compute/v1_test.dart
|
| @@ -76,14 +76,14 @@ checkAccessConfig(api.AccessConfig o) {
|
| buildCounterAccessConfig--;
|
| }
|
|
|
| -buildUnnamed671() {
|
| +buildUnnamed2250() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed671(core.List<core.String> o) {
|
| +checkUnnamed2250(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'));
|
| @@ -103,7 +103,7 @@ buildAddress() {
|
| o.region = "foo";
|
| o.selfLink = "foo";
|
| o.status = "foo";
|
| - o.users = buildUnnamed671();
|
| + o.users = buildUnnamed2250();
|
| }
|
| buildCounterAddress--;
|
| return o;
|
| @@ -121,19 +121,19 @@ checkAddress(api.Address o) {
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| - checkUnnamed671(o.users);
|
| + checkUnnamed2250(o.users);
|
| }
|
| buildCounterAddress--;
|
| }
|
|
|
| -buildUnnamed672() {
|
| +buildUnnamed2251() {
|
| var o = new core.Map<core.String, api.AddressesScopedList>();
|
| o["x"] = buildAddressesScopedList();
|
| o["y"] = buildAddressesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed672(core.Map<core.String, api.AddressesScopedList> o) {
|
| +checkUnnamed2251(core.Map<core.String, api.AddressesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAddressesScopedList(o["x"]);
|
| checkAddressesScopedList(o["y"]);
|
| @@ -145,7 +145,7 @@ buildAddressAggregatedList() {
|
| buildCounterAddressAggregatedList++;
|
| if (buildCounterAddressAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed672();
|
| + o.items = buildUnnamed2251();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -158,7 +158,7 @@ checkAddressAggregatedList(api.AddressAggregatedList o) {
|
| buildCounterAddressAggregatedList++;
|
| if (buildCounterAddressAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed672(o.items);
|
| + checkUnnamed2251(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -166,14 +166,14 @@ checkAddressAggregatedList(api.AddressAggregatedList o) {
|
| buildCounterAddressAggregatedList--;
|
| }
|
|
|
| -buildUnnamed673() {
|
| +buildUnnamed2252() {
|
| var o = new core.List<api.Address>();
|
| o.add(buildAddress());
|
| o.add(buildAddress());
|
| return o;
|
| }
|
|
|
| -checkUnnamed673(core.List<api.Address> o) {
|
| +checkUnnamed2252(core.List<api.Address> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAddress(o[0]);
|
| checkAddress(o[1]);
|
| @@ -185,7 +185,7 @@ buildAddressList() {
|
| buildCounterAddressList++;
|
| if (buildCounterAddressList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed673();
|
| + o.items = buildUnnamed2252();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -198,7 +198,7 @@ checkAddressList(api.AddressList o) {
|
| buildCounterAddressList++;
|
| if (buildCounterAddressList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed673(o.items);
|
| + checkUnnamed2252(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -206,14 +206,14 @@ checkAddressList(api.AddressList o) {
|
| buildCounterAddressList--;
|
| }
|
|
|
| -buildUnnamed674() {
|
| +buildUnnamed2253() {
|
| var o = new core.List<api.Address>();
|
| o.add(buildAddress());
|
| o.add(buildAddress());
|
| return o;
|
| }
|
|
|
| -checkUnnamed674(core.List<api.Address> o) {
|
| +checkUnnamed2253(core.List<api.Address> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAddress(o[0]);
|
| checkAddress(o[1]);
|
| @@ -240,14 +240,14 @@ checkAddressesScopedListWarningData(api.AddressesScopedListWarningData o) {
|
| buildCounterAddressesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed675() {
|
| +buildUnnamed2254() {
|
| var o = new core.List<api.AddressesScopedListWarningData>();
|
| o.add(buildAddressesScopedListWarningData());
|
| o.add(buildAddressesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed675(core.List<api.AddressesScopedListWarningData> o) {
|
| +checkUnnamed2254(core.List<api.AddressesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAddressesScopedListWarningData(o[0]);
|
| checkAddressesScopedListWarningData(o[1]);
|
| @@ -259,7 +259,7 @@ buildAddressesScopedListWarning() {
|
| buildCounterAddressesScopedListWarning++;
|
| if (buildCounterAddressesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed675();
|
| + o.data = buildUnnamed2254();
|
| o.message = "foo";
|
| }
|
| buildCounterAddressesScopedListWarning--;
|
| @@ -270,7 +270,7 @@ checkAddressesScopedListWarning(api.AddressesScopedListWarning o) {
|
| buildCounterAddressesScopedListWarning++;
|
| if (buildCounterAddressesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed675(o.data);
|
| + checkUnnamed2254(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterAddressesScopedListWarning--;
|
| @@ -281,7 +281,7 @@ buildAddressesScopedList() {
|
| var o = new api.AddressesScopedList();
|
| buildCounterAddressesScopedList++;
|
| if (buildCounterAddressesScopedList < 3) {
|
| - o.addresses = buildUnnamed674();
|
| + o.addresses = buildUnnamed2253();
|
| o.warning = buildAddressesScopedListWarning();
|
| }
|
| buildCounterAddressesScopedList--;
|
| @@ -291,20 +291,20 @@ buildAddressesScopedList() {
|
| checkAddressesScopedList(api.AddressesScopedList o) {
|
| buildCounterAddressesScopedList++;
|
| if (buildCounterAddressesScopedList < 3) {
|
| - checkUnnamed674(o.addresses);
|
| + checkUnnamed2253(o.addresses);
|
| checkAddressesScopedListWarning(o.warning);
|
| }
|
| buildCounterAddressesScopedList--;
|
| }
|
|
|
| -buildUnnamed676() {
|
| +buildUnnamed2255() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed676(core.List<core.String> o) {
|
| +checkUnnamed2255(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'));
|
| @@ -318,11 +318,12 @@ buildAttachedDisk() {
|
| o.autoDelete = true;
|
| o.boot = true;
|
| o.deviceName = "foo";
|
| + o.diskEncryptionKey = buildCustomerEncryptionKey();
|
| o.index = 42;
|
| o.initializeParams = buildAttachedDiskInitializeParams();
|
| o.interface = "foo";
|
| o.kind = "foo";
|
| - o.licenses = buildUnnamed676();
|
| + o.licenses = buildUnnamed2255();
|
| o.mode = "foo";
|
| o.source = "foo";
|
| o.type = "foo";
|
| @@ -337,11 +338,12 @@ checkAttachedDisk(api.AttachedDisk o) {
|
| unittest.expect(o.autoDelete, unittest.isTrue);
|
| unittest.expect(o.boot, unittest.isTrue);
|
| unittest.expect(o.deviceName, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.diskEncryptionKey);
|
| unittest.expect(o.index, unittest.equals(42));
|
| checkAttachedDiskInitializeParams(o.initializeParams);
|
| unittest.expect(o.interface, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed676(o.licenses);
|
| + checkUnnamed2255(o.licenses);
|
| unittest.expect(o.mode, unittest.equals('foo'));
|
| unittest.expect(o.source, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| @@ -358,6 +360,7 @@ buildAttachedDiskInitializeParams() {
|
| o.diskSizeGb = "foo";
|
| o.diskType = "foo";
|
| o.sourceImage = "foo";
|
| + o.sourceImageEncryptionKey = buildCustomerEncryptionKey();
|
| }
|
| buildCounterAttachedDiskInitializeParams--;
|
| return o;
|
| @@ -370,6 +373,7 @@ checkAttachedDiskInitializeParams(api.AttachedDiskInitializeParams o) {
|
| unittest.expect(o.diskSizeGb, unittest.equals('foo'));
|
| unittest.expect(o.diskType, unittest.equals('foo'));
|
| unittest.expect(o.sourceImage, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.sourceImageEncryptionKey);
|
| }
|
| buildCounterAttachedDiskInitializeParams--;
|
| }
|
| @@ -409,14 +413,14 @@ checkAutoscaler(api.Autoscaler o) {
|
| buildCounterAutoscaler--;
|
| }
|
|
|
| -buildUnnamed677() {
|
| +buildUnnamed2256() {
|
| var o = new core.Map<core.String, api.AutoscalersScopedList>();
|
| o["x"] = buildAutoscalersScopedList();
|
| o["y"] = buildAutoscalersScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed677(core.Map<core.String, api.AutoscalersScopedList> o) {
|
| +checkUnnamed2256(core.Map<core.String, api.AutoscalersScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAutoscalersScopedList(o["x"]);
|
| checkAutoscalersScopedList(o["y"]);
|
| @@ -428,7 +432,7 @@ buildAutoscalerAggregatedList() {
|
| buildCounterAutoscalerAggregatedList++;
|
| if (buildCounterAutoscalerAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed677();
|
| + o.items = buildUnnamed2256();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -441,7 +445,7 @@ checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) {
|
| buildCounterAutoscalerAggregatedList++;
|
| if (buildCounterAutoscalerAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed677(o.items);
|
| + checkUnnamed2256(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -449,14 +453,14 @@ checkAutoscalerAggregatedList(api.AutoscalerAggregatedList o) {
|
| buildCounterAutoscalerAggregatedList--;
|
| }
|
|
|
| -buildUnnamed678() {
|
| +buildUnnamed2257() {
|
| var o = new core.List<api.Autoscaler>();
|
| o.add(buildAutoscaler());
|
| o.add(buildAutoscaler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed678(core.List<api.Autoscaler> o) {
|
| +checkUnnamed2257(core.List<api.Autoscaler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAutoscaler(o[0]);
|
| checkAutoscaler(o[1]);
|
| @@ -468,7 +472,7 @@ buildAutoscalerList() {
|
| buildCounterAutoscalerList++;
|
| if (buildCounterAutoscalerList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed678();
|
| + o.items = buildUnnamed2257();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -481,7 +485,7 @@ checkAutoscalerList(api.AutoscalerList o) {
|
| buildCounterAutoscalerList++;
|
| if (buildCounterAutoscalerList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed678(o.items);
|
| + checkUnnamed2257(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -489,14 +493,14 @@ checkAutoscalerList(api.AutoscalerList o) {
|
| buildCounterAutoscalerList--;
|
| }
|
|
|
| -buildUnnamed679() {
|
| +buildUnnamed2258() {
|
| var o = new core.List<api.Autoscaler>();
|
| o.add(buildAutoscaler());
|
| o.add(buildAutoscaler());
|
| return o;
|
| }
|
|
|
| -checkUnnamed679(core.List<api.Autoscaler> o) {
|
| +checkUnnamed2258(core.List<api.Autoscaler> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAutoscaler(o[0]);
|
| checkAutoscaler(o[1]);
|
| @@ -523,14 +527,14 @@ checkAutoscalersScopedListWarningData(api.AutoscalersScopedListWarningData o) {
|
| buildCounterAutoscalersScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed680() {
|
| +buildUnnamed2259() {
|
| var o = new core.List<api.AutoscalersScopedListWarningData>();
|
| o.add(buildAutoscalersScopedListWarningData());
|
| o.add(buildAutoscalersScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed680(core.List<api.AutoscalersScopedListWarningData> o) {
|
| +checkUnnamed2259(core.List<api.AutoscalersScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAutoscalersScopedListWarningData(o[0]);
|
| checkAutoscalersScopedListWarningData(o[1]);
|
| @@ -542,7 +546,7 @@ buildAutoscalersScopedListWarning() {
|
| buildCounterAutoscalersScopedListWarning++;
|
| if (buildCounterAutoscalersScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed680();
|
| + o.data = buildUnnamed2259();
|
| o.message = "foo";
|
| }
|
| buildCounterAutoscalersScopedListWarning--;
|
| @@ -553,7 +557,7 @@ checkAutoscalersScopedListWarning(api.AutoscalersScopedListWarning o) {
|
| buildCounterAutoscalersScopedListWarning++;
|
| if (buildCounterAutoscalersScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed680(o.data);
|
| + checkUnnamed2259(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterAutoscalersScopedListWarning--;
|
| @@ -564,7 +568,7 @@ buildAutoscalersScopedList() {
|
| var o = new api.AutoscalersScopedList();
|
| buildCounterAutoscalersScopedList++;
|
| if (buildCounterAutoscalersScopedList < 3) {
|
| - o.autoscalers = buildUnnamed679();
|
| + o.autoscalers = buildUnnamed2258();
|
| o.warning = buildAutoscalersScopedListWarning();
|
| }
|
| buildCounterAutoscalersScopedList--;
|
| @@ -574,20 +578,20 @@ buildAutoscalersScopedList() {
|
| checkAutoscalersScopedList(api.AutoscalersScopedList o) {
|
| buildCounterAutoscalersScopedList++;
|
| if (buildCounterAutoscalersScopedList < 3) {
|
| - checkUnnamed679(o.autoscalers);
|
| + checkUnnamed2258(o.autoscalers);
|
| checkAutoscalersScopedListWarning(o.warning);
|
| }
|
| buildCounterAutoscalersScopedList--;
|
| }
|
|
|
| -buildUnnamed681() {
|
| +buildUnnamed2260() {
|
| var o = new core.List<api.AutoscalingPolicyCustomMetricUtilization>();
|
| o.add(buildAutoscalingPolicyCustomMetricUtilization());
|
| o.add(buildAutoscalingPolicyCustomMetricUtilization());
|
| return o;
|
| }
|
|
|
| -checkUnnamed681(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
|
| +checkUnnamed2260(core.List<api.AutoscalingPolicyCustomMetricUtilization> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAutoscalingPolicyCustomMetricUtilization(o[0]);
|
| checkAutoscalingPolicyCustomMetricUtilization(o[1]);
|
| @@ -600,7 +604,7 @@ buildAutoscalingPolicy() {
|
| if (buildCounterAutoscalingPolicy < 3) {
|
| o.coolDownPeriodSec = 42;
|
| o.cpuUtilization = buildAutoscalingPolicyCpuUtilization();
|
| - o.customMetricUtilizations = buildUnnamed681();
|
| + o.customMetricUtilizations = buildUnnamed2260();
|
| o.loadBalancingUtilization = buildAutoscalingPolicyLoadBalancingUtilization();
|
| o.maxNumReplicas = 42;
|
| o.minNumReplicas = 42;
|
| @@ -614,7 +618,7 @@ checkAutoscalingPolicy(api.AutoscalingPolicy o) {
|
| if (buildCounterAutoscalingPolicy < 3) {
|
| unittest.expect(o.coolDownPeriodSec, unittest.equals(42));
|
| checkAutoscalingPolicyCpuUtilization(o.cpuUtilization);
|
| - checkUnnamed681(o.customMetricUtilizations);
|
| + checkUnnamed2260(o.customMetricUtilizations);
|
| checkAutoscalingPolicyLoadBalancingUtilization(o.loadBalancingUtilization);
|
| unittest.expect(o.maxNumReplicas, unittest.equals(42));
|
| unittest.expect(o.minNumReplicas, unittest.equals(42));
|
| @@ -714,27 +718,27 @@ checkBackend(api.Backend o) {
|
| buildCounterBackend--;
|
| }
|
|
|
| -buildUnnamed682() {
|
| +buildUnnamed2261() {
|
| var o = new core.List<api.Backend>();
|
| o.add(buildBackend());
|
| o.add(buildBackend());
|
| return o;
|
| }
|
|
|
| -checkUnnamed682(core.List<api.Backend> o) {
|
| +checkUnnamed2261(core.List<api.Backend> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackend(o[0]);
|
| checkBackend(o[1]);
|
| }
|
|
|
| -buildUnnamed683() {
|
| +buildUnnamed2262() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed683(core.List<core.String> o) {
|
| +checkUnnamed2262(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'));
|
| @@ -745,11 +749,11 @@ buildBackendService() {
|
| var o = new api.BackendService();
|
| buildCounterBackendService++;
|
| if (buildCounterBackendService < 3) {
|
| - o.backends = buildUnnamed682();
|
| + o.backends = buildUnnamed2261();
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| o.fingerprint = "foo";
|
| - o.healthChecks = buildUnnamed683();
|
| + o.healthChecks = buildUnnamed2262();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -767,11 +771,11 @@ buildBackendService() {
|
| checkBackendService(api.BackendService o) {
|
| buildCounterBackendService++;
|
| if (buildCounterBackendService < 3) {
|
| - checkUnnamed682(o.backends);
|
| + checkUnnamed2261(o.backends);
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed683(o.healthChecks);
|
| + checkUnnamed2262(o.healthChecks);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -785,14 +789,14 @@ checkBackendService(api.BackendService o) {
|
| buildCounterBackendService--;
|
| }
|
|
|
| -buildUnnamed684() {
|
| +buildUnnamed2263() {
|
| var o = new core.List<api.HealthStatus>();
|
| o.add(buildHealthStatus());
|
| o.add(buildHealthStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed684(core.List<api.HealthStatus> o) {
|
| +checkUnnamed2263(core.List<api.HealthStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHealthStatus(o[0]);
|
| checkHealthStatus(o[1]);
|
| @@ -803,7 +807,7 @@ buildBackendServiceGroupHealth() {
|
| var o = new api.BackendServiceGroupHealth();
|
| buildCounterBackendServiceGroupHealth++;
|
| if (buildCounterBackendServiceGroupHealth < 3) {
|
| - o.healthStatus = buildUnnamed684();
|
| + o.healthStatus = buildUnnamed2263();
|
| o.kind = "foo";
|
| }
|
| buildCounterBackendServiceGroupHealth--;
|
| @@ -813,20 +817,20 @@ buildBackendServiceGroupHealth() {
|
| checkBackendServiceGroupHealth(api.BackendServiceGroupHealth o) {
|
| buildCounterBackendServiceGroupHealth++;
|
| if (buildCounterBackendServiceGroupHealth < 3) {
|
| - checkUnnamed684(o.healthStatus);
|
| + checkUnnamed2263(o.healthStatus);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterBackendServiceGroupHealth--;
|
| }
|
|
|
| -buildUnnamed685() {
|
| +buildUnnamed2264() {
|
| var o = new core.List<api.BackendService>();
|
| o.add(buildBackendService());
|
| o.add(buildBackendService());
|
| return o;
|
| }
|
|
|
| -checkUnnamed685(core.List<api.BackendService> o) {
|
| +checkUnnamed2264(core.List<api.BackendService> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkBackendService(o[0]);
|
| checkBackendService(o[1]);
|
| @@ -838,7 +842,7 @@ buildBackendServiceList() {
|
| buildCounterBackendServiceList++;
|
| if (buildCounterBackendServiceList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed685();
|
| + o.items = buildUnnamed2264();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -851,7 +855,7 @@ checkBackendServiceList(api.BackendServiceList o) {
|
| buildCounterBackendServiceList++;
|
| if (buildCounterBackendServiceList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed685(o.items);
|
| + checkUnnamed2264(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -859,6 +863,48 @@ checkBackendServiceList(api.BackendServiceList o) {
|
| buildCounterBackendServiceList--;
|
| }
|
|
|
| +core.int buildCounterCustomerEncryptionKey = 0;
|
| +buildCustomerEncryptionKey() {
|
| + var o = new api.CustomerEncryptionKey();
|
| + buildCounterCustomerEncryptionKey++;
|
| + if (buildCounterCustomerEncryptionKey < 3) {
|
| + o.rawKey = "foo";
|
| + o.sha256 = "foo";
|
| + }
|
| + buildCounterCustomerEncryptionKey--;
|
| + return o;
|
| +}
|
| +
|
| +checkCustomerEncryptionKey(api.CustomerEncryptionKey o) {
|
| + buildCounterCustomerEncryptionKey++;
|
| + if (buildCounterCustomerEncryptionKey < 3) {
|
| + unittest.expect(o.rawKey, unittest.equals('foo'));
|
| + unittest.expect(o.sha256, unittest.equals('foo'));
|
| + }
|
| + buildCounterCustomerEncryptionKey--;
|
| +}
|
| +
|
| +core.int buildCounterCustomerEncryptionKeyProtectedDisk = 0;
|
| +buildCustomerEncryptionKeyProtectedDisk() {
|
| + var o = new api.CustomerEncryptionKeyProtectedDisk();
|
| + buildCounterCustomerEncryptionKeyProtectedDisk++;
|
| + if (buildCounterCustomerEncryptionKeyProtectedDisk < 3) {
|
| + o.diskEncryptionKey = buildCustomerEncryptionKey();
|
| + o.source = "foo";
|
| + }
|
| + buildCounterCustomerEncryptionKeyProtectedDisk--;
|
| + return o;
|
| +}
|
| +
|
| +checkCustomerEncryptionKeyProtectedDisk(api.CustomerEncryptionKeyProtectedDisk o) {
|
| + buildCounterCustomerEncryptionKeyProtectedDisk++;
|
| + if (buildCounterCustomerEncryptionKeyProtectedDisk < 3) {
|
| + checkCustomerEncryptionKey(o.diskEncryptionKey);
|
| + unittest.expect(o.source, unittest.equals('foo'));
|
| + }
|
| + buildCounterCustomerEncryptionKeyProtectedDisk--;
|
| +}
|
| +
|
| core.int buildCounterDeprecationStatus = 0;
|
| buildDeprecationStatus() {
|
| var o = new api.DeprecationStatus();
|
| @@ -886,27 +932,27 @@ checkDeprecationStatus(api.DeprecationStatus o) {
|
| buildCounterDeprecationStatus--;
|
| }
|
|
|
| -buildUnnamed686() {
|
| +buildUnnamed2265() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed686(core.List<core.String> o) {
|
| +checkUnnamed2265(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'));
|
| }
|
|
|
| -buildUnnamed687() {
|
| +buildUnnamed2266() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed687(core.List<core.String> o) {
|
| +checkUnnamed2266(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'));
|
| @@ -919,22 +965,25 @@ buildDisk() {
|
| if (buildCounterDisk < 3) {
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| + o.diskEncryptionKey = buildCustomerEncryptionKey();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.lastAttachTimestamp = "foo";
|
| o.lastDetachTimestamp = "foo";
|
| - o.licenses = buildUnnamed686();
|
| + o.licenses = buildUnnamed2265();
|
| o.name = "foo";
|
| o.options = "foo";
|
| o.selfLink = "foo";
|
| o.sizeGb = "foo";
|
| o.sourceImage = "foo";
|
| + o.sourceImageEncryptionKey = buildCustomerEncryptionKey();
|
| o.sourceImageId = "foo";
|
| o.sourceSnapshot = "foo";
|
| + o.sourceSnapshotEncryptionKey = buildCustomerEncryptionKey();
|
| o.sourceSnapshotId = "foo";
|
| o.status = "foo";
|
| o.type = "foo";
|
| - o.users = buildUnnamed687();
|
| + o.users = buildUnnamed2266();
|
| o.zone = "foo";
|
| }
|
| buildCounterDisk--;
|
| @@ -946,35 +995,38 @@ checkDisk(api.Disk o) {
|
| if (buildCounterDisk < 3) {
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.diskEncryptionKey);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.lastAttachTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.lastDetachTimestamp, unittest.equals('foo'));
|
| - checkUnnamed686(o.licenses);
|
| + checkUnnamed2265(o.licenses);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.options, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.sizeGb, unittest.equals('foo'));
|
| unittest.expect(o.sourceImage, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.sourceImageEncryptionKey);
|
| unittest.expect(o.sourceImageId, unittest.equals('foo'));
|
| unittest.expect(o.sourceSnapshot, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.sourceSnapshotEncryptionKey);
|
| unittest.expect(o.sourceSnapshotId, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.type, unittest.equals('foo'));
|
| - checkUnnamed687(o.users);
|
| + checkUnnamed2266(o.users);
|
| unittest.expect(o.zone, unittest.equals('foo'));
|
| }
|
| buildCounterDisk--;
|
| }
|
|
|
| -buildUnnamed688() {
|
| +buildUnnamed2267() {
|
| var o = new core.Map<core.String, api.DisksScopedList>();
|
| o["x"] = buildDisksScopedList();
|
| o["y"] = buildDisksScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed688(core.Map<core.String, api.DisksScopedList> o) {
|
| +checkUnnamed2267(core.Map<core.String, api.DisksScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDisksScopedList(o["x"]);
|
| checkDisksScopedList(o["y"]);
|
| @@ -986,7 +1038,7 @@ buildDiskAggregatedList() {
|
| buildCounterDiskAggregatedList++;
|
| if (buildCounterDiskAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed688();
|
| + o.items = buildUnnamed2267();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -999,7 +1051,7 @@ checkDiskAggregatedList(api.DiskAggregatedList o) {
|
| buildCounterDiskAggregatedList++;
|
| if (buildCounterDiskAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed688(o.items);
|
| + checkUnnamed2267(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1007,14 +1059,14 @@ checkDiskAggregatedList(api.DiskAggregatedList o) {
|
| buildCounterDiskAggregatedList--;
|
| }
|
|
|
| -buildUnnamed689() {
|
| +buildUnnamed2268() {
|
| var o = new core.List<api.Disk>();
|
| o.add(buildDisk());
|
| o.add(buildDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed689(core.List<api.Disk> o) {
|
| +checkUnnamed2268(core.List<api.Disk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDisk(o[0]);
|
| checkDisk(o[1]);
|
| @@ -1026,7 +1078,7 @@ buildDiskList() {
|
| buildCounterDiskList++;
|
| if (buildCounterDiskList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed689();
|
| + o.items = buildUnnamed2268();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1039,7 +1091,7 @@ checkDiskList(api.DiskList o) {
|
| buildCounterDiskList++;
|
| if (buildCounterDiskList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed689(o.items);
|
| + checkUnnamed2268(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1105,14 +1157,14 @@ checkDiskType(api.DiskType o) {
|
| buildCounterDiskType--;
|
| }
|
|
|
| -buildUnnamed690() {
|
| +buildUnnamed2269() {
|
| var o = new core.Map<core.String, api.DiskTypesScopedList>();
|
| o["x"] = buildDiskTypesScopedList();
|
| o["y"] = buildDiskTypesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed690(core.Map<core.String, api.DiskTypesScopedList> o) {
|
| +checkUnnamed2269(core.Map<core.String, api.DiskTypesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiskTypesScopedList(o["x"]);
|
| checkDiskTypesScopedList(o["y"]);
|
| @@ -1124,7 +1176,7 @@ buildDiskTypeAggregatedList() {
|
| buildCounterDiskTypeAggregatedList++;
|
| if (buildCounterDiskTypeAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed690();
|
| + o.items = buildUnnamed2269();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1137,7 +1189,7 @@ checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) {
|
| buildCounterDiskTypeAggregatedList++;
|
| if (buildCounterDiskTypeAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed690(o.items);
|
| + checkUnnamed2269(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1145,14 +1197,14 @@ checkDiskTypeAggregatedList(api.DiskTypeAggregatedList o) {
|
| buildCounterDiskTypeAggregatedList--;
|
| }
|
|
|
| -buildUnnamed691() {
|
| +buildUnnamed2270() {
|
| var o = new core.List<api.DiskType>();
|
| o.add(buildDiskType());
|
| o.add(buildDiskType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed691(core.List<api.DiskType> o) {
|
| +checkUnnamed2270(core.List<api.DiskType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiskType(o[0]);
|
| checkDiskType(o[1]);
|
| @@ -1164,7 +1216,7 @@ buildDiskTypeList() {
|
| buildCounterDiskTypeList++;
|
| if (buildCounterDiskTypeList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed691();
|
| + o.items = buildUnnamed2270();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1177,7 +1229,7 @@ checkDiskTypeList(api.DiskTypeList o) {
|
| buildCounterDiskTypeList++;
|
| if (buildCounterDiskTypeList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed691(o.items);
|
| + checkUnnamed2270(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1185,14 +1237,14 @@ checkDiskTypeList(api.DiskTypeList o) {
|
| buildCounterDiskTypeList--;
|
| }
|
|
|
| -buildUnnamed692() {
|
| +buildUnnamed2271() {
|
| var o = new core.List<api.DiskType>();
|
| o.add(buildDiskType());
|
| o.add(buildDiskType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed692(core.List<api.DiskType> o) {
|
| +checkUnnamed2271(core.List<api.DiskType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiskType(o[0]);
|
| checkDiskType(o[1]);
|
| @@ -1219,14 +1271,14 @@ checkDiskTypesScopedListWarningData(api.DiskTypesScopedListWarningData o) {
|
| buildCounterDiskTypesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed693() {
|
| +buildUnnamed2272() {
|
| var o = new core.List<api.DiskTypesScopedListWarningData>();
|
| o.add(buildDiskTypesScopedListWarningData());
|
| o.add(buildDiskTypesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed693(core.List<api.DiskTypesScopedListWarningData> o) {
|
| +checkUnnamed2272(core.List<api.DiskTypesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDiskTypesScopedListWarningData(o[0]);
|
| checkDiskTypesScopedListWarningData(o[1]);
|
| @@ -1238,7 +1290,7 @@ buildDiskTypesScopedListWarning() {
|
| buildCounterDiskTypesScopedListWarning++;
|
| if (buildCounterDiskTypesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed693();
|
| + o.data = buildUnnamed2272();
|
| o.message = "foo";
|
| }
|
| buildCounterDiskTypesScopedListWarning--;
|
| @@ -1249,7 +1301,7 @@ checkDiskTypesScopedListWarning(api.DiskTypesScopedListWarning o) {
|
| buildCounterDiskTypesScopedListWarning++;
|
| if (buildCounterDiskTypesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed693(o.data);
|
| + checkUnnamed2272(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterDiskTypesScopedListWarning--;
|
| @@ -1260,7 +1312,7 @@ buildDiskTypesScopedList() {
|
| var o = new api.DiskTypesScopedList();
|
| buildCounterDiskTypesScopedList++;
|
| if (buildCounterDiskTypesScopedList < 3) {
|
| - o.diskTypes = buildUnnamed692();
|
| + o.diskTypes = buildUnnamed2271();
|
| o.warning = buildDiskTypesScopedListWarning();
|
| }
|
| buildCounterDiskTypesScopedList--;
|
| @@ -1270,7 +1322,7 @@ buildDiskTypesScopedList() {
|
| checkDiskTypesScopedList(api.DiskTypesScopedList o) {
|
| buildCounterDiskTypesScopedList++;
|
| if (buildCounterDiskTypesScopedList < 3) {
|
| - checkUnnamed692(o.diskTypes);
|
| + checkUnnamed2271(o.diskTypes);
|
| checkDiskTypesScopedListWarning(o.warning);
|
| }
|
| buildCounterDiskTypesScopedList--;
|
| @@ -1295,14 +1347,14 @@ checkDisksResizeRequest(api.DisksResizeRequest o) {
|
| buildCounterDisksResizeRequest--;
|
| }
|
|
|
| -buildUnnamed694() {
|
| +buildUnnamed2273() {
|
| var o = new core.List<api.Disk>();
|
| o.add(buildDisk());
|
| o.add(buildDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed694(core.List<api.Disk> o) {
|
| +checkUnnamed2273(core.List<api.Disk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDisk(o[0]);
|
| checkDisk(o[1]);
|
| @@ -1329,14 +1381,14 @@ checkDisksScopedListWarningData(api.DisksScopedListWarningData o) {
|
| buildCounterDisksScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed695() {
|
| +buildUnnamed2274() {
|
| var o = new core.List<api.DisksScopedListWarningData>();
|
| o.add(buildDisksScopedListWarningData());
|
| o.add(buildDisksScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed695(core.List<api.DisksScopedListWarningData> o) {
|
| +checkUnnamed2274(core.List<api.DisksScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDisksScopedListWarningData(o[0]);
|
| checkDisksScopedListWarningData(o[1]);
|
| @@ -1348,7 +1400,7 @@ buildDisksScopedListWarning() {
|
| buildCounterDisksScopedListWarning++;
|
| if (buildCounterDisksScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed695();
|
| + o.data = buildUnnamed2274();
|
| o.message = "foo";
|
| }
|
| buildCounterDisksScopedListWarning--;
|
| @@ -1359,7 +1411,7 @@ checkDisksScopedListWarning(api.DisksScopedListWarning o) {
|
| buildCounterDisksScopedListWarning++;
|
| if (buildCounterDisksScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed695(o.data);
|
| + checkUnnamed2274(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterDisksScopedListWarning--;
|
| @@ -1370,7 +1422,7 @@ buildDisksScopedList() {
|
| var o = new api.DisksScopedList();
|
| buildCounterDisksScopedList++;
|
| if (buildCounterDisksScopedList < 3) {
|
| - o.disks = buildUnnamed694();
|
| + o.disks = buildUnnamed2273();
|
| o.warning = buildDisksScopedListWarning();
|
| }
|
| buildCounterDisksScopedList--;
|
| @@ -1380,20 +1432,20 @@ buildDisksScopedList() {
|
| checkDisksScopedList(api.DisksScopedList o) {
|
| buildCounterDisksScopedList++;
|
| if (buildCounterDisksScopedList < 3) {
|
| - checkUnnamed694(o.disks);
|
| + checkUnnamed2273(o.disks);
|
| checkDisksScopedListWarning(o.warning);
|
| }
|
| buildCounterDisksScopedList--;
|
| }
|
|
|
| -buildUnnamed696() {
|
| +buildUnnamed2275() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed696(core.List<core.String> o) {
|
| +checkUnnamed2275(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'));
|
| @@ -1405,7 +1457,7 @@ buildFirewallAllowed() {
|
| buildCounterFirewallAllowed++;
|
| if (buildCounterFirewallAllowed < 3) {
|
| o.IPProtocol = "foo";
|
| - o.ports = buildUnnamed696();
|
| + o.ports = buildUnnamed2275();
|
| }
|
| buildCounterFirewallAllowed--;
|
| return o;
|
| @@ -1415,58 +1467,58 @@ checkFirewallAllowed(api.FirewallAllowed o) {
|
| buildCounterFirewallAllowed++;
|
| if (buildCounterFirewallAllowed < 3) {
|
| unittest.expect(o.IPProtocol, unittest.equals('foo'));
|
| - checkUnnamed696(o.ports);
|
| + checkUnnamed2275(o.ports);
|
| }
|
| buildCounterFirewallAllowed--;
|
| }
|
|
|
| -buildUnnamed697() {
|
| +buildUnnamed2276() {
|
| var o = new core.List<api.FirewallAllowed>();
|
| o.add(buildFirewallAllowed());
|
| o.add(buildFirewallAllowed());
|
| return o;
|
| }
|
|
|
| -checkUnnamed697(core.List<api.FirewallAllowed> o) {
|
| +checkUnnamed2276(core.List<api.FirewallAllowed> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFirewallAllowed(o[0]);
|
| checkFirewallAllowed(o[1]);
|
| }
|
|
|
| -buildUnnamed698() {
|
| +buildUnnamed2277() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed698(core.List<core.String> o) {
|
| +checkUnnamed2277(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'));
|
| }
|
|
|
| -buildUnnamed699() {
|
| +buildUnnamed2278() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed699(core.List<core.String> o) {
|
| +checkUnnamed2278(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'));
|
| }
|
|
|
| -buildUnnamed700() {
|
| +buildUnnamed2279() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed700(core.List<core.String> o) {
|
| +checkUnnamed2279(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'));
|
| @@ -1477,7 +1529,7 @@ buildFirewall() {
|
| var o = new api.Firewall();
|
| buildCounterFirewall++;
|
| if (buildCounterFirewall < 3) {
|
| - o.allowed = buildUnnamed697();
|
| + o.allowed = buildUnnamed2276();
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| o.id = "foo";
|
| @@ -1485,9 +1537,9 @@ buildFirewall() {
|
| o.name = "foo";
|
| o.network = "foo";
|
| o.selfLink = "foo";
|
| - o.sourceRanges = buildUnnamed698();
|
| - o.sourceTags = buildUnnamed699();
|
| - o.targetTags = buildUnnamed700();
|
| + o.sourceRanges = buildUnnamed2277();
|
| + o.sourceTags = buildUnnamed2278();
|
| + o.targetTags = buildUnnamed2279();
|
| }
|
| buildCounterFirewall--;
|
| return o;
|
| @@ -1496,7 +1548,7 @@ buildFirewall() {
|
| checkFirewall(api.Firewall o) {
|
| buildCounterFirewall++;
|
| if (buildCounterFirewall < 3) {
|
| - checkUnnamed697(o.allowed);
|
| + checkUnnamed2276(o.allowed);
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| @@ -1504,21 +1556,21 @@ checkFirewall(api.Firewall o) {
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed698(o.sourceRanges);
|
| - checkUnnamed699(o.sourceTags);
|
| - checkUnnamed700(o.targetTags);
|
| + checkUnnamed2277(o.sourceRanges);
|
| + checkUnnamed2278(o.sourceTags);
|
| + checkUnnamed2279(o.targetTags);
|
| }
|
| buildCounterFirewall--;
|
| }
|
|
|
| -buildUnnamed701() {
|
| +buildUnnamed2280() {
|
| var o = new core.List<api.Firewall>();
|
| o.add(buildFirewall());
|
| o.add(buildFirewall());
|
| return o;
|
| }
|
|
|
| -checkUnnamed701(core.List<api.Firewall> o) {
|
| +checkUnnamed2280(core.List<api.Firewall> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkFirewall(o[0]);
|
| checkFirewall(o[1]);
|
| @@ -1530,7 +1582,7 @@ buildFirewallList() {
|
| buildCounterFirewallList++;
|
| if (buildCounterFirewallList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed701();
|
| + o.items = buildUnnamed2280();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1543,7 +1595,7 @@ checkFirewallList(api.FirewallList o) {
|
| buildCounterFirewallList++;
|
| if (buildCounterFirewallList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed701(o.items);
|
| + checkUnnamed2280(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1590,14 +1642,14 @@ checkForwardingRule(api.ForwardingRule o) {
|
| buildCounterForwardingRule--;
|
| }
|
|
|
| -buildUnnamed702() {
|
| +buildUnnamed2281() {
|
| var o = new core.Map<core.String, api.ForwardingRulesScopedList>();
|
| o["x"] = buildForwardingRulesScopedList();
|
| o["y"] = buildForwardingRulesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed702(core.Map<core.String, api.ForwardingRulesScopedList> o) {
|
| +checkUnnamed2281(core.Map<core.String, api.ForwardingRulesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkForwardingRulesScopedList(o["x"]);
|
| checkForwardingRulesScopedList(o["y"]);
|
| @@ -1609,7 +1661,7 @@ buildForwardingRuleAggregatedList() {
|
| buildCounterForwardingRuleAggregatedList++;
|
| if (buildCounterForwardingRuleAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed702();
|
| + o.items = buildUnnamed2281();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1622,7 +1674,7 @@ checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) {
|
| buildCounterForwardingRuleAggregatedList++;
|
| if (buildCounterForwardingRuleAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed702(o.items);
|
| + checkUnnamed2281(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1630,14 +1682,14 @@ checkForwardingRuleAggregatedList(api.ForwardingRuleAggregatedList o) {
|
| buildCounterForwardingRuleAggregatedList--;
|
| }
|
|
|
| -buildUnnamed703() {
|
| +buildUnnamed2282() {
|
| var o = new core.List<api.ForwardingRule>();
|
| o.add(buildForwardingRule());
|
| o.add(buildForwardingRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed703(core.List<api.ForwardingRule> o) {
|
| +checkUnnamed2282(core.List<api.ForwardingRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkForwardingRule(o[0]);
|
| checkForwardingRule(o[1]);
|
| @@ -1649,7 +1701,7 @@ buildForwardingRuleList() {
|
| buildCounterForwardingRuleList++;
|
| if (buildCounterForwardingRuleList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed703();
|
| + o.items = buildUnnamed2282();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1662,7 +1714,7 @@ checkForwardingRuleList(api.ForwardingRuleList o) {
|
| buildCounterForwardingRuleList++;
|
| if (buildCounterForwardingRuleList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed703(o.items);
|
| + checkUnnamed2282(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1670,14 +1722,14 @@ checkForwardingRuleList(api.ForwardingRuleList o) {
|
| buildCounterForwardingRuleList--;
|
| }
|
|
|
| -buildUnnamed704() {
|
| +buildUnnamed2283() {
|
| var o = new core.List<api.ForwardingRule>();
|
| o.add(buildForwardingRule());
|
| o.add(buildForwardingRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed704(core.List<api.ForwardingRule> o) {
|
| +checkUnnamed2283(core.List<api.ForwardingRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkForwardingRule(o[0]);
|
| checkForwardingRule(o[1]);
|
| @@ -1704,14 +1756,14 @@ checkForwardingRulesScopedListWarningData(api.ForwardingRulesScopedListWarningDa
|
| buildCounterForwardingRulesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed705() {
|
| +buildUnnamed2284() {
|
| var o = new core.List<api.ForwardingRulesScopedListWarningData>();
|
| o.add(buildForwardingRulesScopedListWarningData());
|
| o.add(buildForwardingRulesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed705(core.List<api.ForwardingRulesScopedListWarningData> o) {
|
| +checkUnnamed2284(core.List<api.ForwardingRulesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkForwardingRulesScopedListWarningData(o[0]);
|
| checkForwardingRulesScopedListWarningData(o[1]);
|
| @@ -1723,7 +1775,7 @@ buildForwardingRulesScopedListWarning() {
|
| buildCounterForwardingRulesScopedListWarning++;
|
| if (buildCounterForwardingRulesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed705();
|
| + o.data = buildUnnamed2284();
|
| o.message = "foo";
|
| }
|
| buildCounterForwardingRulesScopedListWarning--;
|
| @@ -1734,7 +1786,7 @@ checkForwardingRulesScopedListWarning(api.ForwardingRulesScopedListWarning o) {
|
| buildCounterForwardingRulesScopedListWarning++;
|
| if (buildCounterForwardingRulesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed705(o.data);
|
| + checkUnnamed2284(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterForwardingRulesScopedListWarning--;
|
| @@ -1745,7 +1797,7 @@ buildForwardingRulesScopedList() {
|
| var o = new api.ForwardingRulesScopedList();
|
| buildCounterForwardingRulesScopedList++;
|
| if (buildCounterForwardingRulesScopedList < 3) {
|
| - o.forwardingRules = buildUnnamed704();
|
| + o.forwardingRules = buildUnnamed2283();
|
| o.warning = buildForwardingRulesScopedListWarning();
|
| }
|
| buildCounterForwardingRulesScopedList--;
|
| @@ -1755,7 +1807,7 @@ buildForwardingRulesScopedList() {
|
| checkForwardingRulesScopedList(api.ForwardingRulesScopedList o) {
|
| buildCounterForwardingRulesScopedList++;
|
| if (buildCounterForwardingRulesScopedList < 3) {
|
| - checkUnnamed704(o.forwardingRules);
|
| + checkUnnamed2283(o.forwardingRules);
|
| checkForwardingRulesScopedListWarning(o.warning);
|
| }
|
| buildCounterForwardingRulesScopedList--;
|
| @@ -1805,14 +1857,14 @@ checkHealthStatus(api.HealthStatus o) {
|
| buildCounterHealthStatus--;
|
| }
|
|
|
| -buildUnnamed706() {
|
| +buildUnnamed2285() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed706(core.List<core.String> o) {
|
| +checkUnnamed2285(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'));
|
| @@ -1824,7 +1876,7 @@ buildHostRule() {
|
| buildCounterHostRule++;
|
| if (buildCounterHostRule < 3) {
|
| o.description = "foo";
|
| - o.hosts = buildUnnamed706();
|
| + o.hosts = buildUnnamed2285();
|
| o.pathMatcher = "foo";
|
| }
|
| buildCounterHostRule--;
|
| @@ -1835,7 +1887,7 @@ checkHostRule(api.HostRule o) {
|
| buildCounterHostRule++;
|
| if (buildCounterHostRule < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed706(o.hosts);
|
| + checkUnnamed2285(o.hosts);
|
| unittest.expect(o.pathMatcher, unittest.equals('foo'));
|
| }
|
| buildCounterHostRule--;
|
| @@ -1884,14 +1936,14 @@ checkHttpHealthCheck(api.HttpHealthCheck o) {
|
| buildCounterHttpHealthCheck--;
|
| }
|
|
|
| -buildUnnamed707() {
|
| +buildUnnamed2286() {
|
| var o = new core.List<api.HttpHealthCheck>();
|
| o.add(buildHttpHealthCheck());
|
| o.add(buildHttpHealthCheck());
|
| return o;
|
| }
|
|
|
| -checkUnnamed707(core.List<api.HttpHealthCheck> o) {
|
| +checkUnnamed2286(core.List<api.HttpHealthCheck> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpHealthCheck(o[0]);
|
| checkHttpHealthCheck(o[1]);
|
| @@ -1903,7 +1955,7 @@ buildHttpHealthCheckList() {
|
| buildCounterHttpHealthCheckList++;
|
| if (buildCounterHttpHealthCheckList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed707();
|
| + o.items = buildUnnamed2286();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1916,7 +1968,7 @@ checkHttpHealthCheckList(api.HttpHealthCheckList o) {
|
| buildCounterHttpHealthCheckList++;
|
| if (buildCounterHttpHealthCheckList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed707(o.items);
|
| + checkUnnamed2286(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -1967,14 +2019,14 @@ checkHttpsHealthCheck(api.HttpsHealthCheck o) {
|
| buildCounterHttpsHealthCheck--;
|
| }
|
|
|
| -buildUnnamed708() {
|
| +buildUnnamed2287() {
|
| var o = new core.List<api.HttpsHealthCheck>();
|
| o.add(buildHttpsHealthCheck());
|
| o.add(buildHttpsHealthCheck());
|
| return o;
|
| }
|
|
|
| -checkUnnamed708(core.List<api.HttpsHealthCheck> o) {
|
| +checkUnnamed2287(core.List<api.HttpsHealthCheck> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHttpsHealthCheck(o[0]);
|
| checkHttpsHealthCheck(o[1]);
|
| @@ -1986,7 +2038,7 @@ buildHttpsHealthCheckList() {
|
| buildCounterHttpsHealthCheckList++;
|
| if (buildCounterHttpsHealthCheckList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed708();
|
| + o.items = buildUnnamed2287();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -1999,7 +2051,7 @@ checkHttpsHealthCheckList(api.HttpsHealthCheckList o) {
|
| buildCounterHttpsHealthCheckList++;
|
| if (buildCounterHttpsHealthCheckList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed708(o.items);
|
| + checkUnnamed2287(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2007,14 +2059,14 @@ checkHttpsHealthCheckList(api.HttpsHealthCheckList o) {
|
| buildCounterHttpsHealthCheckList--;
|
| }
|
|
|
| -buildUnnamed709() {
|
| +buildUnnamed2288() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed709(core.List<core.String> o) {
|
| +checkUnnamed2288(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'));
|
| @@ -2055,12 +2107,14 @@ buildImage() {
|
| o.diskSizeGb = "foo";
|
| o.family = "foo";
|
| o.id = "foo";
|
| + o.imageEncryptionKey = buildCustomerEncryptionKey();
|
| o.kind = "foo";
|
| - o.licenses = buildUnnamed709();
|
| + o.licenses = buildUnnamed2288();
|
| o.name = "foo";
|
| o.rawDisk = buildImageRawDisk();
|
| o.selfLink = "foo";
|
| o.sourceDisk = "foo";
|
| + o.sourceDiskEncryptionKey = buildCustomerEncryptionKey();
|
| o.sourceDiskId = "foo";
|
| o.sourceType = "foo";
|
| o.status = "foo";
|
| @@ -2079,12 +2133,14 @@ checkImage(api.Image o) {
|
| unittest.expect(o.diskSizeGb, unittest.equals('foo'));
|
| unittest.expect(o.family, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.imageEncryptionKey);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed709(o.licenses);
|
| + checkUnnamed2288(o.licenses);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| checkImageRawDisk(o.rawDisk);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.sourceDisk, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.sourceDiskEncryptionKey);
|
| unittest.expect(o.sourceDiskId, unittest.equals('foo'));
|
| unittest.expect(o.sourceType, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| @@ -2092,14 +2148,14 @@ checkImage(api.Image o) {
|
| buildCounterImage--;
|
| }
|
|
|
| -buildUnnamed710() {
|
| +buildUnnamed2289() {
|
| var o = new core.List<api.Image>();
|
| o.add(buildImage());
|
| o.add(buildImage());
|
| return o;
|
| }
|
|
|
| -checkUnnamed710(core.List<api.Image> o) {
|
| +checkUnnamed2289(core.List<api.Image> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkImage(o[0]);
|
| checkImage(o[1]);
|
| @@ -2111,7 +2167,7 @@ buildImageList() {
|
| buildCounterImageList++;
|
| if (buildCounterImageList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed710();
|
| + o.items = buildUnnamed2289();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2124,7 +2180,7 @@ checkImageList(api.ImageList o) {
|
| buildCounterImageList++;
|
| if (buildCounterImageList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed710(o.items);
|
| + checkUnnamed2289(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2132,40 +2188,40 @@ checkImageList(api.ImageList o) {
|
| buildCounterImageList--;
|
| }
|
|
|
| -buildUnnamed711() {
|
| +buildUnnamed2290() {
|
| var o = new core.List<api.AttachedDisk>();
|
| o.add(buildAttachedDisk());
|
| o.add(buildAttachedDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed711(core.List<api.AttachedDisk> o) {
|
| +checkUnnamed2290(core.List<api.AttachedDisk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAttachedDisk(o[0]);
|
| checkAttachedDisk(o[1]);
|
| }
|
|
|
| -buildUnnamed712() {
|
| +buildUnnamed2291() {
|
| var o = new core.List<api.NetworkInterface>();
|
| o.add(buildNetworkInterface());
|
| o.add(buildNetworkInterface());
|
| return o;
|
| }
|
|
|
| -checkUnnamed712(core.List<api.NetworkInterface> o) {
|
| +checkUnnamed2291(core.List<api.NetworkInterface> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNetworkInterface(o[0]);
|
| checkNetworkInterface(o[1]);
|
| }
|
|
|
| -buildUnnamed713() {
|
| +buildUnnamed2292() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed713(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed2292(core.List<api.ServiceAccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccount(o[0]);
|
| checkServiceAccount(o[1]);
|
| @@ -2180,16 +2236,16 @@ buildInstance() {
|
| o.cpuPlatform = "foo";
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| - o.disks = buildUnnamed711();
|
| + o.disks = buildUnnamed2290();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.machineType = "foo";
|
| o.metadata = buildMetadata();
|
| o.name = "foo";
|
| - o.networkInterfaces = buildUnnamed712();
|
| + o.networkInterfaces = buildUnnamed2291();
|
| o.scheduling = buildScheduling();
|
| o.selfLink = "foo";
|
| - o.serviceAccounts = buildUnnamed713();
|
| + o.serviceAccounts = buildUnnamed2292();
|
| o.status = "foo";
|
| o.statusMessage = "foo";
|
| o.tags = buildTags();
|
| @@ -2206,16 +2262,16 @@ checkInstance(api.Instance o) {
|
| unittest.expect(o.cpuPlatform, unittest.equals('foo'));
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed711(o.disks);
|
| + checkUnnamed2290(o.disks);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.machineType, unittest.equals('foo'));
|
| checkMetadata(o.metadata);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed712(o.networkInterfaces);
|
| + checkUnnamed2291(o.networkInterfaces);
|
| checkScheduling(o.scheduling);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed713(o.serviceAccounts);
|
| + checkUnnamed2292(o.serviceAccounts);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.statusMessage, unittest.equals('foo'));
|
| checkTags(o.tags);
|
| @@ -2224,14 +2280,14 @@ checkInstance(api.Instance o) {
|
| buildCounterInstance--;
|
| }
|
|
|
| -buildUnnamed714() {
|
| +buildUnnamed2293() {
|
| var o = new core.Map<core.String, api.InstancesScopedList>();
|
| o["x"] = buildInstancesScopedList();
|
| o["y"] = buildInstancesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed714(core.Map<core.String, api.InstancesScopedList> o) {
|
| +checkUnnamed2293(core.Map<core.String, api.InstancesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstancesScopedList(o["x"]);
|
| checkInstancesScopedList(o["y"]);
|
| @@ -2243,7 +2299,7 @@ buildInstanceAggregatedList() {
|
| buildCounterInstanceAggregatedList++;
|
| if (buildCounterInstanceAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed714();
|
| + o.items = buildUnnamed2293();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2256,7 +2312,7 @@ checkInstanceAggregatedList(api.InstanceAggregatedList o) {
|
| buildCounterInstanceAggregatedList++;
|
| if (buildCounterInstanceAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed714(o.items);
|
| + checkUnnamed2293(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2264,14 +2320,14 @@ checkInstanceAggregatedList(api.InstanceAggregatedList o) {
|
| buildCounterInstanceAggregatedList--;
|
| }
|
|
|
| -buildUnnamed715() {
|
| +buildUnnamed2294() {
|
| var o = new core.List<api.NamedPort>();
|
| o.add(buildNamedPort());
|
| o.add(buildNamedPort());
|
| return o;
|
| }
|
|
|
| -checkUnnamed715(core.List<api.NamedPort> o) {
|
| +checkUnnamed2294(core.List<api.NamedPort> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedPort(o[0]);
|
| checkNamedPort(o[1]);
|
| @@ -2288,7 +2344,7 @@ buildInstanceGroup() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.namedPorts = buildUnnamed715();
|
| + o.namedPorts = buildUnnamed2294();
|
| o.network = "foo";
|
| o.selfLink = "foo";
|
| o.size = 42;
|
| @@ -2308,7 +2364,7 @@ checkInstanceGroup(api.InstanceGroup o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed715(o.namedPorts);
|
| + checkUnnamed2294(o.namedPorts);
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.size, unittest.equals(42));
|
| @@ -2318,14 +2374,14 @@ checkInstanceGroup(api.InstanceGroup o) {
|
| buildCounterInstanceGroup--;
|
| }
|
|
|
| -buildUnnamed716() {
|
| +buildUnnamed2295() {
|
| var o = new core.Map<core.String, api.InstanceGroupsScopedList>();
|
| o["x"] = buildInstanceGroupsScopedList();
|
| o["y"] = buildInstanceGroupsScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed716(core.Map<core.String, api.InstanceGroupsScopedList> o) {
|
| +checkUnnamed2295(core.Map<core.String, api.InstanceGroupsScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupsScopedList(o["x"]);
|
| checkInstanceGroupsScopedList(o["y"]);
|
| @@ -2337,7 +2393,7 @@ buildInstanceGroupAggregatedList() {
|
| buildCounterInstanceGroupAggregatedList++;
|
| if (buildCounterInstanceGroupAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed716();
|
| + o.items = buildUnnamed2295();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2350,7 +2406,7 @@ checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) {
|
| buildCounterInstanceGroupAggregatedList++;
|
| if (buildCounterInstanceGroupAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed716(o.items);
|
| + checkUnnamed2295(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2358,14 +2414,14 @@ checkInstanceGroupAggregatedList(api.InstanceGroupAggregatedList o) {
|
| buildCounterInstanceGroupAggregatedList--;
|
| }
|
|
|
| -buildUnnamed717() {
|
| +buildUnnamed2296() {
|
| var o = new core.List<api.InstanceGroup>();
|
| o.add(buildInstanceGroup());
|
| o.add(buildInstanceGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed717(core.List<api.InstanceGroup> o) {
|
| +checkUnnamed2296(core.List<api.InstanceGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroup(o[0]);
|
| checkInstanceGroup(o[1]);
|
| @@ -2377,7 +2433,7 @@ buildInstanceGroupList() {
|
| buildCounterInstanceGroupList++;
|
| if (buildCounterInstanceGroupList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed717();
|
| + o.items = buildUnnamed2296();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2390,7 +2446,7 @@ checkInstanceGroupList(api.InstanceGroupList o) {
|
| buildCounterInstanceGroupList++;
|
| if (buildCounterInstanceGroupList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed717(o.items);
|
| + checkUnnamed2296(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2398,27 +2454,27 @@ checkInstanceGroupList(api.InstanceGroupList o) {
|
| buildCounterInstanceGroupList--;
|
| }
|
|
|
| -buildUnnamed718() {
|
| +buildUnnamed2297() {
|
| var o = new core.List<api.NamedPort>();
|
| o.add(buildNamedPort());
|
| o.add(buildNamedPort());
|
| return o;
|
| }
|
|
|
| -checkUnnamed718(core.List<api.NamedPort> o) {
|
| +checkUnnamed2297(core.List<api.NamedPort> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedPort(o[0]);
|
| checkNamedPort(o[1]);
|
| }
|
|
|
| -buildUnnamed719() {
|
| +buildUnnamed2298() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed719(core.List<core.String> o) {
|
| +checkUnnamed2298(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'));
|
| @@ -2439,9 +2495,9 @@ buildInstanceGroupManager() {
|
| o.instanceTemplate = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.namedPorts = buildUnnamed718();
|
| + o.namedPorts = buildUnnamed2297();
|
| o.selfLink = "foo";
|
| - o.targetPools = buildUnnamed719();
|
| + o.targetPools = buildUnnamed2298();
|
| o.targetSize = 42;
|
| o.zone = "foo";
|
| }
|
| @@ -2462,9 +2518,9 @@ checkInstanceGroupManager(api.InstanceGroupManager o) {
|
| unittest.expect(o.instanceTemplate, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed718(o.namedPorts);
|
| + checkUnnamed2297(o.namedPorts);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed719(o.targetPools);
|
| + checkUnnamed2298(o.targetPools);
|
| unittest.expect(o.targetSize, unittest.equals(42));
|
| unittest.expect(o.zone, unittest.equals('foo'));
|
| }
|
| @@ -2502,14 +2558,14 @@ checkInstanceGroupManagerActionsSummary(api.InstanceGroupManagerActionsSummary o
|
| buildCounterInstanceGroupManagerActionsSummary--;
|
| }
|
|
|
| -buildUnnamed720() {
|
| +buildUnnamed2299() {
|
| var o = new core.Map<core.String, api.InstanceGroupManagersScopedList>();
|
| o["x"] = buildInstanceGroupManagersScopedList();
|
| o["y"] = buildInstanceGroupManagersScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed720(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
|
| +checkUnnamed2299(core.Map<core.String, api.InstanceGroupManagersScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupManagersScopedList(o["x"]);
|
| checkInstanceGroupManagersScopedList(o["y"]);
|
| @@ -2521,7 +2577,7 @@ buildInstanceGroupManagerAggregatedList() {
|
| buildCounterInstanceGroupManagerAggregatedList++;
|
| if (buildCounterInstanceGroupManagerAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed720();
|
| + o.items = buildUnnamed2299();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2534,7 +2590,7 @@ checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
|
| buildCounterInstanceGroupManagerAggregatedList++;
|
| if (buildCounterInstanceGroupManagerAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed720(o.items);
|
| + checkUnnamed2299(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2542,14 +2598,14 @@ checkInstanceGroupManagerAggregatedList(api.InstanceGroupManagerAggregatedList o
|
| buildCounterInstanceGroupManagerAggregatedList--;
|
| }
|
|
|
| -buildUnnamed721() {
|
| +buildUnnamed2300() {
|
| var o = new core.List<api.InstanceGroupManager>();
|
| o.add(buildInstanceGroupManager());
|
| o.add(buildInstanceGroupManager());
|
| return o;
|
| }
|
|
|
| -checkUnnamed721(core.List<api.InstanceGroupManager> o) {
|
| +checkUnnamed2300(core.List<api.InstanceGroupManager> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupManager(o[0]);
|
| checkInstanceGroupManager(o[1]);
|
| @@ -2561,7 +2617,7 @@ buildInstanceGroupManagerList() {
|
| buildCounterInstanceGroupManagerList++;
|
| if (buildCounterInstanceGroupManagerList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed721();
|
| + o.items = buildUnnamed2300();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2574,7 +2630,7 @@ checkInstanceGroupManagerList(api.InstanceGroupManagerList o) {
|
| buildCounterInstanceGroupManagerList++;
|
| if (buildCounterInstanceGroupManagerList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed721(o.items);
|
| + checkUnnamed2300(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2582,14 +2638,14 @@ checkInstanceGroupManagerList(api.InstanceGroupManagerList o) {
|
| buildCounterInstanceGroupManagerList--;
|
| }
|
|
|
| -buildUnnamed722() {
|
| +buildUnnamed2301() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed722(core.List<core.String> o) {
|
| +checkUnnamed2301(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'));
|
| @@ -2600,7 +2656,7 @@ buildInstanceGroupManagersAbandonInstancesRequest() {
|
| var o = new api.InstanceGroupManagersAbandonInstancesRequest();
|
| buildCounterInstanceGroupManagersAbandonInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
|
| - o.instances = buildUnnamed722();
|
| + o.instances = buildUnnamed2301();
|
| }
|
| buildCounterInstanceGroupManagersAbandonInstancesRequest--;
|
| return o;
|
| @@ -2609,19 +2665,19 @@ buildInstanceGroupManagersAbandonInstancesRequest() {
|
| checkInstanceGroupManagersAbandonInstancesRequest(api.InstanceGroupManagersAbandonInstancesRequest o) {
|
| buildCounterInstanceGroupManagersAbandonInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersAbandonInstancesRequest < 3) {
|
| - checkUnnamed722(o.instances);
|
| + checkUnnamed2301(o.instances);
|
| }
|
| buildCounterInstanceGroupManagersAbandonInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed723() {
|
| +buildUnnamed2302() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed723(core.List<core.String> o) {
|
| +checkUnnamed2302(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'));
|
| @@ -2632,7 +2688,7 @@ buildInstanceGroupManagersDeleteInstancesRequest() {
|
| var o = new api.InstanceGroupManagersDeleteInstancesRequest();
|
| buildCounterInstanceGroupManagersDeleteInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
|
| - o.instances = buildUnnamed723();
|
| + o.instances = buildUnnamed2302();
|
| }
|
| buildCounterInstanceGroupManagersDeleteInstancesRequest--;
|
| return o;
|
| @@ -2641,19 +2697,19 @@ buildInstanceGroupManagersDeleteInstancesRequest() {
|
| checkInstanceGroupManagersDeleteInstancesRequest(api.InstanceGroupManagersDeleteInstancesRequest o) {
|
| buildCounterInstanceGroupManagersDeleteInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersDeleteInstancesRequest < 3) {
|
| - checkUnnamed723(o.instances);
|
| + checkUnnamed2302(o.instances);
|
| }
|
| buildCounterInstanceGroupManagersDeleteInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed724() {
|
| +buildUnnamed2303() {
|
| var o = new core.List<api.ManagedInstance>();
|
| o.add(buildManagedInstance());
|
| o.add(buildManagedInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed724(core.List<api.ManagedInstance> o) {
|
| +checkUnnamed2303(core.List<api.ManagedInstance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedInstance(o[0]);
|
| checkManagedInstance(o[1]);
|
| @@ -2664,7 +2720,7 @@ buildInstanceGroupManagersListManagedInstancesResponse() {
|
| var o = new api.InstanceGroupManagersListManagedInstancesResponse();
|
| buildCounterInstanceGroupManagersListManagedInstancesResponse++;
|
| if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
|
| - o.managedInstances = buildUnnamed724();
|
| + o.managedInstances = buildUnnamed2303();
|
| }
|
| buildCounterInstanceGroupManagersListManagedInstancesResponse--;
|
| return o;
|
| @@ -2673,19 +2729,19 @@ buildInstanceGroupManagersListManagedInstancesResponse() {
|
| checkInstanceGroupManagersListManagedInstancesResponse(api.InstanceGroupManagersListManagedInstancesResponse o) {
|
| buildCounterInstanceGroupManagersListManagedInstancesResponse++;
|
| if (buildCounterInstanceGroupManagersListManagedInstancesResponse < 3) {
|
| - checkUnnamed724(o.managedInstances);
|
| + checkUnnamed2303(o.managedInstances);
|
| }
|
| buildCounterInstanceGroupManagersListManagedInstancesResponse--;
|
| }
|
|
|
| -buildUnnamed725() {
|
| +buildUnnamed2304() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed725(core.List<core.String> o) {
|
| +checkUnnamed2304(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'));
|
| @@ -2696,7 +2752,7 @@ buildInstanceGroupManagersRecreateInstancesRequest() {
|
| var o = new api.InstanceGroupManagersRecreateInstancesRequest();
|
| buildCounterInstanceGroupManagersRecreateInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
|
| - o.instances = buildUnnamed725();
|
| + o.instances = buildUnnamed2304();
|
| }
|
| buildCounterInstanceGroupManagersRecreateInstancesRequest--;
|
| return o;
|
| @@ -2705,19 +2761,19 @@ buildInstanceGroupManagersRecreateInstancesRequest() {
|
| checkInstanceGroupManagersRecreateInstancesRequest(api.InstanceGroupManagersRecreateInstancesRequest o) {
|
| buildCounterInstanceGroupManagersRecreateInstancesRequest++;
|
| if (buildCounterInstanceGroupManagersRecreateInstancesRequest < 3) {
|
| - checkUnnamed725(o.instances);
|
| + checkUnnamed2304(o.instances);
|
| }
|
| buildCounterInstanceGroupManagersRecreateInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed726() {
|
| +buildUnnamed2305() {
|
| var o = new core.List<api.InstanceGroupManager>();
|
| o.add(buildInstanceGroupManager());
|
| o.add(buildInstanceGroupManager());
|
| return o;
|
| }
|
|
|
| -checkUnnamed726(core.List<api.InstanceGroupManager> o) {
|
| +checkUnnamed2305(core.List<api.InstanceGroupManager> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupManager(o[0]);
|
| checkInstanceGroupManager(o[1]);
|
| @@ -2744,14 +2800,14 @@ checkInstanceGroupManagersScopedListWarningData(api.InstanceGroupManagersScopedL
|
| buildCounterInstanceGroupManagersScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed727() {
|
| +buildUnnamed2306() {
|
| var o = new core.List<api.InstanceGroupManagersScopedListWarningData>();
|
| o.add(buildInstanceGroupManagersScopedListWarningData());
|
| o.add(buildInstanceGroupManagersScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed727(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
|
| +checkUnnamed2306(core.List<api.InstanceGroupManagersScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupManagersScopedListWarningData(o[0]);
|
| checkInstanceGroupManagersScopedListWarningData(o[1]);
|
| @@ -2763,7 +2819,7 @@ buildInstanceGroupManagersScopedListWarning() {
|
| buildCounterInstanceGroupManagersScopedListWarning++;
|
| if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed727();
|
| + o.data = buildUnnamed2306();
|
| o.message = "foo";
|
| }
|
| buildCounterInstanceGroupManagersScopedListWarning--;
|
| @@ -2774,7 +2830,7 @@ checkInstanceGroupManagersScopedListWarning(api.InstanceGroupManagersScopedListW
|
| buildCounterInstanceGroupManagersScopedListWarning++;
|
| if (buildCounterInstanceGroupManagersScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed727(o.data);
|
| + checkUnnamed2306(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterInstanceGroupManagersScopedListWarning--;
|
| @@ -2785,7 +2841,7 @@ buildInstanceGroupManagersScopedList() {
|
| var o = new api.InstanceGroupManagersScopedList();
|
| buildCounterInstanceGroupManagersScopedList++;
|
| if (buildCounterInstanceGroupManagersScopedList < 3) {
|
| - o.instanceGroupManagers = buildUnnamed726();
|
| + o.instanceGroupManagers = buildUnnamed2305();
|
| o.warning = buildInstanceGroupManagersScopedListWarning();
|
| }
|
| buildCounterInstanceGroupManagersScopedList--;
|
| @@ -2795,7 +2851,7 @@ buildInstanceGroupManagersScopedList() {
|
| checkInstanceGroupManagersScopedList(api.InstanceGroupManagersScopedList o) {
|
| buildCounterInstanceGroupManagersScopedList++;
|
| if (buildCounterInstanceGroupManagersScopedList < 3) {
|
| - checkUnnamed726(o.instanceGroupManagers);
|
| + checkUnnamed2305(o.instanceGroupManagers);
|
| checkInstanceGroupManagersScopedListWarning(o.warning);
|
| }
|
| buildCounterInstanceGroupManagersScopedList--;
|
| @@ -2820,14 +2876,14 @@ checkInstanceGroupManagersSetInstanceTemplateRequest(api.InstanceGroupManagersSe
|
| buildCounterInstanceGroupManagersSetInstanceTemplateRequest--;
|
| }
|
|
|
| -buildUnnamed728() {
|
| +buildUnnamed2307() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed728(core.List<core.String> o) {
|
| +checkUnnamed2307(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'));
|
| @@ -2839,7 +2895,7 @@ buildInstanceGroupManagersSetTargetPoolsRequest() {
|
| buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
|
| if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
|
| o.fingerprint = "foo";
|
| - o.targetPools = buildUnnamed728();
|
| + o.targetPools = buildUnnamed2307();
|
| }
|
| buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
|
| return o;
|
| @@ -2849,19 +2905,19 @@ checkInstanceGroupManagersSetTargetPoolsRequest(api.InstanceGroupManagersSetTarg
|
| buildCounterInstanceGroupManagersSetTargetPoolsRequest++;
|
| if (buildCounterInstanceGroupManagersSetTargetPoolsRequest < 3) {
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed728(o.targetPools);
|
| + checkUnnamed2307(o.targetPools);
|
| }
|
| buildCounterInstanceGroupManagersSetTargetPoolsRequest--;
|
| }
|
|
|
| -buildUnnamed729() {
|
| +buildUnnamed2308() {
|
| var o = new core.List<api.InstanceReference>();
|
| o.add(buildInstanceReference());
|
| o.add(buildInstanceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed729(core.List<api.InstanceReference> o) {
|
| +checkUnnamed2308(core.List<api.InstanceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceReference(o[0]);
|
| checkInstanceReference(o[1]);
|
| @@ -2872,7 +2928,7 @@ buildInstanceGroupsAddInstancesRequest() {
|
| var o = new api.InstanceGroupsAddInstancesRequest();
|
| buildCounterInstanceGroupsAddInstancesRequest++;
|
| if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
|
| - o.instances = buildUnnamed729();
|
| + o.instances = buildUnnamed2308();
|
| }
|
| buildCounterInstanceGroupsAddInstancesRequest--;
|
| return o;
|
| @@ -2881,19 +2937,19 @@ buildInstanceGroupsAddInstancesRequest() {
|
| checkInstanceGroupsAddInstancesRequest(api.InstanceGroupsAddInstancesRequest o) {
|
| buildCounterInstanceGroupsAddInstancesRequest++;
|
| if (buildCounterInstanceGroupsAddInstancesRequest < 3) {
|
| - checkUnnamed729(o.instances);
|
| + checkUnnamed2308(o.instances);
|
| }
|
| buildCounterInstanceGroupsAddInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed730() {
|
| +buildUnnamed2309() {
|
| var o = new core.List<api.InstanceWithNamedPorts>();
|
| o.add(buildInstanceWithNamedPorts());
|
| o.add(buildInstanceWithNamedPorts());
|
| return o;
|
| }
|
|
|
| -checkUnnamed730(core.List<api.InstanceWithNamedPorts> o) {
|
| +checkUnnamed2309(core.List<api.InstanceWithNamedPorts> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceWithNamedPorts(o[0]);
|
| checkInstanceWithNamedPorts(o[1]);
|
| @@ -2905,7 +2961,7 @@ buildInstanceGroupsListInstances() {
|
| buildCounterInstanceGroupsListInstances++;
|
| if (buildCounterInstanceGroupsListInstances < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed730();
|
| + o.items = buildUnnamed2309();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -2918,7 +2974,7 @@ checkInstanceGroupsListInstances(api.InstanceGroupsListInstances o) {
|
| buildCounterInstanceGroupsListInstances++;
|
| if (buildCounterInstanceGroupsListInstances < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed730(o.items);
|
| + checkUnnamed2309(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -2945,14 +3001,14 @@ checkInstanceGroupsListInstancesRequest(api.InstanceGroupsListInstancesRequest o
|
| buildCounterInstanceGroupsListInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed731() {
|
| +buildUnnamed2310() {
|
| var o = new core.List<api.InstanceReference>();
|
| o.add(buildInstanceReference());
|
| o.add(buildInstanceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed731(core.List<api.InstanceReference> o) {
|
| +checkUnnamed2310(core.List<api.InstanceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceReference(o[0]);
|
| checkInstanceReference(o[1]);
|
| @@ -2963,7 +3019,7 @@ buildInstanceGroupsRemoveInstancesRequest() {
|
| var o = new api.InstanceGroupsRemoveInstancesRequest();
|
| buildCounterInstanceGroupsRemoveInstancesRequest++;
|
| if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
|
| - o.instances = buildUnnamed731();
|
| + o.instances = buildUnnamed2310();
|
| }
|
| buildCounterInstanceGroupsRemoveInstancesRequest--;
|
| return o;
|
| @@ -2972,19 +3028,19 @@ buildInstanceGroupsRemoveInstancesRequest() {
|
| checkInstanceGroupsRemoveInstancesRequest(api.InstanceGroupsRemoveInstancesRequest o) {
|
| buildCounterInstanceGroupsRemoveInstancesRequest++;
|
| if (buildCounterInstanceGroupsRemoveInstancesRequest < 3) {
|
| - checkUnnamed731(o.instances);
|
| + checkUnnamed2310(o.instances);
|
| }
|
| buildCounterInstanceGroupsRemoveInstancesRequest--;
|
| }
|
|
|
| -buildUnnamed732() {
|
| +buildUnnamed2311() {
|
| var o = new core.List<api.InstanceGroup>();
|
| o.add(buildInstanceGroup());
|
| o.add(buildInstanceGroup());
|
| return o;
|
| }
|
|
|
| -checkUnnamed732(core.List<api.InstanceGroup> o) {
|
| +checkUnnamed2311(core.List<api.InstanceGroup> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroup(o[0]);
|
| checkInstanceGroup(o[1]);
|
| @@ -3011,14 +3067,14 @@ checkInstanceGroupsScopedListWarningData(api.InstanceGroupsScopedListWarningData
|
| buildCounterInstanceGroupsScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed733() {
|
| +buildUnnamed2312() {
|
| var o = new core.List<api.InstanceGroupsScopedListWarningData>();
|
| o.add(buildInstanceGroupsScopedListWarningData());
|
| o.add(buildInstanceGroupsScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed733(core.List<api.InstanceGroupsScopedListWarningData> o) {
|
| +checkUnnamed2312(core.List<api.InstanceGroupsScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceGroupsScopedListWarningData(o[0]);
|
| checkInstanceGroupsScopedListWarningData(o[1]);
|
| @@ -3030,7 +3086,7 @@ buildInstanceGroupsScopedListWarning() {
|
| buildCounterInstanceGroupsScopedListWarning++;
|
| if (buildCounterInstanceGroupsScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed733();
|
| + o.data = buildUnnamed2312();
|
| o.message = "foo";
|
| }
|
| buildCounterInstanceGroupsScopedListWarning--;
|
| @@ -3041,7 +3097,7 @@ checkInstanceGroupsScopedListWarning(api.InstanceGroupsScopedListWarning o) {
|
| buildCounterInstanceGroupsScopedListWarning++;
|
| if (buildCounterInstanceGroupsScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed733(o.data);
|
| + checkUnnamed2312(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterInstanceGroupsScopedListWarning--;
|
| @@ -3052,7 +3108,7 @@ buildInstanceGroupsScopedList() {
|
| var o = new api.InstanceGroupsScopedList();
|
| buildCounterInstanceGroupsScopedList++;
|
| if (buildCounterInstanceGroupsScopedList < 3) {
|
| - o.instanceGroups = buildUnnamed732();
|
| + o.instanceGroups = buildUnnamed2311();
|
| o.warning = buildInstanceGroupsScopedListWarning();
|
| }
|
| buildCounterInstanceGroupsScopedList--;
|
| @@ -3062,20 +3118,20 @@ buildInstanceGroupsScopedList() {
|
| checkInstanceGroupsScopedList(api.InstanceGroupsScopedList o) {
|
| buildCounterInstanceGroupsScopedList++;
|
| if (buildCounterInstanceGroupsScopedList < 3) {
|
| - checkUnnamed732(o.instanceGroups);
|
| + checkUnnamed2311(o.instanceGroups);
|
| checkInstanceGroupsScopedListWarning(o.warning);
|
| }
|
| buildCounterInstanceGroupsScopedList--;
|
| }
|
|
|
| -buildUnnamed734() {
|
| +buildUnnamed2313() {
|
| var o = new core.List<api.NamedPort>();
|
| o.add(buildNamedPort());
|
| o.add(buildNamedPort());
|
| return o;
|
| }
|
|
|
| -checkUnnamed734(core.List<api.NamedPort> o) {
|
| +checkUnnamed2313(core.List<api.NamedPort> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedPort(o[0]);
|
| checkNamedPort(o[1]);
|
| @@ -3087,7 +3143,7 @@ buildInstanceGroupsSetNamedPortsRequest() {
|
| buildCounterInstanceGroupsSetNamedPortsRequest++;
|
| if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
|
| o.fingerprint = "foo";
|
| - o.namedPorts = buildUnnamed734();
|
| + o.namedPorts = buildUnnamed2313();
|
| }
|
| buildCounterInstanceGroupsSetNamedPortsRequest--;
|
| return o;
|
| @@ -3097,19 +3153,19 @@ checkInstanceGroupsSetNamedPortsRequest(api.InstanceGroupsSetNamedPortsRequest o
|
| buildCounterInstanceGroupsSetNamedPortsRequest++;
|
| if (buildCounterInstanceGroupsSetNamedPortsRequest < 3) {
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed734(o.namedPorts);
|
| + checkUnnamed2313(o.namedPorts);
|
| }
|
| buildCounterInstanceGroupsSetNamedPortsRequest--;
|
| }
|
|
|
| -buildUnnamed735() {
|
| +buildUnnamed2314() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed735(core.List<api.Instance> o) {
|
| +checkUnnamed2314(core.List<api.Instance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstance(o[0]);
|
| checkInstance(o[1]);
|
| @@ -3121,7 +3177,7 @@ buildInstanceList() {
|
| buildCounterInstanceList++;
|
| if (buildCounterInstanceList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed735();
|
| + o.items = buildUnnamed2314();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -3134,7 +3190,7 @@ checkInstanceList(api.InstanceList o) {
|
| buildCounterInstanceList++;
|
| if (buildCounterInstanceList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed735(o.items);
|
| + checkUnnamed2314(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -3163,40 +3219,40 @@ checkInstanceMoveRequest(api.InstanceMoveRequest o) {
|
| buildCounterInstanceMoveRequest--;
|
| }
|
|
|
| -buildUnnamed736() {
|
| +buildUnnamed2315() {
|
| var o = new core.List<api.AttachedDisk>();
|
| o.add(buildAttachedDisk());
|
| o.add(buildAttachedDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed736(core.List<api.AttachedDisk> o) {
|
| +checkUnnamed2315(core.List<api.AttachedDisk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAttachedDisk(o[0]);
|
| checkAttachedDisk(o[1]);
|
| }
|
|
|
| -buildUnnamed737() {
|
| +buildUnnamed2316() {
|
| var o = new core.List<api.NetworkInterface>();
|
| o.add(buildNetworkInterface());
|
| o.add(buildNetworkInterface());
|
| return o;
|
| }
|
|
|
| -checkUnnamed737(core.List<api.NetworkInterface> o) {
|
| +checkUnnamed2316(core.List<api.NetworkInterface> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNetworkInterface(o[0]);
|
| checkNetworkInterface(o[1]);
|
| }
|
|
|
| -buildUnnamed738() {
|
| +buildUnnamed2317() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed738(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed2317(core.List<api.ServiceAccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccount(o[0]);
|
| checkServiceAccount(o[1]);
|
| @@ -3209,12 +3265,12 @@ buildInstanceProperties() {
|
| if (buildCounterInstanceProperties < 3) {
|
| o.canIpForward = true;
|
| o.description = "foo";
|
| - o.disks = buildUnnamed736();
|
| + o.disks = buildUnnamed2315();
|
| o.machineType = "foo";
|
| o.metadata = buildMetadata();
|
| - o.networkInterfaces = buildUnnamed737();
|
| + o.networkInterfaces = buildUnnamed2316();
|
| o.scheduling = buildScheduling();
|
| - o.serviceAccounts = buildUnnamed738();
|
| + o.serviceAccounts = buildUnnamed2317();
|
| o.tags = buildTags();
|
| }
|
| buildCounterInstanceProperties--;
|
| @@ -3226,12 +3282,12 @@ checkInstanceProperties(api.InstanceProperties o) {
|
| if (buildCounterInstanceProperties < 3) {
|
| unittest.expect(o.canIpForward, unittest.isTrue);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed736(o.disks);
|
| + checkUnnamed2315(o.disks);
|
| unittest.expect(o.machineType, unittest.equals('foo'));
|
| checkMetadata(o.metadata);
|
| - checkUnnamed737(o.networkInterfaces);
|
| + checkUnnamed2316(o.networkInterfaces);
|
| checkScheduling(o.scheduling);
|
| - checkUnnamed738(o.serviceAccounts);
|
| + checkUnnamed2317(o.serviceAccounts);
|
| checkTags(o.tags);
|
| }
|
| buildCounterInstanceProperties--;
|
| @@ -3287,14 +3343,14 @@ checkInstanceTemplate(api.InstanceTemplate o) {
|
| buildCounterInstanceTemplate--;
|
| }
|
|
|
| -buildUnnamed739() {
|
| +buildUnnamed2318() {
|
| var o = new core.List<api.InstanceTemplate>();
|
| o.add(buildInstanceTemplate());
|
| o.add(buildInstanceTemplate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed739(core.List<api.InstanceTemplate> o) {
|
| +checkUnnamed2318(core.List<api.InstanceTemplate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceTemplate(o[0]);
|
| checkInstanceTemplate(o[1]);
|
| @@ -3306,7 +3362,7 @@ buildInstanceTemplateList() {
|
| buildCounterInstanceTemplateList++;
|
| if (buildCounterInstanceTemplateList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed739();
|
| + o.items = buildUnnamed2318();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -3319,7 +3375,7 @@ checkInstanceTemplateList(api.InstanceTemplateList o) {
|
| buildCounterInstanceTemplateList++;
|
| if (buildCounterInstanceTemplateList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed739(o.items);
|
| + checkUnnamed2318(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -3327,14 +3383,14 @@ checkInstanceTemplateList(api.InstanceTemplateList o) {
|
| buildCounterInstanceTemplateList--;
|
| }
|
|
|
| -buildUnnamed740() {
|
| +buildUnnamed2319() {
|
| var o = new core.List<api.NamedPort>();
|
| o.add(buildNamedPort());
|
| o.add(buildNamedPort());
|
| return o;
|
| }
|
|
|
| -checkUnnamed740(core.List<api.NamedPort> o) {
|
| +checkUnnamed2319(core.List<api.NamedPort> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNamedPort(o[0]);
|
| checkNamedPort(o[1]);
|
| @@ -3346,7 +3402,7 @@ buildInstanceWithNamedPorts() {
|
| buildCounterInstanceWithNamedPorts++;
|
| if (buildCounterInstanceWithNamedPorts < 3) {
|
| o.instance = "foo";
|
| - o.namedPorts = buildUnnamed740();
|
| + o.namedPorts = buildUnnamed2319();
|
| o.status = "foo";
|
| }
|
| buildCounterInstanceWithNamedPorts--;
|
| @@ -3357,20 +3413,20 @@ checkInstanceWithNamedPorts(api.InstanceWithNamedPorts o) {
|
| buildCounterInstanceWithNamedPorts++;
|
| if (buildCounterInstanceWithNamedPorts < 3) {
|
| unittest.expect(o.instance, unittest.equals('foo'));
|
| - checkUnnamed740(o.namedPorts);
|
| + checkUnnamed2319(o.namedPorts);
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| }
|
| buildCounterInstanceWithNamedPorts--;
|
| }
|
|
|
| -buildUnnamed741() {
|
| +buildUnnamed2320() {
|
| var o = new core.List<api.Instance>();
|
| o.add(buildInstance());
|
| o.add(buildInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed741(core.List<api.Instance> o) {
|
| +checkUnnamed2320(core.List<api.Instance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstance(o[0]);
|
| checkInstance(o[1]);
|
| @@ -3397,14 +3453,14 @@ checkInstancesScopedListWarningData(api.InstancesScopedListWarningData o) {
|
| buildCounterInstancesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed742() {
|
| +buildUnnamed2321() {
|
| var o = new core.List<api.InstancesScopedListWarningData>();
|
| o.add(buildInstancesScopedListWarningData());
|
| o.add(buildInstancesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed742(core.List<api.InstancesScopedListWarningData> o) {
|
| +checkUnnamed2321(core.List<api.InstancesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstancesScopedListWarningData(o[0]);
|
| checkInstancesScopedListWarningData(o[1]);
|
| @@ -3416,7 +3472,7 @@ buildInstancesScopedListWarning() {
|
| buildCounterInstancesScopedListWarning++;
|
| if (buildCounterInstancesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed742();
|
| + o.data = buildUnnamed2321();
|
| o.message = "foo";
|
| }
|
| buildCounterInstancesScopedListWarning--;
|
| @@ -3427,7 +3483,7 @@ checkInstancesScopedListWarning(api.InstancesScopedListWarning o) {
|
| buildCounterInstancesScopedListWarning++;
|
| if (buildCounterInstancesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed742(o.data);
|
| + checkUnnamed2321(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterInstancesScopedListWarning--;
|
| @@ -3438,7 +3494,7 @@ buildInstancesScopedList() {
|
| var o = new api.InstancesScopedList();
|
| buildCounterInstancesScopedList++;
|
| if (buildCounterInstancesScopedList < 3) {
|
| - o.instances = buildUnnamed741();
|
| + o.instances = buildUnnamed2320();
|
| o.warning = buildInstancesScopedListWarning();
|
| }
|
| buildCounterInstancesScopedList--;
|
| @@ -3448,7 +3504,7 @@ buildInstancesScopedList() {
|
| checkInstancesScopedList(api.InstancesScopedList o) {
|
| buildCounterInstancesScopedList++;
|
| if (buildCounterInstancesScopedList < 3) {
|
| - checkUnnamed741(o.instances);
|
| + checkUnnamed2320(o.instances);
|
| checkInstancesScopedListWarning(o.warning);
|
| }
|
| buildCounterInstancesScopedList--;
|
| @@ -3473,6 +3529,38 @@ checkInstancesSetMachineTypeRequest(api.InstancesSetMachineTypeRequest o) {
|
| buildCounterInstancesSetMachineTypeRequest--;
|
| }
|
|
|
| +buildUnnamed2322() {
|
| + var o = new core.List<api.CustomerEncryptionKeyProtectedDisk>();
|
| + o.add(buildCustomerEncryptionKeyProtectedDisk());
|
| + o.add(buildCustomerEncryptionKeyProtectedDisk());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2322(core.List<api.CustomerEncryptionKeyProtectedDisk> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkCustomerEncryptionKeyProtectedDisk(o[0]);
|
| + checkCustomerEncryptionKeyProtectedDisk(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterInstancesStartWithEncryptionKeyRequest = 0;
|
| +buildInstancesStartWithEncryptionKeyRequest() {
|
| + var o = new api.InstancesStartWithEncryptionKeyRequest();
|
| + buildCounterInstancesStartWithEncryptionKeyRequest++;
|
| + if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
|
| + o.disks = buildUnnamed2322();
|
| + }
|
| + buildCounterInstancesStartWithEncryptionKeyRequest--;
|
| + return o;
|
| +}
|
| +
|
| +checkInstancesStartWithEncryptionKeyRequest(api.InstancesStartWithEncryptionKeyRequest o) {
|
| + buildCounterInstancesStartWithEncryptionKeyRequest++;
|
| + if (buildCounterInstancesStartWithEncryptionKeyRequest < 3) {
|
| + checkUnnamed2322(o.disks);
|
| + }
|
| + buildCounterInstancesStartWithEncryptionKeyRequest--;
|
| +}
|
| +
|
| core.int buildCounterLicense = 0;
|
| buildLicense() {
|
| var o = new api.License();
|
| @@ -3517,14 +3605,14 @@ checkMachineTypeScratchDisks(api.MachineTypeScratchDisks o) {
|
| buildCounterMachineTypeScratchDisks--;
|
| }
|
|
|
| -buildUnnamed743() {
|
| +buildUnnamed2323() {
|
| var o = new core.List<api.MachineTypeScratchDisks>();
|
| o.add(buildMachineTypeScratchDisks());
|
| o.add(buildMachineTypeScratchDisks());
|
| return o;
|
| }
|
|
|
| -checkUnnamed743(core.List<api.MachineTypeScratchDisks> o) {
|
| +checkUnnamed2323(core.List<api.MachineTypeScratchDisks> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMachineTypeScratchDisks(o[0]);
|
| checkMachineTypeScratchDisks(o[1]);
|
| @@ -3541,12 +3629,13 @@ buildMachineType() {
|
| o.guestCpus = 42;
|
| o.id = "foo";
|
| o.imageSpaceGb = 42;
|
| + o.isSharedCpu = true;
|
| o.kind = "foo";
|
| o.maximumPersistentDisks = 42;
|
| o.maximumPersistentDisksSizeGb = "foo";
|
| o.memoryMb = 42;
|
| o.name = "foo";
|
| - o.scratchDisks = buildUnnamed743();
|
| + o.scratchDisks = buildUnnamed2323();
|
| o.selfLink = "foo";
|
| o.zone = "foo";
|
| }
|
| @@ -3563,26 +3652,27 @@ checkMachineType(api.MachineType o) {
|
| unittest.expect(o.guestCpus, unittest.equals(42));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.imageSpaceGb, unittest.equals(42));
|
| + unittest.expect(o.isSharedCpu, unittest.isTrue);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.maximumPersistentDisks, unittest.equals(42));
|
| unittest.expect(o.maximumPersistentDisksSizeGb, unittest.equals('foo'));
|
| unittest.expect(o.memoryMb, unittest.equals(42));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed743(o.scratchDisks);
|
| + checkUnnamed2323(o.scratchDisks);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.zone, unittest.equals('foo'));
|
| }
|
| buildCounterMachineType--;
|
| }
|
|
|
| -buildUnnamed744() {
|
| +buildUnnamed2324() {
|
| var o = new core.Map<core.String, api.MachineTypesScopedList>();
|
| o["x"] = buildMachineTypesScopedList();
|
| o["y"] = buildMachineTypesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed744(core.Map<core.String, api.MachineTypesScopedList> o) {
|
| +checkUnnamed2324(core.Map<core.String, api.MachineTypesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMachineTypesScopedList(o["x"]);
|
| checkMachineTypesScopedList(o["y"]);
|
| @@ -3594,7 +3684,7 @@ buildMachineTypeAggregatedList() {
|
| buildCounterMachineTypeAggregatedList++;
|
| if (buildCounterMachineTypeAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed744();
|
| + o.items = buildUnnamed2324();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -3607,7 +3697,7 @@ checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) {
|
| buildCounterMachineTypeAggregatedList++;
|
| if (buildCounterMachineTypeAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed744(o.items);
|
| + checkUnnamed2324(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -3615,14 +3705,14 @@ checkMachineTypeAggregatedList(api.MachineTypeAggregatedList o) {
|
| buildCounterMachineTypeAggregatedList--;
|
| }
|
|
|
| -buildUnnamed745() {
|
| +buildUnnamed2325() {
|
| var o = new core.List<api.MachineType>();
|
| o.add(buildMachineType());
|
| o.add(buildMachineType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed745(core.List<api.MachineType> o) {
|
| +checkUnnamed2325(core.List<api.MachineType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMachineType(o[0]);
|
| checkMachineType(o[1]);
|
| @@ -3634,7 +3724,7 @@ buildMachineTypeList() {
|
| buildCounterMachineTypeList++;
|
| if (buildCounterMachineTypeList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed745();
|
| + o.items = buildUnnamed2325();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -3647,7 +3737,7 @@ checkMachineTypeList(api.MachineTypeList o) {
|
| buildCounterMachineTypeList++;
|
| if (buildCounterMachineTypeList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed745(o.items);
|
| + checkUnnamed2325(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -3655,14 +3745,14 @@ checkMachineTypeList(api.MachineTypeList o) {
|
| buildCounterMachineTypeList--;
|
| }
|
|
|
| -buildUnnamed746() {
|
| +buildUnnamed2326() {
|
| var o = new core.List<api.MachineType>();
|
| o.add(buildMachineType());
|
| o.add(buildMachineType());
|
| return o;
|
| }
|
|
|
| -checkUnnamed746(core.List<api.MachineType> o) {
|
| +checkUnnamed2326(core.List<api.MachineType> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMachineType(o[0]);
|
| checkMachineType(o[1]);
|
| @@ -3689,14 +3779,14 @@ checkMachineTypesScopedListWarningData(api.MachineTypesScopedListWarningData o)
|
| buildCounterMachineTypesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed747() {
|
| +buildUnnamed2327() {
|
| var o = new core.List<api.MachineTypesScopedListWarningData>();
|
| o.add(buildMachineTypesScopedListWarningData());
|
| o.add(buildMachineTypesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed747(core.List<api.MachineTypesScopedListWarningData> o) {
|
| +checkUnnamed2327(core.List<api.MachineTypesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMachineTypesScopedListWarningData(o[0]);
|
| checkMachineTypesScopedListWarningData(o[1]);
|
| @@ -3708,7 +3798,7 @@ buildMachineTypesScopedListWarning() {
|
| buildCounterMachineTypesScopedListWarning++;
|
| if (buildCounterMachineTypesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed747();
|
| + o.data = buildUnnamed2327();
|
| o.message = "foo";
|
| }
|
| buildCounterMachineTypesScopedListWarning--;
|
| @@ -3719,7 +3809,7 @@ checkMachineTypesScopedListWarning(api.MachineTypesScopedListWarning o) {
|
| buildCounterMachineTypesScopedListWarning++;
|
| if (buildCounterMachineTypesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed747(o.data);
|
| + checkUnnamed2327(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterMachineTypesScopedListWarning--;
|
| @@ -3730,7 +3820,7 @@ buildMachineTypesScopedList() {
|
| var o = new api.MachineTypesScopedList();
|
| buildCounterMachineTypesScopedList++;
|
| if (buildCounterMachineTypesScopedList < 3) {
|
| - o.machineTypes = buildUnnamed746();
|
| + o.machineTypes = buildUnnamed2326();
|
| o.warning = buildMachineTypesScopedListWarning();
|
| }
|
| buildCounterMachineTypesScopedList--;
|
| @@ -3740,7 +3830,7 @@ buildMachineTypesScopedList() {
|
| checkMachineTypesScopedList(api.MachineTypesScopedList o) {
|
| buildCounterMachineTypesScopedList++;
|
| if (buildCounterMachineTypesScopedList < 3) {
|
| - checkUnnamed746(o.machineTypes);
|
| + checkUnnamed2326(o.machineTypes);
|
| checkMachineTypesScopedListWarning(o.warning);
|
| }
|
| buildCounterMachineTypesScopedList--;
|
| @@ -3796,14 +3886,14 @@ checkManagedInstanceLastAttemptErrorsErrors(api.ManagedInstanceLastAttemptErrors
|
| buildCounterManagedInstanceLastAttemptErrorsErrors--;
|
| }
|
|
|
| -buildUnnamed748() {
|
| +buildUnnamed2328() {
|
| var o = new core.List<api.ManagedInstanceLastAttemptErrorsErrors>();
|
| o.add(buildManagedInstanceLastAttemptErrorsErrors());
|
| o.add(buildManagedInstanceLastAttemptErrorsErrors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed748(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
|
| +checkUnnamed2328(core.List<api.ManagedInstanceLastAttemptErrorsErrors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkManagedInstanceLastAttemptErrorsErrors(o[0]);
|
| checkManagedInstanceLastAttemptErrorsErrors(o[1]);
|
| @@ -3814,7 +3904,7 @@ buildManagedInstanceLastAttemptErrors() {
|
| var o = new api.ManagedInstanceLastAttemptErrors();
|
| buildCounterManagedInstanceLastAttemptErrors++;
|
| if (buildCounterManagedInstanceLastAttemptErrors < 3) {
|
| - o.errors = buildUnnamed748();
|
| + o.errors = buildUnnamed2328();
|
| }
|
| buildCounterManagedInstanceLastAttemptErrors--;
|
| return o;
|
| @@ -3823,7 +3913,7 @@ buildManagedInstanceLastAttemptErrors() {
|
| checkManagedInstanceLastAttemptErrors(api.ManagedInstanceLastAttemptErrors o) {
|
| buildCounterManagedInstanceLastAttemptErrors++;
|
| if (buildCounterManagedInstanceLastAttemptErrors < 3) {
|
| - checkUnnamed748(o.errors);
|
| + checkUnnamed2328(o.errors);
|
| }
|
| buildCounterManagedInstanceLastAttemptErrors--;
|
| }
|
| @@ -3868,14 +3958,14 @@ checkMetadataItems(api.MetadataItems o) {
|
| buildCounterMetadataItems--;
|
| }
|
|
|
| -buildUnnamed749() {
|
| +buildUnnamed2329() {
|
| var o = new core.List<api.MetadataItems>();
|
| o.add(buildMetadataItems());
|
| o.add(buildMetadataItems());
|
| return o;
|
| }
|
|
|
| -checkUnnamed749(core.List<api.MetadataItems> o) {
|
| +checkUnnamed2329(core.List<api.MetadataItems> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetadataItems(o[0]);
|
| checkMetadataItems(o[1]);
|
| @@ -3887,7 +3977,7 @@ buildMetadata() {
|
| buildCounterMetadata++;
|
| if (buildCounterMetadata < 3) {
|
| o.fingerprint = "foo";
|
| - o.items = buildUnnamed749();
|
| + o.items = buildUnnamed2329();
|
| o.kind = "foo";
|
| }
|
| buildCounterMetadata--;
|
| @@ -3898,7 +3988,7 @@ checkMetadata(api.Metadata o) {
|
| buildCounterMetadata++;
|
| if (buildCounterMetadata < 3) {
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed749(o.items);
|
| + checkUnnamed2329(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterMetadata--;
|
| @@ -3925,14 +4015,14 @@ checkNamedPort(api.NamedPort o) {
|
| buildCounterNamedPort--;
|
| }
|
|
|
| -buildUnnamed750() {
|
| +buildUnnamed2330() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed750(core.List<core.String> o) {
|
| +checkUnnamed2330(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'));
|
| @@ -3952,7 +4042,7 @@ buildNetwork() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.selfLink = "foo";
|
| - o.subnetworks = buildUnnamed750();
|
| + o.subnetworks = buildUnnamed2330();
|
| }
|
| buildCounterNetwork--;
|
| return o;
|
| @@ -3970,19 +4060,19 @@ checkNetwork(api.Network o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed750(o.subnetworks);
|
| + checkUnnamed2330(o.subnetworks);
|
| }
|
| buildCounterNetwork--;
|
| }
|
|
|
| -buildUnnamed751() {
|
| +buildUnnamed2331() {
|
| var o = new core.List<api.AccessConfig>();
|
| o.add(buildAccessConfig());
|
| o.add(buildAccessConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed751(core.List<api.AccessConfig> o) {
|
| +checkUnnamed2331(core.List<api.AccessConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccessConfig(o[0]);
|
| checkAccessConfig(o[1]);
|
| @@ -3993,7 +4083,7 @@ buildNetworkInterface() {
|
| var o = new api.NetworkInterface();
|
| buildCounterNetworkInterface++;
|
| if (buildCounterNetworkInterface < 3) {
|
| - o.accessConfigs = buildUnnamed751();
|
| + o.accessConfigs = buildUnnamed2331();
|
| o.name = "foo";
|
| o.network = "foo";
|
| o.networkIP = "foo";
|
| @@ -4006,7 +4096,7 @@ buildNetworkInterface() {
|
| checkNetworkInterface(api.NetworkInterface o) {
|
| buildCounterNetworkInterface++;
|
| if (buildCounterNetworkInterface < 3) {
|
| - checkUnnamed751(o.accessConfigs);
|
| + checkUnnamed2331(o.accessConfigs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| unittest.expect(o.networkIP, unittest.equals('foo'));
|
| @@ -4015,14 +4105,14 @@ checkNetworkInterface(api.NetworkInterface o) {
|
| buildCounterNetworkInterface--;
|
| }
|
|
|
| -buildUnnamed752() {
|
| +buildUnnamed2332() {
|
| var o = new core.List<api.Network>();
|
| o.add(buildNetwork());
|
| o.add(buildNetwork());
|
| return o;
|
| }
|
|
|
| -checkUnnamed752(core.List<api.Network> o) {
|
| +checkUnnamed2332(core.List<api.Network> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNetwork(o[0]);
|
| checkNetwork(o[1]);
|
| @@ -4034,7 +4124,7 @@ buildNetworkList() {
|
| buildCounterNetworkList++;
|
| if (buildCounterNetworkList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed752();
|
| + o.items = buildUnnamed2332();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -4047,7 +4137,7 @@ checkNetworkList(api.NetworkList o) {
|
| buildCounterNetworkList++;
|
| if (buildCounterNetworkList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed752(o.items);
|
| + checkUnnamed2332(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -4078,14 +4168,14 @@ checkOperationErrorErrors(api.OperationErrorErrors o) {
|
| buildCounterOperationErrorErrors--;
|
| }
|
|
|
| -buildUnnamed753() {
|
| +buildUnnamed2333() {
|
| var o = new core.List<api.OperationErrorErrors>();
|
| o.add(buildOperationErrorErrors());
|
| o.add(buildOperationErrorErrors());
|
| return o;
|
| }
|
|
|
| -checkUnnamed753(core.List<api.OperationErrorErrors> o) {
|
| +checkUnnamed2333(core.List<api.OperationErrorErrors> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationErrorErrors(o[0]);
|
| checkOperationErrorErrors(o[1]);
|
| @@ -4096,7 +4186,7 @@ buildOperationError() {
|
| var o = new api.OperationError();
|
| buildCounterOperationError++;
|
| if (buildCounterOperationError < 3) {
|
| - o.errors = buildUnnamed753();
|
| + o.errors = buildUnnamed2333();
|
| }
|
| buildCounterOperationError--;
|
| return o;
|
| @@ -4105,7 +4195,7 @@ buildOperationError() {
|
| checkOperationError(api.OperationError o) {
|
| buildCounterOperationError++;
|
| if (buildCounterOperationError < 3) {
|
| - checkUnnamed753(o.errors);
|
| + checkUnnamed2333(o.errors);
|
| }
|
| buildCounterOperationError--;
|
| }
|
| @@ -4131,14 +4221,14 @@ checkOperationWarningsData(api.OperationWarningsData o) {
|
| buildCounterOperationWarningsData--;
|
| }
|
|
|
| -buildUnnamed754() {
|
| +buildUnnamed2334() {
|
| var o = new core.List<api.OperationWarningsData>();
|
| o.add(buildOperationWarningsData());
|
| o.add(buildOperationWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed754(core.List<api.OperationWarningsData> o) {
|
| +checkUnnamed2334(core.List<api.OperationWarningsData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationWarningsData(o[0]);
|
| checkOperationWarningsData(o[1]);
|
| @@ -4150,7 +4240,7 @@ buildOperationWarnings() {
|
| buildCounterOperationWarnings++;
|
| if (buildCounterOperationWarnings < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed754();
|
| + o.data = buildUnnamed2334();
|
| o.message = "foo";
|
| }
|
| buildCounterOperationWarnings--;
|
| @@ -4161,20 +4251,20 @@ checkOperationWarnings(api.OperationWarnings o) {
|
| buildCounterOperationWarnings++;
|
| if (buildCounterOperationWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed754(o.data);
|
| + checkUnnamed2334(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterOperationWarnings--;
|
| }
|
|
|
| -buildUnnamed755() {
|
| +buildUnnamed2335() {
|
| var o = new core.List<api.OperationWarnings>();
|
| o.add(buildOperationWarnings());
|
| o.add(buildOperationWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed755(core.List<api.OperationWarnings> o) {
|
| +checkUnnamed2335(core.List<api.OperationWarnings> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationWarnings(o[0]);
|
| checkOperationWarnings(o[1]);
|
| @@ -4206,7 +4296,7 @@ buildOperation() {
|
| o.targetId = "foo";
|
| o.targetLink = "foo";
|
| o.user = "foo";
|
| - o.warnings = buildUnnamed755();
|
| + o.warnings = buildUnnamed2335();
|
| o.zone = "foo";
|
| }
|
| buildCounterOperation--;
|
| @@ -4237,20 +4327,20 @@ checkOperation(api.Operation o) {
|
| unittest.expect(o.targetId, unittest.equals('foo'));
|
| unittest.expect(o.targetLink, unittest.equals('foo'));
|
| unittest.expect(o.user, unittest.equals('foo'));
|
| - checkUnnamed755(o.warnings);
|
| + checkUnnamed2335(o.warnings);
|
| unittest.expect(o.zone, unittest.equals('foo'));
|
| }
|
| buildCounterOperation--;
|
| }
|
|
|
| -buildUnnamed756() {
|
| +buildUnnamed2336() {
|
| var o = new core.Map<core.String, api.OperationsScopedList>();
|
| o["x"] = buildOperationsScopedList();
|
| o["y"] = buildOperationsScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed756(core.Map<core.String, api.OperationsScopedList> o) {
|
| +checkUnnamed2336(core.Map<core.String, api.OperationsScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationsScopedList(o["x"]);
|
| checkOperationsScopedList(o["y"]);
|
| @@ -4262,7 +4352,7 @@ buildOperationAggregatedList() {
|
| buildCounterOperationAggregatedList++;
|
| if (buildCounterOperationAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed756();
|
| + o.items = buildUnnamed2336();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -4275,7 +4365,7 @@ checkOperationAggregatedList(api.OperationAggregatedList o) {
|
| buildCounterOperationAggregatedList++;
|
| if (buildCounterOperationAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed756(o.items);
|
| + checkUnnamed2336(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -4283,14 +4373,14 @@ checkOperationAggregatedList(api.OperationAggregatedList o) {
|
| buildCounterOperationAggregatedList--;
|
| }
|
|
|
| -buildUnnamed757() {
|
| +buildUnnamed2337() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed757(core.List<api.Operation> o) {
|
| +checkUnnamed2337(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -4302,7 +4392,7 @@ buildOperationList() {
|
| buildCounterOperationList++;
|
| if (buildCounterOperationList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed757();
|
| + o.items = buildUnnamed2337();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -4315,7 +4405,7 @@ checkOperationList(api.OperationList o) {
|
| buildCounterOperationList++;
|
| if (buildCounterOperationList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed757(o.items);
|
| + checkUnnamed2337(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -4323,14 +4413,14 @@ checkOperationList(api.OperationList o) {
|
| buildCounterOperationList--;
|
| }
|
|
|
| -buildUnnamed758() {
|
| +buildUnnamed2338() {
|
| var o = new core.List<api.Operation>();
|
| o.add(buildOperation());
|
| o.add(buildOperation());
|
| return o;
|
| }
|
|
|
| -checkUnnamed758(core.List<api.Operation> o) {
|
| +checkUnnamed2338(core.List<api.Operation> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperation(o[0]);
|
| checkOperation(o[1]);
|
| @@ -4357,14 +4447,14 @@ checkOperationsScopedListWarningData(api.OperationsScopedListWarningData o) {
|
| buildCounterOperationsScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed759() {
|
| +buildUnnamed2339() {
|
| var o = new core.List<api.OperationsScopedListWarningData>();
|
| o.add(buildOperationsScopedListWarningData());
|
| o.add(buildOperationsScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed759(core.List<api.OperationsScopedListWarningData> o) {
|
| +checkUnnamed2339(core.List<api.OperationsScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkOperationsScopedListWarningData(o[0]);
|
| checkOperationsScopedListWarningData(o[1]);
|
| @@ -4376,7 +4466,7 @@ buildOperationsScopedListWarning() {
|
| buildCounterOperationsScopedListWarning++;
|
| if (buildCounterOperationsScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed759();
|
| + o.data = buildUnnamed2339();
|
| o.message = "foo";
|
| }
|
| buildCounterOperationsScopedListWarning--;
|
| @@ -4387,7 +4477,7 @@ checkOperationsScopedListWarning(api.OperationsScopedListWarning o) {
|
| buildCounterOperationsScopedListWarning++;
|
| if (buildCounterOperationsScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed759(o.data);
|
| + checkUnnamed2339(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterOperationsScopedListWarning--;
|
| @@ -4398,7 +4488,7 @@ buildOperationsScopedList() {
|
| var o = new api.OperationsScopedList();
|
| buildCounterOperationsScopedList++;
|
| if (buildCounterOperationsScopedList < 3) {
|
| - o.operations = buildUnnamed758();
|
| + o.operations = buildUnnamed2338();
|
| o.warning = buildOperationsScopedListWarning();
|
| }
|
| buildCounterOperationsScopedList--;
|
| @@ -4408,20 +4498,20 @@ buildOperationsScopedList() {
|
| checkOperationsScopedList(api.OperationsScopedList o) {
|
| buildCounterOperationsScopedList++;
|
| if (buildCounterOperationsScopedList < 3) {
|
| - checkUnnamed758(o.operations);
|
| + checkUnnamed2338(o.operations);
|
| checkOperationsScopedListWarning(o.warning);
|
| }
|
| buildCounterOperationsScopedList--;
|
| }
|
|
|
| -buildUnnamed760() {
|
| +buildUnnamed2340() {
|
| var o = new core.List<api.PathRule>();
|
| o.add(buildPathRule());
|
| o.add(buildPathRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed760(core.List<api.PathRule> o) {
|
| +checkUnnamed2340(core.List<api.PathRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPathRule(o[0]);
|
| checkPathRule(o[1]);
|
| @@ -4435,7 +4525,7 @@ buildPathMatcher() {
|
| o.defaultService = "foo";
|
| o.description = "foo";
|
| o.name = "foo";
|
| - o.pathRules = buildUnnamed760();
|
| + o.pathRules = buildUnnamed2340();
|
| }
|
| buildCounterPathMatcher--;
|
| return o;
|
| @@ -4447,19 +4537,19 @@ checkPathMatcher(api.PathMatcher o) {
|
| unittest.expect(o.defaultService, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed760(o.pathRules);
|
| + checkUnnamed2340(o.pathRules);
|
| }
|
| buildCounterPathMatcher--;
|
| }
|
|
|
| -buildUnnamed761() {
|
| +buildUnnamed2341() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed761(core.List<core.String> o) {
|
| +checkUnnamed2341(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'));
|
| @@ -4470,7 +4560,7 @@ buildPathRule() {
|
| var o = new api.PathRule();
|
| buildCounterPathRule++;
|
| if (buildCounterPathRule < 3) {
|
| - o.paths = buildUnnamed761();
|
| + o.paths = buildUnnamed2341();
|
| o.service = "foo";
|
| }
|
| buildCounterPathRule--;
|
| @@ -4480,33 +4570,33 @@ buildPathRule() {
|
| checkPathRule(api.PathRule o) {
|
| buildCounterPathRule++;
|
| if (buildCounterPathRule < 3) {
|
| - checkUnnamed761(o.paths);
|
| + checkUnnamed2341(o.paths);
|
| unittest.expect(o.service, unittest.equals('foo'));
|
| }
|
| buildCounterPathRule--;
|
| }
|
|
|
| -buildUnnamed762() {
|
| +buildUnnamed2342() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed762(core.List<core.String> o) {
|
| +checkUnnamed2342(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'));
|
| }
|
|
|
| -buildUnnamed763() {
|
| +buildUnnamed2343() {
|
| var o = new core.List<api.Quota>();
|
| o.add(buildQuota());
|
| o.add(buildQuota());
|
| return o;
|
| }
|
|
|
| -checkUnnamed763(core.List<api.Quota> o) {
|
| +checkUnnamed2343(core.List<api.Quota> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuota(o[0]);
|
| checkQuota(o[1]);
|
| @@ -4519,12 +4609,13 @@ buildProject() {
|
| if (buildCounterProject < 3) {
|
| o.commonInstanceMetadata = buildMetadata();
|
| o.creationTimestamp = "foo";
|
| + o.defaultServiceAccount = "foo";
|
| o.description = "foo";
|
| - o.enabledFeatures = buildUnnamed762();
|
| + o.enabledFeatures = buildUnnamed2342();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.quotas = buildUnnamed763();
|
| + o.quotas = buildUnnamed2343();
|
| o.selfLink = "foo";
|
| o.usageExportLocation = buildUsageExportLocation();
|
| }
|
| @@ -4537,12 +4628,13 @@ checkProject(api.Project o) {
|
| if (buildCounterProject < 3) {
|
| checkMetadata(o.commonInstanceMetadata);
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| + unittest.expect(o.defaultServiceAccount, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed762(o.enabledFeatures);
|
| + checkUnnamed2342(o.enabledFeatures);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed763(o.quotas);
|
| + checkUnnamed2343(o.quotas);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| checkUsageExportLocation(o.usageExportLocation);
|
| }
|
| @@ -4572,27 +4664,27 @@ checkQuota(api.Quota o) {
|
| buildCounterQuota--;
|
| }
|
|
|
| -buildUnnamed764() {
|
| +buildUnnamed2344() {
|
| var o = new core.List<api.Quota>();
|
| o.add(buildQuota());
|
| o.add(buildQuota());
|
| return o;
|
| }
|
|
|
| -checkUnnamed764(core.List<api.Quota> o) {
|
| +checkUnnamed2344(core.List<api.Quota> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkQuota(o[0]);
|
| checkQuota(o[1]);
|
| }
|
|
|
| -buildUnnamed765() {
|
| +buildUnnamed2345() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed765(core.List<core.String> o) {
|
| +checkUnnamed2345(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'));
|
| @@ -4609,10 +4701,10 @@ buildRegion() {
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.quotas = buildUnnamed764();
|
| + o.quotas = buildUnnamed2344();
|
| o.selfLink = "foo";
|
| o.status = "foo";
|
| - o.zones = buildUnnamed765();
|
| + o.zones = buildUnnamed2345();
|
| }
|
| buildCounterRegion--;
|
| return o;
|
| @@ -4627,22 +4719,22 @@ checkRegion(api.Region o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed764(o.quotas);
|
| + checkUnnamed2344(o.quotas);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| - checkUnnamed765(o.zones);
|
| + checkUnnamed2345(o.zones);
|
| }
|
| buildCounterRegion--;
|
| }
|
|
|
| -buildUnnamed766() {
|
| +buildUnnamed2346() {
|
| var o = new core.List<api.Region>();
|
| o.add(buildRegion());
|
| o.add(buildRegion());
|
| return o;
|
| }
|
|
|
| -checkUnnamed766(core.List<api.Region> o) {
|
| +checkUnnamed2346(core.List<api.Region> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRegion(o[0]);
|
| checkRegion(o[1]);
|
| @@ -4654,7 +4746,7 @@ buildRegionList() {
|
| buildCounterRegionList++;
|
| if (buildCounterRegionList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed766();
|
| + o.items = buildUnnamed2346();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -4667,7 +4759,7 @@ checkRegionList(api.RegionList o) {
|
| buildCounterRegionList++;
|
| if (buildCounterRegionList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed766(o.items);
|
| + checkUnnamed2346(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -4694,14 +4786,14 @@ checkResourceGroupReference(api.ResourceGroupReference o) {
|
| buildCounterResourceGroupReference--;
|
| }
|
|
|
| -buildUnnamed767() {
|
| +buildUnnamed2347() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed767(core.List<core.String> o) {
|
| +checkUnnamed2347(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'));
|
| @@ -4728,14 +4820,14 @@ checkRouteWarningsData(api.RouteWarningsData o) {
|
| buildCounterRouteWarningsData--;
|
| }
|
|
|
| -buildUnnamed768() {
|
| +buildUnnamed2348() {
|
| var o = new core.List<api.RouteWarningsData>();
|
| o.add(buildRouteWarningsData());
|
| o.add(buildRouteWarningsData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed768(core.List<api.RouteWarningsData> o) {
|
| +checkUnnamed2348(core.List<api.RouteWarningsData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRouteWarningsData(o[0]);
|
| checkRouteWarningsData(o[1]);
|
| @@ -4747,7 +4839,7 @@ buildRouteWarnings() {
|
| buildCounterRouteWarnings++;
|
| if (buildCounterRouteWarnings < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed768();
|
| + o.data = buildUnnamed2348();
|
| o.message = "foo";
|
| }
|
| buildCounterRouteWarnings--;
|
| @@ -4758,20 +4850,20 @@ checkRouteWarnings(api.RouteWarnings o) {
|
| buildCounterRouteWarnings++;
|
| if (buildCounterRouteWarnings < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed768(o.data);
|
| + checkUnnamed2348(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterRouteWarnings--;
|
| }
|
|
|
| -buildUnnamed769() {
|
| +buildUnnamed2349() {
|
| var o = new core.List<api.RouteWarnings>();
|
| o.add(buildRouteWarnings());
|
| o.add(buildRouteWarnings());
|
| return o;
|
| }
|
|
|
| -checkUnnamed769(core.List<api.RouteWarnings> o) {
|
| +checkUnnamed2349(core.List<api.RouteWarnings> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRouteWarnings(o[0]);
|
| checkRouteWarnings(o[1]);
|
| @@ -4796,8 +4888,8 @@ buildRoute() {
|
| o.nextHopVpnTunnel = "foo";
|
| o.priority = 42;
|
| o.selfLink = "foo";
|
| - o.tags = buildUnnamed767();
|
| - o.warnings = buildUnnamed769();
|
| + o.tags = buildUnnamed2347();
|
| + o.warnings = buildUnnamed2349();
|
| }
|
| buildCounterRoute--;
|
| return o;
|
| @@ -4820,20 +4912,20 @@ checkRoute(api.Route o) {
|
| unittest.expect(o.nextHopVpnTunnel, unittest.equals('foo'));
|
| unittest.expect(o.priority, unittest.equals(42));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed767(o.tags);
|
| - checkUnnamed769(o.warnings);
|
| + checkUnnamed2347(o.tags);
|
| + checkUnnamed2349(o.warnings);
|
| }
|
| buildCounterRoute--;
|
| }
|
|
|
| -buildUnnamed770() {
|
| +buildUnnamed2350() {
|
| var o = new core.List<api.Route>();
|
| o.add(buildRoute());
|
| o.add(buildRoute());
|
| return o;
|
| }
|
|
|
| -checkUnnamed770(core.List<api.Route> o) {
|
| +checkUnnamed2350(core.List<api.Route> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkRoute(o[0]);
|
| checkRoute(o[1]);
|
| @@ -4845,7 +4937,7 @@ buildRouteList() {
|
| buildCounterRouteList++;
|
| if (buildCounterRouteList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed770();
|
| + o.items = buildUnnamed2350();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -4858,7 +4950,7 @@ checkRouteList(api.RouteList o) {
|
| buildCounterRouteList++;
|
| if (buildCounterRouteList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed770(o.items);
|
| + checkUnnamed2350(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -4866,6 +4958,433 @@ checkRouteList(api.RouteList o) {
|
| buildCounterRouteList--;
|
| }
|
|
|
| +buildUnnamed2351() {
|
| + var o = new core.List<api.RouterBgpPeer>();
|
| + o.add(buildRouterBgpPeer());
|
| + o.add(buildRouterBgpPeer());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2351(core.List<api.RouterBgpPeer> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRouterBgpPeer(o[0]);
|
| + checkRouterBgpPeer(o[1]);
|
| +}
|
| +
|
| +buildUnnamed2352() {
|
| + var o = new core.List<api.RouterInterface>();
|
| + o.add(buildRouterInterface());
|
| + o.add(buildRouterInterface());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2352(core.List<api.RouterInterface> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRouterInterface(o[0]);
|
| + checkRouterInterface(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRouter = 0;
|
| +buildRouter() {
|
| + var o = new api.Router();
|
| + buildCounterRouter++;
|
| + if (buildCounterRouter < 3) {
|
| + o.bgp = buildRouterBgp();
|
| + o.bgpPeers = buildUnnamed2351();
|
| + o.creationTimestamp = "foo";
|
| + o.description = "foo";
|
| + o.id = "foo";
|
| + o.interfaces = buildUnnamed2352();
|
| + o.kind = "foo";
|
| + o.name = "foo";
|
| + o.network = "foo";
|
| + o.region = "foo";
|
| + o.selfLink = "foo";
|
| + }
|
| + buildCounterRouter--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouter(api.Router o) {
|
| + buildCounterRouter++;
|
| + if (buildCounterRouter < 3) {
|
| + checkRouterBgp(o.bgp);
|
| + checkUnnamed2351(o.bgpPeers);
|
| + unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| + unittest.expect(o.description, unittest.equals('foo'));
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkUnnamed2352(o.interfaces);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.network, unittest.equals('foo'));
|
| + unittest.expect(o.region, unittest.equals('foo'));
|
| + unittest.expect(o.selfLink, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouter--;
|
| +}
|
| +
|
| +buildUnnamed2353() {
|
| + var o = new core.Map<core.String, api.RoutersScopedList>();
|
| + o["x"] = buildRoutersScopedList();
|
| + o["y"] = buildRoutersScopedList();
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2353(core.Map<core.String, api.RoutersScopedList> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRoutersScopedList(o["x"]);
|
| + checkRoutersScopedList(o["y"]);
|
| +}
|
| +
|
| +core.int buildCounterRouterAggregatedList = 0;
|
| +buildRouterAggregatedList() {
|
| + var o = new api.RouterAggregatedList();
|
| + buildCounterRouterAggregatedList++;
|
| + if (buildCounterRouterAggregatedList < 3) {
|
| + o.id = "foo";
|
| + o.items = buildUnnamed2353();
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.selfLink = "foo";
|
| + }
|
| + buildCounterRouterAggregatedList--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterAggregatedList(api.RouterAggregatedList o) {
|
| + buildCounterRouterAggregatedList++;
|
| + if (buildCounterRouterAggregatedList < 3) {
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkUnnamed2353(o.items);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + unittest.expect(o.selfLink, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterAggregatedList--;
|
| +}
|
| +
|
| +core.int buildCounterRouterBgp = 0;
|
| +buildRouterBgp() {
|
| + var o = new api.RouterBgp();
|
| + buildCounterRouterBgp++;
|
| + if (buildCounterRouterBgp < 3) {
|
| + o.asn = 42;
|
| + }
|
| + buildCounterRouterBgp--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterBgp(api.RouterBgp o) {
|
| + buildCounterRouterBgp++;
|
| + if (buildCounterRouterBgp < 3) {
|
| + unittest.expect(o.asn, unittest.equals(42));
|
| + }
|
| + buildCounterRouterBgp--;
|
| +}
|
| +
|
| +core.int buildCounterRouterBgpPeer = 0;
|
| +buildRouterBgpPeer() {
|
| + var o = new api.RouterBgpPeer();
|
| + buildCounterRouterBgpPeer++;
|
| + if (buildCounterRouterBgpPeer < 3) {
|
| + o.advertisedRoutePriority = 42;
|
| + o.interfaceName = "foo";
|
| + o.ipAddress = "foo";
|
| + o.name = "foo";
|
| + o.peerAsn = 42;
|
| + o.peerIpAddress = "foo";
|
| + }
|
| + buildCounterRouterBgpPeer--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterBgpPeer(api.RouterBgpPeer o) {
|
| + buildCounterRouterBgpPeer++;
|
| + if (buildCounterRouterBgpPeer < 3) {
|
| + unittest.expect(o.advertisedRoutePriority, unittest.equals(42));
|
| + unittest.expect(o.interfaceName, unittest.equals('foo'));
|
| + unittest.expect(o.ipAddress, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.peerAsn, unittest.equals(42));
|
| + unittest.expect(o.peerIpAddress, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterBgpPeer--;
|
| +}
|
| +
|
| +core.int buildCounterRouterInterface = 0;
|
| +buildRouterInterface() {
|
| + var o = new api.RouterInterface();
|
| + buildCounterRouterInterface++;
|
| + if (buildCounterRouterInterface < 3) {
|
| + o.ipRange = "foo";
|
| + o.linkedVpnTunnel = "foo";
|
| + o.name = "foo";
|
| + }
|
| + buildCounterRouterInterface--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterInterface(api.RouterInterface o) {
|
| + buildCounterRouterInterface++;
|
| + if (buildCounterRouterInterface < 3) {
|
| + unittest.expect(o.ipRange, unittest.equals('foo'));
|
| + unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterInterface--;
|
| +}
|
| +
|
| +buildUnnamed2354() {
|
| + var o = new core.List<api.Router>();
|
| + o.add(buildRouter());
|
| + o.add(buildRouter());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2354(core.List<api.Router> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRouter(o[0]);
|
| + checkRouter(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRouterList = 0;
|
| +buildRouterList() {
|
| + var o = new api.RouterList();
|
| + buildCounterRouterList++;
|
| + if (buildCounterRouterList < 3) {
|
| + o.id = "foo";
|
| + o.items = buildUnnamed2354();
|
| + o.kind = "foo";
|
| + o.nextPageToken = "foo";
|
| + o.selfLink = "foo";
|
| + }
|
| + buildCounterRouterList--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterList(api.RouterList o) {
|
| + buildCounterRouterList++;
|
| + if (buildCounterRouterList < 3) {
|
| + unittest.expect(o.id, unittest.equals('foo'));
|
| + checkUnnamed2354(o.items);
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| + unittest.expect(o.selfLink, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterList--;
|
| +}
|
| +
|
| +buildUnnamed2355() {
|
| + var o = new core.List<api.Route>();
|
| + o.add(buildRoute());
|
| + o.add(buildRoute());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2355(core.List<api.Route> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRoute(o[0]);
|
| + checkRoute(o[1]);
|
| +}
|
| +
|
| +buildUnnamed2356() {
|
| + var o = new core.List<api.RouterStatusBgpPeerStatus>();
|
| + o.add(buildRouterStatusBgpPeerStatus());
|
| + o.add(buildRouterStatusBgpPeerStatus());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2356(core.List<api.RouterStatusBgpPeerStatus> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRouterStatusBgpPeerStatus(o[0]);
|
| + checkRouterStatusBgpPeerStatus(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRouterStatus = 0;
|
| +buildRouterStatus() {
|
| + var o = new api.RouterStatus();
|
| + buildCounterRouterStatus++;
|
| + if (buildCounterRouterStatus < 3) {
|
| + o.bestRoutes = buildUnnamed2355();
|
| + o.bgpPeerStatus = buildUnnamed2356();
|
| + o.network = "foo";
|
| + }
|
| + buildCounterRouterStatus--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterStatus(api.RouterStatus o) {
|
| + buildCounterRouterStatus++;
|
| + if (buildCounterRouterStatus < 3) {
|
| + checkUnnamed2355(o.bestRoutes);
|
| + checkUnnamed2356(o.bgpPeerStatus);
|
| + unittest.expect(o.network, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterStatus--;
|
| +}
|
| +
|
| +buildUnnamed2357() {
|
| + var o = new core.List<api.Route>();
|
| + o.add(buildRoute());
|
| + o.add(buildRoute());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2357(core.List<api.Route> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRoute(o[0]);
|
| + checkRoute(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRouterStatusBgpPeerStatus = 0;
|
| +buildRouterStatusBgpPeerStatus() {
|
| + var o = new api.RouterStatusBgpPeerStatus();
|
| + buildCounterRouterStatusBgpPeerStatus++;
|
| + if (buildCounterRouterStatusBgpPeerStatus < 3) {
|
| + o.advertisedRoutes = buildUnnamed2357();
|
| + o.ipAddress = "foo";
|
| + o.linkedVpnTunnel = "foo";
|
| + o.name = "foo";
|
| + o.numLearnedRoutes = 42;
|
| + o.peerIpAddress = "foo";
|
| + o.state = "foo";
|
| + o.status = "foo";
|
| + o.uptime = "foo";
|
| + o.uptimeSeconds = "foo";
|
| + }
|
| + buildCounterRouterStatusBgpPeerStatus--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterStatusBgpPeerStatus(api.RouterStatusBgpPeerStatus o) {
|
| + buildCounterRouterStatusBgpPeerStatus++;
|
| + if (buildCounterRouterStatusBgpPeerStatus < 3) {
|
| + checkUnnamed2357(o.advertisedRoutes);
|
| + unittest.expect(o.ipAddress, unittest.equals('foo'));
|
| + unittest.expect(o.linkedVpnTunnel, unittest.equals('foo'));
|
| + unittest.expect(o.name, unittest.equals('foo'));
|
| + unittest.expect(o.numLearnedRoutes, unittest.equals(42));
|
| + unittest.expect(o.peerIpAddress, unittest.equals('foo'));
|
| + unittest.expect(o.state, unittest.equals('foo'));
|
| + unittest.expect(o.status, unittest.equals('foo'));
|
| + unittest.expect(o.uptime, unittest.equals('foo'));
|
| + unittest.expect(o.uptimeSeconds, unittest.equals('foo'));
|
| + }
|
| + buildCounterRouterStatusBgpPeerStatus--;
|
| +}
|
| +
|
| +core.int buildCounterRouterStatusResponse = 0;
|
| +buildRouterStatusResponse() {
|
| + var o = new api.RouterStatusResponse();
|
| + buildCounterRouterStatusResponse++;
|
| + if (buildCounterRouterStatusResponse < 3) {
|
| + o.kind = "foo";
|
| + o.result = buildRouterStatus();
|
| + }
|
| + buildCounterRouterStatusResponse--;
|
| + return o;
|
| +}
|
| +
|
| +checkRouterStatusResponse(api.RouterStatusResponse o) {
|
| + buildCounterRouterStatusResponse++;
|
| + if (buildCounterRouterStatusResponse < 3) {
|
| + unittest.expect(o.kind, unittest.equals('foo'));
|
| + checkRouterStatus(o.result);
|
| + }
|
| + buildCounterRouterStatusResponse--;
|
| +}
|
| +
|
| +buildUnnamed2358() {
|
| + var o = new core.List<api.Router>();
|
| + o.add(buildRouter());
|
| + o.add(buildRouter());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2358(core.List<api.Router> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRouter(o[0]);
|
| + checkRouter(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRoutersScopedListWarningData = 0;
|
| +buildRoutersScopedListWarningData() {
|
| + var o = new api.RoutersScopedListWarningData();
|
| + buildCounterRoutersScopedListWarningData++;
|
| + if (buildCounterRoutersScopedListWarningData < 3) {
|
| + o.key = "foo";
|
| + o.value = "foo";
|
| + }
|
| + buildCounterRoutersScopedListWarningData--;
|
| + return o;
|
| +}
|
| +
|
| +checkRoutersScopedListWarningData(api.RoutersScopedListWarningData o) {
|
| + buildCounterRoutersScopedListWarningData++;
|
| + if (buildCounterRoutersScopedListWarningData < 3) {
|
| + unittest.expect(o.key, unittest.equals('foo'));
|
| + unittest.expect(o.value, unittest.equals('foo'));
|
| + }
|
| + buildCounterRoutersScopedListWarningData--;
|
| +}
|
| +
|
| +buildUnnamed2359() {
|
| + var o = new core.List<api.RoutersScopedListWarningData>();
|
| + o.add(buildRoutersScopedListWarningData());
|
| + o.add(buildRoutersScopedListWarningData());
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2359(core.List<api.RoutersScopedListWarningData> o) {
|
| + unittest.expect(o, unittest.hasLength(2));
|
| + checkRoutersScopedListWarningData(o[0]);
|
| + checkRoutersScopedListWarningData(o[1]);
|
| +}
|
| +
|
| +core.int buildCounterRoutersScopedListWarning = 0;
|
| +buildRoutersScopedListWarning() {
|
| + var o = new api.RoutersScopedListWarning();
|
| + buildCounterRoutersScopedListWarning++;
|
| + if (buildCounterRoutersScopedListWarning < 3) {
|
| + o.code = "foo";
|
| + o.data = buildUnnamed2359();
|
| + o.message = "foo";
|
| + }
|
| + buildCounterRoutersScopedListWarning--;
|
| + return o;
|
| +}
|
| +
|
| +checkRoutersScopedListWarning(api.RoutersScopedListWarning o) {
|
| + buildCounterRoutersScopedListWarning++;
|
| + if (buildCounterRoutersScopedListWarning < 3) {
|
| + unittest.expect(o.code, unittest.equals('foo'));
|
| + checkUnnamed2359(o.data);
|
| + unittest.expect(o.message, unittest.equals('foo'));
|
| + }
|
| + buildCounterRoutersScopedListWarning--;
|
| +}
|
| +
|
| +core.int buildCounterRoutersScopedList = 0;
|
| +buildRoutersScopedList() {
|
| + var o = new api.RoutersScopedList();
|
| + buildCounterRoutersScopedList++;
|
| + if (buildCounterRoutersScopedList < 3) {
|
| + o.routers = buildUnnamed2358();
|
| + o.warning = buildRoutersScopedListWarning();
|
| + }
|
| + buildCounterRoutersScopedList--;
|
| + return o;
|
| +}
|
| +
|
| +checkRoutersScopedList(api.RoutersScopedList o) {
|
| + buildCounterRoutersScopedList++;
|
| + if (buildCounterRoutersScopedList < 3) {
|
| + checkUnnamed2358(o.routers);
|
| + checkRoutersScopedListWarning(o.warning);
|
| + }
|
| + buildCounterRoutersScopedList--;
|
| +}
|
| +
|
| core.int buildCounterScheduling = 0;
|
| buildScheduling() {
|
| var o = new api.Scheduling();
|
| @@ -4912,14 +5431,14 @@ checkSerialPortOutput(api.SerialPortOutput o) {
|
| buildCounterSerialPortOutput--;
|
| }
|
|
|
| -buildUnnamed771() {
|
| +buildUnnamed2360() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed771(core.List<core.String> o) {
|
| +checkUnnamed2360(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'));
|
| @@ -4931,7 +5450,7 @@ buildServiceAccount() {
|
| buildCounterServiceAccount++;
|
| if (buildCounterServiceAccount < 3) {
|
| o.email = "foo";
|
| - o.scopes = buildUnnamed771();
|
| + o.scopes = buildUnnamed2360();
|
| }
|
| buildCounterServiceAccount--;
|
| return o;
|
| @@ -4941,19 +5460,19 @@ checkServiceAccount(api.ServiceAccount o) {
|
| buildCounterServiceAccount++;
|
| if (buildCounterServiceAccount < 3) {
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| - checkUnnamed771(o.scopes);
|
| + checkUnnamed2360(o.scopes);
|
| }
|
| buildCounterServiceAccount--;
|
| }
|
|
|
| -buildUnnamed772() {
|
| +buildUnnamed2361() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed772(core.List<core.String> o) {
|
| +checkUnnamed2361(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'));
|
| @@ -4969,10 +5488,12 @@ buildSnapshot() {
|
| o.diskSizeGb = "foo";
|
| o.id = "foo";
|
| o.kind = "foo";
|
| - o.licenses = buildUnnamed772();
|
| + o.licenses = buildUnnamed2361();
|
| o.name = "foo";
|
| o.selfLink = "foo";
|
| + o.snapshotEncryptionKey = buildCustomerEncryptionKey();
|
| o.sourceDisk = "foo";
|
| + o.sourceDiskEncryptionKey = buildCustomerEncryptionKey();
|
| o.sourceDiskId = "foo";
|
| o.status = "foo";
|
| o.storageBytes = "foo";
|
| @@ -4990,10 +5511,12 @@ checkSnapshot(api.Snapshot o) {
|
| unittest.expect(o.diskSizeGb, unittest.equals('foo'));
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed772(o.licenses);
|
| + checkUnnamed2361(o.licenses);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.snapshotEncryptionKey);
|
| unittest.expect(o.sourceDisk, unittest.equals('foo'));
|
| + checkCustomerEncryptionKey(o.sourceDiskEncryptionKey);
|
| unittest.expect(o.sourceDiskId, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| unittest.expect(o.storageBytes, unittest.equals('foo'));
|
| @@ -5002,14 +5525,14 @@ checkSnapshot(api.Snapshot o) {
|
| buildCounterSnapshot--;
|
| }
|
|
|
| -buildUnnamed773() {
|
| +buildUnnamed2362() {
|
| var o = new core.List<api.Snapshot>();
|
| o.add(buildSnapshot());
|
| o.add(buildSnapshot());
|
| return o;
|
| }
|
|
|
| -checkUnnamed773(core.List<api.Snapshot> o) {
|
| +checkUnnamed2362(core.List<api.Snapshot> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSnapshot(o[0]);
|
| checkSnapshot(o[1]);
|
| @@ -5021,7 +5544,7 @@ buildSnapshotList() {
|
| buildCounterSnapshotList++;
|
| if (buildCounterSnapshotList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed773();
|
| + o.items = buildUnnamed2362();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5034,7 +5557,7 @@ checkSnapshotList(api.SnapshotList o) {
|
| buildCounterSnapshotList++;
|
| if (buildCounterSnapshotList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed773(o.items);
|
| + checkUnnamed2362(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5075,14 +5598,14 @@ checkSslCertificate(api.SslCertificate o) {
|
| buildCounterSslCertificate--;
|
| }
|
|
|
| -buildUnnamed774() {
|
| +buildUnnamed2363() {
|
| var o = new core.List<api.SslCertificate>();
|
| o.add(buildSslCertificate());
|
| o.add(buildSslCertificate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed774(core.List<api.SslCertificate> o) {
|
| +checkUnnamed2363(core.List<api.SslCertificate> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSslCertificate(o[0]);
|
| checkSslCertificate(o[1]);
|
| @@ -5094,7 +5617,7 @@ buildSslCertificateList() {
|
| buildCounterSslCertificateList++;
|
| if (buildCounterSslCertificateList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed774();
|
| + o.items = buildUnnamed2363();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5107,7 +5630,7 @@ checkSslCertificateList(api.SslCertificateList o) {
|
| buildCounterSslCertificateList++;
|
| if (buildCounterSslCertificateList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed774(o.items);
|
| + checkUnnamed2363(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5152,14 +5675,14 @@ checkSubnetwork(api.Subnetwork o) {
|
| buildCounterSubnetwork--;
|
| }
|
|
|
| -buildUnnamed775() {
|
| +buildUnnamed2364() {
|
| var o = new core.Map<core.String, api.SubnetworksScopedList>();
|
| o["x"] = buildSubnetworksScopedList();
|
| o["y"] = buildSubnetworksScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed775(core.Map<core.String, api.SubnetworksScopedList> o) {
|
| +checkUnnamed2364(core.Map<core.String, api.SubnetworksScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubnetworksScopedList(o["x"]);
|
| checkSubnetworksScopedList(o["y"]);
|
| @@ -5171,7 +5694,7 @@ buildSubnetworkAggregatedList() {
|
| buildCounterSubnetworkAggregatedList++;
|
| if (buildCounterSubnetworkAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed775();
|
| + o.items = buildUnnamed2364();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5184,7 +5707,7 @@ checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) {
|
| buildCounterSubnetworkAggregatedList++;
|
| if (buildCounterSubnetworkAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed775(o.items);
|
| + checkUnnamed2364(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5192,14 +5715,14 @@ checkSubnetworkAggregatedList(api.SubnetworkAggregatedList o) {
|
| buildCounterSubnetworkAggregatedList--;
|
| }
|
|
|
| -buildUnnamed776() {
|
| +buildUnnamed2365() {
|
| var o = new core.List<api.Subnetwork>();
|
| o.add(buildSubnetwork());
|
| o.add(buildSubnetwork());
|
| return o;
|
| }
|
|
|
| -checkUnnamed776(core.List<api.Subnetwork> o) {
|
| +checkUnnamed2365(core.List<api.Subnetwork> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubnetwork(o[0]);
|
| checkSubnetwork(o[1]);
|
| @@ -5211,7 +5734,7 @@ buildSubnetworkList() {
|
| buildCounterSubnetworkList++;
|
| if (buildCounterSubnetworkList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed776();
|
| + o.items = buildUnnamed2365();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5224,7 +5747,7 @@ checkSubnetworkList(api.SubnetworkList o) {
|
| buildCounterSubnetworkList++;
|
| if (buildCounterSubnetworkList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed776(o.items);
|
| + checkUnnamed2365(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5232,14 +5755,14 @@ checkSubnetworkList(api.SubnetworkList o) {
|
| buildCounterSubnetworkList--;
|
| }
|
|
|
| -buildUnnamed777() {
|
| +buildUnnamed2366() {
|
| var o = new core.List<api.Subnetwork>();
|
| o.add(buildSubnetwork());
|
| o.add(buildSubnetwork());
|
| return o;
|
| }
|
|
|
| -checkUnnamed777(core.List<api.Subnetwork> o) {
|
| +checkUnnamed2366(core.List<api.Subnetwork> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubnetwork(o[0]);
|
| checkSubnetwork(o[1]);
|
| @@ -5266,14 +5789,14 @@ checkSubnetworksScopedListWarningData(api.SubnetworksScopedListWarningData o) {
|
| buildCounterSubnetworksScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed778() {
|
| +buildUnnamed2367() {
|
| var o = new core.List<api.SubnetworksScopedListWarningData>();
|
| o.add(buildSubnetworksScopedListWarningData());
|
| o.add(buildSubnetworksScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed778(core.List<api.SubnetworksScopedListWarningData> o) {
|
| +checkUnnamed2367(core.List<api.SubnetworksScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkSubnetworksScopedListWarningData(o[0]);
|
| checkSubnetworksScopedListWarningData(o[1]);
|
| @@ -5285,7 +5808,7 @@ buildSubnetworksScopedListWarning() {
|
| buildCounterSubnetworksScopedListWarning++;
|
| if (buildCounterSubnetworksScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed778();
|
| + o.data = buildUnnamed2367();
|
| o.message = "foo";
|
| }
|
| buildCounterSubnetworksScopedListWarning--;
|
| @@ -5296,7 +5819,7 @@ checkSubnetworksScopedListWarning(api.SubnetworksScopedListWarning o) {
|
| buildCounterSubnetworksScopedListWarning++;
|
| if (buildCounterSubnetworksScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed778(o.data);
|
| + checkUnnamed2367(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterSubnetworksScopedListWarning--;
|
| @@ -5307,7 +5830,7 @@ buildSubnetworksScopedList() {
|
| var o = new api.SubnetworksScopedList();
|
| buildCounterSubnetworksScopedList++;
|
| if (buildCounterSubnetworksScopedList < 3) {
|
| - o.subnetworks = buildUnnamed777();
|
| + o.subnetworks = buildUnnamed2366();
|
| o.warning = buildSubnetworksScopedListWarning();
|
| }
|
| buildCounterSubnetworksScopedList--;
|
| @@ -5317,20 +5840,20 @@ buildSubnetworksScopedList() {
|
| checkSubnetworksScopedList(api.SubnetworksScopedList o) {
|
| buildCounterSubnetworksScopedList++;
|
| if (buildCounterSubnetworksScopedList < 3) {
|
| - checkUnnamed777(o.subnetworks);
|
| + checkUnnamed2366(o.subnetworks);
|
| checkSubnetworksScopedListWarning(o.warning);
|
| }
|
| buildCounterSubnetworksScopedList--;
|
| }
|
|
|
| -buildUnnamed779() {
|
| +buildUnnamed2368() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed779(core.List<core.String> o) {
|
| +checkUnnamed2368(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'));
|
| @@ -5342,7 +5865,7 @@ buildTags() {
|
| buildCounterTags++;
|
| if (buildCounterTags < 3) {
|
| o.fingerprint = "foo";
|
| - o.items = buildUnnamed779();
|
| + o.items = buildUnnamed2368();
|
| }
|
| buildCounterTags--;
|
| return o;
|
| @@ -5352,7 +5875,7 @@ checkTags(api.Tags o) {
|
| buildCounterTags++;
|
| if (buildCounterTags < 3) {
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed779(o.items);
|
| + checkUnnamed2368(o.items);
|
| }
|
| buildCounterTags--;
|
| }
|
| @@ -5388,14 +5911,14 @@ checkTargetHttpProxy(api.TargetHttpProxy o) {
|
| buildCounterTargetHttpProxy--;
|
| }
|
|
|
| -buildUnnamed780() {
|
| +buildUnnamed2369() {
|
| var o = new core.List<api.TargetHttpProxy>();
|
| o.add(buildTargetHttpProxy());
|
| o.add(buildTargetHttpProxy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed780(core.List<api.TargetHttpProxy> o) {
|
| +checkUnnamed2369(core.List<api.TargetHttpProxy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetHttpProxy(o[0]);
|
| checkTargetHttpProxy(o[1]);
|
| @@ -5407,7 +5930,7 @@ buildTargetHttpProxyList() {
|
| buildCounterTargetHttpProxyList++;
|
| if (buildCounterTargetHttpProxyList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed780();
|
| + o.items = buildUnnamed2369();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5420,7 +5943,7 @@ checkTargetHttpProxyList(api.TargetHttpProxyList o) {
|
| buildCounterTargetHttpProxyList++;
|
| if (buildCounterTargetHttpProxyList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed780(o.items);
|
| + checkUnnamed2369(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5428,14 +5951,14 @@ checkTargetHttpProxyList(api.TargetHttpProxyList o) {
|
| buildCounterTargetHttpProxyList--;
|
| }
|
|
|
| -buildUnnamed781() {
|
| +buildUnnamed2370() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed781(core.List<core.String> o) {
|
| +checkUnnamed2370(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'));
|
| @@ -5446,7 +5969,7 @@ buildTargetHttpsProxiesSetSslCertificatesRequest() {
|
| var o = new api.TargetHttpsProxiesSetSslCertificatesRequest();
|
| buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
|
| if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
|
| - o.sslCertificates = buildUnnamed781();
|
| + o.sslCertificates = buildUnnamed2370();
|
| }
|
| buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
|
| return o;
|
| @@ -5455,19 +5978,19 @@ buildTargetHttpsProxiesSetSslCertificatesRequest() {
|
| checkTargetHttpsProxiesSetSslCertificatesRequest(api.TargetHttpsProxiesSetSslCertificatesRequest o) {
|
| buildCounterTargetHttpsProxiesSetSslCertificatesRequest++;
|
| if (buildCounterTargetHttpsProxiesSetSslCertificatesRequest < 3) {
|
| - checkUnnamed781(o.sslCertificates);
|
| + checkUnnamed2370(o.sslCertificates);
|
| }
|
| buildCounterTargetHttpsProxiesSetSslCertificatesRequest--;
|
| }
|
|
|
| -buildUnnamed782() {
|
| +buildUnnamed2371() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed782(core.List<core.String> o) {
|
| +checkUnnamed2371(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'));
|
| @@ -5484,7 +6007,7 @@ buildTargetHttpsProxy() {
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.selfLink = "foo";
|
| - o.sslCertificates = buildUnnamed782();
|
| + o.sslCertificates = buildUnnamed2371();
|
| o.urlMap = "foo";
|
| }
|
| buildCounterTargetHttpsProxy--;
|
| @@ -5500,20 +6023,20 @@ checkTargetHttpsProxy(api.TargetHttpsProxy o) {
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed782(o.sslCertificates);
|
| + checkUnnamed2371(o.sslCertificates);
|
| unittest.expect(o.urlMap, unittest.equals('foo'));
|
| }
|
| buildCounterTargetHttpsProxy--;
|
| }
|
|
|
| -buildUnnamed783() {
|
| +buildUnnamed2372() {
|
| var o = new core.List<api.TargetHttpsProxy>();
|
| o.add(buildTargetHttpsProxy());
|
| o.add(buildTargetHttpsProxy());
|
| return o;
|
| }
|
|
|
| -checkUnnamed783(core.List<api.TargetHttpsProxy> o) {
|
| +checkUnnamed2372(core.List<api.TargetHttpsProxy> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetHttpsProxy(o[0]);
|
| checkTargetHttpsProxy(o[1]);
|
| @@ -5525,7 +6048,7 @@ buildTargetHttpsProxyList() {
|
| buildCounterTargetHttpsProxyList++;
|
| if (buildCounterTargetHttpsProxyList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed783();
|
| + o.items = buildUnnamed2372();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5538,7 +6061,7 @@ checkTargetHttpsProxyList(api.TargetHttpsProxyList o) {
|
| buildCounterTargetHttpsProxyList++;
|
| if (buildCounterTargetHttpsProxyList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed783(o.items);
|
| + checkUnnamed2372(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5581,14 +6104,14 @@ checkTargetInstance(api.TargetInstance o) {
|
| buildCounterTargetInstance--;
|
| }
|
|
|
| -buildUnnamed784() {
|
| +buildUnnamed2373() {
|
| var o = new core.Map<core.String, api.TargetInstancesScopedList>();
|
| o["x"] = buildTargetInstancesScopedList();
|
| o["y"] = buildTargetInstancesScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed784(core.Map<core.String, api.TargetInstancesScopedList> o) {
|
| +checkUnnamed2373(core.Map<core.String, api.TargetInstancesScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetInstancesScopedList(o["x"]);
|
| checkTargetInstancesScopedList(o["y"]);
|
| @@ -5600,7 +6123,7 @@ buildTargetInstanceAggregatedList() {
|
| buildCounterTargetInstanceAggregatedList++;
|
| if (buildCounterTargetInstanceAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed784();
|
| + o.items = buildUnnamed2373();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5613,7 +6136,7 @@ checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) {
|
| buildCounterTargetInstanceAggregatedList++;
|
| if (buildCounterTargetInstanceAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed784(o.items);
|
| + checkUnnamed2373(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5621,14 +6144,14 @@ checkTargetInstanceAggregatedList(api.TargetInstanceAggregatedList o) {
|
| buildCounterTargetInstanceAggregatedList--;
|
| }
|
|
|
| -buildUnnamed785() {
|
| +buildUnnamed2374() {
|
| var o = new core.List<api.TargetInstance>();
|
| o.add(buildTargetInstance());
|
| o.add(buildTargetInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed785(core.List<api.TargetInstance> o) {
|
| +checkUnnamed2374(core.List<api.TargetInstance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetInstance(o[0]);
|
| checkTargetInstance(o[1]);
|
| @@ -5640,7 +6163,7 @@ buildTargetInstanceList() {
|
| buildCounterTargetInstanceList++;
|
| if (buildCounterTargetInstanceList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed785();
|
| + o.items = buildUnnamed2374();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5653,7 +6176,7 @@ checkTargetInstanceList(api.TargetInstanceList o) {
|
| buildCounterTargetInstanceList++;
|
| if (buildCounterTargetInstanceList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed785(o.items);
|
| + checkUnnamed2374(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5661,14 +6184,14 @@ checkTargetInstanceList(api.TargetInstanceList o) {
|
| buildCounterTargetInstanceList--;
|
| }
|
|
|
| -buildUnnamed786() {
|
| +buildUnnamed2375() {
|
| var o = new core.List<api.TargetInstance>();
|
| o.add(buildTargetInstance());
|
| o.add(buildTargetInstance());
|
| return o;
|
| }
|
|
|
| -checkUnnamed786(core.List<api.TargetInstance> o) {
|
| +checkUnnamed2375(core.List<api.TargetInstance> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetInstance(o[0]);
|
| checkTargetInstance(o[1]);
|
| @@ -5695,14 +6218,14 @@ checkTargetInstancesScopedListWarningData(api.TargetInstancesScopedListWarningDa
|
| buildCounterTargetInstancesScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed787() {
|
| +buildUnnamed2376() {
|
| var o = new core.List<api.TargetInstancesScopedListWarningData>();
|
| o.add(buildTargetInstancesScopedListWarningData());
|
| o.add(buildTargetInstancesScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed787(core.List<api.TargetInstancesScopedListWarningData> o) {
|
| +checkUnnamed2376(core.List<api.TargetInstancesScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetInstancesScopedListWarningData(o[0]);
|
| checkTargetInstancesScopedListWarningData(o[1]);
|
| @@ -5714,7 +6237,7 @@ buildTargetInstancesScopedListWarning() {
|
| buildCounterTargetInstancesScopedListWarning++;
|
| if (buildCounterTargetInstancesScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed787();
|
| + o.data = buildUnnamed2376();
|
| o.message = "foo";
|
| }
|
| buildCounterTargetInstancesScopedListWarning--;
|
| @@ -5725,7 +6248,7 @@ checkTargetInstancesScopedListWarning(api.TargetInstancesScopedListWarning o) {
|
| buildCounterTargetInstancesScopedListWarning++;
|
| if (buildCounterTargetInstancesScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed787(o.data);
|
| + checkUnnamed2376(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterTargetInstancesScopedListWarning--;
|
| @@ -5736,7 +6259,7 @@ buildTargetInstancesScopedList() {
|
| var o = new api.TargetInstancesScopedList();
|
| buildCounterTargetInstancesScopedList++;
|
| if (buildCounterTargetInstancesScopedList < 3) {
|
| - o.targetInstances = buildUnnamed786();
|
| + o.targetInstances = buildUnnamed2375();
|
| o.warning = buildTargetInstancesScopedListWarning();
|
| }
|
| buildCounterTargetInstancesScopedList--;
|
| @@ -5746,33 +6269,33 @@ buildTargetInstancesScopedList() {
|
| checkTargetInstancesScopedList(api.TargetInstancesScopedList o) {
|
| buildCounterTargetInstancesScopedList++;
|
| if (buildCounterTargetInstancesScopedList < 3) {
|
| - checkUnnamed786(o.targetInstances);
|
| + checkUnnamed2375(o.targetInstances);
|
| checkTargetInstancesScopedListWarning(o.warning);
|
| }
|
| buildCounterTargetInstancesScopedList--;
|
| }
|
|
|
| -buildUnnamed788() {
|
| +buildUnnamed2377() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed788(core.List<core.String> o) {
|
| +checkUnnamed2377(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'));
|
| }
|
|
|
| -buildUnnamed789() {
|
| +buildUnnamed2378() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed789(core.List<core.String> o) {
|
| +checkUnnamed2378(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'));
|
| @@ -5787,9 +6310,9 @@ buildTargetPool() {
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| o.failoverRatio = 42.0;
|
| - o.healthChecks = buildUnnamed788();
|
| + o.healthChecks = buildUnnamed2377();
|
| o.id = "foo";
|
| - o.instances = buildUnnamed789();
|
| + o.instances = buildUnnamed2378();
|
| o.kind = "foo";
|
| o.name = "foo";
|
| o.region = "foo";
|
| @@ -5807,9 +6330,9 @@ checkTargetPool(api.TargetPool o) {
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.failoverRatio, unittest.equals(42.0));
|
| - checkUnnamed788(o.healthChecks);
|
| + checkUnnamed2377(o.healthChecks);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed789(o.instances);
|
| + checkUnnamed2378(o.instances);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| @@ -5819,14 +6342,14 @@ checkTargetPool(api.TargetPool o) {
|
| buildCounterTargetPool--;
|
| }
|
|
|
| -buildUnnamed790() {
|
| +buildUnnamed2379() {
|
| var o = new core.Map<core.String, api.TargetPoolsScopedList>();
|
| o["x"] = buildTargetPoolsScopedList();
|
| o["y"] = buildTargetPoolsScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed790(core.Map<core.String, api.TargetPoolsScopedList> o) {
|
| +checkUnnamed2379(core.Map<core.String, api.TargetPoolsScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetPoolsScopedList(o["x"]);
|
| checkTargetPoolsScopedList(o["y"]);
|
| @@ -5838,7 +6361,7 @@ buildTargetPoolAggregatedList() {
|
| buildCounterTargetPoolAggregatedList++;
|
| if (buildCounterTargetPoolAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed790();
|
| + o.items = buildUnnamed2379();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5851,7 +6374,7 @@ checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) {
|
| buildCounterTargetPoolAggregatedList++;
|
| if (buildCounterTargetPoolAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed790(o.items);
|
| + checkUnnamed2379(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5859,14 +6382,14 @@ checkTargetPoolAggregatedList(api.TargetPoolAggregatedList o) {
|
| buildCounterTargetPoolAggregatedList--;
|
| }
|
|
|
| -buildUnnamed791() {
|
| +buildUnnamed2380() {
|
| var o = new core.List<api.HealthStatus>();
|
| o.add(buildHealthStatus());
|
| o.add(buildHealthStatus());
|
| return o;
|
| }
|
|
|
| -checkUnnamed791(core.List<api.HealthStatus> o) {
|
| +checkUnnamed2380(core.List<api.HealthStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHealthStatus(o[0]);
|
| checkHealthStatus(o[1]);
|
| @@ -5877,7 +6400,7 @@ buildTargetPoolInstanceHealth() {
|
| var o = new api.TargetPoolInstanceHealth();
|
| buildCounterTargetPoolInstanceHealth++;
|
| if (buildCounterTargetPoolInstanceHealth < 3) {
|
| - o.healthStatus = buildUnnamed791();
|
| + o.healthStatus = buildUnnamed2380();
|
| o.kind = "foo";
|
| }
|
| buildCounterTargetPoolInstanceHealth--;
|
| @@ -5887,20 +6410,20 @@ buildTargetPoolInstanceHealth() {
|
| checkTargetPoolInstanceHealth(api.TargetPoolInstanceHealth o) {
|
| buildCounterTargetPoolInstanceHealth++;
|
| if (buildCounterTargetPoolInstanceHealth < 3) {
|
| - checkUnnamed791(o.healthStatus);
|
| + checkUnnamed2380(o.healthStatus);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| }
|
| buildCounterTargetPoolInstanceHealth--;
|
| }
|
|
|
| -buildUnnamed792() {
|
| +buildUnnamed2381() {
|
| var o = new core.List<api.TargetPool>();
|
| o.add(buildTargetPool());
|
| o.add(buildTargetPool());
|
| return o;
|
| }
|
|
|
| -checkUnnamed792(core.List<api.TargetPool> o) {
|
| +checkUnnamed2381(core.List<api.TargetPool> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetPool(o[0]);
|
| checkTargetPool(o[1]);
|
| @@ -5912,7 +6435,7 @@ buildTargetPoolList() {
|
| buildCounterTargetPoolList++;
|
| if (buildCounterTargetPoolList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed792();
|
| + o.items = buildUnnamed2381();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -5925,7 +6448,7 @@ checkTargetPoolList(api.TargetPoolList o) {
|
| buildCounterTargetPoolList++;
|
| if (buildCounterTargetPoolList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed792(o.items);
|
| + checkUnnamed2381(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -5933,14 +6456,14 @@ checkTargetPoolList(api.TargetPoolList o) {
|
| buildCounterTargetPoolList--;
|
| }
|
|
|
| -buildUnnamed793() {
|
| +buildUnnamed2382() {
|
| var o = new core.List<api.HealthCheckReference>();
|
| o.add(buildHealthCheckReference());
|
| o.add(buildHealthCheckReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed793(core.List<api.HealthCheckReference> o) {
|
| +checkUnnamed2382(core.List<api.HealthCheckReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHealthCheckReference(o[0]);
|
| checkHealthCheckReference(o[1]);
|
| @@ -5951,7 +6474,7 @@ buildTargetPoolsAddHealthCheckRequest() {
|
| var o = new api.TargetPoolsAddHealthCheckRequest();
|
| buildCounterTargetPoolsAddHealthCheckRequest++;
|
| if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
|
| - o.healthChecks = buildUnnamed793();
|
| + o.healthChecks = buildUnnamed2382();
|
| }
|
| buildCounterTargetPoolsAddHealthCheckRequest--;
|
| return o;
|
| @@ -5960,19 +6483,19 @@ buildTargetPoolsAddHealthCheckRequest() {
|
| checkTargetPoolsAddHealthCheckRequest(api.TargetPoolsAddHealthCheckRequest o) {
|
| buildCounterTargetPoolsAddHealthCheckRequest++;
|
| if (buildCounterTargetPoolsAddHealthCheckRequest < 3) {
|
| - checkUnnamed793(o.healthChecks);
|
| + checkUnnamed2382(o.healthChecks);
|
| }
|
| buildCounterTargetPoolsAddHealthCheckRequest--;
|
| }
|
|
|
| -buildUnnamed794() {
|
| +buildUnnamed2383() {
|
| var o = new core.List<api.InstanceReference>();
|
| o.add(buildInstanceReference());
|
| o.add(buildInstanceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed794(core.List<api.InstanceReference> o) {
|
| +checkUnnamed2383(core.List<api.InstanceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceReference(o[0]);
|
| checkInstanceReference(o[1]);
|
| @@ -5983,7 +6506,7 @@ buildTargetPoolsAddInstanceRequest() {
|
| var o = new api.TargetPoolsAddInstanceRequest();
|
| buildCounterTargetPoolsAddInstanceRequest++;
|
| if (buildCounterTargetPoolsAddInstanceRequest < 3) {
|
| - o.instances = buildUnnamed794();
|
| + o.instances = buildUnnamed2383();
|
| }
|
| buildCounterTargetPoolsAddInstanceRequest--;
|
| return o;
|
| @@ -5992,19 +6515,19 @@ buildTargetPoolsAddInstanceRequest() {
|
| checkTargetPoolsAddInstanceRequest(api.TargetPoolsAddInstanceRequest o) {
|
| buildCounterTargetPoolsAddInstanceRequest++;
|
| if (buildCounterTargetPoolsAddInstanceRequest < 3) {
|
| - checkUnnamed794(o.instances);
|
| + checkUnnamed2383(o.instances);
|
| }
|
| buildCounterTargetPoolsAddInstanceRequest--;
|
| }
|
|
|
| -buildUnnamed795() {
|
| +buildUnnamed2384() {
|
| var o = new core.List<api.HealthCheckReference>();
|
| o.add(buildHealthCheckReference());
|
| o.add(buildHealthCheckReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed795(core.List<api.HealthCheckReference> o) {
|
| +checkUnnamed2384(core.List<api.HealthCheckReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHealthCheckReference(o[0]);
|
| checkHealthCheckReference(o[1]);
|
| @@ -6015,7 +6538,7 @@ buildTargetPoolsRemoveHealthCheckRequest() {
|
| var o = new api.TargetPoolsRemoveHealthCheckRequest();
|
| buildCounterTargetPoolsRemoveHealthCheckRequest++;
|
| if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
|
| - o.healthChecks = buildUnnamed795();
|
| + o.healthChecks = buildUnnamed2384();
|
| }
|
| buildCounterTargetPoolsRemoveHealthCheckRequest--;
|
| return o;
|
| @@ -6024,19 +6547,19 @@ buildTargetPoolsRemoveHealthCheckRequest() {
|
| checkTargetPoolsRemoveHealthCheckRequest(api.TargetPoolsRemoveHealthCheckRequest o) {
|
| buildCounterTargetPoolsRemoveHealthCheckRequest++;
|
| if (buildCounterTargetPoolsRemoveHealthCheckRequest < 3) {
|
| - checkUnnamed795(o.healthChecks);
|
| + checkUnnamed2384(o.healthChecks);
|
| }
|
| buildCounterTargetPoolsRemoveHealthCheckRequest--;
|
| }
|
|
|
| -buildUnnamed796() {
|
| +buildUnnamed2385() {
|
| var o = new core.List<api.InstanceReference>();
|
| o.add(buildInstanceReference());
|
| o.add(buildInstanceReference());
|
| return o;
|
| }
|
|
|
| -checkUnnamed796(core.List<api.InstanceReference> o) {
|
| +checkUnnamed2385(core.List<api.InstanceReference> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkInstanceReference(o[0]);
|
| checkInstanceReference(o[1]);
|
| @@ -6047,7 +6570,7 @@ buildTargetPoolsRemoveInstanceRequest() {
|
| var o = new api.TargetPoolsRemoveInstanceRequest();
|
| buildCounterTargetPoolsRemoveInstanceRequest++;
|
| if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
|
| - o.instances = buildUnnamed796();
|
| + o.instances = buildUnnamed2385();
|
| }
|
| buildCounterTargetPoolsRemoveInstanceRequest--;
|
| return o;
|
| @@ -6056,19 +6579,19 @@ buildTargetPoolsRemoveInstanceRequest() {
|
| checkTargetPoolsRemoveInstanceRequest(api.TargetPoolsRemoveInstanceRequest o) {
|
| buildCounterTargetPoolsRemoveInstanceRequest++;
|
| if (buildCounterTargetPoolsRemoveInstanceRequest < 3) {
|
| - checkUnnamed796(o.instances);
|
| + checkUnnamed2385(o.instances);
|
| }
|
| buildCounterTargetPoolsRemoveInstanceRequest--;
|
| }
|
|
|
| -buildUnnamed797() {
|
| +buildUnnamed2386() {
|
| var o = new core.List<api.TargetPool>();
|
| o.add(buildTargetPool());
|
| o.add(buildTargetPool());
|
| return o;
|
| }
|
|
|
| -checkUnnamed797(core.List<api.TargetPool> o) {
|
| +checkUnnamed2386(core.List<api.TargetPool> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetPool(o[0]);
|
| checkTargetPool(o[1]);
|
| @@ -6095,14 +6618,14 @@ checkTargetPoolsScopedListWarningData(api.TargetPoolsScopedListWarningData o) {
|
| buildCounterTargetPoolsScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed798() {
|
| +buildUnnamed2387() {
|
| var o = new core.List<api.TargetPoolsScopedListWarningData>();
|
| o.add(buildTargetPoolsScopedListWarningData());
|
| o.add(buildTargetPoolsScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed798(core.List<api.TargetPoolsScopedListWarningData> o) {
|
| +checkUnnamed2387(core.List<api.TargetPoolsScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetPoolsScopedListWarningData(o[0]);
|
| checkTargetPoolsScopedListWarningData(o[1]);
|
| @@ -6114,7 +6637,7 @@ buildTargetPoolsScopedListWarning() {
|
| buildCounterTargetPoolsScopedListWarning++;
|
| if (buildCounterTargetPoolsScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed798();
|
| + o.data = buildUnnamed2387();
|
| o.message = "foo";
|
| }
|
| buildCounterTargetPoolsScopedListWarning--;
|
| @@ -6125,7 +6648,7 @@ checkTargetPoolsScopedListWarning(api.TargetPoolsScopedListWarning o) {
|
| buildCounterTargetPoolsScopedListWarning++;
|
| if (buildCounterTargetPoolsScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed798(o.data);
|
| + checkUnnamed2387(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterTargetPoolsScopedListWarning--;
|
| @@ -6136,7 +6659,7 @@ buildTargetPoolsScopedList() {
|
| var o = new api.TargetPoolsScopedList();
|
| buildCounterTargetPoolsScopedList++;
|
| if (buildCounterTargetPoolsScopedList < 3) {
|
| - o.targetPools = buildUnnamed797();
|
| + o.targetPools = buildUnnamed2386();
|
| o.warning = buildTargetPoolsScopedListWarning();
|
| }
|
| buildCounterTargetPoolsScopedList--;
|
| @@ -6146,7 +6669,7 @@ buildTargetPoolsScopedList() {
|
| checkTargetPoolsScopedList(api.TargetPoolsScopedList o) {
|
| buildCounterTargetPoolsScopedList++;
|
| if (buildCounterTargetPoolsScopedList < 3) {
|
| - checkUnnamed797(o.targetPools);
|
| + checkUnnamed2386(o.targetPools);
|
| checkTargetPoolsScopedListWarning(o.warning);
|
| }
|
| buildCounterTargetPoolsScopedList--;
|
| @@ -6171,27 +6694,27 @@ checkTargetReference(api.TargetReference o) {
|
| buildCounterTargetReference--;
|
| }
|
|
|
| -buildUnnamed799() {
|
| +buildUnnamed2388() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed799(core.List<core.String> o) {
|
| +checkUnnamed2388(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'));
|
| }
|
|
|
| -buildUnnamed800() {
|
| +buildUnnamed2389() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed800(core.List<core.String> o) {
|
| +checkUnnamed2389(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'));
|
| @@ -6204,7 +6727,7 @@ buildTargetVpnGateway() {
|
| if (buildCounterTargetVpnGateway < 3) {
|
| o.creationTimestamp = "foo";
|
| o.description = "foo";
|
| - o.forwardingRules = buildUnnamed799();
|
| + o.forwardingRules = buildUnnamed2388();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| @@ -6212,7 +6735,7 @@ buildTargetVpnGateway() {
|
| o.region = "foo";
|
| o.selfLink = "foo";
|
| o.status = "foo";
|
| - o.tunnels = buildUnnamed800();
|
| + o.tunnels = buildUnnamed2389();
|
| }
|
| buildCounterTargetVpnGateway--;
|
| return o;
|
| @@ -6223,7 +6746,7 @@ checkTargetVpnGateway(api.TargetVpnGateway o) {
|
| if (buildCounterTargetVpnGateway < 3) {
|
| unittest.expect(o.creationTimestamp, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed799(o.forwardingRules);
|
| + checkUnnamed2388(o.forwardingRules);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| @@ -6231,19 +6754,19 @@ checkTargetVpnGateway(api.TargetVpnGateway o) {
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.status, unittest.equals('foo'));
|
| - checkUnnamed800(o.tunnels);
|
| + checkUnnamed2389(o.tunnels);
|
| }
|
| buildCounterTargetVpnGateway--;
|
| }
|
|
|
| -buildUnnamed801() {
|
| +buildUnnamed2390() {
|
| var o = new core.Map<core.String, api.TargetVpnGatewaysScopedList>();
|
| o["x"] = buildTargetVpnGatewaysScopedList();
|
| o["y"] = buildTargetVpnGatewaysScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed801(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
|
| +checkUnnamed2390(core.Map<core.String, api.TargetVpnGatewaysScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetVpnGatewaysScopedList(o["x"]);
|
| checkTargetVpnGatewaysScopedList(o["y"]);
|
| @@ -6255,7 +6778,7 @@ buildTargetVpnGatewayAggregatedList() {
|
| buildCounterTargetVpnGatewayAggregatedList++;
|
| if (buildCounterTargetVpnGatewayAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed801();
|
| + o.items = buildUnnamed2390();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -6268,7 +6791,7 @@ checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) {
|
| buildCounterTargetVpnGatewayAggregatedList++;
|
| if (buildCounterTargetVpnGatewayAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed801(o.items);
|
| + checkUnnamed2390(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -6276,14 +6799,14 @@ checkTargetVpnGatewayAggregatedList(api.TargetVpnGatewayAggregatedList o) {
|
| buildCounterTargetVpnGatewayAggregatedList--;
|
| }
|
|
|
| -buildUnnamed802() {
|
| +buildUnnamed2391() {
|
| var o = new core.List<api.TargetVpnGateway>();
|
| o.add(buildTargetVpnGateway());
|
| o.add(buildTargetVpnGateway());
|
| return o;
|
| }
|
|
|
| -checkUnnamed802(core.List<api.TargetVpnGateway> o) {
|
| +checkUnnamed2391(core.List<api.TargetVpnGateway> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetVpnGateway(o[0]);
|
| checkTargetVpnGateway(o[1]);
|
| @@ -6295,7 +6818,7 @@ buildTargetVpnGatewayList() {
|
| buildCounterTargetVpnGatewayList++;
|
| if (buildCounterTargetVpnGatewayList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed802();
|
| + o.items = buildUnnamed2391();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -6308,7 +6831,7 @@ checkTargetVpnGatewayList(api.TargetVpnGatewayList o) {
|
| buildCounterTargetVpnGatewayList++;
|
| if (buildCounterTargetVpnGatewayList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed802(o.items);
|
| + checkUnnamed2391(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -6316,14 +6839,14 @@ checkTargetVpnGatewayList(api.TargetVpnGatewayList o) {
|
| buildCounterTargetVpnGatewayList--;
|
| }
|
|
|
| -buildUnnamed803() {
|
| +buildUnnamed2392() {
|
| var o = new core.List<api.TargetVpnGateway>();
|
| o.add(buildTargetVpnGateway());
|
| o.add(buildTargetVpnGateway());
|
| return o;
|
| }
|
|
|
| -checkUnnamed803(core.List<api.TargetVpnGateway> o) {
|
| +checkUnnamed2392(core.List<api.TargetVpnGateway> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetVpnGateway(o[0]);
|
| checkTargetVpnGateway(o[1]);
|
| @@ -6350,14 +6873,14 @@ checkTargetVpnGatewaysScopedListWarningData(api.TargetVpnGatewaysScopedListWarni
|
| buildCounterTargetVpnGatewaysScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed804() {
|
| +buildUnnamed2393() {
|
| var o = new core.List<api.TargetVpnGatewaysScopedListWarningData>();
|
| o.add(buildTargetVpnGatewaysScopedListWarningData());
|
| o.add(buildTargetVpnGatewaysScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed804(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
|
| +checkUnnamed2393(core.List<api.TargetVpnGatewaysScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTargetVpnGatewaysScopedListWarningData(o[0]);
|
| checkTargetVpnGatewaysScopedListWarningData(o[1]);
|
| @@ -6369,7 +6892,7 @@ buildTargetVpnGatewaysScopedListWarning() {
|
| buildCounterTargetVpnGatewaysScopedListWarning++;
|
| if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed804();
|
| + o.data = buildUnnamed2393();
|
| o.message = "foo";
|
| }
|
| buildCounterTargetVpnGatewaysScopedListWarning--;
|
| @@ -6380,7 +6903,7 @@ checkTargetVpnGatewaysScopedListWarning(api.TargetVpnGatewaysScopedListWarning o
|
| buildCounterTargetVpnGatewaysScopedListWarning++;
|
| if (buildCounterTargetVpnGatewaysScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed804(o.data);
|
| + checkUnnamed2393(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterTargetVpnGatewaysScopedListWarning--;
|
| @@ -6391,7 +6914,7 @@ buildTargetVpnGatewaysScopedList() {
|
| var o = new api.TargetVpnGatewaysScopedList();
|
| buildCounterTargetVpnGatewaysScopedList++;
|
| if (buildCounterTargetVpnGatewaysScopedList < 3) {
|
| - o.targetVpnGateways = buildUnnamed803();
|
| + o.targetVpnGateways = buildUnnamed2392();
|
| o.warning = buildTargetVpnGatewaysScopedListWarning();
|
| }
|
| buildCounterTargetVpnGatewaysScopedList--;
|
| @@ -6401,7 +6924,7 @@ buildTargetVpnGatewaysScopedList() {
|
| checkTargetVpnGatewaysScopedList(api.TargetVpnGatewaysScopedList o) {
|
| buildCounterTargetVpnGatewaysScopedList++;
|
| if (buildCounterTargetVpnGatewaysScopedList < 3) {
|
| - checkUnnamed803(o.targetVpnGateways);
|
| + checkUnnamed2392(o.targetVpnGateways);
|
| checkTargetVpnGatewaysScopedListWarning(o.warning);
|
| }
|
| buildCounterTargetVpnGatewaysScopedList--;
|
| @@ -6432,40 +6955,40 @@ checkTestFailure(api.TestFailure o) {
|
| buildCounterTestFailure--;
|
| }
|
|
|
| -buildUnnamed805() {
|
| +buildUnnamed2394() {
|
| var o = new core.List<api.HostRule>();
|
| o.add(buildHostRule());
|
| o.add(buildHostRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed805(core.List<api.HostRule> o) {
|
| +checkUnnamed2394(core.List<api.HostRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkHostRule(o[0]);
|
| checkHostRule(o[1]);
|
| }
|
|
|
| -buildUnnamed806() {
|
| +buildUnnamed2395() {
|
| var o = new core.List<api.PathMatcher>();
|
| o.add(buildPathMatcher());
|
| o.add(buildPathMatcher());
|
| return o;
|
| }
|
|
|
| -checkUnnamed806(core.List<api.PathMatcher> o) {
|
| +checkUnnamed2395(core.List<api.PathMatcher> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkPathMatcher(o[0]);
|
| checkPathMatcher(o[1]);
|
| }
|
|
|
| -buildUnnamed807() {
|
| +buildUnnamed2396() {
|
| var o = new core.List<api.UrlMapTest>();
|
| o.add(buildUrlMapTest());
|
| o.add(buildUrlMapTest());
|
| return o;
|
| }
|
|
|
| -checkUnnamed807(core.List<api.UrlMapTest> o) {
|
| +checkUnnamed2396(core.List<api.UrlMapTest> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMapTest(o[0]);
|
| checkUrlMapTest(o[1]);
|
| @@ -6480,13 +7003,13 @@ buildUrlMap() {
|
| o.defaultService = "foo";
|
| o.description = "foo";
|
| o.fingerprint = "foo";
|
| - o.hostRules = buildUnnamed805();
|
| + o.hostRules = buildUnnamed2394();
|
| o.id = "foo";
|
| o.kind = "foo";
|
| o.name = "foo";
|
| - o.pathMatchers = buildUnnamed806();
|
| + o.pathMatchers = buildUnnamed2395();
|
| o.selfLink = "foo";
|
| - o.tests = buildUnnamed807();
|
| + o.tests = buildUnnamed2396();
|
| }
|
| buildCounterUrlMap--;
|
| return o;
|
| @@ -6499,25 +7022,25 @@ checkUrlMap(api.UrlMap o) {
|
| unittest.expect(o.defaultService, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.fingerprint, unittest.equals('foo'));
|
| - checkUnnamed805(o.hostRules);
|
| + checkUnnamed2394(o.hostRules);
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed806(o.pathMatchers);
|
| + checkUnnamed2395(o.pathMatchers);
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| - checkUnnamed807(o.tests);
|
| + checkUnnamed2396(o.tests);
|
| }
|
| buildCounterUrlMap--;
|
| }
|
|
|
| -buildUnnamed808() {
|
| +buildUnnamed2397() {
|
| var o = new core.List<api.UrlMap>();
|
| o.add(buildUrlMap());
|
| o.add(buildUrlMap());
|
| return o;
|
| }
|
|
|
| -checkUnnamed808(core.List<api.UrlMap> o) {
|
| +checkUnnamed2397(core.List<api.UrlMap> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkUrlMap(o[0]);
|
| checkUrlMap(o[1]);
|
| @@ -6529,7 +7052,7 @@ buildUrlMapList() {
|
| buildCounterUrlMapList++;
|
| if (buildCounterUrlMapList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed808();
|
| + o.items = buildUnnamed2397();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -6542,7 +7065,7 @@ checkUrlMapList(api.UrlMapList o) {
|
| buildCounterUrlMapList++;
|
| if (buildCounterUrlMapList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed808(o.items);
|
| + checkUnnamed2397(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -6594,27 +7117,27 @@ checkUrlMapTest(api.UrlMapTest o) {
|
| buildCounterUrlMapTest--;
|
| }
|
|
|
| -buildUnnamed809() {
|
| +buildUnnamed2398() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed809(core.List<core.String> o) {
|
| +checkUnnamed2398(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'));
|
| }
|
|
|
| -buildUnnamed810() {
|
| +buildUnnamed2399() {
|
| var o = new core.List<api.TestFailure>();
|
| o.add(buildTestFailure());
|
| o.add(buildTestFailure());
|
| return o;
|
| }
|
|
|
| -checkUnnamed810(core.List<api.TestFailure> o) {
|
| +checkUnnamed2399(core.List<api.TestFailure> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTestFailure(o[0]);
|
| checkTestFailure(o[1]);
|
| @@ -6625,9 +7148,9 @@ buildUrlMapValidationResult() {
|
| var o = new api.UrlMapValidationResult();
|
| buildCounterUrlMapValidationResult++;
|
| if (buildCounterUrlMapValidationResult < 3) {
|
| - o.loadErrors = buildUnnamed809();
|
| + o.loadErrors = buildUnnamed2398();
|
| o.loadSucceeded = true;
|
| - o.testFailures = buildUnnamed810();
|
| + o.testFailures = buildUnnamed2399();
|
| o.testPassed = true;
|
| }
|
| buildCounterUrlMapValidationResult--;
|
| @@ -6637,9 +7160,9 @@ buildUrlMapValidationResult() {
|
| checkUrlMapValidationResult(api.UrlMapValidationResult o) {
|
| buildCounterUrlMapValidationResult++;
|
| if (buildCounterUrlMapValidationResult < 3) {
|
| - checkUnnamed809(o.loadErrors);
|
| + checkUnnamed2398(o.loadErrors);
|
| unittest.expect(o.loadSucceeded, unittest.isTrue);
|
| - checkUnnamed810(o.testFailures);
|
| + checkUnnamed2399(o.testFailures);
|
| unittest.expect(o.testPassed, unittest.isTrue);
|
| }
|
| buildCounterUrlMapValidationResult--;
|
| @@ -6704,14 +7227,27 @@ checkUsageExportLocation(api.UsageExportLocation o) {
|
| buildCounterUsageExportLocation--;
|
| }
|
|
|
| -buildUnnamed811() {
|
| +buildUnnamed2400() {
|
| + var o = new core.List<core.String>();
|
| + o.add("foo");
|
| + o.add("foo");
|
| + return o;
|
| +}
|
| +
|
| +checkUnnamed2400(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'));
|
| +}
|
| +
|
| +buildUnnamed2401() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed811(core.List<core.String> o) {
|
| +checkUnnamed2401(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'));
|
| @@ -6728,10 +7264,12 @@ buildVpnTunnel() {
|
| o.id = "foo";
|
| o.ikeVersion = 42;
|
| o.kind = "foo";
|
| - o.localTrafficSelector = buildUnnamed811();
|
| + o.localTrafficSelector = buildUnnamed2400();
|
| o.name = "foo";
|
| o.peerIp = "foo";
|
| o.region = "foo";
|
| + o.remoteTrafficSelector = buildUnnamed2401();
|
| + o.router = "foo";
|
| o.selfLink = "foo";
|
| o.sharedSecret = "foo";
|
| o.sharedSecretHash = "foo";
|
| @@ -6751,10 +7289,12 @@ checkVpnTunnel(api.VpnTunnel o) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| unittest.expect(o.ikeVersion, unittest.equals(42));
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| - checkUnnamed811(o.localTrafficSelector);
|
| + checkUnnamed2400(o.localTrafficSelector);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.peerIp, unittest.equals('foo'));
|
| unittest.expect(o.region, unittest.equals('foo'));
|
| + checkUnnamed2401(o.remoteTrafficSelector);
|
| + unittest.expect(o.router, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| unittest.expect(o.sharedSecret, unittest.equals('foo'));
|
| unittest.expect(o.sharedSecretHash, unittest.equals('foo'));
|
| @@ -6764,14 +7304,14 @@ checkVpnTunnel(api.VpnTunnel o) {
|
| buildCounterVpnTunnel--;
|
| }
|
|
|
| -buildUnnamed812() {
|
| +buildUnnamed2402() {
|
| var o = new core.Map<core.String, api.VpnTunnelsScopedList>();
|
| o["x"] = buildVpnTunnelsScopedList();
|
| o["y"] = buildVpnTunnelsScopedList();
|
| return o;
|
| }
|
|
|
| -checkUnnamed812(core.Map<core.String, api.VpnTunnelsScopedList> o) {
|
| +checkUnnamed2402(core.Map<core.String, api.VpnTunnelsScopedList> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVpnTunnelsScopedList(o["x"]);
|
| checkVpnTunnelsScopedList(o["y"]);
|
| @@ -6783,7 +7323,7 @@ buildVpnTunnelAggregatedList() {
|
| buildCounterVpnTunnelAggregatedList++;
|
| if (buildCounterVpnTunnelAggregatedList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed812();
|
| + o.items = buildUnnamed2402();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -6796,7 +7336,7 @@ checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) {
|
| buildCounterVpnTunnelAggregatedList++;
|
| if (buildCounterVpnTunnelAggregatedList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed812(o.items);
|
| + checkUnnamed2402(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -6804,14 +7344,14 @@ checkVpnTunnelAggregatedList(api.VpnTunnelAggregatedList o) {
|
| buildCounterVpnTunnelAggregatedList--;
|
| }
|
|
|
| -buildUnnamed813() {
|
| +buildUnnamed2403() {
|
| var o = new core.List<api.VpnTunnel>();
|
| o.add(buildVpnTunnel());
|
| o.add(buildVpnTunnel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed813(core.List<api.VpnTunnel> o) {
|
| +checkUnnamed2403(core.List<api.VpnTunnel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVpnTunnel(o[0]);
|
| checkVpnTunnel(o[1]);
|
| @@ -6823,7 +7363,7 @@ buildVpnTunnelList() {
|
| buildCounterVpnTunnelList++;
|
| if (buildCounterVpnTunnelList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed813();
|
| + o.items = buildUnnamed2403();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -6836,7 +7376,7 @@ checkVpnTunnelList(api.VpnTunnelList o) {
|
| buildCounterVpnTunnelList++;
|
| if (buildCounterVpnTunnelList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed813(o.items);
|
| + checkUnnamed2403(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -6844,14 +7384,14 @@ checkVpnTunnelList(api.VpnTunnelList o) {
|
| buildCounterVpnTunnelList--;
|
| }
|
|
|
| -buildUnnamed814() {
|
| +buildUnnamed2404() {
|
| var o = new core.List<api.VpnTunnel>();
|
| o.add(buildVpnTunnel());
|
| o.add(buildVpnTunnel());
|
| return o;
|
| }
|
|
|
| -checkUnnamed814(core.List<api.VpnTunnel> o) {
|
| +checkUnnamed2404(core.List<api.VpnTunnel> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVpnTunnel(o[0]);
|
| checkVpnTunnel(o[1]);
|
| @@ -6878,14 +7418,14 @@ checkVpnTunnelsScopedListWarningData(api.VpnTunnelsScopedListWarningData o) {
|
| buildCounterVpnTunnelsScopedListWarningData--;
|
| }
|
|
|
| -buildUnnamed815() {
|
| +buildUnnamed2405() {
|
| var o = new core.List<api.VpnTunnelsScopedListWarningData>();
|
| o.add(buildVpnTunnelsScopedListWarningData());
|
| o.add(buildVpnTunnelsScopedListWarningData());
|
| return o;
|
| }
|
|
|
| -checkUnnamed815(core.List<api.VpnTunnelsScopedListWarningData> o) {
|
| +checkUnnamed2405(core.List<api.VpnTunnelsScopedListWarningData> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkVpnTunnelsScopedListWarningData(o[0]);
|
| checkVpnTunnelsScopedListWarningData(o[1]);
|
| @@ -6897,7 +7437,7 @@ buildVpnTunnelsScopedListWarning() {
|
| buildCounterVpnTunnelsScopedListWarning++;
|
| if (buildCounterVpnTunnelsScopedListWarning < 3) {
|
| o.code = "foo";
|
| - o.data = buildUnnamed815();
|
| + o.data = buildUnnamed2405();
|
| o.message = "foo";
|
| }
|
| buildCounterVpnTunnelsScopedListWarning--;
|
| @@ -6908,7 +7448,7 @@ checkVpnTunnelsScopedListWarning(api.VpnTunnelsScopedListWarning o) {
|
| buildCounterVpnTunnelsScopedListWarning++;
|
| if (buildCounterVpnTunnelsScopedListWarning < 3) {
|
| unittest.expect(o.code, unittest.equals('foo'));
|
| - checkUnnamed815(o.data);
|
| + checkUnnamed2405(o.data);
|
| unittest.expect(o.message, unittest.equals('foo'));
|
| }
|
| buildCounterVpnTunnelsScopedListWarning--;
|
| @@ -6919,7 +7459,7 @@ buildVpnTunnelsScopedList() {
|
| var o = new api.VpnTunnelsScopedList();
|
| buildCounterVpnTunnelsScopedList++;
|
| if (buildCounterVpnTunnelsScopedList < 3) {
|
| - o.vpnTunnels = buildUnnamed814();
|
| + o.vpnTunnels = buildUnnamed2404();
|
| o.warning = buildVpnTunnelsScopedListWarning();
|
| }
|
| buildCounterVpnTunnelsScopedList--;
|
| @@ -6929,7 +7469,7 @@ buildVpnTunnelsScopedList() {
|
| checkVpnTunnelsScopedList(api.VpnTunnelsScopedList o) {
|
| buildCounterVpnTunnelsScopedList++;
|
| if (buildCounterVpnTunnelsScopedList < 3) {
|
| - checkUnnamed814(o.vpnTunnels);
|
| + checkUnnamed2404(o.vpnTunnels);
|
| checkVpnTunnelsScopedListWarning(o.warning);
|
| }
|
| buildCounterVpnTunnelsScopedList--;
|
| @@ -6970,14 +7510,14 @@ checkZone(api.Zone o) {
|
| buildCounterZone--;
|
| }
|
|
|
| -buildUnnamed816() {
|
| +buildUnnamed2406() {
|
| var o = new core.List<api.Zone>();
|
| o.add(buildZone());
|
| o.add(buildZone());
|
| return o;
|
| }
|
|
|
| -checkUnnamed816(core.List<api.Zone> o) {
|
| +checkUnnamed2406(core.List<api.Zone> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkZone(o[0]);
|
| checkZone(o[1]);
|
| @@ -6989,7 +7529,7 @@ buildZoneList() {
|
| buildCounterZoneList++;
|
| if (buildCounterZoneList < 3) {
|
| o.id = "foo";
|
| - o.items = buildUnnamed816();
|
| + o.items = buildUnnamed2406();
|
| o.kind = "foo";
|
| o.nextPageToken = "foo";
|
| o.selfLink = "foo";
|
| @@ -7002,7 +7542,7 @@ checkZoneList(api.ZoneList o) {
|
| buildCounterZoneList++;
|
| if (buildCounterZoneList < 3) {
|
| unittest.expect(o.id, unittest.equals('foo'));
|
| - checkUnnamed816(o.items);
|
| + checkUnnamed2406(o.items);
|
| unittest.expect(o.kind, unittest.equals('foo'));
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| unittest.expect(o.selfLink, unittest.equals('foo'));
|
| @@ -7219,6 +7759,24 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-CustomerEncryptionKey", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildCustomerEncryptionKey();
|
| + var od = new api.CustomerEncryptionKey.fromJson(o.toJson());
|
| + checkCustomerEncryptionKey(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-CustomerEncryptionKeyProtectedDisk", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildCustomerEncryptionKeyProtectedDisk();
|
| + var od = new api.CustomerEncryptionKeyProtectedDisk.fromJson(o.toJson());
|
| + checkCustomerEncryptionKeyProtectedDisk(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-DeprecationStatus", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildDeprecationStatus();
|
| @@ -7858,6 +8416,15 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-InstancesStartWithEncryptionKeyRequest", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildInstancesStartWithEncryptionKeyRequest();
|
| + var od = new api.InstancesStartWithEncryptionKeyRequest.fromJson(o.toJson());
|
| + checkInstancesStartWithEncryptionKeyRequest(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-License", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildLicense();
|
| @@ -8209,6 +8776,114 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("obj-schema-Router", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouter();
|
| + var od = new api.Router.fromJson(o.toJson());
|
| + checkRouter(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterAggregatedList", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterAggregatedList();
|
| + var od = new api.RouterAggregatedList.fromJson(o.toJson());
|
| + checkRouterAggregatedList(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterBgp", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterBgp();
|
| + var od = new api.RouterBgp.fromJson(o.toJson());
|
| + checkRouterBgp(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterBgpPeer", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterBgpPeer();
|
| + var od = new api.RouterBgpPeer.fromJson(o.toJson());
|
| + checkRouterBgpPeer(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterInterface", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterInterface();
|
| + var od = new api.RouterInterface.fromJson(o.toJson());
|
| + checkRouterInterface(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterList", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterList();
|
| + var od = new api.RouterList.fromJson(o.toJson());
|
| + checkRouterList(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterStatus", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterStatus();
|
| + var od = new api.RouterStatus.fromJson(o.toJson());
|
| + checkRouterStatus(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterStatusBgpPeerStatus", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterStatusBgpPeerStatus();
|
| + var od = new api.RouterStatusBgpPeerStatus.fromJson(o.toJson());
|
| + checkRouterStatusBgpPeerStatus(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RouterStatusResponse", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRouterStatusResponse();
|
| + var od = new api.RouterStatusResponse.fromJson(o.toJson());
|
| + checkRouterStatusResponse(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RoutersScopedListWarningData", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRoutersScopedListWarningData();
|
| + var od = new api.RoutersScopedListWarningData.fromJson(o.toJson());
|
| + checkRoutersScopedListWarningData(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RoutersScopedListWarning", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRoutersScopedListWarning();
|
| + var od = new api.RoutersScopedListWarning.fromJson(o.toJson());
|
| + checkRoutersScopedListWarning(od);
|
| + });
|
| + });
|
| +
|
| +
|
| + unittest.group("obj-schema-RoutersScopedList", () {
|
| + unittest.test("to-json--from-json", () {
|
| + var o = buildRoutersScopedList();
|
| + var od = new api.RoutersScopedList.fromJson(o.toJson());
|
| + checkRoutersScopedList(od);
|
| + });
|
| + });
|
| +
|
| +
|
| unittest.group("obj-schema-Scheduling", () {
|
| unittest.test("to-json--from-json", () {
|
| var o = buildScheduling();
|
| @@ -14097,6 +14772,54 @@ main() {
|
| })));
|
| });
|
|
|
| + unittest.test("method--startWithEncryptionKey", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.InstancesResourceApi res = new api.ComputeApi(mock).instances;
|
| + var arg_request = buildInstancesStartWithEncryptionKeyRequest();
|
| + var arg_project = "foo";
|
| + var arg_zone = "foo";
|
| + var arg_instance = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.InstancesStartWithEncryptionKeyRequest.fromJson(json);
|
| + checkInstancesStartWithEncryptionKeyRequest(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOperation());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.startWithEncryptionKey(arg_request, arg_project, arg_zone, arg_instance).then(unittest.expectAsync(((api.Operation response) {
|
| + checkOperation(response);
|
| + })));
|
| + });
|
| +
|
| unittest.test("method--stop", () {
|
|
|
| var mock = new HttpServerMock();
|
| @@ -14984,6 +15707,382 @@ main() {
|
| });
|
|
|
|
|
| + unittest.group("resource-RoutersResourceApi", () {
|
| + unittest.test("method--aggregatedList", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_project = "foo";
|
| + var arg_filter = "foo";
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildRouterAggregatedList());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.aggregatedList(arg_project, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.RouterAggregatedList response) {
|
| + checkRouterAggregatedList(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--delete", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_router = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOperation());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.delete(arg_project, arg_region, arg_router).then(unittest.expectAsync(((api.Operation response) {
|
| + checkOperation(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--get", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_router = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildRouter());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.get(arg_project, arg_region, arg_router).then(unittest.expectAsync(((api.Router response) {
|
| + checkRouter(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--getRouterStatus", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_router = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildRouterStatusResponse());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.getRouterStatus(arg_project, arg_region, arg_router).then(unittest.expectAsync(((api.RouterStatusResponse response) {
|
| + checkRouterStatusResponse(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--insert", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_request = buildRouter();
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.Router.fromJson(json);
|
| + checkRouter(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOperation());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.insert(arg_request, arg_project, arg_region).then(unittest.expectAsync(((api.Operation response) {
|
| + checkOperation(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--list", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_filter = "foo";
|
| + var arg_maxResults = 42;
|
| + var arg_pageToken = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| + unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
|
| + unittest.expect(core.int.parse(queryMap["maxResults"].first), unittest.equals(arg_maxResults));
|
| + unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageToken));
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildRouterList());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.list(arg_project, arg_region, filter: arg_filter, maxResults: arg_maxResults, pageToken: arg_pageToken).then(unittest.expectAsync(((api.RouterList response) {
|
| + checkRouterList(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--patch", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_request = buildRouter();
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_router = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.Router.fromJson(json);
|
| + checkRouter(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOperation());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.patch(arg_request, arg_project, arg_region, arg_router).then(unittest.expectAsync(((api.Operation response) {
|
| + checkOperation(response);
|
| + })));
|
| + });
|
| +
|
| + unittest.test("method--update", () {
|
| +
|
| + var mock = new HttpServerMock();
|
| + api.RoutersResourceApi res = new api.ComputeApi(mock).routers;
|
| + var arg_request = buildRouter();
|
| + var arg_project = "foo";
|
| + var arg_region = "foo";
|
| + var arg_router = "foo";
|
| + mock.register(unittest.expectAsync((http.BaseRequest req, json) {
|
| + var obj = new api.Router.fromJson(json);
|
| + checkRouter(obj);
|
| +
|
| + var path = (req.url).path;
|
| + var pathOffset = 0;
|
| + var index;
|
| + var subPart;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
| +
|
| + var query = (req.url).query;
|
| + var queryOffset = 0;
|
| + var queryMap = {};
|
| + addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
|
| + parseBool(n) {
|
| + if (n == "true") return true;
|
| + if (n == "false") return false;
|
| + if (n == null) return null;
|
| + throw new core.ArgumentError("Invalid boolean: $n");
|
| + }
|
| + if (query.length > 0) {
|
| + for (var part in query.split("&")) {
|
| + var keyvalue = part.split("=");
|
| + addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.decodeQueryComponent(keyvalue[1]));
|
| + }
|
| + }
|
| +
|
| +
|
| + var h = {
|
| + "content-type" : "application/json; charset=utf-8",
|
| + };
|
| + var resp = convert.JSON.encode(buildOperation());
|
| + return new async.Future.value(stringResponse(200, h, resp));
|
| + }), true);
|
| + res.update(arg_request, arg_project, arg_region, arg_router).then(unittest.expectAsync(((api.Operation response) {
|
| + checkOperation(response);
|
| + })));
|
| + });
|
| +
|
| + });
|
| +
|
| +
|
| unittest.group("resource-RoutesResourceApi", () {
|
| unittest.test("method--delete", () {
|
|
|
|
|