| Index: generated/googleapis_beta/test/manager/v1beta2_test.dart
|
| diff --git a/generated/googleapis_beta/test/manager/v1beta2_test.dart b/generated/googleapis_beta/test/manager/v1beta2_test.dart
|
| index 0cce0738060088e88857fc7ec884df7dd70d0be8..2d0165ed63b606fa226a3d4d254f7abf6f26d83d 100644
|
| --- a/generated/googleapis_beta/test/manager/v1beta2_test.dart
|
| +++ b/generated/googleapis_beta/test/manager/v1beta2_test.dart
|
| @@ -39,14 +39,14 @@ checkAccessConfig(api.AccessConfig o) {
|
| buildCounterAccessConfig--;
|
| }
|
|
|
| -buildUnnamed1092() {
|
| +buildUnnamed1120() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1092(core.List<core.String> o) {
|
| +checkUnnamed1120(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'));
|
| @@ -57,7 +57,7 @@ buildAction() {
|
| var o = new api.Action();
|
| buildCounterAction++;
|
| if (buildCounterAction < 3) {
|
| - o.commands = buildUnnamed1092();
|
| + o.commands = buildUnnamed1120();
|
| o.timeoutMs = 42;
|
| }
|
| buildCounterAction--;
|
| @@ -67,20 +67,20 @@ buildAction() {
|
| checkAction(api.Action o) {
|
| buildCounterAction++;
|
| if (buildCounterAction < 3) {
|
| - checkUnnamed1092(o.commands);
|
| + checkUnnamed1120(o.commands);
|
| unittest.expect(o.timeoutMs, unittest.equals(42));
|
| }
|
| buildCounterAction--;
|
| }
|
|
|
| -buildUnnamed1093() {
|
| +buildUnnamed1121() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1093(core.List<core.String> o) {
|
| +checkUnnamed1121(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'));
|
| @@ -92,7 +92,7 @@ buildAllowedRule() {
|
| buildCounterAllowedRule++;
|
| if (buildCounterAllowedRule < 3) {
|
| o.IPProtocol = "foo";
|
| - o.ports = buildUnnamed1093();
|
| + o.ports = buildUnnamed1121();
|
| }
|
| buildCounterAllowedRule--;
|
| return o;
|
| @@ -102,7 +102,7 @@ checkAllowedRule(api.AllowedRule o) {
|
| buildCounterAllowedRule++;
|
| if (buildCounterAllowedRule < 3) {
|
| unittest.expect(o.IPProtocol, unittest.equals('foo'));
|
| - checkUnnamed1093(o.ports);
|
| + checkUnnamed1121(o.ports);
|
| }
|
| buildCounterAllowedRule--;
|
| }
|
| @@ -178,27 +178,27 @@ checkDeployState(api.DeployState o) {
|
| buildCounterDeployState--;
|
| }
|
|
|
| -buildUnnamed1094() {
|
| +buildUnnamed1122() {
|
| var o = new core.Map<core.String, api.ModuleStatus>();
|
| o["x"] = buildModuleStatus();
|
| o["y"] = buildModuleStatus();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1094(core.Map<core.String, api.ModuleStatus> o) {
|
| +checkUnnamed1122(core.Map<core.String, api.ModuleStatus> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkModuleStatus(o["x"]);
|
| checkModuleStatus(o["y"]);
|
| }
|
|
|
| -buildUnnamed1095() {
|
| +buildUnnamed1123() {
|
| var o = new core.List<api.ParamOverride>();
|
| o.add(buildParamOverride());
|
| o.add(buildParamOverride());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1095(core.List<api.ParamOverride> o) {
|
| +checkUnnamed1123(core.List<api.ParamOverride> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkParamOverride(o[0]);
|
| checkParamOverride(o[1]);
|
| @@ -211,9 +211,9 @@ buildDeployment() {
|
| if (buildCounterDeployment < 3) {
|
| o.creationDate = "foo";
|
| o.description = "foo";
|
| - o.modules = buildUnnamed1094();
|
| + o.modules = buildUnnamed1122();
|
| o.name = "foo";
|
| - o.overrides = buildUnnamed1095();
|
| + o.overrides = buildUnnamed1123();
|
| o.state = buildDeployState();
|
| o.templateName = "foo";
|
| }
|
| @@ -226,23 +226,23 @@ checkDeployment(api.Deployment o) {
|
| if (buildCounterDeployment < 3) {
|
| unittest.expect(o.creationDate, unittest.equals('foo'));
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1094(o.modules);
|
| + checkUnnamed1122(o.modules);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| - checkUnnamed1095(o.overrides);
|
| + checkUnnamed1123(o.overrides);
|
| checkDeployState(o.state);
|
| unittest.expect(o.templateName, unittest.equals('foo'));
|
| }
|
| buildCounterDeployment--;
|
| }
|
|
|
| -buildUnnamed1096() {
|
| +buildUnnamed1124() {
|
| var o = new core.List<api.Deployment>();
|
| o.add(buildDeployment());
|
| o.add(buildDeployment());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1096(core.List<api.Deployment> o) {
|
| +checkUnnamed1124(core.List<api.Deployment> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkDeployment(o[0]);
|
| checkDeployment(o[1]);
|
| @@ -254,7 +254,7 @@ buildDeploymentsListResponse() {
|
| buildCounterDeploymentsListResponse++;
|
| if (buildCounterDeploymentsListResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed1096();
|
| + o.resources = buildUnnamed1124();
|
| }
|
| buildCounterDeploymentsListResponse--;
|
| return o;
|
| @@ -264,7 +264,7 @@ checkDeploymentsListResponse(api.DeploymentsListResponse o) {
|
| buildCounterDeploymentsListResponse++;
|
| if (buildCounterDeploymentsListResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1096(o.resources);
|
| + checkUnnamed1124(o.resources);
|
| }
|
| buildCounterDeploymentsListResponse--;
|
| }
|
| @@ -332,53 +332,53 @@ checkExistingDisk(api.ExistingDisk o) {
|
| buildCounterExistingDisk--;
|
| }
|
|
|
| -buildUnnamed1097() {
|
| +buildUnnamed1125() {
|
| var o = new core.List<api.AllowedRule>();
|
| o.add(buildAllowedRule());
|
| o.add(buildAllowedRule());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1097(core.List<api.AllowedRule> o) {
|
| +checkUnnamed1125(core.List<api.AllowedRule> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAllowedRule(o[0]);
|
| checkAllowedRule(o[1]);
|
| }
|
|
|
| -buildUnnamed1098() {
|
| +buildUnnamed1126() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1098(core.List<core.String> o) {
|
| +checkUnnamed1126(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'));
|
| }
|
|
|
| -buildUnnamed1099() {
|
| +buildUnnamed1127() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1099(core.List<core.String> o) {
|
| +checkUnnamed1127(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'));
|
| }
|
|
|
| -buildUnnamed1100() {
|
| +buildUnnamed1128() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1100(core.List<core.String> o) {
|
| +checkUnnamed1128(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'));
|
| @@ -389,12 +389,12 @@ buildFirewallModule() {
|
| var o = new api.FirewallModule();
|
| buildCounterFirewallModule++;
|
| if (buildCounterFirewallModule < 3) {
|
| - o.allowed = buildUnnamed1097();
|
| + o.allowed = buildUnnamed1125();
|
| o.description = "foo";
|
| o.network = "foo";
|
| - o.sourceRanges = buildUnnamed1098();
|
| - o.sourceTags = buildUnnamed1099();
|
| - o.targetTags = buildUnnamed1100();
|
| + o.sourceRanges = buildUnnamed1126();
|
| + o.sourceTags = buildUnnamed1127();
|
| + o.targetTags = buildUnnamed1128();
|
| }
|
| buildCounterFirewallModule--;
|
| return o;
|
| @@ -403,12 +403,12 @@ buildFirewallModule() {
|
| checkFirewallModule(api.FirewallModule o) {
|
| buildCounterFirewallModule++;
|
| if (buildCounterFirewallModule < 3) {
|
| - checkUnnamed1097(o.allowed);
|
| + checkUnnamed1125(o.allowed);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| - checkUnnamed1098(o.sourceRanges);
|
| - checkUnnamed1099(o.sourceTags);
|
| - checkUnnamed1100(o.targetTags);
|
| + checkUnnamed1126(o.sourceRanges);
|
| + checkUnnamed1127(o.sourceTags);
|
| + checkUnnamed1128(o.targetTags);
|
| }
|
| buildCounterFirewallModule--;
|
| }
|
| @@ -484,27 +484,27 @@ checkHealthCheckModuleStatus(api.HealthCheckModuleStatus o) {
|
| buildCounterHealthCheckModuleStatus--;
|
| }
|
|
|
| -buildUnnamed1101() {
|
| +buildUnnamed1129() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1101(core.List<core.String> o) {
|
| +checkUnnamed1129(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'));
|
| }
|
|
|
| -buildUnnamed1102() {
|
| +buildUnnamed1130() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1102(core.List<core.String> o) {
|
| +checkUnnamed1130(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'));
|
| @@ -516,12 +516,12 @@ buildLbModule() {
|
| buildCounterLbModule++;
|
| if (buildCounterLbModule < 3) {
|
| o.description = "foo";
|
| - o.healthChecks = buildUnnamed1101();
|
| + o.healthChecks = buildUnnamed1129();
|
| o.ipAddress = "foo";
|
| o.ipProtocol = "foo";
|
| o.portRange = "foo";
|
| o.sessionAffinity = "foo";
|
| - o.targetModules = buildUnnamed1102();
|
| + o.targetModules = buildUnnamed1130();
|
| }
|
| buildCounterLbModule--;
|
| return o;
|
| @@ -531,12 +531,12 @@ checkLbModule(api.LbModule o) {
|
| buildCounterLbModule++;
|
| if (buildCounterLbModule < 3) {
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1101(o.healthChecks);
|
| + checkUnnamed1129(o.healthChecks);
|
| unittest.expect(o.ipAddress, unittest.equals('foo'));
|
| unittest.expect(o.ipProtocol, unittest.equals('foo'));
|
| unittest.expect(o.portRange, unittest.equals('foo'));
|
| unittest.expect(o.sessionAffinity, unittest.equals('foo'));
|
| - checkUnnamed1102(o.targetModules);
|
| + checkUnnamed1130(o.targetModules);
|
| }
|
| buildCounterLbModule--;
|
| }
|
| @@ -562,14 +562,14 @@ checkLbModuleStatus(api.LbModuleStatus o) {
|
| buildCounterLbModuleStatus--;
|
| }
|
|
|
| -buildUnnamed1103() {
|
| +buildUnnamed1131() {
|
| var o = new core.List<api.MetadataItem>();
|
| o.add(buildMetadataItem());
|
| o.add(buildMetadataItem());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1103(core.List<api.MetadataItem> o) {
|
| +checkUnnamed1131(core.List<api.MetadataItem> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkMetadataItem(o[0]);
|
| checkMetadataItem(o[1]);
|
| @@ -581,7 +581,7 @@ buildMetadata() {
|
| buildCounterMetadata++;
|
| if (buildCounterMetadata < 3) {
|
| o.fingerPrint = "foo";
|
| - o.items = buildUnnamed1103();
|
| + o.items = buildUnnamed1131();
|
| }
|
| buildCounterMetadata--;
|
| return o;
|
| @@ -591,7 +591,7 @@ checkMetadata(api.Metadata o) {
|
| buildCounterMetadata++;
|
| if (buildCounterMetadata < 3) {
|
| unittest.expect(o.fingerPrint, unittest.equals('foo'));
|
| - checkUnnamed1103(o.items);
|
| + checkUnnamed1131(o.items);
|
| }
|
| buildCounterMetadata--;
|
| }
|
| @@ -681,14 +681,14 @@ checkModuleStatus(api.ModuleStatus o) {
|
| buildCounterModuleStatus--;
|
| }
|
|
|
| -buildUnnamed1104() {
|
| +buildUnnamed1132() {
|
| var o = new core.List<api.AccessConfig>();
|
| o.add(buildAccessConfig());
|
| o.add(buildAccessConfig());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1104(core.List<api.AccessConfig> o) {
|
| +checkUnnamed1132(core.List<api.AccessConfig> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAccessConfig(o[0]);
|
| checkAccessConfig(o[1]);
|
| @@ -699,7 +699,7 @@ buildNetworkInterface() {
|
| var o = new api.NetworkInterface();
|
| buildCounterNetworkInterface++;
|
| if (buildCounterNetworkInterface < 3) {
|
| - o.accessConfigs = buildUnnamed1104();
|
| + o.accessConfigs = buildUnnamed1132();
|
| o.name = "foo";
|
| o.network = "foo";
|
| o.networkIp = "foo";
|
| @@ -711,7 +711,7 @@ buildNetworkInterface() {
|
| checkNetworkInterface(api.NetworkInterface o) {
|
| buildCounterNetworkInterface++;
|
| if (buildCounterNetworkInterface < 3) {
|
| - checkUnnamed1104(o.accessConfigs);
|
| + checkUnnamed1132(o.accessConfigs);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| unittest.expect(o.network, unittest.equals('foo'));
|
| unittest.expect(o.networkIp, unittest.equals('foo'));
|
| @@ -792,6 +792,7 @@ buildNewDiskInitializeParams() {
|
| buildCounterNewDiskInitializeParams++;
|
| if (buildCounterNewDiskInitializeParams < 3) {
|
| o.diskSizeGb = "foo";
|
| + o.diskType = "foo";
|
| o.sourceImage = "foo";
|
| }
|
| buildCounterNewDiskInitializeParams--;
|
| @@ -802,6 +803,7 @@ checkNewDiskInitializeParams(api.NewDiskInitializeParams o) {
|
| buildCounterNewDiskInitializeParams++;
|
| if (buildCounterNewDiskInitializeParams < 3) {
|
| unittest.expect(o.diskSizeGb, unittest.equals('foo'));
|
| + unittest.expect(o.diskType, unittest.equals('foo'));
|
| unittest.expect(o.sourceImage, unittest.equals('foo'));
|
| }
|
| buildCounterNewDiskInitializeParams--;
|
| @@ -828,27 +830,27 @@ checkParamOverride(api.ParamOverride o) {
|
| buildCounterParamOverride--;
|
| }
|
|
|
| -buildUnnamed1105() {
|
| +buildUnnamed1133() {
|
| var o = new core.Map<core.String, api.EnvVariable>();
|
| o["x"] = buildEnvVariable();
|
| o["y"] = buildEnvVariable();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1105(core.Map<core.String, api.EnvVariable> o) {
|
| +checkUnnamed1133(core.Map<core.String, api.EnvVariable> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkEnvVariable(o["x"]);
|
| checkEnvVariable(o["y"]);
|
| }
|
|
|
| -buildUnnamed1106() {
|
| +buildUnnamed1134() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1106(core.List<core.String> o) {
|
| +checkUnnamed1134(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'));
|
| @@ -859,8 +861,8 @@ buildReplicaPoolModule() {
|
| var o = new api.ReplicaPoolModule();
|
| buildCounterReplicaPoolModule++;
|
| if (buildCounterReplicaPoolModule < 3) {
|
| - o.envVariables = buildUnnamed1105();
|
| - o.healthChecks = buildUnnamed1106();
|
| + o.envVariables = buildUnnamed1133();
|
| + o.healthChecks = buildUnnamed1134();
|
| o.numReplicas = 42;
|
| o.replicaPoolParams = buildReplicaPoolParams();
|
| o.resourceView = "foo";
|
| @@ -872,8 +874,8 @@ buildReplicaPoolModule() {
|
| checkReplicaPoolModule(api.ReplicaPoolModule o) {
|
| buildCounterReplicaPoolModule++;
|
| if (buildCounterReplicaPoolModule < 3) {
|
| - checkUnnamed1105(o.envVariables);
|
| - checkUnnamed1106(o.healthChecks);
|
| + checkUnnamed1133(o.envVariables);
|
| + checkUnnamed1134(o.healthChecks);
|
| unittest.expect(o.numReplicas, unittest.equals(42));
|
| checkReplicaPoolParams(o.replicaPoolParams);
|
| unittest.expect(o.resourceView, unittest.equals('foo'));
|
| @@ -921,53 +923,53 @@ checkReplicaPoolParams(api.ReplicaPoolParams o) {
|
| buildCounterReplicaPoolParams--;
|
| }
|
|
|
| -buildUnnamed1107() {
|
| +buildUnnamed1135() {
|
| var o = new core.List<api.ExistingDisk>();
|
| o.add(buildExistingDisk());
|
| o.add(buildExistingDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1107(core.List<api.ExistingDisk> o) {
|
| +checkUnnamed1135(core.List<api.ExistingDisk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkExistingDisk(o[0]);
|
| checkExistingDisk(o[1]);
|
| }
|
|
|
| -buildUnnamed1108() {
|
| +buildUnnamed1136() {
|
| var o = new core.List<api.NewDisk>();
|
| o.add(buildNewDisk());
|
| o.add(buildNewDisk());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1108(core.List<api.NewDisk> o) {
|
| +checkUnnamed1136(core.List<api.NewDisk> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNewDisk(o[0]);
|
| checkNewDisk(o[1]);
|
| }
|
|
|
| -buildUnnamed1109() {
|
| +buildUnnamed1137() {
|
| var o = new core.List<api.NetworkInterface>();
|
| o.add(buildNetworkInterface());
|
| o.add(buildNetworkInterface());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1109(core.List<api.NetworkInterface> o) {
|
| +checkUnnamed1137(core.List<api.NetworkInterface> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkNetworkInterface(o[0]);
|
| checkNetworkInterface(o[1]);
|
| }
|
|
|
| -buildUnnamed1110() {
|
| +buildUnnamed1138() {
|
| var o = new core.List<api.ServiceAccount>();
|
| o.add(buildServiceAccount());
|
| o.add(buildServiceAccount());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1110(core.List<api.ServiceAccount> o) {
|
| +checkUnnamed1138(core.List<api.ServiceAccount> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkServiceAccount(o[0]);
|
| checkServiceAccount(o[1]);
|
| @@ -982,14 +984,14 @@ buildReplicaPoolParamsV1Beta1() {
|
| o.baseInstanceName = "foo";
|
| o.canIpForward = true;
|
| o.description = "foo";
|
| - o.disksToAttach = buildUnnamed1107();
|
| - o.disksToCreate = buildUnnamed1108();
|
| + o.disksToAttach = buildUnnamed1135();
|
| + o.disksToCreate = buildUnnamed1136();
|
| o.initAction = "foo";
|
| o.machineType = "foo";
|
| o.metadata = buildMetadata();
|
| - o.networkInterfaces = buildUnnamed1109();
|
| + o.networkInterfaces = buildUnnamed1137();
|
| o.onHostMaintenance = "foo";
|
| - o.serviceAccounts = buildUnnamed1110();
|
| + o.serviceAccounts = buildUnnamed1138();
|
| o.tags = buildTag();
|
| o.zone = "foo";
|
| }
|
| @@ -1004,28 +1006,28 @@ checkReplicaPoolParamsV1Beta1(api.ReplicaPoolParamsV1Beta1 o) {
|
| unittest.expect(o.baseInstanceName, unittest.equals('foo'));
|
| unittest.expect(o.canIpForward, unittest.isTrue);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1107(o.disksToAttach);
|
| - checkUnnamed1108(o.disksToCreate);
|
| + checkUnnamed1135(o.disksToAttach);
|
| + checkUnnamed1136(o.disksToCreate);
|
| unittest.expect(o.initAction, unittest.equals('foo'));
|
| unittest.expect(o.machineType, unittest.equals('foo'));
|
| checkMetadata(o.metadata);
|
| - checkUnnamed1109(o.networkInterfaces);
|
| + checkUnnamed1137(o.networkInterfaces);
|
| unittest.expect(o.onHostMaintenance, unittest.equals('foo'));
|
| - checkUnnamed1110(o.serviceAccounts);
|
| + checkUnnamed1138(o.serviceAccounts);
|
| checkTag(o.tags);
|
| unittest.expect(o.zone, unittest.equals('foo'));
|
| }
|
| buildCounterReplicaPoolParamsV1Beta1--;
|
| }
|
|
|
| -buildUnnamed1111() {
|
| +buildUnnamed1139() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1111(core.List<core.String> o) {
|
| +checkUnnamed1139(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'));
|
| @@ -1037,7 +1039,7 @@ buildServiceAccount() {
|
| buildCounterServiceAccount++;
|
| if (buildCounterServiceAccount < 3) {
|
| o.email = "foo";
|
| - o.scopes = buildUnnamed1111();
|
| + o.scopes = buildUnnamed1139();
|
| }
|
| buildCounterServiceAccount--;
|
| return o;
|
| @@ -1047,19 +1049,19 @@ checkServiceAccount(api.ServiceAccount o) {
|
| buildCounterServiceAccount++;
|
| if (buildCounterServiceAccount < 3) {
|
| unittest.expect(o.email, unittest.equals('foo'));
|
| - checkUnnamed1111(o.scopes);
|
| + checkUnnamed1139(o.scopes);
|
| }
|
| buildCounterServiceAccount--;
|
| }
|
|
|
| -buildUnnamed1112() {
|
| +buildUnnamed1140() {
|
| var o = new core.List<core.String>();
|
| o.add("foo");
|
| o.add("foo");
|
| return o;
|
| }
|
|
|
| -checkUnnamed1112(core.List<core.String> o) {
|
| +checkUnnamed1140(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'));
|
| @@ -1071,7 +1073,7 @@ buildTag() {
|
| buildCounterTag++;
|
| if (buildCounterTag < 3) {
|
| o.fingerPrint = "foo";
|
| - o.items = buildUnnamed1112();
|
| + o.items = buildUnnamed1140();
|
| }
|
| buildCounterTag--;
|
| return o;
|
| @@ -1081,32 +1083,32 @@ checkTag(api.Tag o) {
|
| buildCounterTag++;
|
| if (buildCounterTag < 3) {
|
| unittest.expect(o.fingerPrint, unittest.equals('foo'));
|
| - checkUnnamed1112(o.items);
|
| + checkUnnamed1140(o.items);
|
| }
|
| buildCounterTag--;
|
| }
|
|
|
| -buildUnnamed1113() {
|
| +buildUnnamed1141() {
|
| var o = new core.Map<core.String, api.Action>();
|
| o["x"] = buildAction();
|
| o["y"] = buildAction();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1113(core.Map<core.String, api.Action> o) {
|
| +checkUnnamed1141(core.Map<core.String, api.Action> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkAction(o["x"]);
|
| checkAction(o["y"]);
|
| }
|
|
|
| -buildUnnamed1114() {
|
| +buildUnnamed1142() {
|
| var o = new core.Map<core.String, api.Module>();
|
| o["x"] = buildModule();
|
| o["y"] = buildModule();
|
| return o;
|
| }
|
|
|
| -checkUnnamed1114(core.Map<core.String, api.Module> o) {
|
| +checkUnnamed1142(core.Map<core.String, api.Module> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkModule(o["x"]);
|
| checkModule(o["y"]);
|
| @@ -1117,9 +1119,9 @@ buildTemplate() {
|
| var o = new api.Template();
|
| buildCounterTemplate++;
|
| if (buildCounterTemplate < 3) {
|
| - o.actions = buildUnnamed1113();
|
| + o.actions = buildUnnamed1141();
|
| o.description = "foo";
|
| - o.modules = buildUnnamed1114();
|
| + o.modules = buildUnnamed1142();
|
| o.name = "foo";
|
| }
|
| buildCounterTemplate--;
|
| @@ -1129,22 +1131,22 @@ buildTemplate() {
|
| checkTemplate(api.Template o) {
|
| buildCounterTemplate++;
|
| if (buildCounterTemplate < 3) {
|
| - checkUnnamed1113(o.actions);
|
| + checkUnnamed1141(o.actions);
|
| unittest.expect(o.description, unittest.equals('foo'));
|
| - checkUnnamed1114(o.modules);
|
| + checkUnnamed1142(o.modules);
|
| unittest.expect(o.name, unittest.equals('foo'));
|
| }
|
| buildCounterTemplate--;
|
| }
|
|
|
| -buildUnnamed1115() {
|
| +buildUnnamed1143() {
|
| var o = new core.List<api.Template>();
|
| o.add(buildTemplate());
|
| o.add(buildTemplate());
|
| return o;
|
| }
|
|
|
| -checkUnnamed1115(core.List<api.Template> o) {
|
| +checkUnnamed1143(core.List<api.Template> o) {
|
| unittest.expect(o, unittest.hasLength(2));
|
| checkTemplate(o[0]);
|
| checkTemplate(o[1]);
|
| @@ -1156,7 +1158,7 @@ buildTemplatesListResponse() {
|
| buildCounterTemplatesListResponse++;
|
| if (buildCounterTemplatesListResponse < 3) {
|
| o.nextPageToken = "foo";
|
| - o.resources = buildUnnamed1115();
|
| + o.resources = buildUnnamed1143();
|
| }
|
| buildCounterTemplatesListResponse--;
|
| return o;
|
| @@ -1166,7 +1168,7 @@ checkTemplatesListResponse(api.TemplatesListResponse o) {
|
| buildCounterTemplatesListResponse++;
|
| if (buildCounterTemplatesListResponse < 3) {
|
| unittest.expect(o.nextPageToken, unittest.equals('foo'));
|
| - checkUnnamed1115(o.resources);
|
| + checkUnnamed1143(o.resources);
|
| }
|
| buildCounterTemplatesListResponse--;
|
| }
|
| @@ -1501,25 +1503,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/regions/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/regions/"));
|
| - pathOffset += 9;
|
| - index = path.indexOf("/deployments/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_region"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("/deployments/"));
|
| - pathOffset += 13;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_deploymentName"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1560,25 +1545,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/regions/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/regions/"));
|
| - pathOffset += 9;
|
| - index = path.indexOf("/deployments/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_region"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 13), unittest.equals("/deployments/"));
|
| - pathOffset += 13;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_deploymentName"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1624,22 +1592,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/regions/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/regions/"));
|
| - pathOffset += 9;
|
| - index = path.indexOf("/deployments", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_region"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/deployments"));
|
| - pathOffset += 12;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1683,22 +1637,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/regions/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 9), unittest.equals("/regions/"));
|
| - pathOffset += 9;
|
| - index = path.indexOf("/deployments", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_region"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 12), unittest.equals("/deployments"));
|
| - pathOffset += 12;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1746,18 +1686,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/templates/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/templates/"));
|
| - pathOffset += 11;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_templateName"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1797,18 +1727,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/templates/", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 11), unittest.equals("/templates/"));
|
| - pathOffset += 11;
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset));
|
| - pathOffset = path.length;
|
| - unittest.expect(subPart, unittest.equals("$arg_templateName"));
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1853,15 +1773,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/templates", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/templates"));
|
| - pathOffset += 10;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
| @@ -1904,15 +1817,8 @@ main() {
|
| var pathOffset = 0;
|
| var index;
|
| var subPart;
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 26), unittest.equals("/manager/v1beta2/projects/"));
|
| - pathOffset += 26;
|
| - index = path.indexOf("/templates", pathOffset);
|
| - unittest.expect(index >= 0, unittest.isTrue);
|
| - subPart = core.Uri.decodeQueryComponent(path.substring(pathOffset, index));
|
| - pathOffset = index;
|
| - unittest.expect(subPart, unittest.equals("$arg_projectId"));
|
| - unittest.expect(path.substring(pathOffset, pathOffset + 10), unittest.equals("/templates"));
|
| - pathOffset += 10;
|
| + unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equals("/"));
|
| + pathOffset += 1;
|
|
|
| var query = (req.url).query;
|
| var queryOffset = 0;
|
|
|