Index: generated/googleapis_beta/test/dlp/v2beta1_test.dart |
diff --git a/generated/googleapis_beta/test/dlp/v2beta1_test.dart b/generated/googleapis_beta/test/dlp/v2beta1_test.dart |
index d3f832da4e6443578d290d37f56e4c9c7885494c..8f949c7024c53b0b4947f81792d06f37ecb875d1 100644 |
--- a/generated/googleapis_beta/test/dlp/v2beta1_test.dart |
+++ b/generated/googleapis_beta/test/dlp/v2beta1_test.dart |
@@ -68,14 +68,14 @@ checkGoogleLongrunningCancelOperationRequest(api.GoogleLongrunningCancelOperatio |
buildCounterGoogleLongrunningCancelOperationRequest--; |
} |
-buildUnnamed3287() { |
+buildUnnamed3283() { |
var o = new core.List<api.GoogleLongrunningOperation>(); |
o.add(buildGoogleLongrunningOperation()); |
o.add(buildGoogleLongrunningOperation()); |
return o; |
} |
-checkUnnamed3287(core.List<api.GoogleLongrunningOperation> o) { |
+checkUnnamed3283(core.List<api.GoogleLongrunningOperation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGoogleLongrunningOperation(o[0]); |
checkGoogleLongrunningOperation(o[1]); |
@@ -87,7 +87,7 @@ buildGoogleLongrunningListOperationsResponse() { |
buildCounterGoogleLongrunningListOperationsResponse++; |
if (buildCounterGoogleLongrunningListOperationsResponse < 3) { |
o.nextPageToken = "foo"; |
- o.operations = buildUnnamed3287(); |
+ o.operations = buildUnnamed3283(); |
} |
buildCounterGoogleLongrunningListOperationsResponse--; |
return o; |
@@ -97,32 +97,32 @@ checkGoogleLongrunningListOperationsResponse(api.GoogleLongrunningListOperations |
buildCounterGoogleLongrunningListOperationsResponse++; |
if (buildCounterGoogleLongrunningListOperationsResponse < 3) { |
unittest.expect(o.nextPageToken, unittest.equals('foo')); |
- checkUnnamed3287(o.operations); |
+ checkUnnamed3283(o.operations); |
} |
buildCounterGoogleLongrunningListOperationsResponse--; |
} |
-buildUnnamed3288() { |
+buildUnnamed3284() { |
var o = new core.Map<core.String, core.Object>(); |
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
return o; |
} |
-checkUnnamed3288(core.Map<core.String, core.Object> o) { |
+checkUnnamed3284(core.Map<core.String, core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLength(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.expect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); |
var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLength(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.expect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); |
} |
-buildUnnamed3289() { |
+buildUnnamed3285() { |
var o = new core.Map<core.String, core.Object>(); |
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
return o; |
} |
-checkUnnamed3289(core.Map<core.String, core.Object> o) { |
+checkUnnamed3285(core.Map<core.String, core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLength(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.expect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); |
var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLength(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.expect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); |
@@ -135,9 +135,9 @@ buildGoogleLongrunningOperation() { |
if (buildCounterGoogleLongrunningOperation < 3) { |
o.done = true; |
o.error = buildGoogleRpcStatus(); |
- o.metadata = buildUnnamed3288(); |
+ o.metadata = buildUnnamed3284(); |
o.name = "foo"; |
- o.response = buildUnnamed3289(); |
+ o.response = buildUnnamed3285(); |
} |
buildCounterGoogleLongrunningOperation--; |
return o; |
@@ -148,9 +148,9 @@ checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { |
if (buildCounterGoogleLongrunningOperation < 3) { |
unittest.expect(o.done, unittest.isTrue); |
checkGoogleRpcStatus(o.error); |
- checkUnnamed3288(o.metadata); |
+ checkUnnamed3284(o.metadata); |
unittest.expect(o.name, unittest.equals('foo')); |
- checkUnnamed3289(o.response); |
+ checkUnnamed3285(o.response); |
} |
buildCounterGoogleLongrunningOperation--; |
} |
@@ -323,14 +323,14 @@ checkGooglePrivacyDlpV2beta1DatastoreKey(api.GooglePrivacyDlpV2beta1DatastoreKey |
buildCounterGooglePrivacyDlpV2beta1DatastoreKey--; |
} |
-buildUnnamed3290() { |
+buildUnnamed3286() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1Projection>(); |
o.add(buildGooglePrivacyDlpV2beta1Projection()); |
o.add(buildGooglePrivacyDlpV2beta1Projection()); |
return o; |
} |
-checkUnnamed3290(core.List<api.GooglePrivacyDlpV2beta1Projection> o) { |
+checkUnnamed3286(core.List<api.GooglePrivacyDlpV2beta1Projection> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1Projection(o[0]); |
checkGooglePrivacyDlpV2beta1Projection(o[1]); |
@@ -343,7 +343,7 @@ buildGooglePrivacyDlpV2beta1DatastoreOptions() { |
if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) { |
o.kind = buildGooglePrivacyDlpV2beta1KindExpression(); |
o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId(); |
- o.projection = buildUnnamed3290(); |
+ o.projection = buildUnnamed3286(); |
} |
buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--; |
return o; |
@@ -354,7 +354,7 @@ checkGooglePrivacyDlpV2beta1DatastoreOptions(api.GooglePrivacyDlpV2beta1Datastor |
if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) { |
checkGooglePrivacyDlpV2beta1KindExpression(o.kind); |
checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId); |
- checkUnnamed3290(o.projection); |
+ checkUnnamed3286(o.projection); |
} |
buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--; |
} |
@@ -491,14 +491,14 @@ checkGooglePrivacyDlpV2beta1InfoType(api.GooglePrivacyDlpV2beta1InfoType o) { |
buildCounterGooglePrivacyDlpV2beta1InfoType--; |
} |
-buildUnnamed3291() { |
+buildUnnamed3287() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>(); |
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); |
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); |
return o; |
} |
-checkUnnamed3291(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { |
+checkUnnamed3287(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]); |
checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]); |
@@ -509,7 +509,7 @@ buildGooglePrivacyDlpV2beta1InfoTypeDescription() { |
var o = new api.GooglePrivacyDlpV2beta1InfoTypeDescription(); |
buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++; |
if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) { |
- o.categories = buildUnnamed3291(); |
+ o.categories = buildUnnamed3287(); |
o.displayName = "foo"; |
o.name = "foo"; |
} |
@@ -520,7 +520,7 @@ buildGooglePrivacyDlpV2beta1InfoTypeDescription() { |
checkGooglePrivacyDlpV2beta1InfoTypeDescription(api.GooglePrivacyDlpV2beta1InfoTypeDescription o) { |
buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++; |
if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) { |
- checkUnnamed3291(o.categories); |
+ checkUnnamed3287(o.categories); |
unittest.expect(o.displayName, unittest.equals('foo')); |
unittest.expect(o.name, unittest.equals('foo')); |
} |
@@ -548,14 +548,14 @@ checkGooglePrivacyDlpV2beta1InfoTypeStatistics(api.GooglePrivacyDlpV2beta1InfoTy |
buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--; |
} |
-buildUnnamed3292() { |
+buildUnnamed3288() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoType>(); |
o.add(buildGooglePrivacyDlpV2beta1InfoType()); |
o.add(buildGooglePrivacyDlpV2beta1InfoType()); |
return o; |
} |
-checkUnnamed3292(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) { |
+checkUnnamed3288(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1InfoType(o[0]); |
checkGooglePrivacyDlpV2beta1InfoType(o[1]); |
@@ -568,7 +568,7 @@ buildGooglePrivacyDlpV2beta1InspectConfig() { |
if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) { |
o.excludeTypes = true; |
o.includeQuote = true; |
- o.infoTypes = buildUnnamed3292(); |
+ o.infoTypes = buildUnnamed3288(); |
o.maxFindings = 42; |
o.minLikelihood = "foo"; |
} |
@@ -581,21 +581,21 @@ checkGooglePrivacyDlpV2beta1InspectConfig(api.GooglePrivacyDlpV2beta1InspectConf |
if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) { |
unittest.expect(o.excludeTypes, unittest.isTrue); |
unittest.expect(o.includeQuote, unittest.isTrue); |
- checkUnnamed3292(o.infoTypes); |
+ checkUnnamed3288(o.infoTypes); |
unittest.expect(o.maxFindings, unittest.equals(42)); |
unittest.expect(o.minLikelihood, unittest.equals('foo')); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectConfig--; |
} |
-buildUnnamed3293() { |
+buildUnnamed3289() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
return o; |
} |
-checkUnnamed3293(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
+checkUnnamed3289(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ContentItem(o[0]); |
checkGooglePrivacyDlpV2beta1ContentItem(o[1]); |
@@ -607,7 +607,7 @@ buildGooglePrivacyDlpV2beta1InspectContentRequest() { |
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) { |
o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); |
- o.items = buildUnnamed3293(); |
+ o.items = buildUnnamed3289(); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--; |
return o; |
@@ -617,19 +617,19 @@ checkGooglePrivacyDlpV2beta1InspectContentRequest(api.GooglePrivacyDlpV2beta1Ins |
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) { |
checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig); |
- checkUnnamed3293(o.items); |
+ checkUnnamed3289(o.items); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--; |
} |
-buildUnnamed3294() { |
+buildUnnamed3290() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1InspectResult>(); |
o.add(buildGooglePrivacyDlpV2beta1InspectResult()); |
o.add(buildGooglePrivacyDlpV2beta1InspectResult()); |
return o; |
} |
-checkUnnamed3294(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) { |
+checkUnnamed3290(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1InspectResult(o[0]); |
checkGooglePrivacyDlpV2beta1InspectResult(o[1]); |
@@ -640,7 +640,7 @@ buildGooglePrivacyDlpV2beta1InspectContentResponse() { |
var o = new api.GooglePrivacyDlpV2beta1InspectContentResponse(); |
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) { |
- o.results = buildUnnamed3294(); |
+ o.results = buildUnnamed3290(); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--; |
return o; |
@@ -649,19 +649,19 @@ buildGooglePrivacyDlpV2beta1InspectContentResponse() { |
checkGooglePrivacyDlpV2beta1InspectContentResponse(api.GooglePrivacyDlpV2beta1InspectContentResponse o) { |
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) { |
- checkUnnamed3294(o.results); |
+ checkUnnamed3290(o.results); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--; |
} |
-buildUnnamed3295() { |
+buildUnnamed3291() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics>(); |
o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics()); |
o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics()); |
return o; |
} |
-checkUnnamed3295(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) { |
+checkUnnamed3291(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[0]); |
checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[1]); |
@@ -673,7 +673,7 @@ buildGooglePrivacyDlpV2beta1InspectOperationMetadata() { |
buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) { |
o.createTime = "foo"; |
- o.infoTypeStats = buildUnnamed3295(); |
+ o.infoTypeStats = buildUnnamed3291(); |
o.processedBytes = "foo"; |
o.requestInspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); |
o.requestOutputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig(); |
@@ -688,7 +688,7 @@ checkGooglePrivacyDlpV2beta1InspectOperationMetadata(api.GooglePrivacyDlpV2beta1 |
buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) { |
unittest.expect(o.createTime, unittest.equals('foo')); |
- checkUnnamed3295(o.infoTypeStats); |
+ checkUnnamed3291(o.infoTypeStats); |
unittest.expect(o.processedBytes, unittest.equals('foo')); |
checkGooglePrivacyDlpV2beta1InspectConfig(o.requestInspectConfig); |
checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.requestOutputConfig); |
@@ -717,14 +717,14 @@ checkGooglePrivacyDlpV2beta1InspectOperationResult(api.GooglePrivacyDlpV2beta1In |
buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--; |
} |
-buildUnnamed3296() { |
+buildUnnamed3292() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1Finding>(); |
o.add(buildGooglePrivacyDlpV2beta1Finding()); |
o.add(buildGooglePrivacyDlpV2beta1Finding()); |
return o; |
} |
-checkUnnamed3296(core.List<api.GooglePrivacyDlpV2beta1Finding> o) { |
+checkUnnamed3292(core.List<api.GooglePrivacyDlpV2beta1Finding> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1Finding(o[0]); |
checkGooglePrivacyDlpV2beta1Finding(o[1]); |
@@ -735,7 +735,7 @@ buildGooglePrivacyDlpV2beta1InspectResult() { |
var o = new api.GooglePrivacyDlpV2beta1InspectResult(); |
buildCounterGooglePrivacyDlpV2beta1InspectResult++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) { |
- o.findings = buildUnnamed3296(); |
+ o.findings = buildUnnamed3292(); |
o.findingsTruncated = true; |
} |
buildCounterGooglePrivacyDlpV2beta1InspectResult--; |
@@ -745,20 +745,20 @@ buildGooglePrivacyDlpV2beta1InspectResult() { |
checkGooglePrivacyDlpV2beta1InspectResult(api.GooglePrivacyDlpV2beta1InspectResult o) { |
buildCounterGooglePrivacyDlpV2beta1InspectResult++; |
if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) { |
- checkUnnamed3296(o.findings); |
+ checkUnnamed3292(o.findings); |
unittest.expect(o.findingsTruncated, unittest.isTrue); |
} |
buildCounterGooglePrivacyDlpV2beta1InspectResult--; |
} |
-buildUnnamed3297() { |
+buildUnnamed3293() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1PathElement>(); |
o.add(buildGooglePrivacyDlpV2beta1PathElement()); |
o.add(buildGooglePrivacyDlpV2beta1PathElement()); |
return o; |
} |
-checkUnnamed3297(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) { |
+checkUnnamed3293(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1PathElement(o[0]); |
checkGooglePrivacyDlpV2beta1PathElement(o[1]); |
@@ -770,7 +770,7 @@ buildGooglePrivacyDlpV2beta1Key() { |
buildCounterGooglePrivacyDlpV2beta1Key++; |
if (buildCounterGooglePrivacyDlpV2beta1Key < 3) { |
o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId(); |
- o.path = buildUnnamed3297(); |
+ o.path = buildUnnamed3293(); |
} |
buildCounterGooglePrivacyDlpV2beta1Key--; |
return o; |
@@ -780,7 +780,7 @@ checkGooglePrivacyDlpV2beta1Key(api.GooglePrivacyDlpV2beta1Key o) { |
buildCounterGooglePrivacyDlpV2beta1Key++; |
if (buildCounterGooglePrivacyDlpV2beta1Key < 3) { |
checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId); |
- checkUnnamed3297(o.path); |
+ checkUnnamed3293(o.path); |
} |
buildCounterGooglePrivacyDlpV2beta1Key--; |
} |
@@ -804,14 +804,14 @@ checkGooglePrivacyDlpV2beta1KindExpression(api.GooglePrivacyDlpV2beta1KindExpres |
buildCounterGooglePrivacyDlpV2beta1KindExpression--; |
} |
-buildUnnamed3298() { |
+buildUnnamed3294() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription>(); |
o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription()); |
o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription()); |
return o; |
} |
-checkUnnamed3298(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) { |
+checkUnnamed3294(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[0]); |
checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[1]); |
@@ -822,7 +822,7 @@ buildGooglePrivacyDlpV2beta1ListInfoTypesResponse() { |
var o = new api.GooglePrivacyDlpV2beta1ListInfoTypesResponse(); |
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) { |
- o.infoTypes = buildUnnamed3298(); |
+ o.infoTypes = buildUnnamed3294(); |
} |
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--; |
return o; |
@@ -831,7 +831,7 @@ buildGooglePrivacyDlpV2beta1ListInfoTypesResponse() { |
checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(api.GooglePrivacyDlpV2beta1ListInfoTypesResponse o) { |
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) { |
- checkUnnamed3298(o.infoTypes); |
+ checkUnnamed3294(o.infoTypes); |
} |
buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--; |
} |
@@ -857,14 +857,14 @@ checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(api.GooglePrivacyDlpV2be |
buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--; |
} |
-buildUnnamed3299() { |
+buildUnnamed3295() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>(); |
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); |
o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); |
return o; |
} |
-checkUnnamed3299(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { |
+checkUnnamed3295(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]); |
checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]); |
@@ -875,7 +875,7 @@ buildGooglePrivacyDlpV2beta1ListRootCategoriesResponse() { |
var o = new api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse(); |
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) { |
- o.categories = buildUnnamed3299(); |
+ o.categories = buildUnnamed3295(); |
} |
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--; |
return o; |
@@ -884,19 +884,19 @@ buildGooglePrivacyDlpV2beta1ListRootCategoriesResponse() { |
checkGooglePrivacyDlpV2beta1ListRootCategoriesResponse(api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse o) { |
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) { |
- checkUnnamed3299(o.categories); |
+ checkUnnamed3295(o.categories); |
} |
buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--; |
} |
-buildUnnamed3300() { |
+buildUnnamed3296() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ImageLocation>(); |
o.add(buildGooglePrivacyDlpV2beta1ImageLocation()); |
o.add(buildGooglePrivacyDlpV2beta1ImageLocation()); |
return o; |
} |
-checkUnnamed3300(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) { |
+checkUnnamed3296(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ImageLocation(o[0]); |
checkGooglePrivacyDlpV2beta1ImageLocation(o[1]); |
@@ -910,7 +910,7 @@ buildGooglePrivacyDlpV2beta1Location() { |
o.byteRange = buildGooglePrivacyDlpV2beta1Range(); |
o.codepointRange = buildGooglePrivacyDlpV2beta1Range(); |
o.fieldId = buildGooglePrivacyDlpV2beta1FieldId(); |
- o.imageBoxes = buildUnnamed3300(); |
+ o.imageBoxes = buildUnnamed3296(); |
o.recordKey = buildGooglePrivacyDlpV2beta1RecordKey(); |
} |
buildCounterGooglePrivacyDlpV2beta1Location--; |
@@ -923,7 +923,7 @@ checkGooglePrivacyDlpV2beta1Location(api.GooglePrivacyDlpV2beta1Location o) { |
checkGooglePrivacyDlpV2beta1Range(o.byteRange); |
checkGooglePrivacyDlpV2beta1Range(o.codepointRange); |
checkGooglePrivacyDlpV2beta1FieldId(o.fieldId); |
- checkUnnamed3300(o.imageBoxes); |
+ checkUnnamed3296(o.imageBoxes); |
checkGooglePrivacyDlpV2beta1RecordKey(o.recordKey); |
} |
buildCounterGooglePrivacyDlpV2beta1Location--; |
@@ -1072,40 +1072,40 @@ checkGooglePrivacyDlpV2beta1RecordKey(api.GooglePrivacyDlpV2beta1RecordKey o) { |
buildCounterGooglePrivacyDlpV2beta1RecordKey--; |
} |
-buildUnnamed3301() { |
+buildUnnamed3297() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig>(); |
o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig()); |
o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig()); |
return o; |
} |
-checkUnnamed3301(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) { |
+checkUnnamed3297(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[0]); |
checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[1]); |
} |
-buildUnnamed3302() { |
+buildUnnamed3298() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
return o; |
} |
-checkUnnamed3302(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
+checkUnnamed3298(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ContentItem(o[0]); |
checkGooglePrivacyDlpV2beta1ContentItem(o[1]); |
} |
-buildUnnamed3303() { |
+buildUnnamed3299() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig>(); |
o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig()); |
o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig()); |
return o; |
} |
-checkUnnamed3303(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) { |
+checkUnnamed3299(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ReplaceConfig(o[0]); |
checkGooglePrivacyDlpV2beta1ReplaceConfig(o[1]); |
@@ -1116,10 +1116,10 @@ buildGooglePrivacyDlpV2beta1RedactContentRequest() { |
var o = new api.GooglePrivacyDlpV2beta1RedactContentRequest(); |
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++; |
if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) { |
- o.imageRedactionConfigs = buildUnnamed3301(); |
+ o.imageRedactionConfigs = buildUnnamed3297(); |
o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); |
- o.items = buildUnnamed3302(); |
- o.replaceConfigs = buildUnnamed3303(); |
+ o.items = buildUnnamed3298(); |
+ o.replaceConfigs = buildUnnamed3299(); |
} |
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--; |
return o; |
@@ -1128,22 +1128,22 @@ buildGooglePrivacyDlpV2beta1RedactContentRequest() { |
checkGooglePrivacyDlpV2beta1RedactContentRequest(api.GooglePrivacyDlpV2beta1RedactContentRequest o) { |
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++; |
if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) { |
- checkUnnamed3301(o.imageRedactionConfigs); |
+ checkUnnamed3297(o.imageRedactionConfigs); |
checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig); |
- checkUnnamed3302(o.items); |
- checkUnnamed3303(o.replaceConfigs); |
+ checkUnnamed3298(o.items); |
+ checkUnnamed3299(o.replaceConfigs); |
} |
buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--; |
} |
-buildUnnamed3304() { |
+buildUnnamed3300() { |
var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
o.add(buildGooglePrivacyDlpV2beta1ContentItem()); |
return o; |
} |
-checkUnnamed3304(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
+checkUnnamed3300(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { |
unittest.expect(o, unittest.hasLength(2)); |
checkGooglePrivacyDlpV2beta1ContentItem(o[0]); |
checkGooglePrivacyDlpV2beta1ContentItem(o[1]); |
@@ -1154,7 +1154,7 @@ buildGooglePrivacyDlpV2beta1RedactContentResponse() { |
var o = new api.GooglePrivacyDlpV2beta1RedactContentResponse(); |
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) { |
- o.items = buildUnnamed3304(); |
+ o.items = buildUnnamed3300(); |
} |
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--; |
return o; |
@@ -1163,7 +1163,7 @@ buildGooglePrivacyDlpV2beta1RedactContentResponse() { |
checkGooglePrivacyDlpV2beta1RedactContentResponse(api.GooglePrivacyDlpV2beta1RedactContentResponse o) { |
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++; |
if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) { |
- checkUnnamed3304(o.items); |
+ checkUnnamed3300(o.items); |
} |
buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--; |
} |
@@ -1227,30 +1227,30 @@ checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { |
buildCounterGoogleProtobufEmpty--; |
} |
-buildUnnamed3305() { |
+buildUnnamed3301() { |
var o = new core.Map<core.String, core.Object>(); |
o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; |
return o; |
} |
-checkUnnamed3305(core.Map<core.String, core.Object> o) { |
+checkUnnamed3301(core.Map<core.String, core.Object> o) { |
unittest.expect(o, unittest.hasLength(2)); |
var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLength(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.expect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); |
var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLength(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.expect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); |
} |
-buildUnnamed3306() { |
+buildUnnamed3302() { |
var o = new core.List<core.Map<core.String, core.Object>>(); |
- o.add(buildUnnamed3305()); |
- o.add(buildUnnamed3305()); |
+ o.add(buildUnnamed3301()); |
+ o.add(buildUnnamed3301()); |
return o; |
} |
-checkUnnamed3306(core.List<core.Map<core.String, core.Object>> o) { |
+checkUnnamed3302(core.List<core.Map<core.String, core.Object>> o) { |
unittest.expect(o, unittest.hasLength(2)); |
- checkUnnamed3305(o[0]); |
- checkUnnamed3305(o[1]); |
+ checkUnnamed3301(o[0]); |
+ checkUnnamed3301(o[1]); |
} |
core.int buildCounterGoogleRpcStatus = 0; |
@@ -1259,7 +1259,7 @@ buildGoogleRpcStatus() { |
buildCounterGoogleRpcStatus++; |
if (buildCounterGoogleRpcStatus < 3) { |
o.code = 42; |
- o.details = buildUnnamed3306(); |
+ o.details = buildUnnamed3302(); |
o.message = "foo"; |
} |
buildCounterGoogleRpcStatus--; |
@@ -1270,7 +1270,7 @@ checkGoogleRpcStatus(api.GoogleRpcStatus o) { |
buildCounterGoogleRpcStatus++; |
if (buildCounterGoogleRpcStatus < 3) { |
unittest.expect(o.code, unittest.equals(42)); |
- checkUnnamed3306(o.details); |
+ checkUnnamed3302(o.details); |
unittest.expect(o.message, unittest.equals('foo')); |
} |
buildCounterGoogleRpcStatus--; |
@@ -1973,9 +1973,9 @@ main() { |
var mock = new HttpServerMock(); |
api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operations; |
var arg_name = "foo"; |
+ var arg_pageSize = 42; |
var arg_filter = "foo"; |
var arg_pageToken = "foo"; |
- var arg_pageSize = 42; |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -2003,9 +2003,9 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), 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)); |
var h = { |
@@ -2014,7 +2014,7 @@ main() { |
var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) { |
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsResponse response) { |
checkGoogleLongrunningListOperationsResponse(response); |
}))); |
}); |
@@ -2028,9 +2028,9 @@ main() { |
var mock = new HttpServerMock(); |
api.InspectResultsFindingsResourceApi res = new api.DlpApi(mock).inspect.results.findings; |
var arg_name = "foo"; |
+ var arg_pageSize = 42; |
var arg_filter = "foo"; |
var arg_pageToken = "foo"; |
- var arg_pageSize = 42; |
mock.register(unittest.expectAsync2((http.BaseRequest req, json) { |
var path = (req.url).path; |
var pathOffset = 0; |
@@ -2058,9 +2058,9 @@ main() { |
addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), 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)); |
var h = { |
@@ -2069,7 +2069,7 @@ main() { |
var resp = convert.JSON.encode(buildGooglePrivacyDlpV2beta1ListInspectFindingsResponse()); |
return new async.Future.value(stringResponse(200, h, resp)); |
}), true); |
- res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse response) { |
+ res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse response) { |
checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(response); |
}))); |
}); |