OLD | NEW |
1 library googleapis_beta.cloudresourcemanager.v1beta1.test; | 1 library googleapis_beta.cloudresourcemanager.v1beta1.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:unittest/unittest.dart' as unittest; | 10 import 'package:unittest/unittest.dart' as unittest; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 checkAncestor(api.Ancestor o) { | 65 checkAncestor(api.Ancestor o) { |
66 buildCounterAncestor++; | 66 buildCounterAncestor++; |
67 if (buildCounterAncestor < 3) { | 67 if (buildCounterAncestor < 3) { |
68 checkResourceId(o.resourceId); | 68 checkResourceId(o.resourceId); |
69 } | 69 } |
70 buildCounterAncestor--; | 70 buildCounterAncestor--; |
71 } | 71 } |
72 | 72 |
73 buildUnnamed3036() { | 73 buildUnnamed3585() { |
74 var o = new core.List<core.String>(); | 74 var o = new core.List<core.String>(); |
75 o.add("foo"); | 75 o.add("foo"); |
76 o.add("foo"); | 76 o.add("foo"); |
77 return o; | 77 return o; |
78 } | 78 } |
79 | 79 |
80 checkUnnamed3036(core.List<core.String> o) { | 80 checkUnnamed3585(core.List<core.String> o) { |
81 unittest.expect(o, unittest.hasLength(2)); | 81 unittest.expect(o, unittest.hasLength(2)); |
82 unittest.expect(o[0], unittest.equals('foo')); | 82 unittest.expect(o[0], unittest.equals('foo')); |
83 unittest.expect(o[1], unittest.equals('foo')); | 83 unittest.expect(o[1], unittest.equals('foo')); |
84 } | 84 } |
85 | 85 |
86 core.int buildCounterBinding = 0; | 86 core.int buildCounterBinding = 0; |
87 buildBinding() { | 87 buildBinding() { |
88 var o = new api.Binding(); | 88 var o = new api.Binding(); |
89 buildCounterBinding++; | 89 buildCounterBinding++; |
90 if (buildCounterBinding < 3) { | 90 if (buildCounterBinding < 3) { |
91 o.members = buildUnnamed3036(); | 91 o.members = buildUnnamed3585(); |
92 o.role = "foo"; | 92 o.role = "foo"; |
93 } | 93 } |
94 buildCounterBinding--; | 94 buildCounterBinding--; |
95 return o; | 95 return o; |
96 } | 96 } |
97 | 97 |
98 checkBinding(api.Binding o) { | 98 checkBinding(api.Binding o) { |
99 buildCounterBinding++; | 99 buildCounterBinding++; |
100 if (buildCounterBinding < 3) { | 100 if (buildCounterBinding < 3) { |
101 checkUnnamed3036(o.members); | 101 checkUnnamed3585(o.members); |
102 unittest.expect(o.role, unittest.equals('foo')); | 102 unittest.expect(o.role, unittest.equals('foo')); |
103 } | 103 } |
104 buildCounterBinding--; | 104 buildCounterBinding--; |
105 } | 105 } |
106 | 106 |
107 core.int buildCounterEmpty = 0; | 107 core.int buildCounterEmpty = 0; |
108 buildEmpty() { | 108 buildEmpty() { |
109 var o = new api.Empty(); | 109 var o = new api.Empty(); |
110 buildCounterEmpty++; | 110 buildCounterEmpty++; |
111 if (buildCounterEmpty < 3) { | 111 if (buildCounterEmpty < 3) { |
(...skipping 19 matching lines...) Expand all Loading... |
131 return o; | 131 return o; |
132 } | 132 } |
133 | 133 |
134 checkGetAncestryRequest(api.GetAncestryRequest o) { | 134 checkGetAncestryRequest(api.GetAncestryRequest o) { |
135 buildCounterGetAncestryRequest++; | 135 buildCounterGetAncestryRequest++; |
136 if (buildCounterGetAncestryRequest < 3) { | 136 if (buildCounterGetAncestryRequest < 3) { |
137 } | 137 } |
138 buildCounterGetAncestryRequest--; | 138 buildCounterGetAncestryRequest--; |
139 } | 139 } |
140 | 140 |
141 buildUnnamed3037() { | 141 buildUnnamed3586() { |
142 var o = new core.List<api.Ancestor>(); | 142 var o = new core.List<api.Ancestor>(); |
143 o.add(buildAncestor()); | 143 o.add(buildAncestor()); |
144 o.add(buildAncestor()); | 144 o.add(buildAncestor()); |
145 return o; | 145 return o; |
146 } | 146 } |
147 | 147 |
148 checkUnnamed3037(core.List<api.Ancestor> o) { | 148 checkUnnamed3586(core.List<api.Ancestor> o) { |
149 unittest.expect(o, unittest.hasLength(2)); | 149 unittest.expect(o, unittest.hasLength(2)); |
150 checkAncestor(o[0]); | 150 checkAncestor(o[0]); |
151 checkAncestor(o[1]); | 151 checkAncestor(o[1]); |
152 } | 152 } |
153 | 153 |
154 core.int buildCounterGetAncestryResponse = 0; | 154 core.int buildCounterGetAncestryResponse = 0; |
155 buildGetAncestryResponse() { | 155 buildGetAncestryResponse() { |
156 var o = new api.GetAncestryResponse(); | 156 var o = new api.GetAncestryResponse(); |
157 buildCounterGetAncestryResponse++; | 157 buildCounterGetAncestryResponse++; |
158 if (buildCounterGetAncestryResponse < 3) { | 158 if (buildCounterGetAncestryResponse < 3) { |
159 o.ancestor = buildUnnamed3037(); | 159 o.ancestor = buildUnnamed3586(); |
160 } | 160 } |
161 buildCounterGetAncestryResponse--; | 161 buildCounterGetAncestryResponse--; |
162 return o; | 162 return o; |
163 } | 163 } |
164 | 164 |
165 checkGetAncestryResponse(api.GetAncestryResponse o) { | 165 checkGetAncestryResponse(api.GetAncestryResponse o) { |
166 buildCounterGetAncestryResponse++; | 166 buildCounterGetAncestryResponse++; |
167 if (buildCounterGetAncestryResponse < 3) { | 167 if (buildCounterGetAncestryResponse < 3) { |
168 checkUnnamed3037(o.ancestor); | 168 checkUnnamed3586(o.ancestor); |
169 } | 169 } |
170 buildCounterGetAncestryResponse--; | 170 buildCounterGetAncestryResponse--; |
171 } | 171 } |
172 | 172 |
173 core.int buildCounterGetIamPolicyRequest = 0; | 173 core.int buildCounterGetIamPolicyRequest = 0; |
174 buildGetIamPolicyRequest() { | 174 buildGetIamPolicyRequest() { |
175 var o = new api.GetIamPolicyRequest(); | 175 var o = new api.GetIamPolicyRequest(); |
176 buildCounterGetIamPolicyRequest++; | 176 buildCounterGetIamPolicyRequest++; |
177 if (buildCounterGetIamPolicyRequest < 3) { | 177 if (buildCounterGetIamPolicyRequest < 3) { |
178 } | 178 } |
179 buildCounterGetIamPolicyRequest--; | 179 buildCounterGetIamPolicyRequest--; |
180 return o; | 180 return o; |
181 } | 181 } |
182 | 182 |
183 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { | 183 checkGetIamPolicyRequest(api.GetIamPolicyRequest o) { |
184 buildCounterGetIamPolicyRequest++; | 184 buildCounterGetIamPolicyRequest++; |
185 if (buildCounterGetIamPolicyRequest < 3) { | 185 if (buildCounterGetIamPolicyRequest < 3) { |
186 } | 186 } |
187 buildCounterGetIamPolicyRequest--; | 187 buildCounterGetIamPolicyRequest--; |
188 } | 188 } |
189 | 189 |
190 buildUnnamed3038() { | 190 buildUnnamed3587() { |
191 var o = new core.List<api.Organization>(); | 191 var o = new core.List<api.Organization>(); |
192 o.add(buildOrganization()); | 192 o.add(buildOrganization()); |
193 o.add(buildOrganization()); | 193 o.add(buildOrganization()); |
194 return o; | 194 return o; |
195 } | 195 } |
196 | 196 |
197 checkUnnamed3038(core.List<api.Organization> o) { | 197 checkUnnamed3587(core.List<api.Organization> o) { |
198 unittest.expect(o, unittest.hasLength(2)); | 198 unittest.expect(o, unittest.hasLength(2)); |
199 checkOrganization(o[0]); | 199 checkOrganization(o[0]); |
200 checkOrganization(o[1]); | 200 checkOrganization(o[1]); |
201 } | 201 } |
202 | 202 |
203 core.int buildCounterListOrganizationsResponse = 0; | 203 core.int buildCounterListOrganizationsResponse = 0; |
204 buildListOrganizationsResponse() { | 204 buildListOrganizationsResponse() { |
205 var o = new api.ListOrganizationsResponse(); | 205 var o = new api.ListOrganizationsResponse(); |
206 buildCounterListOrganizationsResponse++; | 206 buildCounterListOrganizationsResponse++; |
207 if (buildCounterListOrganizationsResponse < 3) { | 207 if (buildCounterListOrganizationsResponse < 3) { |
208 o.nextPageToken = "foo"; | 208 o.nextPageToken = "foo"; |
209 o.organizations = buildUnnamed3038(); | 209 o.organizations = buildUnnamed3587(); |
210 } | 210 } |
211 buildCounterListOrganizationsResponse--; | 211 buildCounterListOrganizationsResponse--; |
212 return o; | 212 return o; |
213 } | 213 } |
214 | 214 |
215 checkListOrganizationsResponse(api.ListOrganizationsResponse o) { | 215 checkListOrganizationsResponse(api.ListOrganizationsResponse o) { |
216 buildCounterListOrganizationsResponse++; | 216 buildCounterListOrganizationsResponse++; |
217 if (buildCounterListOrganizationsResponse < 3) { | 217 if (buildCounterListOrganizationsResponse < 3) { |
218 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 218 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
219 checkUnnamed3038(o.organizations); | 219 checkUnnamed3587(o.organizations); |
220 } | 220 } |
221 buildCounterListOrganizationsResponse--; | 221 buildCounterListOrganizationsResponse--; |
222 } | 222 } |
223 | 223 |
224 buildUnnamed3039() { | 224 buildUnnamed3588() { |
225 var o = new core.List<api.Project>(); | 225 var o = new core.List<api.Project>(); |
226 o.add(buildProject()); | 226 o.add(buildProject()); |
227 o.add(buildProject()); | 227 o.add(buildProject()); |
228 return o; | 228 return o; |
229 } | 229 } |
230 | 230 |
231 checkUnnamed3039(core.List<api.Project> o) { | 231 checkUnnamed3588(core.List<api.Project> o) { |
232 unittest.expect(o, unittest.hasLength(2)); | 232 unittest.expect(o, unittest.hasLength(2)); |
233 checkProject(o[0]); | 233 checkProject(o[0]); |
234 checkProject(o[1]); | 234 checkProject(o[1]); |
235 } | 235 } |
236 | 236 |
237 core.int buildCounterListProjectsResponse = 0; | 237 core.int buildCounterListProjectsResponse = 0; |
238 buildListProjectsResponse() { | 238 buildListProjectsResponse() { |
239 var o = new api.ListProjectsResponse(); | 239 var o = new api.ListProjectsResponse(); |
240 buildCounterListProjectsResponse++; | 240 buildCounterListProjectsResponse++; |
241 if (buildCounterListProjectsResponse < 3) { | 241 if (buildCounterListProjectsResponse < 3) { |
242 o.nextPageToken = "foo"; | 242 o.nextPageToken = "foo"; |
243 o.projects = buildUnnamed3039(); | 243 o.projects = buildUnnamed3588(); |
244 } | 244 } |
245 buildCounterListProjectsResponse--; | 245 buildCounterListProjectsResponse--; |
246 return o; | 246 return o; |
247 } | 247 } |
248 | 248 |
249 checkListProjectsResponse(api.ListProjectsResponse o) { | 249 checkListProjectsResponse(api.ListProjectsResponse o) { |
250 buildCounterListProjectsResponse++; | 250 buildCounterListProjectsResponse++; |
251 if (buildCounterListProjectsResponse < 3) { | 251 if (buildCounterListProjectsResponse < 3) { |
252 unittest.expect(o.nextPageToken, unittest.equals('foo')); | 252 unittest.expect(o.nextPageToken, unittest.equals('foo')); |
253 checkUnnamed3039(o.projects); | 253 checkUnnamed3588(o.projects); |
254 } | 254 } |
255 buildCounterListProjectsResponse--; | 255 buildCounterListProjectsResponse--; |
256 } | 256 } |
257 | 257 |
258 core.int buildCounterOrganization = 0; | 258 core.int buildCounterOrganization = 0; |
259 buildOrganization() { | 259 buildOrganization() { |
260 var o = new api.Organization(); | 260 var o = new api.Organization(); |
261 buildCounterOrganization++; | 261 buildCounterOrganization++; |
262 if (buildCounterOrganization < 3) { | 262 if (buildCounterOrganization < 3) { |
263 o.creationTime = "foo"; | 263 o.creationTime = "foo"; |
(...skipping 28 matching lines...) Expand all Loading... |
292 } | 292 } |
293 | 293 |
294 checkOrganizationOwner(api.OrganizationOwner o) { | 294 checkOrganizationOwner(api.OrganizationOwner o) { |
295 buildCounterOrganizationOwner++; | 295 buildCounterOrganizationOwner++; |
296 if (buildCounterOrganizationOwner < 3) { | 296 if (buildCounterOrganizationOwner < 3) { |
297 unittest.expect(o.directoryCustomerId, unittest.equals('foo')); | 297 unittest.expect(o.directoryCustomerId, unittest.equals('foo')); |
298 } | 298 } |
299 buildCounterOrganizationOwner--; | 299 buildCounterOrganizationOwner--; |
300 } | 300 } |
301 | 301 |
302 buildUnnamed3040() { | 302 buildUnnamed3589() { |
303 var o = new core.List<api.Binding>(); | 303 var o = new core.List<api.Binding>(); |
304 o.add(buildBinding()); | 304 o.add(buildBinding()); |
305 o.add(buildBinding()); | 305 o.add(buildBinding()); |
306 return o; | 306 return o; |
307 } | 307 } |
308 | 308 |
309 checkUnnamed3040(core.List<api.Binding> o) { | 309 checkUnnamed3589(core.List<api.Binding> o) { |
310 unittest.expect(o, unittest.hasLength(2)); | 310 unittest.expect(o, unittest.hasLength(2)); |
311 checkBinding(o[0]); | 311 checkBinding(o[0]); |
312 checkBinding(o[1]); | 312 checkBinding(o[1]); |
313 } | 313 } |
314 | 314 |
315 core.int buildCounterPolicy = 0; | 315 core.int buildCounterPolicy = 0; |
316 buildPolicy() { | 316 buildPolicy() { |
317 var o = new api.Policy(); | 317 var o = new api.Policy(); |
318 buildCounterPolicy++; | 318 buildCounterPolicy++; |
319 if (buildCounterPolicy < 3) { | 319 if (buildCounterPolicy < 3) { |
320 o.bindings = buildUnnamed3040(); | 320 o.bindings = buildUnnamed3589(); |
321 o.etag = "foo"; | 321 o.etag = "foo"; |
322 o.version = 42; | 322 o.version = 42; |
323 } | 323 } |
324 buildCounterPolicy--; | 324 buildCounterPolicy--; |
325 return o; | 325 return o; |
326 } | 326 } |
327 | 327 |
328 checkPolicy(api.Policy o) { | 328 checkPolicy(api.Policy o) { |
329 buildCounterPolicy++; | 329 buildCounterPolicy++; |
330 if (buildCounterPolicy < 3) { | 330 if (buildCounterPolicy < 3) { |
331 checkUnnamed3040(o.bindings); | 331 checkUnnamed3589(o.bindings); |
332 unittest.expect(o.etag, unittest.equals('foo')); | 332 unittest.expect(o.etag, unittest.equals('foo')); |
333 unittest.expect(o.version, unittest.equals(42)); | 333 unittest.expect(o.version, unittest.equals(42)); |
334 } | 334 } |
335 buildCounterPolicy--; | 335 buildCounterPolicy--; |
336 } | 336 } |
337 | 337 |
338 buildUnnamed3041() { | 338 buildUnnamed3590() { |
339 var o = new core.Map<core.String, core.String>(); | 339 var o = new core.Map<core.String, core.String>(); |
340 o["x"] = "foo"; | 340 o["x"] = "foo"; |
341 o["y"] = "foo"; | 341 o["y"] = "foo"; |
342 return o; | 342 return o; |
343 } | 343 } |
344 | 344 |
345 checkUnnamed3041(core.Map<core.String, core.String> o) { | 345 checkUnnamed3590(core.Map<core.String, core.String> o) { |
346 unittest.expect(o, unittest.hasLength(2)); | 346 unittest.expect(o, unittest.hasLength(2)); |
347 unittest.expect(o["x"], unittest.equals('foo')); | 347 unittest.expect(o["x"], unittest.equals('foo')); |
348 unittest.expect(o["y"], unittest.equals('foo')); | 348 unittest.expect(o["y"], unittest.equals('foo')); |
349 } | 349 } |
350 | 350 |
351 core.int buildCounterProject = 0; | 351 core.int buildCounterProject = 0; |
352 buildProject() { | 352 buildProject() { |
353 var o = new api.Project(); | 353 var o = new api.Project(); |
354 buildCounterProject++; | 354 buildCounterProject++; |
355 if (buildCounterProject < 3) { | 355 if (buildCounterProject < 3) { |
356 o.createTime = "foo"; | 356 o.createTime = "foo"; |
357 o.labels = buildUnnamed3041(); | 357 o.labels = buildUnnamed3590(); |
358 o.lifecycleState = "foo"; | 358 o.lifecycleState = "foo"; |
359 o.name = "foo"; | 359 o.name = "foo"; |
360 o.parent = buildResourceId(); | 360 o.parent = buildResourceId(); |
361 o.projectId = "foo"; | 361 o.projectId = "foo"; |
362 o.projectNumber = "foo"; | 362 o.projectNumber = "foo"; |
363 } | 363 } |
364 buildCounterProject--; | 364 buildCounterProject--; |
365 return o; | 365 return o; |
366 } | 366 } |
367 | 367 |
368 checkProject(api.Project o) { | 368 checkProject(api.Project o) { |
369 buildCounterProject++; | 369 buildCounterProject++; |
370 if (buildCounterProject < 3) { | 370 if (buildCounterProject < 3) { |
371 unittest.expect(o.createTime, unittest.equals('foo')); | 371 unittest.expect(o.createTime, unittest.equals('foo')); |
372 checkUnnamed3041(o.labels); | 372 checkUnnamed3590(o.labels); |
373 unittest.expect(o.lifecycleState, unittest.equals('foo')); | 373 unittest.expect(o.lifecycleState, unittest.equals('foo')); |
374 unittest.expect(o.name, unittest.equals('foo')); | 374 unittest.expect(o.name, unittest.equals('foo')); |
375 checkResourceId(o.parent); | 375 checkResourceId(o.parent); |
376 unittest.expect(o.projectId, unittest.equals('foo')); | 376 unittest.expect(o.projectId, unittest.equals('foo')); |
377 unittest.expect(o.projectNumber, unittest.equals('foo')); | 377 unittest.expect(o.projectNumber, unittest.equals('foo')); |
378 } | 378 } |
379 buildCounterProject--; | 379 buildCounterProject--; |
380 } | 380 } |
381 | 381 |
382 core.int buildCounterResourceId = 0; | 382 core.int buildCounterResourceId = 0; |
(...skipping 29 matching lines...) Expand all Loading... |
412 } | 412 } |
413 | 413 |
414 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { | 414 checkSetIamPolicyRequest(api.SetIamPolicyRequest o) { |
415 buildCounterSetIamPolicyRequest++; | 415 buildCounterSetIamPolicyRequest++; |
416 if (buildCounterSetIamPolicyRequest < 3) { | 416 if (buildCounterSetIamPolicyRequest < 3) { |
417 checkPolicy(o.policy); | 417 checkPolicy(o.policy); |
418 } | 418 } |
419 buildCounterSetIamPolicyRequest--; | 419 buildCounterSetIamPolicyRequest--; |
420 } | 420 } |
421 | 421 |
422 buildUnnamed3042() { | 422 buildUnnamed3591() { |
423 var o = new core.List<core.String>(); | 423 var o = new core.List<core.String>(); |
424 o.add("foo"); | 424 o.add("foo"); |
425 o.add("foo"); | 425 o.add("foo"); |
426 return o; | 426 return o; |
427 } | 427 } |
428 | 428 |
429 checkUnnamed3042(core.List<core.String> o) { | 429 checkUnnamed3591(core.List<core.String> o) { |
430 unittest.expect(o, unittest.hasLength(2)); | 430 unittest.expect(o, unittest.hasLength(2)); |
431 unittest.expect(o[0], unittest.equals('foo')); | 431 unittest.expect(o[0], unittest.equals('foo')); |
432 unittest.expect(o[1], unittest.equals('foo')); | 432 unittest.expect(o[1], unittest.equals('foo')); |
433 } | 433 } |
434 | 434 |
435 core.int buildCounterTestIamPermissionsRequest = 0; | 435 core.int buildCounterTestIamPermissionsRequest = 0; |
436 buildTestIamPermissionsRequest() { | 436 buildTestIamPermissionsRequest() { |
437 var o = new api.TestIamPermissionsRequest(); | 437 var o = new api.TestIamPermissionsRequest(); |
438 buildCounterTestIamPermissionsRequest++; | 438 buildCounterTestIamPermissionsRequest++; |
439 if (buildCounterTestIamPermissionsRequest < 3) { | 439 if (buildCounterTestIamPermissionsRequest < 3) { |
440 o.permissions = buildUnnamed3042(); | 440 o.permissions = buildUnnamed3591(); |
441 } | 441 } |
442 buildCounterTestIamPermissionsRequest--; | 442 buildCounterTestIamPermissionsRequest--; |
443 return o; | 443 return o; |
444 } | 444 } |
445 | 445 |
446 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { | 446 checkTestIamPermissionsRequest(api.TestIamPermissionsRequest o) { |
447 buildCounterTestIamPermissionsRequest++; | 447 buildCounterTestIamPermissionsRequest++; |
448 if (buildCounterTestIamPermissionsRequest < 3) { | 448 if (buildCounterTestIamPermissionsRequest < 3) { |
449 checkUnnamed3042(o.permissions); | 449 checkUnnamed3591(o.permissions); |
450 } | 450 } |
451 buildCounterTestIamPermissionsRequest--; | 451 buildCounterTestIamPermissionsRequest--; |
452 } | 452 } |
453 | 453 |
454 buildUnnamed3043() { | 454 buildUnnamed3592() { |
455 var o = new core.List<core.String>(); | 455 var o = new core.List<core.String>(); |
456 o.add("foo"); | 456 o.add("foo"); |
457 o.add("foo"); | 457 o.add("foo"); |
458 return o; | 458 return o; |
459 } | 459 } |
460 | 460 |
461 checkUnnamed3043(core.List<core.String> o) { | 461 checkUnnamed3592(core.List<core.String> o) { |
462 unittest.expect(o, unittest.hasLength(2)); | 462 unittest.expect(o, unittest.hasLength(2)); |
463 unittest.expect(o[0], unittest.equals('foo')); | 463 unittest.expect(o[0], unittest.equals('foo')); |
464 unittest.expect(o[1], unittest.equals('foo')); | 464 unittest.expect(o[1], unittest.equals('foo')); |
465 } | 465 } |
466 | 466 |
467 core.int buildCounterTestIamPermissionsResponse = 0; | 467 core.int buildCounterTestIamPermissionsResponse = 0; |
468 buildTestIamPermissionsResponse() { | 468 buildTestIamPermissionsResponse() { |
469 var o = new api.TestIamPermissionsResponse(); | 469 var o = new api.TestIamPermissionsResponse(); |
470 buildCounterTestIamPermissionsResponse++; | 470 buildCounterTestIamPermissionsResponse++; |
471 if (buildCounterTestIamPermissionsResponse < 3) { | 471 if (buildCounterTestIamPermissionsResponse < 3) { |
472 o.permissions = buildUnnamed3043(); | 472 o.permissions = buildUnnamed3592(); |
473 } | 473 } |
474 buildCounterTestIamPermissionsResponse--; | 474 buildCounterTestIamPermissionsResponse--; |
475 return o; | 475 return o; |
476 } | 476 } |
477 | 477 |
478 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { | 478 checkTestIamPermissionsResponse(api.TestIamPermissionsResponse o) { |
479 buildCounterTestIamPermissionsResponse++; | 479 buildCounterTestIamPermissionsResponse++; |
480 if (buildCounterTestIamPermissionsResponse < 3) { | 480 if (buildCounterTestIamPermissionsResponse < 3) { |
481 checkUnnamed3043(o.permissions); | 481 checkUnnamed3592(o.permissions); |
482 } | 482 } |
483 buildCounterTestIamPermissionsResponse--; | 483 buildCounterTestIamPermissionsResponse--; |
484 } | 484 } |
485 | 485 |
486 core.int buildCounterUndeleteProjectRequest = 0; | 486 core.int buildCounterUndeleteProjectRequest = 0; |
487 buildUndeleteProjectRequest() { | 487 buildUndeleteProjectRequest() { |
488 var o = new api.UndeleteProjectRequest(); | 488 var o = new api.UndeleteProjectRequest(); |
489 buildCounterUndeleteProjectRequest++; | 489 buildCounterUndeleteProjectRequest++; |
490 if (buildCounterUndeleteProjectRequest < 3) { | 490 if (buildCounterUndeleteProjectRequest < 3) { |
491 } | 491 } |
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1486 res.update(arg_request, arg_projectId).then(unittest.expectAsync(((api.Pro
ject response) { | 1486 res.update(arg_request, arg_projectId).then(unittest.expectAsync(((api.Pro
ject response) { |
1487 checkProject(response); | 1487 checkProject(response); |
1488 }))); | 1488 }))); |
1489 }); | 1489 }); |
1490 | 1490 |
1491 }); | 1491 }); |
1492 | 1492 |
1493 | 1493 |
1494 } | 1494 } |
1495 | 1495 |
OLD | NEW |