Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: generated/googleapis_beta/test/dlp/v2beta1_test.dart

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 library googleapis_beta.dlp.v2beta1.test; 1 library googleapis_beta.dlp.v2beta1.test;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import 'package:http/http.dart' as http; 8 import 'package:http/http.dart' as http;
9 import 'package:http/testing.dart' as http_testing; 9 import 'package:http/testing.dart' as http_testing;
10 import 'package:test/test.dart' as unittest; 10 import 'package:test/test.dart' as unittest;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return o; 61 return o;
62 } 62 }
63 63
64 checkGoogleLongrunningCancelOperationRequest(api.GoogleLongrunningCancelOperatio nRequest o) { 64 checkGoogleLongrunningCancelOperationRequest(api.GoogleLongrunningCancelOperatio nRequest o) {
65 buildCounterGoogleLongrunningCancelOperationRequest++; 65 buildCounterGoogleLongrunningCancelOperationRequest++;
66 if (buildCounterGoogleLongrunningCancelOperationRequest < 3) { 66 if (buildCounterGoogleLongrunningCancelOperationRequest < 3) {
67 } 67 }
68 buildCounterGoogleLongrunningCancelOperationRequest--; 68 buildCounterGoogleLongrunningCancelOperationRequest--;
69 } 69 }
70 70
71 buildUnnamed3283() { 71 buildUnnamed3310() {
72 var o = new core.List<api.GoogleLongrunningOperation>(); 72 var o = new core.List<api.GoogleLongrunningOperation>();
73 o.add(buildGoogleLongrunningOperation()); 73 o.add(buildGoogleLongrunningOperation());
74 o.add(buildGoogleLongrunningOperation()); 74 o.add(buildGoogleLongrunningOperation());
75 return o; 75 return o;
76 } 76 }
77 77
78 checkUnnamed3283(core.List<api.GoogleLongrunningOperation> o) { 78 checkUnnamed3310(core.List<api.GoogleLongrunningOperation> o) {
79 unittest.expect(o, unittest.hasLength(2)); 79 unittest.expect(o, unittest.hasLength(2));
80 checkGoogleLongrunningOperation(o[0]); 80 checkGoogleLongrunningOperation(o[0]);
81 checkGoogleLongrunningOperation(o[1]); 81 checkGoogleLongrunningOperation(o[1]);
82 } 82 }
83 83
84 core.int buildCounterGoogleLongrunningListOperationsResponse = 0; 84 core.int buildCounterGoogleLongrunningListOperationsResponse = 0;
85 buildGoogleLongrunningListOperationsResponse() { 85 buildGoogleLongrunningListOperationsResponse() {
86 var o = new api.GoogleLongrunningListOperationsResponse(); 86 var o = new api.GoogleLongrunningListOperationsResponse();
87 buildCounterGoogleLongrunningListOperationsResponse++; 87 buildCounterGoogleLongrunningListOperationsResponse++;
88 if (buildCounterGoogleLongrunningListOperationsResponse < 3) { 88 if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
89 o.nextPageToken = "foo"; 89 o.nextPageToken = "foo";
90 o.operations = buildUnnamed3283(); 90 o.operations = buildUnnamed3310();
91 } 91 }
92 buildCounterGoogleLongrunningListOperationsResponse--; 92 buildCounterGoogleLongrunningListOperationsResponse--;
93 return o; 93 return o;
94 } 94 }
95 95
96 checkGoogleLongrunningListOperationsResponse(api.GoogleLongrunningListOperations Response o) { 96 checkGoogleLongrunningListOperationsResponse(api.GoogleLongrunningListOperations Response o) {
97 buildCounterGoogleLongrunningListOperationsResponse++; 97 buildCounterGoogleLongrunningListOperationsResponse++;
98 if (buildCounterGoogleLongrunningListOperationsResponse < 3) { 98 if (buildCounterGoogleLongrunningListOperationsResponse < 3) {
99 unittest.expect(o.nextPageToken, unittest.equals('foo')); 99 unittest.expect(o.nextPageToken, unittest.equals('foo'));
100 checkUnnamed3283(o.operations); 100 checkUnnamed3310(o.operations);
101 } 101 }
102 buildCounterGoogleLongrunningListOperationsResponse--; 102 buildCounterGoogleLongrunningListOperationsResponse--;
103 } 103 }
104 104
105 buildUnnamed3284() { 105 buildUnnamed3311() {
106 var o = new core.Map<core.String, core.Object>(); 106 var o = new core.Map<core.String, core.Object>();
107 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 107 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
108 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 108 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
109 return o; 109 return o;
110 } 110 }
111 111
112 checkUnnamed3284(core.Map<core.String, core.Object> o) { 112 checkUnnamed3311(core.Map<core.String, core.Object> o) {
113 unittest.expect(o, unittest.hasLength(2)); 113 unittest.expect(o, unittest.hasLength(2));
114 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo')); 114 var casted1 = (o["x"]) as core.Map; unittest.expect(casted1, unittest.hasLengt h(3)); unittest.expect(casted1["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted1["bool"], unittest.equals(true)); unittest.expect(casted1["string"], unittest.equals('foo'));
115 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo')); 115 var casted2 = (o["y"]) as core.Map; unittest.expect(casted2, unittest.hasLengt h(3)); unittest.expect(casted2["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted2["bool"], unittest.equals(true)); unittest.expect(casted2["string"], unittest.equals('foo'));
116 } 116 }
117 117
118 buildUnnamed3285() { 118 buildUnnamed3312() {
119 var o = new core.Map<core.String, core.Object>(); 119 var o = new core.Map<core.String, core.Object>();
120 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 120 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
121 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 121 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
122 return o; 122 return o;
123 } 123 }
124 124
125 checkUnnamed3285(core.Map<core.String, core.Object> o) { 125 checkUnnamed3312(core.Map<core.String, core.Object> o) {
126 unittest.expect(o, unittest.hasLength(2)); 126 unittest.expect(o, unittest.hasLength(2));
127 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo')); 127 var casted3 = (o["x"]) as core.Map; unittest.expect(casted3, unittest.hasLengt h(3)); unittest.expect(casted3["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted3["bool"], unittest.equals(true)); unittest.expect(casted3["string"], unittest.equals('foo'));
128 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo')); 128 var casted4 = (o["y"]) as core.Map; unittest.expect(casted4, unittest.hasLengt h(3)); unittest.expect(casted4["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted4["bool"], unittest.equals(true)); unittest.expect(casted4["string"], unittest.equals('foo'));
129 } 129 }
130 130
131 core.int buildCounterGoogleLongrunningOperation = 0; 131 core.int buildCounterGoogleLongrunningOperation = 0;
132 buildGoogleLongrunningOperation() { 132 buildGoogleLongrunningOperation() {
133 var o = new api.GoogleLongrunningOperation(); 133 var o = new api.GoogleLongrunningOperation();
134 buildCounterGoogleLongrunningOperation++; 134 buildCounterGoogleLongrunningOperation++;
135 if (buildCounterGoogleLongrunningOperation < 3) { 135 if (buildCounterGoogleLongrunningOperation < 3) {
136 o.done = true; 136 o.done = true;
137 o.error = buildGoogleRpcStatus(); 137 o.error = buildGoogleRpcStatus();
138 o.metadata = buildUnnamed3284(); 138 o.metadata = buildUnnamed3311();
139 o.name = "foo"; 139 o.name = "foo";
140 o.response = buildUnnamed3285(); 140 o.response = buildUnnamed3312();
141 } 141 }
142 buildCounterGoogleLongrunningOperation--; 142 buildCounterGoogleLongrunningOperation--;
143 return o; 143 return o;
144 } 144 }
145 145
146 checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) { 146 checkGoogleLongrunningOperation(api.GoogleLongrunningOperation o) {
147 buildCounterGoogleLongrunningOperation++; 147 buildCounterGoogleLongrunningOperation++;
148 if (buildCounterGoogleLongrunningOperation < 3) { 148 if (buildCounterGoogleLongrunningOperation < 3) {
149 unittest.expect(o.done, unittest.isTrue); 149 unittest.expect(o.done, unittest.isTrue);
150 checkGoogleRpcStatus(o.error); 150 checkGoogleRpcStatus(o.error);
151 checkUnnamed3284(o.metadata); 151 checkUnnamed3311(o.metadata);
152 unittest.expect(o.name, unittest.equals('foo')); 152 unittest.expect(o.name, unittest.equals('foo'));
153 checkUnnamed3285(o.response); 153 checkUnnamed3312(o.response);
154 } 154 }
155 buildCounterGoogleLongrunningOperation--; 155 buildCounterGoogleLongrunningOperation--;
156 } 156 }
157 157
158 buildUnnamed3313() {
159 var o = new core.List<api.GooglePrivacyDlpV2beta1FieldId>();
160 o.add(buildGooglePrivacyDlpV2beta1FieldId());
161 o.add(buildGooglePrivacyDlpV2beta1FieldId());
162 return o;
163 }
164
165 checkUnnamed3313(core.List<api.GooglePrivacyDlpV2beta1FieldId> o) {
166 unittest.expect(o, unittest.hasLength(2));
167 checkGooglePrivacyDlpV2beta1FieldId(o[0]);
168 checkGooglePrivacyDlpV2beta1FieldId(o[1]);
169 }
170
171 core.int buildCounterGooglePrivacyDlpV2beta1BigQueryOptions = 0;
172 buildGooglePrivacyDlpV2beta1BigQueryOptions() {
173 var o = new api.GooglePrivacyDlpV2beta1BigQueryOptions();
174 buildCounterGooglePrivacyDlpV2beta1BigQueryOptions++;
175 if (buildCounterGooglePrivacyDlpV2beta1BigQueryOptions < 3) {
176 o.identifyingFields = buildUnnamed3313();
177 o.tableReference = buildGooglePrivacyDlpV2beta1BigQueryTable();
178 }
179 buildCounterGooglePrivacyDlpV2beta1BigQueryOptions--;
180 return o;
181 }
182
183 checkGooglePrivacyDlpV2beta1BigQueryOptions(api.GooglePrivacyDlpV2beta1BigQueryO ptions o) {
184 buildCounterGooglePrivacyDlpV2beta1BigQueryOptions++;
185 if (buildCounterGooglePrivacyDlpV2beta1BigQueryOptions < 3) {
186 checkUnnamed3313(o.identifyingFields);
187 checkGooglePrivacyDlpV2beta1BigQueryTable(o.tableReference);
188 }
189 buildCounterGooglePrivacyDlpV2beta1BigQueryOptions--;
190 }
191
192 core.int buildCounterGooglePrivacyDlpV2beta1BigQueryTable = 0;
193 buildGooglePrivacyDlpV2beta1BigQueryTable() {
194 var o = new api.GooglePrivacyDlpV2beta1BigQueryTable();
195 buildCounterGooglePrivacyDlpV2beta1BigQueryTable++;
196 if (buildCounterGooglePrivacyDlpV2beta1BigQueryTable < 3) {
197 o.datasetId = "foo";
198 o.projectId = "foo";
199 o.tableId = "foo";
200 }
201 buildCounterGooglePrivacyDlpV2beta1BigQueryTable--;
202 return o;
203 }
204
205 checkGooglePrivacyDlpV2beta1BigQueryTable(api.GooglePrivacyDlpV2beta1BigQueryTab le o) {
206 buildCounterGooglePrivacyDlpV2beta1BigQueryTable++;
207 if (buildCounterGooglePrivacyDlpV2beta1BigQueryTable < 3) {
208 unittest.expect(o.datasetId, unittest.equals('foo'));
209 unittest.expect(o.projectId, unittest.equals('foo'));
210 unittest.expect(o.tableId, unittest.equals('foo'));
211 }
212 buildCounterGooglePrivacyDlpV2beta1BigQueryTable--;
213 }
214
158 core.int buildCounterGooglePrivacyDlpV2beta1CategoryDescription = 0; 215 core.int buildCounterGooglePrivacyDlpV2beta1CategoryDescription = 0;
159 buildGooglePrivacyDlpV2beta1CategoryDescription() { 216 buildGooglePrivacyDlpV2beta1CategoryDescription() {
160 var o = new api.GooglePrivacyDlpV2beta1CategoryDescription(); 217 var o = new api.GooglePrivacyDlpV2beta1CategoryDescription();
161 buildCounterGooglePrivacyDlpV2beta1CategoryDescription++; 218 buildCounterGooglePrivacyDlpV2beta1CategoryDescription++;
162 if (buildCounterGooglePrivacyDlpV2beta1CategoryDescription < 3) { 219 if (buildCounterGooglePrivacyDlpV2beta1CategoryDescription < 3) {
163 o.displayName = "foo"; 220 o.displayName = "foo";
164 o.name = "foo"; 221 o.name = "foo";
165 } 222 }
166 buildCounterGooglePrivacyDlpV2beta1CategoryDescription--; 223 buildCounterGooglePrivacyDlpV2beta1CategoryDescription--;
167 return o; 224 return o;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 } 314 }
258 buildCounterGooglePrivacyDlpV2beta1Color--; 315 buildCounterGooglePrivacyDlpV2beta1Color--;
259 } 316 }
260 317
261 core.int buildCounterGooglePrivacyDlpV2beta1ContentItem = 0; 318 core.int buildCounterGooglePrivacyDlpV2beta1ContentItem = 0;
262 buildGooglePrivacyDlpV2beta1ContentItem() { 319 buildGooglePrivacyDlpV2beta1ContentItem() {
263 var o = new api.GooglePrivacyDlpV2beta1ContentItem(); 320 var o = new api.GooglePrivacyDlpV2beta1ContentItem();
264 buildCounterGooglePrivacyDlpV2beta1ContentItem++; 321 buildCounterGooglePrivacyDlpV2beta1ContentItem++;
265 if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) { 322 if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) {
266 o.data = "foo"; 323 o.data = "foo";
324 o.table = buildGooglePrivacyDlpV2beta1Table();
267 o.type = "foo"; 325 o.type = "foo";
268 o.value = "foo"; 326 o.value = "foo";
269 } 327 }
270 buildCounterGooglePrivacyDlpV2beta1ContentItem--; 328 buildCounterGooglePrivacyDlpV2beta1ContentItem--;
271 return o; 329 return o;
272 } 330 }
273 331
274 checkGooglePrivacyDlpV2beta1ContentItem(api.GooglePrivacyDlpV2beta1ContentItem o ) { 332 checkGooglePrivacyDlpV2beta1ContentItem(api.GooglePrivacyDlpV2beta1ContentItem o ) {
275 buildCounterGooglePrivacyDlpV2beta1ContentItem++; 333 buildCounterGooglePrivacyDlpV2beta1ContentItem++;
276 if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) { 334 if (buildCounterGooglePrivacyDlpV2beta1ContentItem < 3) {
277 unittest.expect(o.data, unittest.equals('foo')); 335 unittest.expect(o.data, unittest.equals('foo'));
336 checkGooglePrivacyDlpV2beta1Table(o.table);
278 unittest.expect(o.type, unittest.equals('foo')); 337 unittest.expect(o.type, unittest.equals('foo'));
279 unittest.expect(o.value, unittest.equals('foo')); 338 unittest.expect(o.value, unittest.equals('foo'));
280 } 339 }
281 buildCounterGooglePrivacyDlpV2beta1ContentItem--; 340 buildCounterGooglePrivacyDlpV2beta1ContentItem--;
282 } 341 }
283 342
284 core.int buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest = 0; 343 core.int buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest = 0;
285 buildGooglePrivacyDlpV2beta1CreateInspectOperationRequest() { 344 buildGooglePrivacyDlpV2beta1CreateInspectOperationRequest() {
286 var o = new api.GooglePrivacyDlpV2beta1CreateInspectOperationRequest(); 345 var o = new api.GooglePrivacyDlpV2beta1CreateInspectOperationRequest();
287 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++; 346 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++;
288 if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) { 347 if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) {
289 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); 348 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
349 o.operationConfig = buildGooglePrivacyDlpV2beta1OperationConfig();
290 o.outputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig(); 350 o.outputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
291 o.storageConfig = buildGooglePrivacyDlpV2beta1StorageConfig(); 351 o.storageConfig = buildGooglePrivacyDlpV2beta1StorageConfig();
292 } 352 }
293 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest--; 353 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest--;
294 return o; 354 return o;
295 } 355 }
296 356
297 checkGooglePrivacyDlpV2beta1CreateInspectOperationRequest(api.GooglePrivacyDlpV2 beta1CreateInspectOperationRequest o) { 357 checkGooglePrivacyDlpV2beta1CreateInspectOperationRequest(api.GooglePrivacyDlpV2 beta1CreateInspectOperationRequest o) {
298 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++; 358 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest++;
299 if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) { 359 if (buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest < 3) {
300 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig); 360 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
361 checkGooglePrivacyDlpV2beta1OperationConfig(o.operationConfig);
301 checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.outputConfig); 362 checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.outputConfig);
302 checkGooglePrivacyDlpV2beta1StorageConfig(o.storageConfig); 363 checkGooglePrivacyDlpV2beta1StorageConfig(o.storageConfig);
303 } 364 }
304 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest--; 365 buildCounterGooglePrivacyDlpV2beta1CreateInspectOperationRequest--;
305 } 366 }
306 367
307 core.int buildCounterGooglePrivacyDlpV2beta1DatastoreKey = 0; 368 core.int buildCounterGooglePrivacyDlpV2beta1DatastoreKey = 0;
308 buildGooglePrivacyDlpV2beta1DatastoreKey() { 369 buildGooglePrivacyDlpV2beta1DatastoreKey() {
309 var o = new api.GooglePrivacyDlpV2beta1DatastoreKey(); 370 var o = new api.GooglePrivacyDlpV2beta1DatastoreKey();
310 buildCounterGooglePrivacyDlpV2beta1DatastoreKey++; 371 buildCounterGooglePrivacyDlpV2beta1DatastoreKey++;
311 if (buildCounterGooglePrivacyDlpV2beta1DatastoreKey < 3) { 372 if (buildCounterGooglePrivacyDlpV2beta1DatastoreKey < 3) {
312 o.entityKey = buildGooglePrivacyDlpV2beta1Key(); 373 o.entityKey = buildGooglePrivacyDlpV2beta1Key();
313 } 374 }
314 buildCounterGooglePrivacyDlpV2beta1DatastoreKey--; 375 buildCounterGooglePrivacyDlpV2beta1DatastoreKey--;
315 return o; 376 return o;
316 } 377 }
317 378
318 checkGooglePrivacyDlpV2beta1DatastoreKey(api.GooglePrivacyDlpV2beta1DatastoreKey o) { 379 checkGooglePrivacyDlpV2beta1DatastoreKey(api.GooglePrivacyDlpV2beta1DatastoreKey o) {
319 buildCounterGooglePrivacyDlpV2beta1DatastoreKey++; 380 buildCounterGooglePrivacyDlpV2beta1DatastoreKey++;
320 if (buildCounterGooglePrivacyDlpV2beta1DatastoreKey < 3) { 381 if (buildCounterGooglePrivacyDlpV2beta1DatastoreKey < 3) {
321 checkGooglePrivacyDlpV2beta1Key(o.entityKey); 382 checkGooglePrivacyDlpV2beta1Key(o.entityKey);
322 } 383 }
323 buildCounterGooglePrivacyDlpV2beta1DatastoreKey--; 384 buildCounterGooglePrivacyDlpV2beta1DatastoreKey--;
324 } 385 }
325 386
326 buildUnnamed3286() { 387 buildUnnamed3314() {
327 var o = new core.List<api.GooglePrivacyDlpV2beta1Projection>(); 388 var o = new core.List<api.GooglePrivacyDlpV2beta1Projection>();
328 o.add(buildGooglePrivacyDlpV2beta1Projection()); 389 o.add(buildGooglePrivacyDlpV2beta1Projection());
329 o.add(buildGooglePrivacyDlpV2beta1Projection()); 390 o.add(buildGooglePrivacyDlpV2beta1Projection());
330 return o; 391 return o;
331 } 392 }
332 393
333 checkUnnamed3286(core.List<api.GooglePrivacyDlpV2beta1Projection> o) { 394 checkUnnamed3314(core.List<api.GooglePrivacyDlpV2beta1Projection> o) {
334 unittest.expect(o, unittest.hasLength(2)); 395 unittest.expect(o, unittest.hasLength(2));
335 checkGooglePrivacyDlpV2beta1Projection(o[0]); 396 checkGooglePrivacyDlpV2beta1Projection(o[0]);
336 checkGooglePrivacyDlpV2beta1Projection(o[1]); 397 checkGooglePrivacyDlpV2beta1Projection(o[1]);
337 } 398 }
338 399
339 core.int buildCounterGooglePrivacyDlpV2beta1DatastoreOptions = 0; 400 core.int buildCounterGooglePrivacyDlpV2beta1DatastoreOptions = 0;
340 buildGooglePrivacyDlpV2beta1DatastoreOptions() { 401 buildGooglePrivacyDlpV2beta1DatastoreOptions() {
341 var o = new api.GooglePrivacyDlpV2beta1DatastoreOptions(); 402 var o = new api.GooglePrivacyDlpV2beta1DatastoreOptions();
342 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions++; 403 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions++;
343 if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) { 404 if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) {
344 o.kind = buildGooglePrivacyDlpV2beta1KindExpression(); 405 o.kind = buildGooglePrivacyDlpV2beta1KindExpression();
345 o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId(); 406 o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId();
346 o.projection = buildUnnamed3286(); 407 o.projection = buildUnnamed3314();
347 } 408 }
348 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--; 409 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--;
349 return o; 410 return o;
350 } 411 }
351 412
352 checkGooglePrivacyDlpV2beta1DatastoreOptions(api.GooglePrivacyDlpV2beta1Datastor eOptions o) { 413 checkGooglePrivacyDlpV2beta1DatastoreOptions(api.GooglePrivacyDlpV2beta1Datastor eOptions o) {
353 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions++; 414 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions++;
354 if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) { 415 if (buildCounterGooglePrivacyDlpV2beta1DatastoreOptions < 3) {
355 checkGooglePrivacyDlpV2beta1KindExpression(o.kind); 416 checkGooglePrivacyDlpV2beta1KindExpression(o.kind);
356 checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId); 417 checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId);
357 checkUnnamed3286(o.projection); 418 checkUnnamed3314(o.projection);
358 } 419 }
359 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--; 420 buildCounterGooglePrivacyDlpV2beta1DatastoreOptions--;
360 } 421 }
361 422
362 core.int buildCounterGooglePrivacyDlpV2beta1FieldId = 0; 423 core.int buildCounterGooglePrivacyDlpV2beta1FieldId = 0;
363 buildGooglePrivacyDlpV2beta1FieldId() { 424 buildGooglePrivacyDlpV2beta1FieldId() {
364 var o = new api.GooglePrivacyDlpV2beta1FieldId(); 425 var o = new api.GooglePrivacyDlpV2beta1FieldId();
365 buildCounterGooglePrivacyDlpV2beta1FieldId++; 426 buildCounterGooglePrivacyDlpV2beta1FieldId++;
366 if (buildCounterGooglePrivacyDlpV2beta1FieldId < 3) { 427 if (buildCounterGooglePrivacyDlpV2beta1FieldId < 3) {
367 o.columnName = "foo"; 428 o.columnName = "foo";
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 } 545 }
485 546
486 checkGooglePrivacyDlpV2beta1InfoType(api.GooglePrivacyDlpV2beta1InfoType o) { 547 checkGooglePrivacyDlpV2beta1InfoType(api.GooglePrivacyDlpV2beta1InfoType o) {
487 buildCounterGooglePrivacyDlpV2beta1InfoType++; 548 buildCounterGooglePrivacyDlpV2beta1InfoType++;
488 if (buildCounterGooglePrivacyDlpV2beta1InfoType < 3) { 549 if (buildCounterGooglePrivacyDlpV2beta1InfoType < 3) {
489 unittest.expect(o.name, unittest.equals('foo')); 550 unittest.expect(o.name, unittest.equals('foo'));
490 } 551 }
491 buildCounterGooglePrivacyDlpV2beta1InfoType--; 552 buildCounterGooglePrivacyDlpV2beta1InfoType--;
492 } 553 }
493 554
494 buildUnnamed3287() { 555 buildUnnamed3315() {
495 var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>(); 556 var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>();
496 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); 557 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
497 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); 558 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
498 return o; 559 return o;
499 } 560 }
500 561
501 checkUnnamed3287(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { 562 checkUnnamed3315(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
502 unittest.expect(o, unittest.hasLength(2)); 563 unittest.expect(o, unittest.hasLength(2));
503 checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]); 564 checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]);
504 checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]); 565 checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]);
505 } 566 }
506 567
507 core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription = 0; 568 core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription = 0;
508 buildGooglePrivacyDlpV2beta1InfoTypeDescription() { 569 buildGooglePrivacyDlpV2beta1InfoTypeDescription() {
509 var o = new api.GooglePrivacyDlpV2beta1InfoTypeDescription(); 570 var o = new api.GooglePrivacyDlpV2beta1InfoTypeDescription();
510 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++; 571 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++;
511 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) { 572 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) {
512 o.categories = buildUnnamed3287(); 573 o.categories = buildUnnamed3315();
513 o.displayName = "foo"; 574 o.displayName = "foo";
514 o.name = "foo"; 575 o.name = "foo";
515 } 576 }
516 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription--; 577 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription--;
517 return o; 578 return o;
518 } 579 }
519 580
520 checkGooglePrivacyDlpV2beta1InfoTypeDescription(api.GooglePrivacyDlpV2beta1InfoT ypeDescription o) { 581 checkGooglePrivacyDlpV2beta1InfoTypeDescription(api.GooglePrivacyDlpV2beta1InfoT ypeDescription o) {
521 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++; 582 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription++;
522 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) { 583 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription < 3) {
523 checkUnnamed3287(o.categories); 584 checkUnnamed3315(o.categories);
524 unittest.expect(o.displayName, unittest.equals('foo')); 585 unittest.expect(o.displayName, unittest.equals('foo'));
525 unittest.expect(o.name, unittest.equals('foo')); 586 unittest.expect(o.name, unittest.equals('foo'));
526 } 587 }
527 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription--; 588 buildCounterGooglePrivacyDlpV2beta1InfoTypeDescription--;
528 } 589 }
529 590
591 core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit = 0;
592 buildGooglePrivacyDlpV2beta1InfoTypeLimit() {
593 var o = new api.GooglePrivacyDlpV2beta1InfoTypeLimit();
594 buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit++;
595 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit < 3) {
596 o.infoType = buildGooglePrivacyDlpV2beta1InfoType();
597 o.maxFindings = 42;
598 }
599 buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit--;
600 return o;
601 }
602
603 checkGooglePrivacyDlpV2beta1InfoTypeLimit(api.GooglePrivacyDlpV2beta1InfoTypeLim it o) {
604 buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit++;
605 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit < 3) {
606 checkGooglePrivacyDlpV2beta1InfoType(o.infoType);
607 unittest.expect(o.maxFindings, unittest.equals(42));
608 }
609 buildCounterGooglePrivacyDlpV2beta1InfoTypeLimit--;
610 }
611
530 core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics = 0; 612 core.int buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics = 0;
531 buildGooglePrivacyDlpV2beta1InfoTypeStatistics() { 613 buildGooglePrivacyDlpV2beta1InfoTypeStatistics() {
532 var o = new api.GooglePrivacyDlpV2beta1InfoTypeStatistics(); 614 var o = new api.GooglePrivacyDlpV2beta1InfoTypeStatistics();
533 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics++; 615 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics++;
534 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics < 3) { 616 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics < 3) {
535 o.count = "foo"; 617 o.count = "foo";
536 o.infoType = buildGooglePrivacyDlpV2beta1InfoType(); 618 o.infoType = buildGooglePrivacyDlpV2beta1InfoType();
537 } 619 }
538 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--; 620 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--;
539 return o; 621 return o;
540 } 622 }
541 623
542 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(api.GooglePrivacyDlpV2beta1InfoTy peStatistics o) { 624 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(api.GooglePrivacyDlpV2beta1InfoTy peStatistics o) {
543 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics++; 625 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics++;
544 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics < 3) { 626 if (buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics < 3) {
545 unittest.expect(o.count, unittest.equals('foo')); 627 unittest.expect(o.count, unittest.equals('foo'));
546 checkGooglePrivacyDlpV2beta1InfoType(o.infoType); 628 checkGooglePrivacyDlpV2beta1InfoType(o.infoType);
547 } 629 }
548 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--; 630 buildCounterGooglePrivacyDlpV2beta1InfoTypeStatistics--;
549 } 631 }
550 632
551 buildUnnamed3288() { 633 buildUnnamed3316() {
634 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeLimit>();
635 o.add(buildGooglePrivacyDlpV2beta1InfoTypeLimit());
636 o.add(buildGooglePrivacyDlpV2beta1InfoTypeLimit());
637 return o;
638 }
639
640 checkUnnamed3316(core.List<api.GooglePrivacyDlpV2beta1InfoTypeLimit> o) {
641 unittest.expect(o, unittest.hasLength(2));
642 checkGooglePrivacyDlpV2beta1InfoTypeLimit(o[0]);
643 checkGooglePrivacyDlpV2beta1InfoTypeLimit(o[1]);
644 }
645
646 buildUnnamed3317() {
552 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoType>(); 647 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoType>();
553 o.add(buildGooglePrivacyDlpV2beta1InfoType()); 648 o.add(buildGooglePrivacyDlpV2beta1InfoType());
554 o.add(buildGooglePrivacyDlpV2beta1InfoType()); 649 o.add(buildGooglePrivacyDlpV2beta1InfoType());
555 return o; 650 return o;
556 } 651 }
557 652
558 checkUnnamed3288(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) { 653 checkUnnamed3317(core.List<api.GooglePrivacyDlpV2beta1InfoType> o) {
559 unittest.expect(o, unittest.hasLength(2)); 654 unittest.expect(o, unittest.hasLength(2));
560 checkGooglePrivacyDlpV2beta1InfoType(o[0]); 655 checkGooglePrivacyDlpV2beta1InfoType(o[0]);
561 checkGooglePrivacyDlpV2beta1InfoType(o[1]); 656 checkGooglePrivacyDlpV2beta1InfoType(o[1]);
562 } 657 }
563 658
564 core.int buildCounterGooglePrivacyDlpV2beta1InspectConfig = 0; 659 core.int buildCounterGooglePrivacyDlpV2beta1InspectConfig = 0;
565 buildGooglePrivacyDlpV2beta1InspectConfig() { 660 buildGooglePrivacyDlpV2beta1InspectConfig() {
566 var o = new api.GooglePrivacyDlpV2beta1InspectConfig(); 661 var o = new api.GooglePrivacyDlpV2beta1InspectConfig();
567 buildCounterGooglePrivacyDlpV2beta1InspectConfig++; 662 buildCounterGooglePrivacyDlpV2beta1InspectConfig++;
568 if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) { 663 if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) {
569 o.excludeTypes = true; 664 o.excludeTypes = true;
570 o.includeQuote = true; 665 o.includeQuote = true;
571 o.infoTypes = buildUnnamed3288(); 666 o.infoTypeLimits = buildUnnamed3316();
667 o.infoTypes = buildUnnamed3317();
572 o.maxFindings = 42; 668 o.maxFindings = 42;
573 o.minLikelihood = "foo"; 669 o.minLikelihood = "foo";
574 } 670 }
575 buildCounterGooglePrivacyDlpV2beta1InspectConfig--; 671 buildCounterGooglePrivacyDlpV2beta1InspectConfig--;
576 return o; 672 return o;
577 } 673 }
578 674
579 checkGooglePrivacyDlpV2beta1InspectConfig(api.GooglePrivacyDlpV2beta1InspectConf ig o) { 675 checkGooglePrivacyDlpV2beta1InspectConfig(api.GooglePrivacyDlpV2beta1InspectConf ig o) {
580 buildCounterGooglePrivacyDlpV2beta1InspectConfig++; 676 buildCounterGooglePrivacyDlpV2beta1InspectConfig++;
581 if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) { 677 if (buildCounterGooglePrivacyDlpV2beta1InspectConfig < 3) {
582 unittest.expect(o.excludeTypes, unittest.isTrue); 678 unittest.expect(o.excludeTypes, unittest.isTrue);
583 unittest.expect(o.includeQuote, unittest.isTrue); 679 unittest.expect(o.includeQuote, unittest.isTrue);
584 checkUnnamed3288(o.infoTypes); 680 checkUnnamed3316(o.infoTypeLimits);
681 checkUnnamed3317(o.infoTypes);
585 unittest.expect(o.maxFindings, unittest.equals(42)); 682 unittest.expect(o.maxFindings, unittest.equals(42));
586 unittest.expect(o.minLikelihood, unittest.equals('foo')); 683 unittest.expect(o.minLikelihood, unittest.equals('foo'));
587 } 684 }
588 buildCounterGooglePrivacyDlpV2beta1InspectConfig--; 685 buildCounterGooglePrivacyDlpV2beta1InspectConfig--;
589 } 686 }
590 687
591 buildUnnamed3289() { 688 buildUnnamed3318() {
592 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); 689 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
593 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 690 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
594 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 691 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
595 return o; 692 return o;
596 } 693 }
597 694
598 checkUnnamed3289(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { 695 checkUnnamed3318(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
599 unittest.expect(o, unittest.hasLength(2)); 696 unittest.expect(o, unittest.hasLength(2));
600 checkGooglePrivacyDlpV2beta1ContentItem(o[0]); 697 checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
601 checkGooglePrivacyDlpV2beta1ContentItem(o[1]); 698 checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
602 } 699 }
603 700
604 core.int buildCounterGooglePrivacyDlpV2beta1InspectContentRequest = 0; 701 core.int buildCounterGooglePrivacyDlpV2beta1InspectContentRequest = 0;
605 buildGooglePrivacyDlpV2beta1InspectContentRequest() { 702 buildGooglePrivacyDlpV2beta1InspectContentRequest() {
606 var o = new api.GooglePrivacyDlpV2beta1InspectContentRequest(); 703 var o = new api.GooglePrivacyDlpV2beta1InspectContentRequest();
607 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++; 704 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++;
608 if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) { 705 if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) {
609 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); 706 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
610 o.items = buildUnnamed3289(); 707 o.items = buildUnnamed3318();
611 } 708 }
612 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--; 709 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--;
613 return o; 710 return o;
614 } 711 }
615 712
616 checkGooglePrivacyDlpV2beta1InspectContentRequest(api.GooglePrivacyDlpV2beta1Ins pectContentRequest o) { 713 checkGooglePrivacyDlpV2beta1InspectContentRequest(api.GooglePrivacyDlpV2beta1Ins pectContentRequest o) {
617 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++; 714 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest++;
618 if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) { 715 if (buildCounterGooglePrivacyDlpV2beta1InspectContentRequest < 3) {
619 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig); 716 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
620 checkUnnamed3289(o.items); 717 checkUnnamed3318(o.items);
621 } 718 }
622 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--; 719 buildCounterGooglePrivacyDlpV2beta1InspectContentRequest--;
623 } 720 }
624 721
625 buildUnnamed3290() { 722 buildUnnamed3319() {
626 var o = new core.List<api.GooglePrivacyDlpV2beta1InspectResult>(); 723 var o = new core.List<api.GooglePrivacyDlpV2beta1InspectResult>();
627 o.add(buildGooglePrivacyDlpV2beta1InspectResult()); 724 o.add(buildGooglePrivacyDlpV2beta1InspectResult());
628 o.add(buildGooglePrivacyDlpV2beta1InspectResult()); 725 o.add(buildGooglePrivacyDlpV2beta1InspectResult());
629 return o; 726 return o;
630 } 727 }
631 728
632 checkUnnamed3290(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) { 729 checkUnnamed3319(core.List<api.GooglePrivacyDlpV2beta1InspectResult> o) {
633 unittest.expect(o, unittest.hasLength(2)); 730 unittest.expect(o, unittest.hasLength(2));
634 checkGooglePrivacyDlpV2beta1InspectResult(o[0]); 731 checkGooglePrivacyDlpV2beta1InspectResult(o[0]);
635 checkGooglePrivacyDlpV2beta1InspectResult(o[1]); 732 checkGooglePrivacyDlpV2beta1InspectResult(o[1]);
636 } 733 }
637 734
638 core.int buildCounterGooglePrivacyDlpV2beta1InspectContentResponse = 0; 735 core.int buildCounterGooglePrivacyDlpV2beta1InspectContentResponse = 0;
639 buildGooglePrivacyDlpV2beta1InspectContentResponse() { 736 buildGooglePrivacyDlpV2beta1InspectContentResponse() {
640 var o = new api.GooglePrivacyDlpV2beta1InspectContentResponse(); 737 var o = new api.GooglePrivacyDlpV2beta1InspectContentResponse();
641 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++; 738 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++;
642 if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) { 739 if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) {
643 o.results = buildUnnamed3290(); 740 o.results = buildUnnamed3319();
644 } 741 }
645 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--; 742 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--;
646 return o; 743 return o;
647 } 744 }
648 745
649 checkGooglePrivacyDlpV2beta1InspectContentResponse(api.GooglePrivacyDlpV2beta1In spectContentResponse o) { 746 checkGooglePrivacyDlpV2beta1InspectContentResponse(api.GooglePrivacyDlpV2beta1In spectContentResponse o) {
650 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++; 747 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse++;
651 if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) { 748 if (buildCounterGooglePrivacyDlpV2beta1InspectContentResponse < 3) {
652 checkUnnamed3290(o.results); 749 checkUnnamed3319(o.results);
653 } 750 }
654 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--; 751 buildCounterGooglePrivacyDlpV2beta1InspectContentResponse--;
655 } 752 }
656 753
657 buildUnnamed3291() { 754 buildUnnamed3320() {
658 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics>(); 755 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics>();
659 o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics()); 756 o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics());
660 o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics()); 757 o.add(buildGooglePrivacyDlpV2beta1InfoTypeStatistics());
661 return o; 758 return o;
662 } 759 }
663 760
664 checkUnnamed3291(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) { 761 checkUnnamed3320(core.List<api.GooglePrivacyDlpV2beta1InfoTypeStatistics> o) {
665 unittest.expect(o, unittest.hasLength(2)); 762 unittest.expect(o, unittest.hasLength(2));
666 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[0]); 763 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[0]);
667 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[1]); 764 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(o[1]);
668 } 765 }
669 766
670 core.int buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata = 0; 767 core.int buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata = 0;
671 buildGooglePrivacyDlpV2beta1InspectOperationMetadata() { 768 buildGooglePrivacyDlpV2beta1InspectOperationMetadata() {
672 var o = new api.GooglePrivacyDlpV2beta1InspectOperationMetadata(); 769 var o = new api.GooglePrivacyDlpV2beta1InspectOperationMetadata();
673 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++; 770 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++;
674 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) { 771 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) {
675 o.createTime = "foo"; 772 o.createTime = "foo";
676 o.infoTypeStats = buildUnnamed3291(); 773 o.infoTypeStats = buildUnnamed3320();
677 o.processedBytes = "foo"; 774 o.processedBytes = "foo";
678 o.requestInspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); 775 o.requestInspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
679 o.requestOutputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig(); 776 o.requestOutputConfig = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
680 o.requestStorageConfig = buildGooglePrivacyDlpV2beta1StorageConfig(); 777 o.requestStorageConfig = buildGooglePrivacyDlpV2beta1StorageConfig();
681 o.totalEstimatedBytes = "foo"; 778 o.totalEstimatedBytes = "foo";
682 } 779 }
683 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata--; 780 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata--;
684 return o; 781 return o;
685 } 782 }
686 783
687 checkGooglePrivacyDlpV2beta1InspectOperationMetadata(api.GooglePrivacyDlpV2beta1 InspectOperationMetadata o) { 784 checkGooglePrivacyDlpV2beta1InspectOperationMetadata(api.GooglePrivacyDlpV2beta1 InspectOperationMetadata o) {
688 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++; 785 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata++;
689 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) { 786 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata < 3) {
690 unittest.expect(o.createTime, unittest.equals('foo')); 787 unittest.expect(o.createTime, unittest.equals('foo'));
691 checkUnnamed3291(o.infoTypeStats); 788 checkUnnamed3320(o.infoTypeStats);
692 unittest.expect(o.processedBytes, unittest.equals('foo')); 789 unittest.expect(o.processedBytes, unittest.equals('foo'));
693 checkGooglePrivacyDlpV2beta1InspectConfig(o.requestInspectConfig); 790 checkGooglePrivacyDlpV2beta1InspectConfig(o.requestInspectConfig);
694 checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.requestOutputConfig); 791 checkGooglePrivacyDlpV2beta1OutputStorageConfig(o.requestOutputConfig);
695 checkGooglePrivacyDlpV2beta1StorageConfig(o.requestStorageConfig); 792 checkGooglePrivacyDlpV2beta1StorageConfig(o.requestStorageConfig);
696 unittest.expect(o.totalEstimatedBytes, unittest.equals('foo')); 793 unittest.expect(o.totalEstimatedBytes, unittest.equals('foo'));
697 } 794 }
698 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata--; 795 buildCounterGooglePrivacyDlpV2beta1InspectOperationMetadata--;
699 } 796 }
700 797
701 core.int buildCounterGooglePrivacyDlpV2beta1InspectOperationResult = 0; 798 core.int buildCounterGooglePrivacyDlpV2beta1InspectOperationResult = 0;
702 buildGooglePrivacyDlpV2beta1InspectOperationResult() { 799 buildGooglePrivacyDlpV2beta1InspectOperationResult() {
703 var o = new api.GooglePrivacyDlpV2beta1InspectOperationResult(); 800 var o = new api.GooglePrivacyDlpV2beta1InspectOperationResult();
704 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult++; 801 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult++;
705 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationResult < 3) { 802 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationResult < 3) {
706 o.name = "foo"; 803 o.name = "foo";
707 } 804 }
708 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--; 805 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--;
709 return o; 806 return o;
710 } 807 }
711 808
712 checkGooglePrivacyDlpV2beta1InspectOperationResult(api.GooglePrivacyDlpV2beta1In spectOperationResult o) { 809 checkGooglePrivacyDlpV2beta1InspectOperationResult(api.GooglePrivacyDlpV2beta1In spectOperationResult o) {
713 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult++; 810 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult++;
714 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationResult < 3) { 811 if (buildCounterGooglePrivacyDlpV2beta1InspectOperationResult < 3) {
715 unittest.expect(o.name, unittest.equals('foo')); 812 unittest.expect(o.name, unittest.equals('foo'));
716 } 813 }
717 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--; 814 buildCounterGooglePrivacyDlpV2beta1InspectOperationResult--;
718 } 815 }
719 816
720 buildUnnamed3292() { 817 buildUnnamed3321() {
721 var o = new core.List<api.GooglePrivacyDlpV2beta1Finding>(); 818 var o = new core.List<api.GooglePrivacyDlpV2beta1Finding>();
722 o.add(buildGooglePrivacyDlpV2beta1Finding()); 819 o.add(buildGooglePrivacyDlpV2beta1Finding());
723 o.add(buildGooglePrivacyDlpV2beta1Finding()); 820 o.add(buildGooglePrivacyDlpV2beta1Finding());
724 return o; 821 return o;
725 } 822 }
726 823
727 checkUnnamed3292(core.List<api.GooglePrivacyDlpV2beta1Finding> o) { 824 checkUnnamed3321(core.List<api.GooglePrivacyDlpV2beta1Finding> o) {
728 unittest.expect(o, unittest.hasLength(2)); 825 unittest.expect(o, unittest.hasLength(2));
729 checkGooglePrivacyDlpV2beta1Finding(o[0]); 826 checkGooglePrivacyDlpV2beta1Finding(o[0]);
730 checkGooglePrivacyDlpV2beta1Finding(o[1]); 827 checkGooglePrivacyDlpV2beta1Finding(o[1]);
731 } 828 }
732 829
733 core.int buildCounterGooglePrivacyDlpV2beta1InspectResult = 0; 830 core.int buildCounterGooglePrivacyDlpV2beta1InspectResult = 0;
734 buildGooglePrivacyDlpV2beta1InspectResult() { 831 buildGooglePrivacyDlpV2beta1InspectResult() {
735 var o = new api.GooglePrivacyDlpV2beta1InspectResult(); 832 var o = new api.GooglePrivacyDlpV2beta1InspectResult();
736 buildCounterGooglePrivacyDlpV2beta1InspectResult++; 833 buildCounterGooglePrivacyDlpV2beta1InspectResult++;
737 if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) { 834 if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) {
738 o.findings = buildUnnamed3292(); 835 o.findings = buildUnnamed3321();
739 o.findingsTruncated = true; 836 o.findingsTruncated = true;
740 } 837 }
741 buildCounterGooglePrivacyDlpV2beta1InspectResult--; 838 buildCounterGooglePrivacyDlpV2beta1InspectResult--;
742 return o; 839 return o;
743 } 840 }
744 841
745 checkGooglePrivacyDlpV2beta1InspectResult(api.GooglePrivacyDlpV2beta1InspectResu lt o) { 842 checkGooglePrivacyDlpV2beta1InspectResult(api.GooglePrivacyDlpV2beta1InspectResu lt o) {
746 buildCounterGooglePrivacyDlpV2beta1InspectResult++; 843 buildCounterGooglePrivacyDlpV2beta1InspectResult++;
747 if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) { 844 if (buildCounterGooglePrivacyDlpV2beta1InspectResult < 3) {
748 checkUnnamed3292(o.findings); 845 checkUnnamed3321(o.findings);
749 unittest.expect(o.findingsTruncated, unittest.isTrue); 846 unittest.expect(o.findingsTruncated, unittest.isTrue);
750 } 847 }
751 buildCounterGooglePrivacyDlpV2beta1InspectResult--; 848 buildCounterGooglePrivacyDlpV2beta1InspectResult--;
752 } 849 }
753 850
754 buildUnnamed3293() { 851 buildUnnamed3322() {
755 var o = new core.List<api.GooglePrivacyDlpV2beta1PathElement>(); 852 var o = new core.List<api.GooglePrivacyDlpV2beta1PathElement>();
756 o.add(buildGooglePrivacyDlpV2beta1PathElement()); 853 o.add(buildGooglePrivacyDlpV2beta1PathElement());
757 o.add(buildGooglePrivacyDlpV2beta1PathElement()); 854 o.add(buildGooglePrivacyDlpV2beta1PathElement());
758 return o; 855 return o;
759 } 856 }
760 857
761 checkUnnamed3293(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) { 858 checkUnnamed3322(core.List<api.GooglePrivacyDlpV2beta1PathElement> o) {
762 unittest.expect(o, unittest.hasLength(2)); 859 unittest.expect(o, unittest.hasLength(2));
763 checkGooglePrivacyDlpV2beta1PathElement(o[0]); 860 checkGooglePrivacyDlpV2beta1PathElement(o[0]);
764 checkGooglePrivacyDlpV2beta1PathElement(o[1]); 861 checkGooglePrivacyDlpV2beta1PathElement(o[1]);
765 } 862 }
766 863
767 core.int buildCounterGooglePrivacyDlpV2beta1Key = 0; 864 core.int buildCounterGooglePrivacyDlpV2beta1Key = 0;
768 buildGooglePrivacyDlpV2beta1Key() { 865 buildGooglePrivacyDlpV2beta1Key() {
769 var o = new api.GooglePrivacyDlpV2beta1Key(); 866 var o = new api.GooglePrivacyDlpV2beta1Key();
770 buildCounterGooglePrivacyDlpV2beta1Key++; 867 buildCounterGooglePrivacyDlpV2beta1Key++;
771 if (buildCounterGooglePrivacyDlpV2beta1Key < 3) { 868 if (buildCounterGooglePrivacyDlpV2beta1Key < 3) {
772 o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId(); 869 o.partitionId = buildGooglePrivacyDlpV2beta1PartitionId();
773 o.path = buildUnnamed3293(); 870 o.path = buildUnnamed3322();
774 } 871 }
775 buildCounterGooglePrivacyDlpV2beta1Key--; 872 buildCounterGooglePrivacyDlpV2beta1Key--;
776 return o; 873 return o;
777 } 874 }
778 875
779 checkGooglePrivacyDlpV2beta1Key(api.GooglePrivacyDlpV2beta1Key o) { 876 checkGooglePrivacyDlpV2beta1Key(api.GooglePrivacyDlpV2beta1Key o) {
780 buildCounterGooglePrivacyDlpV2beta1Key++; 877 buildCounterGooglePrivacyDlpV2beta1Key++;
781 if (buildCounterGooglePrivacyDlpV2beta1Key < 3) { 878 if (buildCounterGooglePrivacyDlpV2beta1Key < 3) {
782 checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId); 879 checkGooglePrivacyDlpV2beta1PartitionId(o.partitionId);
783 checkUnnamed3293(o.path); 880 checkUnnamed3322(o.path);
784 } 881 }
785 buildCounterGooglePrivacyDlpV2beta1Key--; 882 buildCounterGooglePrivacyDlpV2beta1Key--;
786 } 883 }
787 884
788 core.int buildCounterGooglePrivacyDlpV2beta1KindExpression = 0; 885 core.int buildCounterGooglePrivacyDlpV2beta1KindExpression = 0;
789 buildGooglePrivacyDlpV2beta1KindExpression() { 886 buildGooglePrivacyDlpV2beta1KindExpression() {
790 var o = new api.GooglePrivacyDlpV2beta1KindExpression(); 887 var o = new api.GooglePrivacyDlpV2beta1KindExpression();
791 buildCounterGooglePrivacyDlpV2beta1KindExpression++; 888 buildCounterGooglePrivacyDlpV2beta1KindExpression++;
792 if (buildCounterGooglePrivacyDlpV2beta1KindExpression < 3) { 889 if (buildCounterGooglePrivacyDlpV2beta1KindExpression < 3) {
793 o.name = "foo"; 890 o.name = "foo";
794 } 891 }
795 buildCounterGooglePrivacyDlpV2beta1KindExpression--; 892 buildCounterGooglePrivacyDlpV2beta1KindExpression--;
796 return o; 893 return o;
797 } 894 }
798 895
799 checkGooglePrivacyDlpV2beta1KindExpression(api.GooglePrivacyDlpV2beta1KindExpres sion o) { 896 checkGooglePrivacyDlpV2beta1KindExpression(api.GooglePrivacyDlpV2beta1KindExpres sion o) {
800 buildCounterGooglePrivacyDlpV2beta1KindExpression++; 897 buildCounterGooglePrivacyDlpV2beta1KindExpression++;
801 if (buildCounterGooglePrivacyDlpV2beta1KindExpression < 3) { 898 if (buildCounterGooglePrivacyDlpV2beta1KindExpression < 3) {
802 unittest.expect(o.name, unittest.equals('foo')); 899 unittest.expect(o.name, unittest.equals('foo'));
803 } 900 }
804 buildCounterGooglePrivacyDlpV2beta1KindExpression--; 901 buildCounterGooglePrivacyDlpV2beta1KindExpression--;
805 } 902 }
806 903
807 buildUnnamed3294() { 904 buildUnnamed3323() {
808 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription>(); 905 var o = new core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription>();
809 o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription()); 906 o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription());
810 o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription()); 907 o.add(buildGooglePrivacyDlpV2beta1InfoTypeDescription());
811 return o; 908 return o;
812 } 909 }
813 910
814 checkUnnamed3294(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) { 911 checkUnnamed3323(core.List<api.GooglePrivacyDlpV2beta1InfoTypeDescription> o) {
815 unittest.expect(o, unittest.hasLength(2)); 912 unittest.expect(o, unittest.hasLength(2));
816 checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[0]); 913 checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[0]);
817 checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[1]); 914 checkGooglePrivacyDlpV2beta1InfoTypeDescription(o[1]);
818 } 915 }
819 916
820 core.int buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse = 0; 917 core.int buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse = 0;
821 buildGooglePrivacyDlpV2beta1ListInfoTypesResponse() { 918 buildGooglePrivacyDlpV2beta1ListInfoTypesResponse() {
822 var o = new api.GooglePrivacyDlpV2beta1ListInfoTypesResponse(); 919 var o = new api.GooglePrivacyDlpV2beta1ListInfoTypesResponse();
823 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++; 920 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++;
824 if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) { 921 if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) {
825 o.infoTypes = buildUnnamed3294(); 922 o.infoTypes = buildUnnamed3323();
826 } 923 }
827 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--; 924 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--;
828 return o; 925 return o;
829 } 926 }
830 927
831 checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(api.GooglePrivacyDlpV2beta1Lis tInfoTypesResponse o) { 928 checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(api.GooglePrivacyDlpV2beta1Lis tInfoTypesResponse o) {
832 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++; 929 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse++;
833 if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) { 930 if (buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse < 3) {
834 checkUnnamed3294(o.infoTypes); 931 checkUnnamed3323(o.infoTypes);
835 } 932 }
836 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--; 933 buildCounterGooglePrivacyDlpV2beta1ListInfoTypesResponse--;
837 } 934 }
838 935
839 core.int buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse = 0; 936 core.int buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse = 0;
840 buildGooglePrivacyDlpV2beta1ListInspectFindingsResponse() { 937 buildGooglePrivacyDlpV2beta1ListInspectFindingsResponse() {
841 var o = new api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse(); 938 var o = new api.GooglePrivacyDlpV2beta1ListInspectFindingsResponse();
842 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse++; 939 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse++;
843 if (buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse < 3) { 940 if (buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse < 3) {
844 o.nextPageToken = "foo"; 941 o.nextPageToken = "foo";
845 o.result = buildGooglePrivacyDlpV2beta1InspectResult(); 942 o.result = buildGooglePrivacyDlpV2beta1InspectResult();
846 } 943 }
847 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--; 944 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--;
848 return o; 945 return o;
849 } 946 }
850 947
851 checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(api.GooglePrivacyDlpV2be ta1ListInspectFindingsResponse o) { 948 checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(api.GooglePrivacyDlpV2be ta1ListInspectFindingsResponse o) {
852 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse++; 949 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse++;
853 if (buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse < 3) { 950 if (buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse < 3) {
854 unittest.expect(o.nextPageToken, unittest.equals('foo')); 951 unittest.expect(o.nextPageToken, unittest.equals('foo'));
855 checkGooglePrivacyDlpV2beta1InspectResult(o.result); 952 checkGooglePrivacyDlpV2beta1InspectResult(o.result);
856 } 953 }
857 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--; 954 buildCounterGooglePrivacyDlpV2beta1ListInspectFindingsResponse--;
858 } 955 }
859 956
860 buildUnnamed3295() { 957 buildUnnamed3324() {
861 var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>(); 958 var o = new core.List<api.GooglePrivacyDlpV2beta1CategoryDescription>();
862 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); 959 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
863 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription()); 960 o.add(buildGooglePrivacyDlpV2beta1CategoryDescription());
864 return o; 961 return o;
865 } 962 }
866 963
867 checkUnnamed3295(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) { 964 checkUnnamed3324(core.List<api.GooglePrivacyDlpV2beta1CategoryDescription> o) {
868 unittest.expect(o, unittest.hasLength(2)); 965 unittest.expect(o, unittest.hasLength(2));
869 checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]); 966 checkGooglePrivacyDlpV2beta1CategoryDescription(o[0]);
870 checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]); 967 checkGooglePrivacyDlpV2beta1CategoryDescription(o[1]);
871 } 968 }
872 969
873 core.int buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse = 0; 970 core.int buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse = 0;
874 buildGooglePrivacyDlpV2beta1ListRootCategoriesResponse() { 971 buildGooglePrivacyDlpV2beta1ListRootCategoriesResponse() {
875 var o = new api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse(); 972 var o = new api.GooglePrivacyDlpV2beta1ListRootCategoriesResponse();
876 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++; 973 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++;
877 if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) { 974 if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) {
878 o.categories = buildUnnamed3295(); 975 o.categories = buildUnnamed3324();
879 } 976 }
880 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--; 977 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--;
881 return o; 978 return o;
882 } 979 }
883 980
884 checkGooglePrivacyDlpV2beta1ListRootCategoriesResponse(api.GooglePrivacyDlpV2bet a1ListRootCategoriesResponse o) { 981 checkGooglePrivacyDlpV2beta1ListRootCategoriesResponse(api.GooglePrivacyDlpV2bet a1ListRootCategoriesResponse o) {
885 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++; 982 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse++;
886 if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) { 983 if (buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse < 3) {
887 checkUnnamed3295(o.categories); 984 checkUnnamed3324(o.categories);
888 } 985 }
889 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--; 986 buildCounterGooglePrivacyDlpV2beta1ListRootCategoriesResponse--;
890 } 987 }
891 988
892 buildUnnamed3296() { 989 buildUnnamed3325() {
893 var o = new core.List<api.GooglePrivacyDlpV2beta1ImageLocation>(); 990 var o = new core.List<api.GooglePrivacyDlpV2beta1ImageLocation>();
894 o.add(buildGooglePrivacyDlpV2beta1ImageLocation()); 991 o.add(buildGooglePrivacyDlpV2beta1ImageLocation());
895 o.add(buildGooglePrivacyDlpV2beta1ImageLocation()); 992 o.add(buildGooglePrivacyDlpV2beta1ImageLocation());
896 return o; 993 return o;
897 } 994 }
898 995
899 checkUnnamed3296(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) { 996 checkUnnamed3325(core.List<api.GooglePrivacyDlpV2beta1ImageLocation> o) {
900 unittest.expect(o, unittest.hasLength(2)); 997 unittest.expect(o, unittest.hasLength(2));
901 checkGooglePrivacyDlpV2beta1ImageLocation(o[0]); 998 checkGooglePrivacyDlpV2beta1ImageLocation(o[0]);
902 checkGooglePrivacyDlpV2beta1ImageLocation(o[1]); 999 checkGooglePrivacyDlpV2beta1ImageLocation(o[1]);
903 } 1000 }
904 1001
905 core.int buildCounterGooglePrivacyDlpV2beta1Location = 0; 1002 core.int buildCounterGooglePrivacyDlpV2beta1Location = 0;
906 buildGooglePrivacyDlpV2beta1Location() { 1003 buildGooglePrivacyDlpV2beta1Location() {
907 var o = new api.GooglePrivacyDlpV2beta1Location(); 1004 var o = new api.GooglePrivacyDlpV2beta1Location();
908 buildCounterGooglePrivacyDlpV2beta1Location++; 1005 buildCounterGooglePrivacyDlpV2beta1Location++;
909 if (buildCounterGooglePrivacyDlpV2beta1Location < 3) { 1006 if (buildCounterGooglePrivacyDlpV2beta1Location < 3) {
910 o.byteRange = buildGooglePrivacyDlpV2beta1Range(); 1007 o.byteRange = buildGooglePrivacyDlpV2beta1Range();
911 o.codepointRange = buildGooglePrivacyDlpV2beta1Range(); 1008 o.codepointRange = buildGooglePrivacyDlpV2beta1Range();
912 o.fieldId = buildGooglePrivacyDlpV2beta1FieldId(); 1009 o.fieldId = buildGooglePrivacyDlpV2beta1FieldId();
913 o.imageBoxes = buildUnnamed3296(); 1010 o.imageBoxes = buildUnnamed3325();
914 o.recordKey = buildGooglePrivacyDlpV2beta1RecordKey(); 1011 o.recordKey = buildGooglePrivacyDlpV2beta1RecordKey();
1012 o.tableLocation = buildGooglePrivacyDlpV2beta1TableLocation();
915 } 1013 }
916 buildCounterGooglePrivacyDlpV2beta1Location--; 1014 buildCounterGooglePrivacyDlpV2beta1Location--;
917 return o; 1015 return o;
918 } 1016 }
919 1017
920 checkGooglePrivacyDlpV2beta1Location(api.GooglePrivacyDlpV2beta1Location o) { 1018 checkGooglePrivacyDlpV2beta1Location(api.GooglePrivacyDlpV2beta1Location o) {
921 buildCounterGooglePrivacyDlpV2beta1Location++; 1019 buildCounterGooglePrivacyDlpV2beta1Location++;
922 if (buildCounterGooglePrivacyDlpV2beta1Location < 3) { 1020 if (buildCounterGooglePrivacyDlpV2beta1Location < 3) {
923 checkGooglePrivacyDlpV2beta1Range(o.byteRange); 1021 checkGooglePrivacyDlpV2beta1Range(o.byteRange);
924 checkGooglePrivacyDlpV2beta1Range(o.codepointRange); 1022 checkGooglePrivacyDlpV2beta1Range(o.codepointRange);
925 checkGooglePrivacyDlpV2beta1FieldId(o.fieldId); 1023 checkGooglePrivacyDlpV2beta1FieldId(o.fieldId);
926 checkUnnamed3296(o.imageBoxes); 1024 checkUnnamed3325(o.imageBoxes);
927 checkGooglePrivacyDlpV2beta1RecordKey(o.recordKey); 1025 checkGooglePrivacyDlpV2beta1RecordKey(o.recordKey);
1026 checkGooglePrivacyDlpV2beta1TableLocation(o.tableLocation);
928 } 1027 }
929 buildCounterGooglePrivacyDlpV2beta1Location--; 1028 buildCounterGooglePrivacyDlpV2beta1Location--;
930 } 1029 }
931 1030
1031 core.int buildCounterGooglePrivacyDlpV2beta1OperationConfig = 0;
1032 buildGooglePrivacyDlpV2beta1OperationConfig() {
1033 var o = new api.GooglePrivacyDlpV2beta1OperationConfig();
1034 buildCounterGooglePrivacyDlpV2beta1OperationConfig++;
1035 if (buildCounterGooglePrivacyDlpV2beta1OperationConfig < 3) {
1036 o.maxItemFindings = "foo";
1037 }
1038 buildCounterGooglePrivacyDlpV2beta1OperationConfig--;
1039 return o;
1040 }
1041
1042 checkGooglePrivacyDlpV2beta1OperationConfig(api.GooglePrivacyDlpV2beta1Operation Config o) {
1043 buildCounterGooglePrivacyDlpV2beta1OperationConfig++;
1044 if (buildCounterGooglePrivacyDlpV2beta1OperationConfig < 3) {
1045 unittest.expect(o.maxItemFindings, unittest.equals('foo'));
1046 }
1047 buildCounterGooglePrivacyDlpV2beta1OperationConfig--;
1048 }
1049
932 core.int buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig = 0; 1050 core.int buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig = 0;
933 buildGooglePrivacyDlpV2beta1OutputStorageConfig() { 1051 buildGooglePrivacyDlpV2beta1OutputStorageConfig() {
934 var o = new api.GooglePrivacyDlpV2beta1OutputStorageConfig(); 1052 var o = new api.GooglePrivacyDlpV2beta1OutputStorageConfig();
935 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++; 1053 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++;
936 if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) { 1054 if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) {
937 o.storagePath = buildGooglePrivacyDlpV2beta1CloudStoragePath(); 1055 o.storagePath = buildGooglePrivacyDlpV2beta1CloudStoragePath();
1056 o.table = buildGooglePrivacyDlpV2beta1BigQueryTable();
938 } 1057 }
939 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--; 1058 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--;
940 return o; 1059 return o;
941 } 1060 }
942 1061
943 checkGooglePrivacyDlpV2beta1OutputStorageConfig(api.GooglePrivacyDlpV2beta1Outpu tStorageConfig o) { 1062 checkGooglePrivacyDlpV2beta1OutputStorageConfig(api.GooglePrivacyDlpV2beta1Outpu tStorageConfig o) {
944 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++; 1063 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig++;
945 if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) { 1064 if (buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig < 3) {
946 checkGooglePrivacyDlpV2beta1CloudStoragePath(o.storagePath); 1065 checkGooglePrivacyDlpV2beta1CloudStoragePath(o.storagePath);
1066 checkGooglePrivacyDlpV2beta1BigQueryTable(o.table);
947 } 1067 }
948 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--; 1068 buildCounterGooglePrivacyDlpV2beta1OutputStorageConfig--;
949 } 1069 }
950 1070
951 core.int buildCounterGooglePrivacyDlpV2beta1PartitionId = 0; 1071 core.int buildCounterGooglePrivacyDlpV2beta1PartitionId = 0;
952 buildGooglePrivacyDlpV2beta1PartitionId() { 1072 buildGooglePrivacyDlpV2beta1PartitionId() {
953 var o = new api.GooglePrivacyDlpV2beta1PartitionId(); 1073 var o = new api.GooglePrivacyDlpV2beta1PartitionId();
954 buildCounterGooglePrivacyDlpV2beta1PartitionId++; 1074 buildCounterGooglePrivacyDlpV2beta1PartitionId++;
955 if (buildCounterGooglePrivacyDlpV2beta1PartitionId < 3) { 1075 if (buildCounterGooglePrivacyDlpV2beta1PartitionId < 3) {
956 o.namespaceId = "foo"; 1076 o.namespaceId = "foo";
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 1185
1066 checkGooglePrivacyDlpV2beta1RecordKey(api.GooglePrivacyDlpV2beta1RecordKey o) { 1186 checkGooglePrivacyDlpV2beta1RecordKey(api.GooglePrivacyDlpV2beta1RecordKey o) {
1067 buildCounterGooglePrivacyDlpV2beta1RecordKey++; 1187 buildCounterGooglePrivacyDlpV2beta1RecordKey++;
1068 if (buildCounterGooglePrivacyDlpV2beta1RecordKey < 3) { 1188 if (buildCounterGooglePrivacyDlpV2beta1RecordKey < 3) {
1069 checkGooglePrivacyDlpV2beta1CloudStorageKey(o.cloudStorageKey); 1189 checkGooglePrivacyDlpV2beta1CloudStorageKey(o.cloudStorageKey);
1070 checkGooglePrivacyDlpV2beta1DatastoreKey(o.datastoreKey); 1190 checkGooglePrivacyDlpV2beta1DatastoreKey(o.datastoreKey);
1071 } 1191 }
1072 buildCounterGooglePrivacyDlpV2beta1RecordKey--; 1192 buildCounterGooglePrivacyDlpV2beta1RecordKey--;
1073 } 1193 }
1074 1194
1075 buildUnnamed3297() { 1195 buildUnnamed3326() {
1076 var o = new core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig>(); 1196 var o = new core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig>();
1077 o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig()); 1197 o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig());
1078 o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig()); 1198 o.add(buildGooglePrivacyDlpV2beta1ImageRedactionConfig());
1079 return o; 1199 return o;
1080 } 1200 }
1081 1201
1082 checkUnnamed3297(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) { 1202 checkUnnamed3326(core.List<api.GooglePrivacyDlpV2beta1ImageRedactionConfig> o) {
1083 unittest.expect(o, unittest.hasLength(2)); 1203 unittest.expect(o, unittest.hasLength(2));
1084 checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[0]); 1204 checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[0]);
1085 checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[1]); 1205 checkGooglePrivacyDlpV2beta1ImageRedactionConfig(o[1]);
1086 } 1206 }
1087 1207
1088 buildUnnamed3298() { 1208 buildUnnamed3327() {
1089 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); 1209 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
1090 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 1210 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
1091 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 1211 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
1092 return o; 1212 return o;
1093 } 1213 }
1094 1214
1095 checkUnnamed3298(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { 1215 checkUnnamed3327(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
1096 unittest.expect(o, unittest.hasLength(2)); 1216 unittest.expect(o, unittest.hasLength(2));
1097 checkGooglePrivacyDlpV2beta1ContentItem(o[0]); 1217 checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
1098 checkGooglePrivacyDlpV2beta1ContentItem(o[1]); 1218 checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
1099 } 1219 }
1100 1220
1101 buildUnnamed3299() { 1221 buildUnnamed3328() {
1102 var o = new core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig>(); 1222 var o = new core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig>();
1103 o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig()); 1223 o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig());
1104 o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig()); 1224 o.add(buildGooglePrivacyDlpV2beta1ReplaceConfig());
1105 return o; 1225 return o;
1106 } 1226 }
1107 1227
1108 checkUnnamed3299(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) { 1228 checkUnnamed3328(core.List<api.GooglePrivacyDlpV2beta1ReplaceConfig> o) {
1109 unittest.expect(o, unittest.hasLength(2)); 1229 unittest.expect(o, unittest.hasLength(2));
1110 checkGooglePrivacyDlpV2beta1ReplaceConfig(o[0]); 1230 checkGooglePrivacyDlpV2beta1ReplaceConfig(o[0]);
1111 checkGooglePrivacyDlpV2beta1ReplaceConfig(o[1]); 1231 checkGooglePrivacyDlpV2beta1ReplaceConfig(o[1]);
1112 } 1232 }
1113 1233
1114 core.int buildCounterGooglePrivacyDlpV2beta1RedactContentRequest = 0; 1234 core.int buildCounterGooglePrivacyDlpV2beta1RedactContentRequest = 0;
1115 buildGooglePrivacyDlpV2beta1RedactContentRequest() { 1235 buildGooglePrivacyDlpV2beta1RedactContentRequest() {
1116 var o = new api.GooglePrivacyDlpV2beta1RedactContentRequest(); 1236 var o = new api.GooglePrivacyDlpV2beta1RedactContentRequest();
1117 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++; 1237 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++;
1118 if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) { 1238 if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) {
1119 o.imageRedactionConfigs = buildUnnamed3297(); 1239 o.imageRedactionConfigs = buildUnnamed3326();
1120 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig(); 1240 o.inspectConfig = buildGooglePrivacyDlpV2beta1InspectConfig();
1121 o.items = buildUnnamed3298(); 1241 o.items = buildUnnamed3327();
1122 o.replaceConfigs = buildUnnamed3299(); 1242 o.replaceConfigs = buildUnnamed3328();
1123 } 1243 }
1124 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--; 1244 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--;
1125 return o; 1245 return o;
1126 } 1246 }
1127 1247
1128 checkGooglePrivacyDlpV2beta1RedactContentRequest(api.GooglePrivacyDlpV2beta1Reda ctContentRequest o) { 1248 checkGooglePrivacyDlpV2beta1RedactContentRequest(api.GooglePrivacyDlpV2beta1Reda ctContentRequest o) {
1129 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++; 1249 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest++;
1130 if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) { 1250 if (buildCounterGooglePrivacyDlpV2beta1RedactContentRequest < 3) {
1131 checkUnnamed3297(o.imageRedactionConfigs); 1251 checkUnnamed3326(o.imageRedactionConfigs);
1132 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig); 1252 checkGooglePrivacyDlpV2beta1InspectConfig(o.inspectConfig);
1133 checkUnnamed3298(o.items); 1253 checkUnnamed3327(o.items);
1134 checkUnnamed3299(o.replaceConfigs); 1254 checkUnnamed3328(o.replaceConfigs);
1135 } 1255 }
1136 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--; 1256 buildCounterGooglePrivacyDlpV2beta1RedactContentRequest--;
1137 } 1257 }
1138 1258
1139 buildUnnamed3300() { 1259 buildUnnamed3329() {
1140 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>(); 1260 var o = new core.List<api.GooglePrivacyDlpV2beta1ContentItem>();
1141 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 1261 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
1142 o.add(buildGooglePrivacyDlpV2beta1ContentItem()); 1262 o.add(buildGooglePrivacyDlpV2beta1ContentItem());
1143 return o; 1263 return o;
1144 } 1264 }
1145 1265
1146 checkUnnamed3300(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) { 1266 checkUnnamed3329(core.List<api.GooglePrivacyDlpV2beta1ContentItem> o) {
1147 unittest.expect(o, unittest.hasLength(2)); 1267 unittest.expect(o, unittest.hasLength(2));
1148 checkGooglePrivacyDlpV2beta1ContentItem(o[0]); 1268 checkGooglePrivacyDlpV2beta1ContentItem(o[0]);
1149 checkGooglePrivacyDlpV2beta1ContentItem(o[1]); 1269 checkGooglePrivacyDlpV2beta1ContentItem(o[1]);
1150 } 1270 }
1151 1271
1152 core.int buildCounterGooglePrivacyDlpV2beta1RedactContentResponse = 0; 1272 core.int buildCounterGooglePrivacyDlpV2beta1RedactContentResponse = 0;
1153 buildGooglePrivacyDlpV2beta1RedactContentResponse() { 1273 buildGooglePrivacyDlpV2beta1RedactContentResponse() {
1154 var o = new api.GooglePrivacyDlpV2beta1RedactContentResponse(); 1274 var o = new api.GooglePrivacyDlpV2beta1RedactContentResponse();
1155 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++; 1275 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++;
1156 if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) { 1276 if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) {
1157 o.items = buildUnnamed3300(); 1277 o.items = buildUnnamed3329();
1158 } 1278 }
1159 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--; 1279 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--;
1160 return o; 1280 return o;
1161 } 1281 }
1162 1282
1163 checkGooglePrivacyDlpV2beta1RedactContentResponse(api.GooglePrivacyDlpV2beta1Red actContentResponse o) { 1283 checkGooglePrivacyDlpV2beta1RedactContentResponse(api.GooglePrivacyDlpV2beta1Red actContentResponse o) {
1164 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++; 1284 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse++;
1165 if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) { 1285 if (buildCounterGooglePrivacyDlpV2beta1RedactContentResponse < 3) {
1166 checkUnnamed3300(o.items); 1286 checkUnnamed3329(o.items);
1167 } 1287 }
1168 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--; 1288 buildCounterGooglePrivacyDlpV2beta1RedactContentResponse--;
1169 } 1289 }
1170 1290
1171 core.int buildCounterGooglePrivacyDlpV2beta1ReplaceConfig = 0; 1291 core.int buildCounterGooglePrivacyDlpV2beta1ReplaceConfig = 0;
1172 buildGooglePrivacyDlpV2beta1ReplaceConfig() { 1292 buildGooglePrivacyDlpV2beta1ReplaceConfig() {
1173 var o = new api.GooglePrivacyDlpV2beta1ReplaceConfig(); 1293 var o = new api.GooglePrivacyDlpV2beta1ReplaceConfig();
1174 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig++; 1294 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig++;
1175 if (buildCounterGooglePrivacyDlpV2beta1ReplaceConfig < 3) { 1295 if (buildCounterGooglePrivacyDlpV2beta1ReplaceConfig < 3) {
1176 o.infoType = buildGooglePrivacyDlpV2beta1InfoType(); 1296 o.infoType = buildGooglePrivacyDlpV2beta1InfoType();
1177 o.replaceWith = "foo"; 1297 o.replaceWith = "foo";
1178 } 1298 }
1179 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig--; 1299 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig--;
1180 return o; 1300 return o;
1181 } 1301 }
1182 1302
1183 checkGooglePrivacyDlpV2beta1ReplaceConfig(api.GooglePrivacyDlpV2beta1ReplaceConf ig o) { 1303 checkGooglePrivacyDlpV2beta1ReplaceConfig(api.GooglePrivacyDlpV2beta1ReplaceConf ig o) {
1184 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig++; 1304 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig++;
1185 if (buildCounterGooglePrivacyDlpV2beta1ReplaceConfig < 3) { 1305 if (buildCounterGooglePrivacyDlpV2beta1ReplaceConfig < 3) {
1186 checkGooglePrivacyDlpV2beta1InfoType(o.infoType); 1306 checkGooglePrivacyDlpV2beta1InfoType(o.infoType);
1187 unittest.expect(o.replaceWith, unittest.equals('foo')); 1307 unittest.expect(o.replaceWith, unittest.equals('foo'));
1188 } 1308 }
1189 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig--; 1309 buildCounterGooglePrivacyDlpV2beta1ReplaceConfig--;
1190 } 1310 }
1191 1311
1312 buildUnnamed3330() {
1313 var o = new core.List<api.GooglePrivacyDlpV2beta1Value>();
1314 o.add(buildGooglePrivacyDlpV2beta1Value());
1315 o.add(buildGooglePrivacyDlpV2beta1Value());
1316 return o;
1317 }
1318
1319 checkUnnamed3330(core.List<api.GooglePrivacyDlpV2beta1Value> o) {
1320 unittest.expect(o, unittest.hasLength(2));
1321 checkGooglePrivacyDlpV2beta1Value(o[0]);
1322 checkGooglePrivacyDlpV2beta1Value(o[1]);
1323 }
1324
1325 core.int buildCounterGooglePrivacyDlpV2beta1Row = 0;
1326 buildGooglePrivacyDlpV2beta1Row() {
1327 var o = new api.GooglePrivacyDlpV2beta1Row();
1328 buildCounterGooglePrivacyDlpV2beta1Row++;
1329 if (buildCounterGooglePrivacyDlpV2beta1Row < 3) {
1330 o.values = buildUnnamed3330();
1331 }
1332 buildCounterGooglePrivacyDlpV2beta1Row--;
1333 return o;
1334 }
1335
1336 checkGooglePrivacyDlpV2beta1Row(api.GooglePrivacyDlpV2beta1Row o) {
1337 buildCounterGooglePrivacyDlpV2beta1Row++;
1338 if (buildCounterGooglePrivacyDlpV2beta1Row < 3) {
1339 checkUnnamed3330(o.values);
1340 }
1341 buildCounterGooglePrivacyDlpV2beta1Row--;
1342 }
1343
1192 core.int buildCounterGooglePrivacyDlpV2beta1StorageConfig = 0; 1344 core.int buildCounterGooglePrivacyDlpV2beta1StorageConfig = 0;
1193 buildGooglePrivacyDlpV2beta1StorageConfig() { 1345 buildGooglePrivacyDlpV2beta1StorageConfig() {
1194 var o = new api.GooglePrivacyDlpV2beta1StorageConfig(); 1346 var o = new api.GooglePrivacyDlpV2beta1StorageConfig();
1195 buildCounterGooglePrivacyDlpV2beta1StorageConfig++; 1347 buildCounterGooglePrivacyDlpV2beta1StorageConfig++;
1196 if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) { 1348 if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) {
1349 o.bigQueryOptions = buildGooglePrivacyDlpV2beta1BigQueryOptions();
1197 o.cloudStorageOptions = buildGooglePrivacyDlpV2beta1CloudStorageOptions(); 1350 o.cloudStorageOptions = buildGooglePrivacyDlpV2beta1CloudStorageOptions();
1198 o.datastoreOptions = buildGooglePrivacyDlpV2beta1DatastoreOptions(); 1351 o.datastoreOptions = buildGooglePrivacyDlpV2beta1DatastoreOptions();
1199 } 1352 }
1200 buildCounterGooglePrivacyDlpV2beta1StorageConfig--; 1353 buildCounterGooglePrivacyDlpV2beta1StorageConfig--;
1201 return o; 1354 return o;
1202 } 1355 }
1203 1356
1204 checkGooglePrivacyDlpV2beta1StorageConfig(api.GooglePrivacyDlpV2beta1StorageConf ig o) { 1357 checkGooglePrivacyDlpV2beta1StorageConfig(api.GooglePrivacyDlpV2beta1StorageConf ig o) {
1205 buildCounterGooglePrivacyDlpV2beta1StorageConfig++; 1358 buildCounterGooglePrivacyDlpV2beta1StorageConfig++;
1206 if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) { 1359 if (buildCounterGooglePrivacyDlpV2beta1StorageConfig < 3) {
1360 checkGooglePrivacyDlpV2beta1BigQueryOptions(o.bigQueryOptions);
1207 checkGooglePrivacyDlpV2beta1CloudStorageOptions(o.cloudStorageOptions); 1361 checkGooglePrivacyDlpV2beta1CloudStorageOptions(o.cloudStorageOptions);
1208 checkGooglePrivacyDlpV2beta1DatastoreOptions(o.datastoreOptions); 1362 checkGooglePrivacyDlpV2beta1DatastoreOptions(o.datastoreOptions);
1209 } 1363 }
1210 buildCounterGooglePrivacyDlpV2beta1StorageConfig--; 1364 buildCounterGooglePrivacyDlpV2beta1StorageConfig--;
1211 } 1365 }
1212 1366
1367 buildUnnamed3331() {
1368 var o = new core.List<api.GooglePrivacyDlpV2beta1FieldId>();
1369 o.add(buildGooglePrivacyDlpV2beta1FieldId());
1370 o.add(buildGooglePrivacyDlpV2beta1FieldId());
1371 return o;
1372 }
1373
1374 checkUnnamed3331(core.List<api.GooglePrivacyDlpV2beta1FieldId> o) {
1375 unittest.expect(o, unittest.hasLength(2));
1376 checkGooglePrivacyDlpV2beta1FieldId(o[0]);
1377 checkGooglePrivacyDlpV2beta1FieldId(o[1]);
1378 }
1379
1380 buildUnnamed3332() {
1381 var o = new core.List<api.GooglePrivacyDlpV2beta1Row>();
1382 o.add(buildGooglePrivacyDlpV2beta1Row());
1383 o.add(buildGooglePrivacyDlpV2beta1Row());
1384 return o;
1385 }
1386
1387 checkUnnamed3332(core.List<api.GooglePrivacyDlpV2beta1Row> o) {
1388 unittest.expect(o, unittest.hasLength(2));
1389 checkGooglePrivacyDlpV2beta1Row(o[0]);
1390 checkGooglePrivacyDlpV2beta1Row(o[1]);
1391 }
1392
1393 core.int buildCounterGooglePrivacyDlpV2beta1Table = 0;
1394 buildGooglePrivacyDlpV2beta1Table() {
1395 var o = new api.GooglePrivacyDlpV2beta1Table();
1396 buildCounterGooglePrivacyDlpV2beta1Table++;
1397 if (buildCounterGooglePrivacyDlpV2beta1Table < 3) {
1398 o.headers = buildUnnamed3331();
1399 o.rows = buildUnnamed3332();
1400 }
1401 buildCounterGooglePrivacyDlpV2beta1Table--;
1402 return o;
1403 }
1404
1405 checkGooglePrivacyDlpV2beta1Table(api.GooglePrivacyDlpV2beta1Table o) {
1406 buildCounterGooglePrivacyDlpV2beta1Table++;
1407 if (buildCounterGooglePrivacyDlpV2beta1Table < 3) {
1408 checkUnnamed3331(o.headers);
1409 checkUnnamed3332(o.rows);
1410 }
1411 buildCounterGooglePrivacyDlpV2beta1Table--;
1412 }
1413
1414 core.int buildCounterGooglePrivacyDlpV2beta1TableLocation = 0;
1415 buildGooglePrivacyDlpV2beta1TableLocation() {
1416 var o = new api.GooglePrivacyDlpV2beta1TableLocation();
1417 buildCounterGooglePrivacyDlpV2beta1TableLocation++;
1418 if (buildCounterGooglePrivacyDlpV2beta1TableLocation < 3) {
1419 o.rowIndex = "foo";
1420 }
1421 buildCounterGooglePrivacyDlpV2beta1TableLocation--;
1422 return o;
1423 }
1424
1425 checkGooglePrivacyDlpV2beta1TableLocation(api.GooglePrivacyDlpV2beta1TableLocati on o) {
1426 buildCounterGooglePrivacyDlpV2beta1TableLocation++;
1427 if (buildCounterGooglePrivacyDlpV2beta1TableLocation < 3) {
1428 unittest.expect(o.rowIndex, unittest.equals('foo'));
1429 }
1430 buildCounterGooglePrivacyDlpV2beta1TableLocation--;
1431 }
1432
1433 core.int buildCounterGooglePrivacyDlpV2beta1Value = 0;
1434 buildGooglePrivacyDlpV2beta1Value() {
1435 var o = new api.GooglePrivacyDlpV2beta1Value();
1436 buildCounterGooglePrivacyDlpV2beta1Value++;
1437 if (buildCounterGooglePrivacyDlpV2beta1Value < 3) {
1438 o.booleanValue = true;
1439 o.dateValue = buildGoogleTypeDate();
1440 o.floatValue = 42.0;
1441 o.integerValue = "foo";
1442 o.stringValue = "foo";
1443 o.timeValue = buildGoogleTypeTimeOfDay();
1444 o.timestampValue = "foo";
1445 }
1446 buildCounterGooglePrivacyDlpV2beta1Value--;
1447 return o;
1448 }
1449
1450 checkGooglePrivacyDlpV2beta1Value(api.GooglePrivacyDlpV2beta1Value o) {
1451 buildCounterGooglePrivacyDlpV2beta1Value++;
1452 if (buildCounterGooglePrivacyDlpV2beta1Value < 3) {
1453 unittest.expect(o.booleanValue, unittest.isTrue);
1454 checkGoogleTypeDate(o.dateValue);
1455 unittest.expect(o.floatValue, unittest.equals(42.0));
1456 unittest.expect(o.integerValue, unittest.equals('foo'));
1457 unittest.expect(o.stringValue, unittest.equals('foo'));
1458 checkGoogleTypeTimeOfDay(o.timeValue);
1459 unittest.expect(o.timestampValue, unittest.equals('foo'));
1460 }
1461 buildCounterGooglePrivacyDlpV2beta1Value--;
1462 }
1463
1213 core.int buildCounterGoogleProtobufEmpty = 0; 1464 core.int buildCounterGoogleProtobufEmpty = 0;
1214 buildGoogleProtobufEmpty() { 1465 buildGoogleProtobufEmpty() {
1215 var o = new api.GoogleProtobufEmpty(); 1466 var o = new api.GoogleProtobufEmpty();
1216 buildCounterGoogleProtobufEmpty++; 1467 buildCounterGoogleProtobufEmpty++;
1217 if (buildCounterGoogleProtobufEmpty < 3) { 1468 if (buildCounterGoogleProtobufEmpty < 3) {
1218 } 1469 }
1219 buildCounterGoogleProtobufEmpty--; 1470 buildCounterGoogleProtobufEmpty--;
1220 return o; 1471 return o;
1221 } 1472 }
1222 1473
1223 checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) { 1474 checkGoogleProtobufEmpty(api.GoogleProtobufEmpty o) {
1224 buildCounterGoogleProtobufEmpty++; 1475 buildCounterGoogleProtobufEmpty++;
1225 if (buildCounterGoogleProtobufEmpty < 3) { 1476 if (buildCounterGoogleProtobufEmpty < 3) {
1226 } 1477 }
1227 buildCounterGoogleProtobufEmpty--; 1478 buildCounterGoogleProtobufEmpty--;
1228 } 1479 }
1229 1480
1230 buildUnnamed3301() { 1481 buildUnnamed3333() {
1231 var o = new core.Map<core.String, core.Object>(); 1482 var o = new core.Map<core.String, core.Object>();
1232 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1483 o["x"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1233 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'}; 1484 o["y"] = {'list' : [1, 2, 3], 'bool' : true, 'string' : 'foo'};
1234 return o; 1485 return o;
1235 } 1486 }
1236 1487
1237 checkUnnamed3301(core.Map<core.String, core.Object> o) { 1488 checkUnnamed3333(core.Map<core.String, core.Object> o) {
1238 unittest.expect(o, unittest.hasLength(2)); 1489 unittest.expect(o, unittest.hasLength(2));
1239 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo')); 1490 var casted5 = (o["x"]) as core.Map; unittest.expect(casted5, unittest.hasLengt h(3)); unittest.expect(casted5["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted5["bool"], unittest.equals(true)); unittest.expect(casted5["string"], unittest.equals('foo'));
1240 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo')); 1491 var casted6 = (o["y"]) as core.Map; unittest.expect(casted6, unittest.hasLengt h(3)); unittest.expect(casted6["list"], unittest.equals([1, 2, 3])); unittest.ex pect(casted6["bool"], unittest.equals(true)); unittest.expect(casted6["string"], unittest.equals('foo'));
1241 } 1492 }
1242 1493
1243 buildUnnamed3302() { 1494 buildUnnamed3334() {
1244 var o = new core.List<core.Map<core.String, core.Object>>(); 1495 var o = new core.List<core.Map<core.String, core.Object>>();
1245 o.add(buildUnnamed3301()); 1496 o.add(buildUnnamed3333());
1246 o.add(buildUnnamed3301()); 1497 o.add(buildUnnamed3333());
1247 return o; 1498 return o;
1248 } 1499 }
1249 1500
1250 checkUnnamed3302(core.List<core.Map<core.String, core.Object>> o) { 1501 checkUnnamed3334(core.List<core.Map<core.String, core.Object>> o) {
1251 unittest.expect(o, unittest.hasLength(2)); 1502 unittest.expect(o, unittest.hasLength(2));
1252 checkUnnamed3301(o[0]); 1503 checkUnnamed3333(o[0]);
1253 checkUnnamed3301(o[1]); 1504 checkUnnamed3333(o[1]);
1254 } 1505 }
1255 1506
1256 core.int buildCounterGoogleRpcStatus = 0; 1507 core.int buildCounterGoogleRpcStatus = 0;
1257 buildGoogleRpcStatus() { 1508 buildGoogleRpcStatus() {
1258 var o = new api.GoogleRpcStatus(); 1509 var o = new api.GoogleRpcStatus();
1259 buildCounterGoogleRpcStatus++; 1510 buildCounterGoogleRpcStatus++;
1260 if (buildCounterGoogleRpcStatus < 3) { 1511 if (buildCounterGoogleRpcStatus < 3) {
1261 o.code = 42; 1512 o.code = 42;
1262 o.details = buildUnnamed3302(); 1513 o.details = buildUnnamed3334();
1263 o.message = "foo"; 1514 o.message = "foo";
1264 } 1515 }
1265 buildCounterGoogleRpcStatus--; 1516 buildCounterGoogleRpcStatus--;
1266 return o; 1517 return o;
1267 } 1518 }
1268 1519
1269 checkGoogleRpcStatus(api.GoogleRpcStatus o) { 1520 checkGoogleRpcStatus(api.GoogleRpcStatus o) {
1270 buildCounterGoogleRpcStatus++; 1521 buildCounterGoogleRpcStatus++;
1271 if (buildCounterGoogleRpcStatus < 3) { 1522 if (buildCounterGoogleRpcStatus < 3) {
1272 unittest.expect(o.code, unittest.equals(42)); 1523 unittest.expect(o.code, unittest.equals(42));
1273 checkUnnamed3302(o.details); 1524 checkUnnamed3334(o.details);
1274 unittest.expect(o.message, unittest.equals('foo')); 1525 unittest.expect(o.message, unittest.equals('foo'));
1275 } 1526 }
1276 buildCounterGoogleRpcStatus--; 1527 buildCounterGoogleRpcStatus--;
1277 } 1528 }
1278 1529
1530 core.int buildCounterGoogleTypeDate = 0;
1531 buildGoogleTypeDate() {
1532 var o = new api.GoogleTypeDate();
1533 buildCounterGoogleTypeDate++;
1534 if (buildCounterGoogleTypeDate < 3) {
1535 o.day = 42;
1536 o.month = 42;
1537 o.year = 42;
1538 }
1539 buildCounterGoogleTypeDate--;
1540 return o;
1541 }
1542
1543 checkGoogleTypeDate(api.GoogleTypeDate o) {
1544 buildCounterGoogleTypeDate++;
1545 if (buildCounterGoogleTypeDate < 3) {
1546 unittest.expect(o.day, unittest.equals(42));
1547 unittest.expect(o.month, unittest.equals(42));
1548 unittest.expect(o.year, unittest.equals(42));
1549 }
1550 buildCounterGoogleTypeDate--;
1551 }
1552
1553 core.int buildCounterGoogleTypeTimeOfDay = 0;
1554 buildGoogleTypeTimeOfDay() {
1555 var o = new api.GoogleTypeTimeOfDay();
1556 buildCounterGoogleTypeTimeOfDay++;
1557 if (buildCounterGoogleTypeTimeOfDay < 3) {
1558 o.hours = 42;
1559 o.minutes = 42;
1560 o.nanos = 42;
1561 o.seconds = 42;
1562 }
1563 buildCounterGoogleTypeTimeOfDay--;
1564 return o;
1565 }
1566
1567 checkGoogleTypeTimeOfDay(api.GoogleTypeTimeOfDay o) {
1568 buildCounterGoogleTypeTimeOfDay++;
1569 if (buildCounterGoogleTypeTimeOfDay < 3) {
1570 unittest.expect(o.hours, unittest.equals(42));
1571 unittest.expect(o.minutes, unittest.equals(42));
1572 unittest.expect(o.nanos, unittest.equals(42));
1573 unittest.expect(o.seconds, unittest.equals(42));
1574 }
1575 buildCounterGoogleTypeTimeOfDay--;
1576 }
1577
1279 1578
1280 main() { 1579 main() {
1281 unittest.group("obj-schema-GoogleLongrunningCancelOperationRequest", () { 1580 unittest.group("obj-schema-GoogleLongrunningCancelOperationRequest", () {
1282 unittest.test("to-json--from-json", () { 1581 unittest.test("to-json--from-json", () {
1283 var o = buildGoogleLongrunningCancelOperationRequest(); 1582 var o = buildGoogleLongrunningCancelOperationRequest();
1284 var od = new api.GoogleLongrunningCancelOperationRequest.fromJson(o.toJson ()); 1583 var od = new api.GoogleLongrunningCancelOperationRequest.fromJson(o.toJson ());
1285 checkGoogleLongrunningCancelOperationRequest(od); 1584 checkGoogleLongrunningCancelOperationRequest(od);
1286 }); 1585 });
1287 }); 1586 });
1288 1587
1289 1588
1290 unittest.group("obj-schema-GoogleLongrunningListOperationsResponse", () { 1589 unittest.group("obj-schema-GoogleLongrunningListOperationsResponse", () {
1291 unittest.test("to-json--from-json", () { 1590 unittest.test("to-json--from-json", () {
1292 var o = buildGoogleLongrunningListOperationsResponse(); 1591 var o = buildGoogleLongrunningListOperationsResponse();
1293 var od = new api.GoogleLongrunningListOperationsResponse.fromJson(o.toJson ()); 1592 var od = new api.GoogleLongrunningListOperationsResponse.fromJson(o.toJson ());
1294 checkGoogleLongrunningListOperationsResponse(od); 1593 checkGoogleLongrunningListOperationsResponse(od);
1295 }); 1594 });
1296 }); 1595 });
1297 1596
1298 1597
1299 unittest.group("obj-schema-GoogleLongrunningOperation", () { 1598 unittest.group("obj-schema-GoogleLongrunningOperation", () {
1300 unittest.test("to-json--from-json", () { 1599 unittest.test("to-json--from-json", () {
1301 var o = buildGoogleLongrunningOperation(); 1600 var o = buildGoogleLongrunningOperation();
1302 var od = new api.GoogleLongrunningOperation.fromJson(o.toJson()); 1601 var od = new api.GoogleLongrunningOperation.fromJson(o.toJson());
1303 checkGoogleLongrunningOperation(od); 1602 checkGoogleLongrunningOperation(od);
1304 }); 1603 });
1305 }); 1604 });
1306 1605
1307 1606
1607 unittest.group("obj-schema-GooglePrivacyDlpV2beta1BigQueryOptions", () {
1608 unittest.test("to-json--from-json", () {
1609 var o = buildGooglePrivacyDlpV2beta1BigQueryOptions();
1610 var od = new api.GooglePrivacyDlpV2beta1BigQueryOptions.fromJson(o.toJson( ));
1611 checkGooglePrivacyDlpV2beta1BigQueryOptions(od);
1612 });
1613 });
1614
1615
1616 unittest.group("obj-schema-GooglePrivacyDlpV2beta1BigQueryTable", () {
1617 unittest.test("to-json--from-json", () {
1618 var o = buildGooglePrivacyDlpV2beta1BigQueryTable();
1619 var od = new api.GooglePrivacyDlpV2beta1BigQueryTable.fromJson(o.toJson()) ;
1620 checkGooglePrivacyDlpV2beta1BigQueryTable(od);
1621 });
1622 });
1623
1624
1308 unittest.group("obj-schema-GooglePrivacyDlpV2beta1CategoryDescription", () { 1625 unittest.group("obj-schema-GooglePrivacyDlpV2beta1CategoryDescription", () {
1309 unittest.test("to-json--from-json", () { 1626 unittest.test("to-json--from-json", () {
1310 var o = buildGooglePrivacyDlpV2beta1CategoryDescription(); 1627 var o = buildGooglePrivacyDlpV2beta1CategoryDescription();
1311 var od = new api.GooglePrivacyDlpV2beta1CategoryDescription.fromJson(o.toJ son()); 1628 var od = new api.GooglePrivacyDlpV2beta1CategoryDescription.fromJson(o.toJ son());
1312 checkGooglePrivacyDlpV2beta1CategoryDescription(od); 1629 checkGooglePrivacyDlpV2beta1CategoryDescription(od);
1313 }); 1630 });
1314 }); 1631 });
1315 1632
1316 1633
1317 unittest.group("obj-schema-GooglePrivacyDlpV2beta1CloudStorageKey", () { 1634 unittest.group("obj-schema-GooglePrivacyDlpV2beta1CloudStorageKey", () {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1442 1759
1443 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeDescription", () { 1760 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeDescription", () {
1444 unittest.test("to-json--from-json", () { 1761 unittest.test("to-json--from-json", () {
1445 var o = buildGooglePrivacyDlpV2beta1InfoTypeDescription(); 1762 var o = buildGooglePrivacyDlpV2beta1InfoTypeDescription();
1446 var od = new api.GooglePrivacyDlpV2beta1InfoTypeDescription.fromJson(o.toJ son()); 1763 var od = new api.GooglePrivacyDlpV2beta1InfoTypeDescription.fromJson(o.toJ son());
1447 checkGooglePrivacyDlpV2beta1InfoTypeDescription(od); 1764 checkGooglePrivacyDlpV2beta1InfoTypeDescription(od);
1448 }); 1765 });
1449 }); 1766 });
1450 1767
1451 1768
1769 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeLimit", () {
1770 unittest.test("to-json--from-json", () {
1771 var o = buildGooglePrivacyDlpV2beta1InfoTypeLimit();
1772 var od = new api.GooglePrivacyDlpV2beta1InfoTypeLimit.fromJson(o.toJson()) ;
1773 checkGooglePrivacyDlpV2beta1InfoTypeLimit(od);
1774 });
1775 });
1776
1777
1452 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeStatistics", () { 1778 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InfoTypeStatistics", () {
1453 unittest.test("to-json--from-json", () { 1779 unittest.test("to-json--from-json", () {
1454 var o = buildGooglePrivacyDlpV2beta1InfoTypeStatistics(); 1780 var o = buildGooglePrivacyDlpV2beta1InfoTypeStatistics();
1455 var od = new api.GooglePrivacyDlpV2beta1InfoTypeStatistics.fromJson(o.toJs on()); 1781 var od = new api.GooglePrivacyDlpV2beta1InfoTypeStatistics.fromJson(o.toJs on());
1456 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(od); 1782 checkGooglePrivacyDlpV2beta1InfoTypeStatistics(od);
1457 }); 1783 });
1458 }); 1784 });
1459 1785
1460 1786
1461 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InspectConfig", () { 1787 unittest.group("obj-schema-GooglePrivacyDlpV2beta1InspectConfig", () {
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 1885
1560 unittest.group("obj-schema-GooglePrivacyDlpV2beta1Location", () { 1886 unittest.group("obj-schema-GooglePrivacyDlpV2beta1Location", () {
1561 unittest.test("to-json--from-json", () { 1887 unittest.test("to-json--from-json", () {
1562 var o = buildGooglePrivacyDlpV2beta1Location(); 1888 var o = buildGooglePrivacyDlpV2beta1Location();
1563 var od = new api.GooglePrivacyDlpV2beta1Location.fromJson(o.toJson()); 1889 var od = new api.GooglePrivacyDlpV2beta1Location.fromJson(o.toJson());
1564 checkGooglePrivacyDlpV2beta1Location(od); 1890 checkGooglePrivacyDlpV2beta1Location(od);
1565 }); 1891 });
1566 }); 1892 });
1567 1893
1568 1894
1895 unittest.group("obj-schema-GooglePrivacyDlpV2beta1OperationConfig", () {
1896 unittest.test("to-json--from-json", () {
1897 var o = buildGooglePrivacyDlpV2beta1OperationConfig();
1898 var od = new api.GooglePrivacyDlpV2beta1OperationConfig.fromJson(o.toJson( ));
1899 checkGooglePrivacyDlpV2beta1OperationConfig(od);
1900 });
1901 });
1902
1903
1569 unittest.group("obj-schema-GooglePrivacyDlpV2beta1OutputStorageConfig", () { 1904 unittest.group("obj-schema-GooglePrivacyDlpV2beta1OutputStorageConfig", () {
1570 unittest.test("to-json--from-json", () { 1905 unittest.test("to-json--from-json", () {
1571 var o = buildGooglePrivacyDlpV2beta1OutputStorageConfig(); 1906 var o = buildGooglePrivacyDlpV2beta1OutputStorageConfig();
1572 var od = new api.GooglePrivacyDlpV2beta1OutputStorageConfig.fromJson(o.toJ son()); 1907 var od = new api.GooglePrivacyDlpV2beta1OutputStorageConfig.fromJson(o.toJ son());
1573 checkGooglePrivacyDlpV2beta1OutputStorageConfig(od); 1908 checkGooglePrivacyDlpV2beta1OutputStorageConfig(od);
1574 }); 1909 });
1575 }); 1910 });
1576 1911
1577 1912
1578 unittest.group("obj-schema-GooglePrivacyDlpV2beta1PartitionId", () { 1913 unittest.group("obj-schema-GooglePrivacyDlpV2beta1PartitionId", () {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 1984
1650 unittest.group("obj-schema-GooglePrivacyDlpV2beta1ReplaceConfig", () { 1985 unittest.group("obj-schema-GooglePrivacyDlpV2beta1ReplaceConfig", () {
1651 unittest.test("to-json--from-json", () { 1986 unittest.test("to-json--from-json", () {
1652 var o = buildGooglePrivacyDlpV2beta1ReplaceConfig(); 1987 var o = buildGooglePrivacyDlpV2beta1ReplaceConfig();
1653 var od = new api.GooglePrivacyDlpV2beta1ReplaceConfig.fromJson(o.toJson()) ; 1988 var od = new api.GooglePrivacyDlpV2beta1ReplaceConfig.fromJson(o.toJson()) ;
1654 checkGooglePrivacyDlpV2beta1ReplaceConfig(od); 1989 checkGooglePrivacyDlpV2beta1ReplaceConfig(od);
1655 }); 1990 });
1656 }); 1991 });
1657 1992
1658 1993
1994 unittest.group("obj-schema-GooglePrivacyDlpV2beta1Row", () {
1995 unittest.test("to-json--from-json", () {
1996 var o = buildGooglePrivacyDlpV2beta1Row();
1997 var od = new api.GooglePrivacyDlpV2beta1Row.fromJson(o.toJson());
1998 checkGooglePrivacyDlpV2beta1Row(od);
1999 });
2000 });
2001
2002
1659 unittest.group("obj-schema-GooglePrivacyDlpV2beta1StorageConfig", () { 2003 unittest.group("obj-schema-GooglePrivacyDlpV2beta1StorageConfig", () {
1660 unittest.test("to-json--from-json", () { 2004 unittest.test("to-json--from-json", () {
1661 var o = buildGooglePrivacyDlpV2beta1StorageConfig(); 2005 var o = buildGooglePrivacyDlpV2beta1StorageConfig();
1662 var od = new api.GooglePrivacyDlpV2beta1StorageConfig.fromJson(o.toJson()) ; 2006 var od = new api.GooglePrivacyDlpV2beta1StorageConfig.fromJson(o.toJson()) ;
1663 checkGooglePrivacyDlpV2beta1StorageConfig(od); 2007 checkGooglePrivacyDlpV2beta1StorageConfig(od);
1664 }); 2008 });
1665 }); 2009 });
1666 2010
1667 2011
2012 unittest.group("obj-schema-GooglePrivacyDlpV2beta1Table", () {
2013 unittest.test("to-json--from-json", () {
2014 var o = buildGooglePrivacyDlpV2beta1Table();
2015 var od = new api.GooglePrivacyDlpV2beta1Table.fromJson(o.toJson());
2016 checkGooglePrivacyDlpV2beta1Table(od);
2017 });
2018 });
2019
2020
2021 unittest.group("obj-schema-GooglePrivacyDlpV2beta1TableLocation", () {
2022 unittest.test("to-json--from-json", () {
2023 var o = buildGooglePrivacyDlpV2beta1TableLocation();
2024 var od = new api.GooglePrivacyDlpV2beta1TableLocation.fromJson(o.toJson()) ;
2025 checkGooglePrivacyDlpV2beta1TableLocation(od);
2026 });
2027 });
2028
2029
2030 unittest.group("obj-schema-GooglePrivacyDlpV2beta1Value", () {
2031 unittest.test("to-json--from-json", () {
2032 var o = buildGooglePrivacyDlpV2beta1Value();
2033 var od = new api.GooglePrivacyDlpV2beta1Value.fromJson(o.toJson());
2034 checkGooglePrivacyDlpV2beta1Value(od);
2035 });
2036 });
2037
2038
1668 unittest.group("obj-schema-GoogleProtobufEmpty", () { 2039 unittest.group("obj-schema-GoogleProtobufEmpty", () {
1669 unittest.test("to-json--from-json", () { 2040 unittest.test("to-json--from-json", () {
1670 var o = buildGoogleProtobufEmpty(); 2041 var o = buildGoogleProtobufEmpty();
1671 var od = new api.GoogleProtobufEmpty.fromJson(o.toJson()); 2042 var od = new api.GoogleProtobufEmpty.fromJson(o.toJson());
1672 checkGoogleProtobufEmpty(od); 2043 checkGoogleProtobufEmpty(od);
1673 }); 2044 });
1674 }); 2045 });
1675 2046
1676 2047
1677 unittest.group("obj-schema-GoogleRpcStatus", () { 2048 unittest.group("obj-schema-GoogleRpcStatus", () {
1678 unittest.test("to-json--from-json", () { 2049 unittest.test("to-json--from-json", () {
1679 var o = buildGoogleRpcStatus(); 2050 var o = buildGoogleRpcStatus();
1680 var od = new api.GoogleRpcStatus.fromJson(o.toJson()); 2051 var od = new api.GoogleRpcStatus.fromJson(o.toJson());
1681 checkGoogleRpcStatus(od); 2052 checkGoogleRpcStatus(od);
1682 }); 2053 });
1683 }); 2054 });
1684 2055
1685 2056
2057 unittest.group("obj-schema-GoogleTypeDate", () {
2058 unittest.test("to-json--from-json", () {
2059 var o = buildGoogleTypeDate();
2060 var od = new api.GoogleTypeDate.fromJson(o.toJson());
2061 checkGoogleTypeDate(od);
2062 });
2063 });
2064
2065
2066 unittest.group("obj-schema-GoogleTypeTimeOfDay", () {
2067 unittest.test("to-json--from-json", () {
2068 var o = buildGoogleTypeTimeOfDay();
2069 var od = new api.GoogleTypeTimeOfDay.fromJson(o.toJson());
2070 checkGoogleTypeTimeOfDay(od);
2071 });
2072 });
2073
2074
1686 unittest.group("resource-ContentResourceApi", () { 2075 unittest.group("resource-ContentResourceApi", () {
1687 unittest.test("method--inspect", () { 2076 unittest.test("method--inspect", () {
1688 2077
1689 var mock = new HttpServerMock(); 2078 var mock = new HttpServerMock();
1690 api.ContentResourceApi res = new api.DlpApi(mock).content; 2079 api.ContentResourceApi res = new api.DlpApi(mock).content;
1691 var arg_request = buildGooglePrivacyDlpV2beta1InspectContentRequest(); 2080 var arg_request = buildGooglePrivacyDlpV2beta1InspectContentRequest();
1692 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 2081 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
1693 var obj = new api.GooglePrivacyDlpV2beta1InspectContentRequest.fromJson( json); 2082 var obj = new api.GooglePrivacyDlpV2beta1InspectContentRequest.fromJson( json);
1694 checkGooglePrivacyDlpV2beta1InspectContentRequest(obj); 2083 checkGooglePrivacyDlpV2beta1InspectContentRequest(obj);
1695 2084
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
1966 res.get(arg_name).then(unittest.expectAsync1(((api.GoogleLongrunningOperat ion response) { 2355 res.get(arg_name).then(unittest.expectAsync1(((api.GoogleLongrunningOperat ion response) {
1967 checkGoogleLongrunningOperation(response); 2356 checkGoogleLongrunningOperation(response);
1968 }))); 2357 })));
1969 }); 2358 });
1970 2359
1971 unittest.test("method--list", () { 2360 unittest.test("method--list", () {
1972 2361
1973 var mock = new HttpServerMock(); 2362 var mock = new HttpServerMock();
1974 api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operat ions; 2363 api.InspectOperationsResourceApi res = new api.DlpApi(mock).inspect.operat ions;
1975 var arg_name = "foo"; 2364 var arg_name = "foo";
1976 var arg_pageSize = 42;
1977 var arg_filter = "foo"; 2365 var arg_filter = "foo";
1978 var arg_pageToken = "foo"; 2366 var arg_pageToken = "foo";
2367 var arg_pageSize = 42;
1979 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 2368 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
1980 var path = (req.url).path; 2369 var path = (req.url).path;
1981 var pathOffset = 0; 2370 var pathOffset = 0;
1982 var index; 2371 var index;
1983 var subPart; 2372 var subPart;
1984 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2373 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
1985 pathOffset += 1; 2374 pathOffset += 1;
1986 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v2beta1/")); 2375 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v2beta1/"));
1987 pathOffset += 8; 2376 pathOffset += 8;
1988 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation; 2377 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation;
1989 2378
1990 var query = (req.url).query; 2379 var query = (req.url).query;
1991 var queryOffset = 0; 2380 var queryOffset = 0;
1992 var queryMap = {}; 2381 var queryMap = {};
1993 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 2382 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
1994 parseBool(n) { 2383 parseBool(n) {
1995 if (n == "true") return true; 2384 if (n == "true") return true;
1996 if (n == "false") return false; 2385 if (n == "false") return false;
1997 if (n == null) return null; 2386 if (n == null) return null;
1998 throw new core.ArgumentError("Invalid boolean: $n"); 2387 throw new core.ArgumentError("Invalid boolean: $n");
1999 } 2388 }
2000 if (query.length > 0) { 2389 if (query.length > 0) {
2001 for (var part in query.split("&")) { 2390 for (var part in query.split("&")) {
2002 var keyvalue = part.split("="); 2391 var keyvalue = part.split("=");
2003 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 2392 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
2004 } 2393 }
2005 } 2394 }
2006 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
2007 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 2395 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
2008 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en)); 2396 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
2397 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
2009 2398
2010 2399
2011 var h = { 2400 var h = {
2012 "content-type" : "application/json; charset=utf-8", 2401 "content-type" : "application/json; charset=utf-8",
2013 }; 2402 };
2014 var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsRespo nse()); 2403 var resp = convert.JSON.encode(buildGoogleLongrunningListOperationsRespo nse());
2015 return new async.Future.value(stringResponse(200, h, resp)); 2404 return new async.Future.value(stringResponse(200, h, resp));
2016 }), true); 2405 }), true);
2017 res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsR esponse response) { 2406 res.list(arg_name, filter: arg_filter, pageToken: arg_pageToken, pageSize: arg_pageSize).then(unittest.expectAsync1(((api.GoogleLongrunningListOperationsR esponse response) {
2018 checkGoogleLongrunningListOperationsResponse(response); 2407 checkGoogleLongrunningListOperationsResponse(response);
2019 }))); 2408 })));
2020 }); 2409 });
2021 2410
2022 }); 2411 });
2023 2412
2024 2413
2025 unittest.group("resource-InspectResultsFindingsResourceApi", () { 2414 unittest.group("resource-InspectResultsFindingsResourceApi", () {
2026 unittest.test("method--list", () { 2415 unittest.test("method--list", () {
2027 2416
2028 var mock = new HttpServerMock(); 2417 var mock = new HttpServerMock();
2029 api.InspectResultsFindingsResourceApi res = new api.DlpApi(mock).inspect.r esults.findings; 2418 api.InspectResultsFindingsResourceApi res = new api.DlpApi(mock).inspect.r esults.findings;
2030 var arg_name = "foo"; 2419 var arg_name = "foo";
2420 var arg_pageToken = "foo";
2031 var arg_pageSize = 42; 2421 var arg_pageSize = 42;
2032 var arg_filter = "foo"; 2422 var arg_filter = "foo";
2033 var arg_pageToken = "foo";
2034 mock.register(unittest.expectAsync2((http.BaseRequest req, json) { 2423 mock.register(unittest.expectAsync2((http.BaseRequest req, json) {
2035 var path = (req.url).path; 2424 var path = (req.url).path;
2036 var pathOffset = 0; 2425 var pathOffset = 0;
2037 var index; 2426 var index;
2038 var subPart; 2427 var subPart;
2039 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/")); 2428 unittest.expect(path.substring(pathOffset, pathOffset + 1), unittest.equ als("/"));
2040 pathOffset += 1; 2429 pathOffset += 1;
2041 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v2beta1/")); 2430 unittest.expect(path.substring(pathOffset, pathOffset + 8), unittest.equ als("v2beta1/"));
2042 pathOffset += 8; 2431 pathOffset += 8;
2043 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation; 2432 // NOTE: We cannot test reserved expansions due to the inability to reve rse the operation;
2044 2433
2045 var query = (req.url).query; 2434 var query = (req.url).query;
2046 var queryOffset = 0; 2435 var queryOffset = 0;
2047 var queryMap = {}; 2436 var queryMap = {};
2048 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v); 2437 addQueryParam(n, v) => queryMap.putIfAbsent(n, () => []).add(v);
2049 parseBool(n) { 2438 parseBool(n) {
2050 if (n == "true") return true; 2439 if (n == "true") return true;
2051 if (n == "false") return false; 2440 if (n == "false") return false;
2052 if (n == null) return null; 2441 if (n == null) return null;
2053 throw new core.ArgumentError("Invalid boolean: $n"); 2442 throw new core.ArgumentError("Invalid boolean: $n");
2054 } 2443 }
2055 if (query.length > 0) { 2444 if (query.length > 0) {
2056 for (var part in query.split("&")) { 2445 for (var part in query.split("&")) {
2057 var keyvalue = part.split("="); 2446 var keyvalue = part.split("=");
2058 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1])); 2447 addQueryParam(core.Uri.decodeQueryComponent(keyvalue[0]), core.Uri.d ecodeQueryComponent(keyvalue[1]));
2059 } 2448 }
2060 } 2449 }
2450 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
2061 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize)); 2451 unittest.expect(core.int.parse(queryMap["pageSize"].first), unittest.equ als(arg_pageSize));
2062 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter)); 2452 unittest.expect(queryMap["filter"].first, unittest.equals(arg_filter));
2063 unittest.expect(queryMap["pageToken"].first, unittest.equals(arg_pageTok en));
2064 2453
2065 2454
2066 var h = { 2455 var h = {
2067 "content-type" : "application/json; charset=utf-8", 2456 "content-type" : "application/json; charset=utf-8",
2068 }; 2457 };
2069 var resp = convert.JSON.encode(buildGooglePrivacyDlpV2beta1ListInspectFi ndingsResponse()); 2458 var resp = convert.JSON.encode(buildGooglePrivacyDlpV2beta1ListInspectFi ndingsResponse());
2070 return new async.Future.value(stringResponse(200, h, resp)); 2459 return new async.Future.value(stringResponse(200, h, resp));
2071 }), true); 2460 }), true);
2072 res.list(arg_name, pageSize: arg_pageSize, filter: arg_filter, pageToken: arg_pageToken).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspe ctFindingsResponse response) { 2461 res.list(arg_name, pageToken: arg_pageToken, pageSize: arg_pageSize, filte r: arg_filter).then(unittest.expectAsync1(((api.GooglePrivacyDlpV2beta1ListInspe ctFindingsResponse response) {
2073 checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(response); 2462 checkGooglePrivacyDlpV2beta1ListInspectFindingsResponse(response);
2074 }))); 2463 })));
2075 }); 2464 });
2076 2465
2077 }); 2466 });
2078 2467
2079 2468
2080 unittest.group("resource-RootCategoriesResourceApi", () { 2469 unittest.group("resource-RootCategoriesResourceApi", () {
2081 unittest.test("method--list", () { 2470 unittest.test("method--list", () {
2082 2471
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
2172 res.list(arg_category, languageCode: arg_languageCode).then(unittest.expec tAsync1(((api.GooglePrivacyDlpV2beta1ListInfoTypesResponse response) { 2561 res.list(arg_category, languageCode: arg_languageCode).then(unittest.expec tAsync1(((api.GooglePrivacyDlpV2beta1ListInfoTypesResponse response) {
2173 checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(response); 2562 checkGooglePrivacyDlpV2beta1ListInfoTypesResponse(response);
2174 }))); 2563 })));
2175 }); 2564 });
2176 2565
2177 }); 2566 });
2178 2567
2179 2568
2180 } 2569 }
2181 2570
OLDNEW
« no previous file with comments | « generated/googleapis_beta/test/dataflow/v1b3_test.dart ('k') | generated/googleapis_beta/test/dns/v2beta1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698