generated new packages
diff --git a/generated/googleapis/test/ml/v1_test.dart b/generated/googleapis/test/ml/v1_test.dart
index a2b13ca..04fa6b0 100644
--- a/generated/googleapis/test/ml/v1_test.dart
+++ b/generated/googleapis/test/ml/v1_test.dart
@@ -50,7 +50,7 @@
return new http.StreamedResponse(stream, status, headers: headers);
}
-buildUnnamed3858() {
+buildUnnamed1675() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -65,7 +65,7 @@
return o;
}
-checkUnnamed3858(core.Map<core.String, core.Object> o) {
+checkUnnamed1675(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted1 = (o["x"]) as core.Map;
unittest.expect(casted1, unittest.hasLength(3));
@@ -79,17 +79,17 @@
unittest.expect(casted2["string"], unittest.equals('foo'));
}
-buildUnnamed3859() {
+buildUnnamed1676() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3858());
- o.add(buildUnnamed3858());
+ o.add(buildUnnamed1675());
+ o.add(buildUnnamed1675());
return o;
}
-checkUnnamed3859(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1676(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3858(o[0]);
- checkUnnamed3858(o[1]);
+ checkUnnamed1675(o[0]);
+ checkUnnamed1675(o[1]);
}
core.int buildCounterGoogleApiHttpBody = 0;
@@ -99,7 +99,7 @@
if (buildCounterGoogleApiHttpBody < 3) {
o.contentType = "foo";
o.data = "foo";
- o.extensions = buildUnnamed3859();
+ o.extensions = buildUnnamed1676();
}
buildCounterGoogleApiHttpBody--;
return o;
@@ -110,7 +110,7 @@
if (buildCounterGoogleApiHttpBody < 3) {
unittest.expect(o.contentType, unittest.equals('foo'));
unittest.expect(o.data, unittest.equals('foo'));
- checkUnnamed3859(o.extensions);
+ checkUnnamed1676(o.extensions);
}
buildCounterGoogleApiHttpBody--;
}
@@ -193,14 +193,14 @@
buildCounterGoogleCloudMlV1CancelJobRequest--;
}
-buildUnnamed3860() {
+buildUnnamed1677() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3860(core.List<core.String> o) {
+checkUnnamed1677(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'));
@@ -211,7 +211,7 @@
var o = new api.GoogleCloudMlV1Capability();
buildCounterGoogleCloudMlV1Capability++;
if (buildCounterGoogleCloudMlV1Capability < 3) {
- o.availableAccelerators = buildUnnamed3860();
+ o.availableAccelerators = buildUnnamed1677();
o.type = "foo";
}
buildCounterGoogleCloudMlV1Capability--;
@@ -221,7 +221,7 @@
checkGoogleCloudMlV1Capability(api.GoogleCloudMlV1Capability o) {
buildCounterGoogleCloudMlV1Capability++;
if (buildCounterGoogleCloudMlV1Capability < 3) {
- checkUnnamed3860(o.availableAccelerators);
+ checkUnnamed1677(o.availableAccelerators);
unittest.expect(o.type, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1Capability--;
@@ -269,7 +269,7 @@
buildCounterGoogleCloudMlV1GetConfigResponse--;
}
-buildUnnamed3861() {
+buildUnnamed1678() {
var o = new core
.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric>();
o.add(buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric());
@@ -277,21 +277,21 @@
return o;
}
-checkUnnamed3861(
+checkUnnamed1678(
core.List<api.GoogleCloudMlV1HyperparameterOutputHyperparameterMetric> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[0]);
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o[1]);
}
-buildUnnamed3862() {
+buildUnnamed1679() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3862(core.Map<core.String, core.String> o) {
+checkUnnamed1679(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -302,10 +302,10 @@
var o = new api.GoogleCloudMlV1HyperparameterOutput();
buildCounterGoogleCloudMlV1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
- o.allMetrics = buildUnnamed3861();
+ o.allMetrics = buildUnnamed1678();
o.finalMetric =
buildGoogleCloudMlV1HyperparameterOutputHyperparameterMetric();
- o.hyperparameters = buildUnnamed3862();
+ o.hyperparameters = buildUnnamed1679();
o.isTrialStoppedEarly = true;
o.trialId = "foo";
}
@@ -317,23 +317,23 @@
api.GoogleCloudMlV1HyperparameterOutput o) {
buildCounterGoogleCloudMlV1HyperparameterOutput++;
if (buildCounterGoogleCloudMlV1HyperparameterOutput < 3) {
- checkUnnamed3861(o.allMetrics);
+ checkUnnamed1678(o.allMetrics);
checkGoogleCloudMlV1HyperparameterOutputHyperparameterMetric(o.finalMetric);
- checkUnnamed3862(o.hyperparameters);
+ checkUnnamed1679(o.hyperparameters);
unittest.expect(o.isTrialStoppedEarly, unittest.isTrue);
unittest.expect(o.trialId, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1HyperparameterOutput--;
}
-buildUnnamed3863() {
+buildUnnamed1680() {
var o = new core.List<api.GoogleCloudMlV1ParameterSpec>();
o.add(buildGoogleCloudMlV1ParameterSpec());
o.add(buildGoogleCloudMlV1ParameterSpec());
return o;
}
-checkUnnamed3863(core.List<api.GoogleCloudMlV1ParameterSpec> o) {
+checkUnnamed1680(core.List<api.GoogleCloudMlV1ParameterSpec> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1ParameterSpec(o[0]);
checkGoogleCloudMlV1ParameterSpec(o[1]);
@@ -350,7 +350,7 @@
o.hyperparameterMetricTag = "foo";
o.maxParallelTrials = 42;
o.maxTrials = 42;
- o.params = buildUnnamed3863();
+ o.params = buildUnnamed1680();
o.resumePreviousJobId = "foo";
}
buildCounterGoogleCloudMlV1HyperparameterSpec--;
@@ -367,20 +367,20 @@
unittest.expect(o.hyperparameterMetricTag, unittest.equals('foo'));
unittest.expect(o.maxParallelTrials, unittest.equals(42));
unittest.expect(o.maxTrials, unittest.equals(42));
- checkUnnamed3863(o.params);
+ checkUnnamed1680(o.params);
unittest.expect(o.resumePreviousJobId, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1HyperparameterSpec--;
}
-buildUnnamed3864() {
+buildUnnamed1681() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3864(core.Map<core.String, core.String> o) {
+checkUnnamed1681(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -396,7 +396,7 @@
o.errorMessage = "foo";
o.etag = "foo";
o.jobId = "foo";
- o.labels = buildUnnamed3864();
+ o.labels = buildUnnamed1681();
o.predictionInput = buildGoogleCloudMlV1PredictionInput();
o.predictionOutput = buildGoogleCloudMlV1PredictionOutput();
o.startTime = "foo";
@@ -416,7 +416,7 @@
unittest.expect(o.errorMessage, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.jobId, unittest.equals('foo'));
- checkUnnamed3864(o.labels);
+ checkUnnamed1681(o.labels);
checkGoogleCloudMlV1PredictionInput(o.predictionInput);
checkGoogleCloudMlV1PredictionOutput(o.predictionOutput);
unittest.expect(o.startTime, unittest.equals('foo'));
@@ -427,14 +427,14 @@
buildCounterGoogleCloudMlV1Job--;
}
-buildUnnamed3865() {
+buildUnnamed1682() {
var o = new core.List<api.GoogleCloudMlV1Job>();
o.add(buildGoogleCloudMlV1Job());
o.add(buildGoogleCloudMlV1Job());
return o;
}
-checkUnnamed3865(core.List<api.GoogleCloudMlV1Job> o) {
+checkUnnamed1682(core.List<api.GoogleCloudMlV1Job> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Job(o[0]);
checkGoogleCloudMlV1Job(o[1]);
@@ -445,7 +445,7 @@
var o = new api.GoogleCloudMlV1ListJobsResponse();
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- o.jobs = buildUnnamed3865();
+ o.jobs = buildUnnamed1682();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
@@ -455,20 +455,20 @@
checkGoogleCloudMlV1ListJobsResponse(api.GoogleCloudMlV1ListJobsResponse o) {
buildCounterGoogleCloudMlV1ListJobsResponse++;
if (buildCounterGoogleCloudMlV1ListJobsResponse < 3) {
- checkUnnamed3865(o.jobs);
+ checkUnnamed1682(o.jobs);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListJobsResponse--;
}
-buildUnnamed3866() {
+buildUnnamed1683() {
var o = new core.List<api.GoogleCloudMlV1Location>();
o.add(buildGoogleCloudMlV1Location());
o.add(buildGoogleCloudMlV1Location());
return o;
}
-checkUnnamed3866(core.List<api.GoogleCloudMlV1Location> o) {
+checkUnnamed1683(core.List<api.GoogleCloudMlV1Location> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Location(o[0]);
checkGoogleCloudMlV1Location(o[1]);
@@ -479,7 +479,7 @@
var o = new api.GoogleCloudMlV1ListLocationsResponse();
buildCounterGoogleCloudMlV1ListLocationsResponse++;
if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) {
- o.locations = buildUnnamed3866();
+ o.locations = buildUnnamed1683();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListLocationsResponse--;
@@ -490,20 +490,20 @@
api.GoogleCloudMlV1ListLocationsResponse o) {
buildCounterGoogleCloudMlV1ListLocationsResponse++;
if (buildCounterGoogleCloudMlV1ListLocationsResponse < 3) {
- checkUnnamed3866(o.locations);
+ checkUnnamed1683(o.locations);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListLocationsResponse--;
}
-buildUnnamed3867() {
+buildUnnamed1684() {
var o = new core.List<api.GoogleCloudMlV1Model>();
o.add(buildGoogleCloudMlV1Model());
o.add(buildGoogleCloudMlV1Model());
return o;
}
-checkUnnamed3867(core.List<api.GoogleCloudMlV1Model> o) {
+checkUnnamed1684(core.List<api.GoogleCloudMlV1Model> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Model(o[0]);
checkGoogleCloudMlV1Model(o[1]);
@@ -514,7 +514,7 @@
var o = new api.GoogleCloudMlV1ListModelsResponse();
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- o.models = buildUnnamed3867();
+ o.models = buildUnnamed1684();
o.nextPageToken = "foo";
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
@@ -525,20 +525,20 @@
api.GoogleCloudMlV1ListModelsResponse o) {
buildCounterGoogleCloudMlV1ListModelsResponse++;
if (buildCounterGoogleCloudMlV1ListModelsResponse < 3) {
- checkUnnamed3867(o.models);
+ checkUnnamed1684(o.models);
unittest.expect(o.nextPageToken, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1ListModelsResponse--;
}
-buildUnnamed3868() {
+buildUnnamed1685() {
var o = new core.List<api.GoogleCloudMlV1Version>();
o.add(buildGoogleCloudMlV1Version());
o.add(buildGoogleCloudMlV1Version());
return o;
}
-checkUnnamed3868(core.List<api.GoogleCloudMlV1Version> o) {
+checkUnnamed1685(core.List<api.GoogleCloudMlV1Version> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Version(o[0]);
checkGoogleCloudMlV1Version(o[1]);
@@ -550,7 +550,7 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
o.nextPageToken = "foo";
- o.versions = buildUnnamed3868();
+ o.versions = buildUnnamed1685();
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
return o;
@@ -561,19 +561,19 @@
buildCounterGoogleCloudMlV1ListVersionsResponse++;
if (buildCounterGoogleCloudMlV1ListVersionsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3868(o.versions);
+ checkUnnamed1685(o.versions);
}
buildCounterGoogleCloudMlV1ListVersionsResponse--;
}
-buildUnnamed3869() {
+buildUnnamed1686() {
var o = new core.List<api.GoogleCloudMlV1Capability>();
o.add(buildGoogleCloudMlV1Capability());
o.add(buildGoogleCloudMlV1Capability());
return o;
}
-checkUnnamed3869(core.List<api.GoogleCloudMlV1Capability> o) {
+checkUnnamed1686(core.List<api.GoogleCloudMlV1Capability> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1Capability(o[0]);
checkGoogleCloudMlV1Capability(o[1]);
@@ -584,7 +584,7 @@
var o = new api.GoogleCloudMlV1Location();
buildCounterGoogleCloudMlV1Location++;
if (buildCounterGoogleCloudMlV1Location < 3) {
- o.capabilities = buildUnnamed3869();
+ o.capabilities = buildUnnamed1686();
o.name = "foo";
}
buildCounterGoogleCloudMlV1Location--;
@@ -594,7 +594,7 @@
checkGoogleCloudMlV1Location(api.GoogleCloudMlV1Location o) {
buildCounterGoogleCloudMlV1Location++;
if (buildCounterGoogleCloudMlV1Location < 3) {
- checkUnnamed3869(o.capabilities);
+ checkUnnamed1686(o.capabilities);
unittest.expect(o.name, unittest.equals('foo'));
}
buildCounterGoogleCloudMlV1Location--;
@@ -619,27 +619,27 @@
buildCounterGoogleCloudMlV1ManualScaling--;
}
-buildUnnamed3870() {
+buildUnnamed1687() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3870(core.Map<core.String, core.String> o) {
+checkUnnamed1687(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
}
-buildUnnamed3871() {
+buildUnnamed1688() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3871(core.List<core.String> o) {
+checkUnnamed1688(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'));
@@ -653,10 +653,10 @@
o.defaultVersion = buildGoogleCloudMlV1Version();
o.description = "foo";
o.etag = "foo";
- o.labels = buildUnnamed3870();
+ o.labels = buildUnnamed1687();
o.name = "foo";
o.onlinePredictionLogging = true;
- o.regions = buildUnnamed3871();
+ o.regions = buildUnnamed1688();
}
buildCounterGoogleCloudMlV1Model--;
return o;
@@ -668,22 +668,22 @@
checkGoogleCloudMlV1Version(o.defaultVersion);
unittest.expect(o.description, unittest.equals('foo'));
unittest.expect(o.etag, unittest.equals('foo'));
- checkUnnamed3870(o.labels);
+ checkUnnamed1687(o.labels);
unittest.expect(o.name, unittest.equals('foo'));
unittest.expect(o.onlinePredictionLogging, unittest.isTrue);
- checkUnnamed3871(o.regions);
+ checkUnnamed1688(o.regions);
}
buildCounterGoogleCloudMlV1Model--;
}
-buildUnnamed3872() {
+buildUnnamed1689() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3872(core.Map<core.String, core.String> o) {
+checkUnnamed1689(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -697,7 +697,7 @@
o.createTime = "foo";
o.endTime = "foo";
o.isCancellationRequested = true;
- o.labels = buildUnnamed3872();
+ o.labels = buildUnnamed1689();
o.modelName = "foo";
o.operationType = "foo";
o.projectNumber = "foo";
@@ -714,7 +714,7 @@
unittest.expect(o.createTime, unittest.equals('foo'));
unittest.expect(o.endTime, unittest.equals('foo'));
unittest.expect(o.isCancellationRequested, unittest.isTrue);
- checkUnnamed3872(o.labels);
+ checkUnnamed1689(o.labels);
unittest.expect(o.modelName, unittest.equals('foo'));
unittest.expect(o.operationType, unittest.equals('foo'));
unittest.expect(o.projectNumber, unittest.equals('foo'));
@@ -724,27 +724,27 @@
buildCounterGoogleCloudMlV1OperationMetadata--;
}
-buildUnnamed3873() {
+buildUnnamed1690() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3873(core.List<core.String> o) {
+checkUnnamed1690(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'));
}
-buildUnnamed3874() {
+buildUnnamed1691() {
var o = new core.List<core.double>();
o.add(42.0);
o.add(42.0);
return o;
}
-checkUnnamed3874(core.List<core.double> o) {
+checkUnnamed1691(core.List<core.double> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals(42.0));
unittest.expect(o[1], unittest.equals(42.0));
@@ -755,8 +755,8 @@
var o = new api.GoogleCloudMlV1ParameterSpec();
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- o.categoricalValues = buildUnnamed3873();
- o.discreteValues = buildUnnamed3874();
+ o.categoricalValues = buildUnnamed1690();
+ o.discreteValues = buildUnnamed1691();
o.maxValue = 42.0;
o.minValue = 42.0;
o.parameterName = "foo";
@@ -770,8 +770,8 @@
checkGoogleCloudMlV1ParameterSpec(api.GoogleCloudMlV1ParameterSpec o) {
buildCounterGoogleCloudMlV1ParameterSpec++;
if (buildCounterGoogleCloudMlV1ParameterSpec < 3) {
- checkUnnamed3873(o.categoricalValues);
- checkUnnamed3874(o.discreteValues);
+ checkUnnamed1690(o.categoricalValues);
+ checkUnnamed1691(o.discreteValues);
unittest.expect(o.maxValue, unittest.equals(42.0));
unittest.expect(o.minValue, unittest.equals(42.0));
unittest.expect(o.parameterName, unittest.equals('foo'));
@@ -800,14 +800,14 @@
buildCounterGoogleCloudMlV1PredictRequest--;
}
-buildUnnamed3875() {
+buildUnnamed1692() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3875(core.List<core.String> o) {
+checkUnnamed1692(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'));
@@ -821,9 +821,10 @@
o.accelerator = buildGoogleCloudMlV1AcceleratorConfig();
o.batchSize = "foo";
o.dataFormat = "foo";
- o.inputPaths = buildUnnamed3875();
+ o.inputPaths = buildUnnamed1692();
o.maxWorkerCount = "foo";
o.modelName = "foo";
+ o.outputDataFormat = "foo";
o.outputPath = "foo";
o.region = "foo";
o.runtimeVersion = "foo";
@@ -841,9 +842,10 @@
checkGoogleCloudMlV1AcceleratorConfig(o.accelerator);
unittest.expect(o.batchSize, unittest.equals('foo'));
unittest.expect(o.dataFormat, unittest.equals('foo'));
- checkUnnamed3875(o.inputPaths);
+ checkUnnamed1692(o.inputPaths);
unittest.expect(o.maxWorkerCount, unittest.equals('foo'));
unittest.expect(o.modelName, unittest.equals('foo'));
+ unittest.expect(o.outputDataFormat, unittest.equals('foo'));
unittest.expect(o.outputPath, unittest.equals('foo'));
unittest.expect(o.region, unittest.equals('foo'));
unittest.expect(o.runtimeVersion, unittest.equals('foo'));
@@ -895,27 +897,27 @@
buildCounterGoogleCloudMlV1SetDefaultVersionRequest--;
}
-buildUnnamed3876() {
+buildUnnamed1693() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3876(core.List<core.String> o) {
+checkUnnamed1693(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'));
}
-buildUnnamed3877() {
+buildUnnamed1694() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3877(core.List<core.String> o) {
+checkUnnamed1694(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'));
@@ -926,11 +928,11 @@
var o = new api.GoogleCloudMlV1TrainingInput();
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- o.args = buildUnnamed3876();
+ o.args = buildUnnamed1693();
o.hyperparameters = buildGoogleCloudMlV1HyperparameterSpec();
o.jobDir = "foo";
o.masterType = "foo";
- o.packageUris = buildUnnamed3877();
+ o.packageUris = buildUnnamed1694();
o.parameterServerCount = "foo";
o.parameterServerType = "foo";
o.pythonModule = "foo";
@@ -948,11 +950,11 @@
checkGoogleCloudMlV1TrainingInput(api.GoogleCloudMlV1TrainingInput o) {
buildCounterGoogleCloudMlV1TrainingInput++;
if (buildCounterGoogleCloudMlV1TrainingInput < 3) {
- checkUnnamed3876(o.args);
+ checkUnnamed1693(o.args);
checkGoogleCloudMlV1HyperparameterSpec(o.hyperparameters);
unittest.expect(o.jobDir, unittest.equals('foo'));
unittest.expect(o.masterType, unittest.equals('foo'));
- checkUnnamed3877(o.packageUris);
+ checkUnnamed1694(o.packageUris);
unittest.expect(o.parameterServerCount, unittest.equals('foo'));
unittest.expect(o.parameterServerType, unittest.equals('foo'));
unittest.expect(o.pythonModule, unittest.equals('foo'));
@@ -966,14 +968,14 @@
buildCounterGoogleCloudMlV1TrainingInput--;
}
-buildUnnamed3878() {
+buildUnnamed1695() {
var o = new core.List<api.GoogleCloudMlV1HyperparameterOutput>();
o.add(buildGoogleCloudMlV1HyperparameterOutput());
o.add(buildGoogleCloudMlV1HyperparameterOutput());
return o;
}
-checkUnnamed3878(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
+checkUnnamed1695(core.List<api.GoogleCloudMlV1HyperparameterOutput> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleCloudMlV1HyperparameterOutput(o[0]);
checkGoogleCloudMlV1HyperparameterOutput(o[1]);
@@ -987,7 +989,7 @@
o.completedTrialCount = "foo";
o.consumedMLUnits = 42.0;
o.isHyperparameterTuningJob = true;
- o.trials = buildUnnamed3878();
+ o.trials = buildUnnamed1695();
}
buildCounterGoogleCloudMlV1TrainingOutput--;
return o;
@@ -999,19 +1001,19 @@
unittest.expect(o.completedTrialCount, unittest.equals('foo'));
unittest.expect(o.consumedMLUnits, unittest.equals(42.0));
unittest.expect(o.isHyperparameterTuningJob, unittest.isTrue);
- checkUnnamed3878(o.trials);
+ checkUnnamed1695(o.trials);
}
buildCounterGoogleCloudMlV1TrainingOutput--;
}
-buildUnnamed3879() {
+buildUnnamed1696() {
var o = new core.Map<core.String, core.String>();
o["x"] = "foo";
o["y"] = "foo";
return o;
}
-checkUnnamed3879(core.Map<core.String, core.String> o) {
+checkUnnamed1696(core.Map<core.String, core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o["x"], unittest.equals('foo'));
unittest.expect(o["y"], unittest.equals('foo'));
@@ -1030,7 +1032,7 @@
o.etag = "foo";
o.framework = "foo";
o.isDefault = true;
- o.labels = buildUnnamed3879();
+ o.labels = buildUnnamed1696();
o.lastUseTime = "foo";
o.machineType = "foo";
o.manualScaling = buildGoogleCloudMlV1ManualScaling();
@@ -1054,7 +1056,7 @@
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.framework, unittest.equals('foo'));
unittest.expect(o.isDefault, unittest.isTrue);
- checkUnnamed3879(o.labels);
+ checkUnnamed1696(o.labels);
unittest.expect(o.lastUseTime, unittest.equals('foo'));
unittest.expect(o.machineType, unittest.equals('foo'));
checkGoogleCloudMlV1ManualScaling(o.manualScaling);
@@ -1066,14 +1068,14 @@
buildCounterGoogleCloudMlV1Version--;
}
-buildUnnamed3880() {
+buildUnnamed1697() {
var o = new core.List<api.GoogleIamV1AuditLogConfig>();
o.add(buildGoogleIamV1AuditLogConfig());
o.add(buildGoogleIamV1AuditLogConfig());
return o;
}
-checkUnnamed3880(core.List<api.GoogleIamV1AuditLogConfig> o) {
+checkUnnamed1697(core.List<api.GoogleIamV1AuditLogConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditLogConfig(o[0]);
checkGoogleIamV1AuditLogConfig(o[1]);
@@ -1084,7 +1086,7 @@
var o = new api.GoogleIamV1AuditConfig();
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- o.auditLogConfigs = buildUnnamed3880();
+ o.auditLogConfigs = buildUnnamed1697();
o.service = "foo";
}
buildCounterGoogleIamV1AuditConfig--;
@@ -1094,20 +1096,20 @@
checkGoogleIamV1AuditConfig(api.GoogleIamV1AuditConfig o) {
buildCounterGoogleIamV1AuditConfig++;
if (buildCounterGoogleIamV1AuditConfig < 3) {
- checkUnnamed3880(o.auditLogConfigs);
+ checkUnnamed1697(o.auditLogConfigs);
unittest.expect(o.service, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditConfig--;
}
-buildUnnamed3881() {
+buildUnnamed1698() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3881(core.List<core.String> o) {
+checkUnnamed1698(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'));
@@ -1118,7 +1120,7 @@
var o = new api.GoogleIamV1AuditLogConfig();
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- o.exemptedMembers = buildUnnamed3881();
+ o.exemptedMembers = buildUnnamed1698();
o.logType = "foo";
}
buildCounterGoogleIamV1AuditLogConfig--;
@@ -1128,20 +1130,20 @@
checkGoogleIamV1AuditLogConfig(api.GoogleIamV1AuditLogConfig o) {
buildCounterGoogleIamV1AuditLogConfig++;
if (buildCounterGoogleIamV1AuditLogConfig < 3) {
- checkUnnamed3881(o.exemptedMembers);
+ checkUnnamed1698(o.exemptedMembers);
unittest.expect(o.logType, unittest.equals('foo'));
}
buildCounterGoogleIamV1AuditLogConfig--;
}
-buildUnnamed3882() {
+buildUnnamed1699() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3882(core.List<core.String> o) {
+checkUnnamed1699(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'));
@@ -1153,7 +1155,7 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
o.condition = buildGoogleTypeExpr();
- o.members = buildUnnamed3882();
+ o.members = buildUnnamed1699();
o.role = "foo";
}
buildCounterGoogleIamV1Binding--;
@@ -1164,33 +1166,33 @@
buildCounterGoogleIamV1Binding++;
if (buildCounterGoogleIamV1Binding < 3) {
checkGoogleTypeExpr(o.condition);
- checkUnnamed3882(o.members);
+ checkUnnamed1699(o.members);
unittest.expect(o.role, unittest.equals('foo'));
}
buildCounterGoogleIamV1Binding--;
}
-buildUnnamed3883() {
+buildUnnamed1700() {
var o = new core.List<api.GoogleIamV1AuditConfig>();
o.add(buildGoogleIamV1AuditConfig());
o.add(buildGoogleIamV1AuditConfig());
return o;
}
-checkUnnamed3883(core.List<api.GoogleIamV1AuditConfig> o) {
+checkUnnamed1700(core.List<api.GoogleIamV1AuditConfig> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1AuditConfig(o[0]);
checkGoogleIamV1AuditConfig(o[1]);
}
-buildUnnamed3884() {
+buildUnnamed1701() {
var o = new core.List<api.GoogleIamV1Binding>();
o.add(buildGoogleIamV1Binding());
o.add(buildGoogleIamV1Binding());
return o;
}
-checkUnnamed3884(core.List<api.GoogleIamV1Binding> o) {
+checkUnnamed1701(core.List<api.GoogleIamV1Binding> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleIamV1Binding(o[0]);
checkGoogleIamV1Binding(o[1]);
@@ -1201,8 +1203,8 @@
var o = new api.GoogleIamV1Policy();
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- o.auditConfigs = buildUnnamed3883();
- o.bindings = buildUnnamed3884();
+ o.auditConfigs = buildUnnamed1700();
+ o.bindings = buildUnnamed1701();
o.etag = "foo";
o.version = 42;
}
@@ -1213,8 +1215,8 @@
checkGoogleIamV1Policy(api.GoogleIamV1Policy o) {
buildCounterGoogleIamV1Policy++;
if (buildCounterGoogleIamV1Policy < 3) {
- checkUnnamed3883(o.auditConfigs);
- checkUnnamed3884(o.bindings);
+ checkUnnamed1700(o.auditConfigs);
+ checkUnnamed1701(o.bindings);
unittest.expect(o.etag, unittest.equals('foo'));
unittest.expect(o.version, unittest.equals(42));
}
@@ -1242,14 +1244,14 @@
buildCounterGoogleIamV1SetIamPolicyRequest--;
}
-buildUnnamed3885() {
+buildUnnamed1702() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3885(core.List<core.String> o) {
+checkUnnamed1702(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'));
@@ -1260,7 +1262,7 @@
var o = new api.GoogleIamV1TestIamPermissionsRequest();
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- o.permissions = buildUnnamed3885();
+ o.permissions = buildUnnamed1702();
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
return o;
@@ -1270,19 +1272,19 @@
api.GoogleIamV1TestIamPermissionsRequest o) {
buildCounterGoogleIamV1TestIamPermissionsRequest++;
if (buildCounterGoogleIamV1TestIamPermissionsRequest < 3) {
- checkUnnamed3885(o.permissions);
+ checkUnnamed1702(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsRequest--;
}
-buildUnnamed3886() {
+buildUnnamed1703() {
var o = new core.List<core.String>();
o.add("foo");
o.add("foo");
return o;
}
-checkUnnamed3886(core.List<core.String> o) {
+checkUnnamed1703(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'));
@@ -1293,7 +1295,7 @@
var o = new api.GoogleIamV1TestIamPermissionsResponse();
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- o.permissions = buildUnnamed3886();
+ o.permissions = buildUnnamed1703();
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
return o;
@@ -1303,19 +1305,19 @@
api.GoogleIamV1TestIamPermissionsResponse o) {
buildCounterGoogleIamV1TestIamPermissionsResponse++;
if (buildCounterGoogleIamV1TestIamPermissionsResponse < 3) {
- checkUnnamed3886(o.permissions);
+ checkUnnamed1703(o.permissions);
}
buildCounterGoogleIamV1TestIamPermissionsResponse--;
}
-buildUnnamed3887() {
+buildUnnamed1704() {
var o = new core.List<api.GoogleLongrunningOperation>();
o.add(buildGoogleLongrunningOperation());
o.add(buildGoogleLongrunningOperation());
return o;
}
-checkUnnamed3887(core.List<api.GoogleLongrunningOperation> o) {
+checkUnnamed1704(core.List<api.GoogleLongrunningOperation> o) {
unittest.expect(o, unittest.hasLength(2));
checkGoogleLongrunningOperation(o[0]);
checkGoogleLongrunningOperation(o[1]);
@@ -1327,7 +1329,7 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
o.nextPageToken = "foo";
- o.operations = buildUnnamed3887();
+ o.operations = buildUnnamed1704();
}
buildCounterGoogleLongrunningListOperationsResponse--;
return o;
@@ -1338,12 +1340,12 @@
buildCounterGoogleLongrunningListOperationsResponse++;
if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
unittest.expect(o.nextPageToken, unittest.equals('foo'));
- checkUnnamed3887(o.operations);
+ checkUnnamed1704(o.operations);
}
buildCounterGoogleLongrunningListOperationsResponse--;
}
-buildUnnamed3888() {
+buildUnnamed1705() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1358,7 +1360,7 @@
return o;
}
-checkUnnamed3888(core.Map<core.String, core.Object> o) {
+checkUnnamed1705(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted3 = (o["x"]) as core.Map;
unittest.expect(casted3, unittest.hasLength(3));
@@ -1372,7 +1374,7 @@
unittest.expect(casted4["string"], unittest.equals('foo'));
}
-buildUnnamed3889() {
+buildUnnamed1706() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1387,7 +1389,7 @@
return o;
}
-checkUnnamed3889(core.Map<core.String, core.Object> o) {
+checkUnnamed1706(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted5 = (o["x"]) as core.Map;
unittest.expect(casted5, unittest.hasLength(3));
@@ -1408,9 +1410,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
o.done = true;
o.error = buildGoogleRpcStatus();
- o.metadata = buildUnnamed3888();
+ o.metadata = buildUnnamed1705();
o.name = "foo";
- o.response = buildUnnamed3889();
+ o.response = buildUnnamed1706();
}
buildCounterGoogleLongrunningOperation--;
return o;
@@ -1421,9 +1423,9 @@
if (buildCounterGoogleLongrunningOperation < 3) {
unittest.expect(o.done, unittest.isTrue);
checkGoogleRpcStatus(o.error);
- checkUnnamed3888(o.metadata);
+ checkUnnamed1705(o.metadata);
unittest.expect(o.name, unittest.equals('foo'));
- checkUnnamed3889(o.response);
+ checkUnnamed1706(o.response);
}
buildCounterGoogleLongrunningOperation--;
}
@@ -1443,7 +1445,7 @@
buildCounterGoogleProtobufEmpty--;
}
-buildUnnamed3890() {
+buildUnnamed1707() {
var o = new core.Map<core.String, core.Object>();
o["x"] = {
'list': [1, 2, 3],
@@ -1458,7 +1460,7 @@
return o;
}
-checkUnnamed3890(core.Map<core.String, core.Object> o) {
+checkUnnamed1707(core.Map<core.String, core.Object> o) {
unittest.expect(o, unittest.hasLength(2));
var casted7 = (o["x"]) as core.Map;
unittest.expect(casted7, unittest.hasLength(3));
@@ -1472,17 +1474,17 @@
unittest.expect(casted8["string"], unittest.equals('foo'));
}
-buildUnnamed3891() {
+buildUnnamed1708() {
var o = new core.List<core.Map<core.String, core.Object>>();
- o.add(buildUnnamed3890());
- o.add(buildUnnamed3890());
+ o.add(buildUnnamed1707());
+ o.add(buildUnnamed1707());
return o;
}
-checkUnnamed3891(core.List<core.Map<core.String, core.Object>> o) {
+checkUnnamed1708(core.List<core.Map<core.String, core.Object>> o) {
unittest.expect(o, unittest.hasLength(2));
- checkUnnamed3890(o[0]);
- checkUnnamed3890(o[1]);
+ checkUnnamed1707(o[0]);
+ checkUnnamed1707(o[1]);
}
core.int buildCounterGoogleRpcStatus = 0;
@@ -1491,7 +1493,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
o.code = 42;
- o.details = buildUnnamed3891();
+ o.details = buildUnnamed1708();
o.message = "foo";
}
buildCounterGoogleRpcStatus--;
@@ -1502,7 +1504,7 @@
buildCounterGoogleRpcStatus++;
if (buildCounterGoogleRpcStatus < 3) {
unittest.expect(o.code, unittest.equals(42));
- checkUnnamed3891(o.details);
+ checkUnnamed1708(o.details);
unittest.expect(o.message, unittest.equals('foo'));
}
buildCounterGoogleRpcStatus--;
@@ -2179,9 +2181,9 @@
var mock = new HttpServerMock();
api.ProjectsJobsResourceApi res = new api.MlApi(mock).projects.jobs;
var arg_parent = "foo";
+ var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
- var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2214,11 +2216,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2229,9 +2231,9 @@
}), true);
res
.list(arg_parent,
+ pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
- pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListJobsResponse(response);
@@ -2738,9 +2740,9 @@
var mock = new HttpServerMock();
api.ProjectsModelsResourceApi res = new api.MlApi(mock).projects.models;
var arg_parent = "foo";
- var arg_filter = "foo";
var arg_pageToken = "foo";
var arg_pageSize = 42;
+ var arg_filter = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -2773,11 +2775,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
+ unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -2789,9 +2791,9 @@
}), true);
res
.list(arg_parent,
- filter: arg_filter,
pageToken: arg_pageToken,
pageSize: arg_pageSize,
+ filter: arg_filter,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListModelsResponse(response);
@@ -3135,9 +3137,9 @@
api.ProjectsModelsVersionsResourceApi res =
new api.MlApi(mock).projects.models.versions;
var arg_parent = "foo";
+ var arg_pageToken = "foo";
var arg_pageSize = 42;
var arg_filter = "foo";
- var arg_pageToken = "foo";
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3170,11 +3172,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
+ unittest.expect(
+ queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(core.int.parse(queryMap["pageSize"].first),
unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
- unittest.expect(
- queryMap["pageToken"].first, unittest.equals(arg_pageToken));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3186,9 +3188,9 @@
}), true);
res
.list(arg_parent,
+ pageToken: arg_pageToken,
pageSize: arg_pageSize,
filter: arg_filter,
- pageToken: arg_pageToken,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleCloudMlV1ListVersionsResponse(response);
@@ -3475,9 +3477,9 @@
api.ProjectsOperationsResourceApi res =
new api.MlApi(mock).projects.operations;
var arg_name = "foo";
- var arg_pageSize = 42;
var arg_filter = "foo";
var arg_pageToken = "foo";
+ var arg_pageSize = 42;
var arg_$fields = "foo";
mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
var path = (req.url).path;
@@ -3510,11 +3512,11 @@
core.Uri.decodeQueryComponent(keyvalue[1]));
}
}
- unittest.expect(core.int.parse(queryMap["pageSize"].first),
- unittest.equals(arg_pageSize));
unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
unittest.expect(
queryMap["pageToken"].first, unittest.equals(arg_pageToken));
+ unittest.expect(core.int.parse(queryMap["pageSize"].first),
+ unittest.equals(arg_pageSize));
unittest.expect(queryMap["fields"].first, unittest.equals(arg_$fields));
var h = {
@@ -3526,9 +3528,9 @@
}), true);
res
.list(arg_name,
- pageSize: arg_pageSize,
filter: arg_filter,
pageToken: arg_pageToken,
+ pageSize: arg_pageSize,
$fields: arg_$fields)
.then(unittest.expectAsync1(((response) {
checkGoogleLongrunningListOperationsResponse(response);