@maxim_mazurok/gapi.client.firestore-v1 0.0.20220715

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tests.ts ADDED
@@ -0,0 +1,1583 @@
1
+ /* This is stub file for gapi.client.firestore-v1 definition tests */
2
+ // IMPORTANT
3
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
+
6
+ // Revision: 20220715
7
+
8
+ gapi.load('client', async () => {
9
+ /** now we can use gapi.client */
10
+
11
+ await gapi.client.load('https://firestore.googleapis.com/$discovery/rest?version=v1');
12
+ /** now we can use gapi.client.firestore */
13
+
14
+ /** don't forget to authenticate your client before sending any request to resources: */
15
+ /** declare client_id registered in Google Developers Console */
16
+ const client_id = '<<PUT YOUR CLIENT ID HERE>>';
17
+ const scope = [
18
+ /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */
19
+ 'https://www.googleapis.com/auth/cloud-platform',
20
+ /** View and manage your Google Cloud Datastore data */
21
+ 'https://www.googleapis.com/auth/datastore',
22
+ ];
23
+ const immediate = false;
24
+ gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
25
+ if (authResult && !authResult.error) {
26
+ /** handle successful authorization */
27
+ run();
28
+ } else {
29
+ /** handle authorization error */
30
+ }
31
+ });
32
+
33
+ async function run() {
34
+ /** Create a database. */
35
+ await gapi.client.firestore.projects.databases.create({
36
+ databaseId: "Test string",
37
+ parent: "Test string",
38
+ }, {
39
+ appEngineIntegrationMode: "Test string",
40
+ concurrencyMode: "Test string",
41
+ etag: "Test string",
42
+ keyPrefix: "Test string",
43
+ locationId: "Test string",
44
+ name: "Test string",
45
+ type: "Test string",
46
+ });
47
+ /**
48
+ * Exports a copy of all or a subset of documents from Google Cloud Firestore to another storage system, such as Google Cloud Storage. Recent updates to documents may not be reflected in
49
+ * the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once
50
+ * the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. For more details on export behavior and
51
+ * output format, refer to: https://cloud.google.com/firestore/docs/manage-data/export-import
52
+ */
53
+ await gapi.client.firestore.projects.databases.exportDocuments({
54
+ name: "Test string",
55
+ }, {
56
+ collectionIds: [
57
+ "Test string"
58
+ ],
59
+ outputUriPrefix: "Test string",
60
+ });
61
+ /** Gets information about a database. */
62
+ await gapi.client.firestore.projects.databases.get({
63
+ name: "Test string",
64
+ });
65
+ /**
66
+ * Imports documents into Google Cloud Firestore. Existing documents with the same name are overwritten. The import occurs in the background and its progress can be monitored and managed
67
+ * via the Operation resource that is created. If an ImportDocuments operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Firestore.
68
+ */
69
+ await gapi.client.firestore.projects.databases.importDocuments({
70
+ name: "Test string",
71
+ }, {
72
+ collectionIds: [
73
+ "Test string"
74
+ ],
75
+ inputUriPrefix: "Test string",
76
+ });
77
+ /** List all the databases in the project. */
78
+ await gapi.client.firestore.projects.databases.list({
79
+ parent: "Test string",
80
+ });
81
+ /** Updates a database. */
82
+ await gapi.client.firestore.projects.databases.patch({
83
+ name: "Test string",
84
+ updateMask: "Test string",
85
+ }, {
86
+ appEngineIntegrationMode: "Test string",
87
+ concurrencyMode: "Test string",
88
+ etag: "Test string",
89
+ keyPrefix: "Test string",
90
+ locationId: "Test string",
91
+ name: "Test string",
92
+ type: "Test string",
93
+ });
94
+ /** Gets the metadata and configuration for a Field. */
95
+ await gapi.client.firestore.projects.databases.collectionGroups.fields.get({
96
+ name: "Test string",
97
+ });
98
+ /**
99
+ * Lists the field configuration and metadata for this database. Currently, FirestoreAdmin.ListFields only supports listing fields that have been explicitly overridden. To issue this
100
+ * query, call FirestoreAdmin.ListFields with the filter set to `indexConfig.usesAncestorConfig:false` .
101
+ */
102
+ await gapi.client.firestore.projects.databases.collectionGroups.fields.list({
103
+ filter: "Test string",
104
+ pageSize: 42,
105
+ pageToken: "Test string",
106
+ parent: "Test string",
107
+ });
108
+ /**
109
+ * Updates a field configuration. Currently, field updates apply only to single field index configuration. However, calls to FirestoreAdmin.UpdateField should provide a field mask to avoid
110
+ * changing any configuration that the caller isn't aware of. The field mask should be specified as: `{ paths: "index_config" }`. This call returns a google.longrunning.Operation which may
111
+ * be used to track the status of the field update. The metadata for the operation will be the type FieldOperationMetadata. To configure the default field settings for the database, use
112
+ * the special `Field` with resource name: `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
113
+ */
114
+ await gapi.client.firestore.projects.databases.collectionGroups.fields.patch({
115
+ name: "Test string",
116
+ updateMask: "Test string",
117
+ }, {
118
+ indexConfig: {
119
+ ancestorField: "Test string",
120
+ indexes: [
121
+ {
122
+ fields: [
123
+ {
124
+ arrayConfig: "Test string",
125
+ fieldPath: "Test string",
126
+ order: "Test string",
127
+ }
128
+ ],
129
+ name: "Test string",
130
+ queryScope: "Test string",
131
+ state: "Test string",
132
+ }
133
+ ],
134
+ reverting: true,
135
+ usesAncestorConfig: true,
136
+ },
137
+ name: "Test string",
138
+ ttlConfig: {
139
+ state: "Test string",
140
+ },
141
+ });
142
+ /**
143
+ * Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type
144
+ * IndexOperationMetadata.
145
+ */
146
+ await gapi.client.firestore.projects.databases.collectionGroups.indexes.create({
147
+ parent: "Test string",
148
+ }, {
149
+ fields: [
150
+ {
151
+ arrayConfig: "Test string",
152
+ fieldPath: "Test string",
153
+ order: "Test string",
154
+ }
155
+ ],
156
+ name: "Test string",
157
+ queryScope: "Test string",
158
+ state: "Test string",
159
+ });
160
+ /** Deletes a composite index. */
161
+ await gapi.client.firestore.projects.databases.collectionGroups.indexes.delete({
162
+ name: "Test string",
163
+ });
164
+ /** Gets a composite index. */
165
+ await gapi.client.firestore.projects.databases.collectionGroups.indexes.get({
166
+ name: "Test string",
167
+ });
168
+ /** Lists composite indexes. */
169
+ await gapi.client.firestore.projects.databases.collectionGroups.indexes.list({
170
+ filter: "Test string",
171
+ pageSize: 42,
172
+ pageToken: "Test string",
173
+ parent: "Test string",
174
+ });
175
+ /** Gets multiple documents. Documents returned by this method are not guaranteed to be returned in the same order that they were requested. */
176
+ await gapi.client.firestore.projects.databases.documents.batchGet({
177
+ database: "Test string",
178
+ }, {
179
+ documents: [
180
+ "Test string"
181
+ ],
182
+ mask: {
183
+ fieldPaths: [
184
+ "Test string"
185
+ ],
186
+ },
187
+ newTransaction: {
188
+ readOnly: {
189
+ readTime: "Test string",
190
+ },
191
+ readWrite: {
192
+ retryTransaction: "Test string",
193
+ },
194
+ },
195
+ readTime: "Test string",
196
+ transaction: "Test string",
197
+ });
198
+ /**
199
+ * Applies a batch of write operations. The BatchWrite method does not apply the write operations atomically and can apply them out of order. Method does not allow more than one write per
200
+ * document. Each write succeeds or fails independently. See the BatchWriteResponse for the success status of each write. If you require an atomically applied set of writes, use Commit
201
+ * instead.
202
+ */
203
+ await gapi.client.firestore.projects.databases.documents.batchWrite({
204
+ database: "Test string",
205
+ }, {
206
+ labels: {
207
+ A: "Test string"
208
+ },
209
+ writes: [
210
+ {
211
+ currentDocument: {
212
+ exists: true,
213
+ updateTime: "Test string",
214
+ },
215
+ delete: "Test string",
216
+ transform: {
217
+ document: "Test string",
218
+ fieldTransforms: [
219
+ {
220
+ appendMissingElements: {
221
+ values: [
222
+ {
223
+ arrayValue: undefined,
224
+ booleanValue: true,
225
+ bytesValue: "Test string",
226
+ doubleValue: 42,
227
+ geoPointValue: {
228
+ latitude: 42,
229
+ longitude: 42,
230
+ },
231
+ integerValue: "Test string",
232
+ mapValue: {
233
+ fields: undefined,
234
+ },
235
+ nullValue: "Test string",
236
+ referenceValue: "Test string",
237
+ stringValue: "Test string",
238
+ timestampValue: "Test string",
239
+ }
240
+ ],
241
+ },
242
+ fieldPath: "Test string",
243
+ increment: {
244
+ arrayValue: {
245
+ values: undefined,
246
+ },
247
+ booleanValue: true,
248
+ bytesValue: "Test string",
249
+ doubleValue: 42,
250
+ geoPointValue: {
251
+ latitude: 42,
252
+ longitude: 42,
253
+ },
254
+ integerValue: "Test string",
255
+ mapValue: {
256
+ fields: undefined,
257
+ },
258
+ nullValue: "Test string",
259
+ referenceValue: "Test string",
260
+ stringValue: "Test string",
261
+ timestampValue: "Test string",
262
+ },
263
+ maximum: {
264
+ arrayValue: {
265
+ values: undefined,
266
+ },
267
+ booleanValue: true,
268
+ bytesValue: "Test string",
269
+ doubleValue: 42,
270
+ geoPointValue: {
271
+ latitude: 42,
272
+ longitude: 42,
273
+ },
274
+ integerValue: "Test string",
275
+ mapValue: {
276
+ fields: undefined,
277
+ },
278
+ nullValue: "Test string",
279
+ referenceValue: "Test string",
280
+ stringValue: "Test string",
281
+ timestampValue: "Test string",
282
+ },
283
+ minimum: {
284
+ arrayValue: {
285
+ values: undefined,
286
+ },
287
+ booleanValue: true,
288
+ bytesValue: "Test string",
289
+ doubleValue: 42,
290
+ geoPointValue: {
291
+ latitude: 42,
292
+ longitude: 42,
293
+ },
294
+ integerValue: "Test string",
295
+ mapValue: {
296
+ fields: undefined,
297
+ },
298
+ nullValue: "Test string",
299
+ referenceValue: "Test string",
300
+ stringValue: "Test string",
301
+ timestampValue: "Test string",
302
+ },
303
+ removeAllFromArray: {
304
+ values: [
305
+ {
306
+ arrayValue: undefined,
307
+ booleanValue: true,
308
+ bytesValue: "Test string",
309
+ doubleValue: 42,
310
+ geoPointValue: {
311
+ latitude: 42,
312
+ longitude: 42,
313
+ },
314
+ integerValue: "Test string",
315
+ mapValue: {
316
+ fields: undefined,
317
+ },
318
+ nullValue: "Test string",
319
+ referenceValue: "Test string",
320
+ stringValue: "Test string",
321
+ timestampValue: "Test string",
322
+ }
323
+ ],
324
+ },
325
+ setToServerValue: "Test string",
326
+ }
327
+ ],
328
+ },
329
+ update: {
330
+ createTime: "Test string",
331
+ fields: {
332
+ A: {
333
+ arrayValue: {
334
+ values: undefined,
335
+ },
336
+ booleanValue: true,
337
+ bytesValue: "Test string",
338
+ doubleValue: 42,
339
+ geoPointValue: {
340
+ latitude: 42,
341
+ longitude: 42,
342
+ },
343
+ integerValue: "Test string",
344
+ mapValue: {
345
+ fields: undefined,
346
+ },
347
+ nullValue: "Test string",
348
+ referenceValue: "Test string",
349
+ stringValue: "Test string",
350
+ timestampValue: "Test string",
351
+ }
352
+ },
353
+ name: "Test string",
354
+ updateTime: "Test string",
355
+ },
356
+ updateMask: {
357
+ fieldPaths: [
358
+ "Test string"
359
+ ],
360
+ },
361
+ updateTransforms: [
362
+ {
363
+ appendMissingElements: {
364
+ values: [
365
+ {
366
+ arrayValue: undefined,
367
+ booleanValue: true,
368
+ bytesValue: "Test string",
369
+ doubleValue: 42,
370
+ geoPointValue: {
371
+ latitude: 42,
372
+ longitude: 42,
373
+ },
374
+ integerValue: "Test string",
375
+ mapValue: {
376
+ fields: undefined,
377
+ },
378
+ nullValue: "Test string",
379
+ referenceValue: "Test string",
380
+ stringValue: "Test string",
381
+ timestampValue: "Test string",
382
+ }
383
+ ],
384
+ },
385
+ fieldPath: "Test string",
386
+ increment: {
387
+ arrayValue: {
388
+ values: undefined,
389
+ },
390
+ booleanValue: true,
391
+ bytesValue: "Test string",
392
+ doubleValue: 42,
393
+ geoPointValue: {
394
+ latitude: 42,
395
+ longitude: 42,
396
+ },
397
+ integerValue: "Test string",
398
+ mapValue: {
399
+ fields: undefined,
400
+ },
401
+ nullValue: "Test string",
402
+ referenceValue: "Test string",
403
+ stringValue: "Test string",
404
+ timestampValue: "Test string",
405
+ },
406
+ maximum: {
407
+ arrayValue: {
408
+ values: undefined,
409
+ },
410
+ booleanValue: true,
411
+ bytesValue: "Test string",
412
+ doubleValue: 42,
413
+ geoPointValue: {
414
+ latitude: 42,
415
+ longitude: 42,
416
+ },
417
+ integerValue: "Test string",
418
+ mapValue: {
419
+ fields: undefined,
420
+ },
421
+ nullValue: "Test string",
422
+ referenceValue: "Test string",
423
+ stringValue: "Test string",
424
+ timestampValue: "Test string",
425
+ },
426
+ minimum: {
427
+ arrayValue: {
428
+ values: undefined,
429
+ },
430
+ booleanValue: true,
431
+ bytesValue: "Test string",
432
+ doubleValue: 42,
433
+ geoPointValue: {
434
+ latitude: 42,
435
+ longitude: 42,
436
+ },
437
+ integerValue: "Test string",
438
+ mapValue: {
439
+ fields: undefined,
440
+ },
441
+ nullValue: "Test string",
442
+ referenceValue: "Test string",
443
+ stringValue: "Test string",
444
+ timestampValue: "Test string",
445
+ },
446
+ removeAllFromArray: {
447
+ values: [
448
+ {
449
+ arrayValue: undefined,
450
+ booleanValue: true,
451
+ bytesValue: "Test string",
452
+ doubleValue: 42,
453
+ geoPointValue: {
454
+ latitude: 42,
455
+ longitude: 42,
456
+ },
457
+ integerValue: "Test string",
458
+ mapValue: {
459
+ fields: undefined,
460
+ },
461
+ nullValue: "Test string",
462
+ referenceValue: "Test string",
463
+ stringValue: "Test string",
464
+ timestampValue: "Test string",
465
+ }
466
+ ],
467
+ },
468
+ setToServerValue: "Test string",
469
+ }
470
+ ],
471
+ }
472
+ ],
473
+ });
474
+ /** Starts a new transaction. */
475
+ await gapi.client.firestore.projects.databases.documents.beginTransaction({
476
+ database: "Test string",
477
+ }, {
478
+ options: {
479
+ readOnly: {
480
+ readTime: "Test string",
481
+ },
482
+ readWrite: {
483
+ retryTransaction: "Test string",
484
+ },
485
+ },
486
+ });
487
+ /** Commits a transaction, while optionally updating documents. */
488
+ await gapi.client.firestore.projects.databases.documents.commit({
489
+ database: "Test string",
490
+ }, {
491
+ transaction: "Test string",
492
+ writes: [
493
+ {
494
+ currentDocument: {
495
+ exists: true,
496
+ updateTime: "Test string",
497
+ },
498
+ delete: "Test string",
499
+ transform: {
500
+ document: "Test string",
501
+ fieldTransforms: [
502
+ {
503
+ appendMissingElements: {
504
+ values: [
505
+ {
506
+ arrayValue: undefined,
507
+ booleanValue: true,
508
+ bytesValue: "Test string",
509
+ doubleValue: 42,
510
+ geoPointValue: {
511
+ latitude: 42,
512
+ longitude: 42,
513
+ },
514
+ integerValue: "Test string",
515
+ mapValue: {
516
+ fields: undefined,
517
+ },
518
+ nullValue: "Test string",
519
+ referenceValue: "Test string",
520
+ stringValue: "Test string",
521
+ timestampValue: "Test string",
522
+ }
523
+ ],
524
+ },
525
+ fieldPath: "Test string",
526
+ increment: {
527
+ arrayValue: {
528
+ values: undefined,
529
+ },
530
+ booleanValue: true,
531
+ bytesValue: "Test string",
532
+ doubleValue: 42,
533
+ geoPointValue: {
534
+ latitude: 42,
535
+ longitude: 42,
536
+ },
537
+ integerValue: "Test string",
538
+ mapValue: {
539
+ fields: undefined,
540
+ },
541
+ nullValue: "Test string",
542
+ referenceValue: "Test string",
543
+ stringValue: "Test string",
544
+ timestampValue: "Test string",
545
+ },
546
+ maximum: {
547
+ arrayValue: {
548
+ values: undefined,
549
+ },
550
+ booleanValue: true,
551
+ bytesValue: "Test string",
552
+ doubleValue: 42,
553
+ geoPointValue: {
554
+ latitude: 42,
555
+ longitude: 42,
556
+ },
557
+ integerValue: "Test string",
558
+ mapValue: {
559
+ fields: undefined,
560
+ },
561
+ nullValue: "Test string",
562
+ referenceValue: "Test string",
563
+ stringValue: "Test string",
564
+ timestampValue: "Test string",
565
+ },
566
+ minimum: {
567
+ arrayValue: {
568
+ values: undefined,
569
+ },
570
+ booleanValue: true,
571
+ bytesValue: "Test string",
572
+ doubleValue: 42,
573
+ geoPointValue: {
574
+ latitude: 42,
575
+ longitude: 42,
576
+ },
577
+ integerValue: "Test string",
578
+ mapValue: {
579
+ fields: undefined,
580
+ },
581
+ nullValue: "Test string",
582
+ referenceValue: "Test string",
583
+ stringValue: "Test string",
584
+ timestampValue: "Test string",
585
+ },
586
+ removeAllFromArray: {
587
+ values: [
588
+ {
589
+ arrayValue: undefined,
590
+ booleanValue: true,
591
+ bytesValue: "Test string",
592
+ doubleValue: 42,
593
+ geoPointValue: {
594
+ latitude: 42,
595
+ longitude: 42,
596
+ },
597
+ integerValue: "Test string",
598
+ mapValue: {
599
+ fields: undefined,
600
+ },
601
+ nullValue: "Test string",
602
+ referenceValue: "Test string",
603
+ stringValue: "Test string",
604
+ timestampValue: "Test string",
605
+ }
606
+ ],
607
+ },
608
+ setToServerValue: "Test string",
609
+ }
610
+ ],
611
+ },
612
+ update: {
613
+ createTime: "Test string",
614
+ fields: {
615
+ A: {
616
+ arrayValue: {
617
+ values: undefined,
618
+ },
619
+ booleanValue: true,
620
+ bytesValue: "Test string",
621
+ doubleValue: 42,
622
+ geoPointValue: {
623
+ latitude: 42,
624
+ longitude: 42,
625
+ },
626
+ integerValue: "Test string",
627
+ mapValue: {
628
+ fields: undefined,
629
+ },
630
+ nullValue: "Test string",
631
+ referenceValue: "Test string",
632
+ stringValue: "Test string",
633
+ timestampValue: "Test string",
634
+ }
635
+ },
636
+ name: "Test string",
637
+ updateTime: "Test string",
638
+ },
639
+ updateMask: {
640
+ fieldPaths: [
641
+ "Test string"
642
+ ],
643
+ },
644
+ updateTransforms: [
645
+ {
646
+ appendMissingElements: {
647
+ values: [
648
+ {
649
+ arrayValue: undefined,
650
+ booleanValue: true,
651
+ bytesValue: "Test string",
652
+ doubleValue: 42,
653
+ geoPointValue: {
654
+ latitude: 42,
655
+ longitude: 42,
656
+ },
657
+ integerValue: "Test string",
658
+ mapValue: {
659
+ fields: undefined,
660
+ },
661
+ nullValue: "Test string",
662
+ referenceValue: "Test string",
663
+ stringValue: "Test string",
664
+ timestampValue: "Test string",
665
+ }
666
+ ],
667
+ },
668
+ fieldPath: "Test string",
669
+ increment: {
670
+ arrayValue: {
671
+ values: undefined,
672
+ },
673
+ booleanValue: true,
674
+ bytesValue: "Test string",
675
+ doubleValue: 42,
676
+ geoPointValue: {
677
+ latitude: 42,
678
+ longitude: 42,
679
+ },
680
+ integerValue: "Test string",
681
+ mapValue: {
682
+ fields: undefined,
683
+ },
684
+ nullValue: "Test string",
685
+ referenceValue: "Test string",
686
+ stringValue: "Test string",
687
+ timestampValue: "Test string",
688
+ },
689
+ maximum: {
690
+ arrayValue: {
691
+ values: undefined,
692
+ },
693
+ booleanValue: true,
694
+ bytesValue: "Test string",
695
+ doubleValue: 42,
696
+ geoPointValue: {
697
+ latitude: 42,
698
+ longitude: 42,
699
+ },
700
+ integerValue: "Test string",
701
+ mapValue: {
702
+ fields: undefined,
703
+ },
704
+ nullValue: "Test string",
705
+ referenceValue: "Test string",
706
+ stringValue: "Test string",
707
+ timestampValue: "Test string",
708
+ },
709
+ minimum: {
710
+ arrayValue: {
711
+ values: undefined,
712
+ },
713
+ booleanValue: true,
714
+ bytesValue: "Test string",
715
+ doubleValue: 42,
716
+ geoPointValue: {
717
+ latitude: 42,
718
+ longitude: 42,
719
+ },
720
+ integerValue: "Test string",
721
+ mapValue: {
722
+ fields: undefined,
723
+ },
724
+ nullValue: "Test string",
725
+ referenceValue: "Test string",
726
+ stringValue: "Test string",
727
+ timestampValue: "Test string",
728
+ },
729
+ removeAllFromArray: {
730
+ values: [
731
+ {
732
+ arrayValue: undefined,
733
+ booleanValue: true,
734
+ bytesValue: "Test string",
735
+ doubleValue: 42,
736
+ geoPointValue: {
737
+ latitude: 42,
738
+ longitude: 42,
739
+ },
740
+ integerValue: "Test string",
741
+ mapValue: {
742
+ fields: undefined,
743
+ },
744
+ nullValue: "Test string",
745
+ referenceValue: "Test string",
746
+ stringValue: "Test string",
747
+ timestampValue: "Test string",
748
+ }
749
+ ],
750
+ },
751
+ setToServerValue: "Test string",
752
+ }
753
+ ],
754
+ }
755
+ ],
756
+ });
757
+ /** Creates a new document. */
758
+ await gapi.client.firestore.projects.databases.documents.createDocument({
759
+ collectionId: "Test string",
760
+ documentId: "Test string",
761
+ "mask.fieldPaths": "Test string",
762
+ parent: "Test string",
763
+ }, {
764
+ createTime: "Test string",
765
+ fields: {
766
+ A: {
767
+ arrayValue: {
768
+ values: undefined,
769
+ },
770
+ booleanValue: true,
771
+ bytesValue: "Test string",
772
+ doubleValue: 42,
773
+ geoPointValue: {
774
+ latitude: 42,
775
+ longitude: 42,
776
+ },
777
+ integerValue: "Test string",
778
+ mapValue: {
779
+ fields: undefined,
780
+ },
781
+ nullValue: "Test string",
782
+ referenceValue: "Test string",
783
+ stringValue: "Test string",
784
+ timestampValue: "Test string",
785
+ }
786
+ },
787
+ name: "Test string",
788
+ updateTime: "Test string",
789
+ });
790
+ /** Deletes a document. */
791
+ await gapi.client.firestore.projects.databases.documents.delete({
792
+ "currentDocument.exists": true,
793
+ "currentDocument.updateTime": "Test string",
794
+ name: "Test string",
795
+ });
796
+ /** Gets a single document. */
797
+ await gapi.client.firestore.projects.databases.documents.get({
798
+ "mask.fieldPaths": "Test string",
799
+ name: "Test string",
800
+ readTime: "Test string",
801
+ transaction: "Test string",
802
+ });
803
+ /** Lists documents. */
804
+ await gapi.client.firestore.projects.databases.documents.list({
805
+ collectionId: "Test string",
806
+ "mask.fieldPaths": "Test string",
807
+ orderBy: "Test string",
808
+ pageSize: 42,
809
+ pageToken: "Test string",
810
+ parent: "Test string",
811
+ readTime: "Test string",
812
+ showMissing: true,
813
+ transaction: "Test string",
814
+ });
815
+ /** Lists all the collection IDs underneath a document. */
816
+ await gapi.client.firestore.projects.databases.documents.listCollectionIds({
817
+ parent: "Test string",
818
+ }, {
819
+ pageSize: 42,
820
+ pageToken: "Test string",
821
+ readTime: "Test string",
822
+ });
823
+ /** Lists documents. */
824
+ await gapi.client.firestore.projects.databases.documents.listDocuments({
825
+ collectionId: "Test string",
826
+ "mask.fieldPaths": "Test string",
827
+ orderBy: "Test string",
828
+ pageSize: 42,
829
+ pageToken: "Test string",
830
+ parent: "Test string",
831
+ readTime: "Test string",
832
+ showMissing: true,
833
+ transaction: "Test string",
834
+ });
835
+ /** Listens to changes. */
836
+ await gapi.client.firestore.projects.databases.documents.listen({
837
+ database: "Test string",
838
+ }, {
839
+ addTarget: {
840
+ documents: {
841
+ documents: [
842
+ "Test string"
843
+ ],
844
+ },
845
+ once: true,
846
+ query: {
847
+ parent: "Test string",
848
+ structuredQuery: {
849
+ endAt: {
850
+ before: true,
851
+ values: [
852
+ {
853
+ arrayValue: {
854
+ values: undefined,
855
+ },
856
+ booleanValue: true,
857
+ bytesValue: "Test string",
858
+ doubleValue: 42,
859
+ geoPointValue: {
860
+ latitude: 42,
861
+ longitude: 42,
862
+ },
863
+ integerValue: "Test string",
864
+ mapValue: {
865
+ fields: undefined,
866
+ },
867
+ nullValue: "Test string",
868
+ referenceValue: "Test string",
869
+ stringValue: "Test string",
870
+ timestampValue: "Test string",
871
+ }
872
+ ],
873
+ },
874
+ from: [
875
+ {
876
+ allDescendants: true,
877
+ collectionId: "Test string",
878
+ }
879
+ ],
880
+ limit: 42,
881
+ offset: 42,
882
+ orderBy: [
883
+ {
884
+ direction: "Test string",
885
+ field: {
886
+ fieldPath: "Test string",
887
+ },
888
+ }
889
+ ],
890
+ select: {
891
+ fields: [
892
+ {
893
+ fieldPath: "Test string",
894
+ }
895
+ ],
896
+ },
897
+ startAt: {
898
+ before: true,
899
+ values: [
900
+ {
901
+ arrayValue: {
902
+ values: undefined,
903
+ },
904
+ booleanValue: true,
905
+ bytesValue: "Test string",
906
+ doubleValue: 42,
907
+ geoPointValue: {
908
+ latitude: 42,
909
+ longitude: 42,
910
+ },
911
+ integerValue: "Test string",
912
+ mapValue: {
913
+ fields: undefined,
914
+ },
915
+ nullValue: "Test string",
916
+ referenceValue: "Test string",
917
+ stringValue: "Test string",
918
+ timestampValue: "Test string",
919
+ }
920
+ ],
921
+ },
922
+ where: {
923
+ compositeFilter: {
924
+ filters: undefined,
925
+ op: "Test string",
926
+ },
927
+ fieldFilter: {
928
+ field: {
929
+ fieldPath: "Test string",
930
+ },
931
+ op: "Test string",
932
+ value: {
933
+ arrayValue: {
934
+ values: undefined,
935
+ },
936
+ booleanValue: true,
937
+ bytesValue: "Test string",
938
+ doubleValue: 42,
939
+ geoPointValue: {
940
+ latitude: 42,
941
+ longitude: 42,
942
+ },
943
+ integerValue: "Test string",
944
+ mapValue: {
945
+ fields: undefined,
946
+ },
947
+ nullValue: "Test string",
948
+ referenceValue: "Test string",
949
+ stringValue: "Test string",
950
+ timestampValue: "Test string",
951
+ },
952
+ },
953
+ unaryFilter: {
954
+ field: {
955
+ fieldPath: "Test string",
956
+ },
957
+ op: "Test string",
958
+ },
959
+ },
960
+ },
961
+ },
962
+ readTime: "Test string",
963
+ resumeToken: "Test string",
964
+ targetId: 42,
965
+ },
966
+ labels: {
967
+ A: "Test string"
968
+ },
969
+ removeTarget: 42,
970
+ });
971
+ /**
972
+ * Partitions a query by returning partition cursors that can be used to run the query in parallel. The returned partition cursors are split points that can be used by RunQuery as
973
+ * starting/end points for the query results.
974
+ */
975
+ await gapi.client.firestore.projects.databases.documents.partitionQuery({
976
+ parent: "Test string",
977
+ }, {
978
+ pageSize: 42,
979
+ pageToken: "Test string",
980
+ partitionCount: "Test string",
981
+ readTime: "Test string",
982
+ structuredQuery: {
983
+ endAt: {
984
+ before: true,
985
+ values: [
986
+ {
987
+ arrayValue: {
988
+ values: undefined,
989
+ },
990
+ booleanValue: true,
991
+ bytesValue: "Test string",
992
+ doubleValue: 42,
993
+ geoPointValue: {
994
+ latitude: 42,
995
+ longitude: 42,
996
+ },
997
+ integerValue: "Test string",
998
+ mapValue: {
999
+ fields: undefined,
1000
+ },
1001
+ nullValue: "Test string",
1002
+ referenceValue: "Test string",
1003
+ stringValue: "Test string",
1004
+ timestampValue: "Test string",
1005
+ }
1006
+ ],
1007
+ },
1008
+ from: [
1009
+ {
1010
+ allDescendants: true,
1011
+ collectionId: "Test string",
1012
+ }
1013
+ ],
1014
+ limit: 42,
1015
+ offset: 42,
1016
+ orderBy: [
1017
+ {
1018
+ direction: "Test string",
1019
+ field: {
1020
+ fieldPath: "Test string",
1021
+ },
1022
+ }
1023
+ ],
1024
+ select: {
1025
+ fields: [
1026
+ {
1027
+ fieldPath: "Test string",
1028
+ }
1029
+ ],
1030
+ },
1031
+ startAt: {
1032
+ before: true,
1033
+ values: [
1034
+ {
1035
+ arrayValue: {
1036
+ values: undefined,
1037
+ },
1038
+ booleanValue: true,
1039
+ bytesValue: "Test string",
1040
+ doubleValue: 42,
1041
+ geoPointValue: {
1042
+ latitude: 42,
1043
+ longitude: 42,
1044
+ },
1045
+ integerValue: "Test string",
1046
+ mapValue: {
1047
+ fields: undefined,
1048
+ },
1049
+ nullValue: "Test string",
1050
+ referenceValue: "Test string",
1051
+ stringValue: "Test string",
1052
+ timestampValue: "Test string",
1053
+ }
1054
+ ],
1055
+ },
1056
+ where: {
1057
+ compositeFilter: {
1058
+ filters: undefined,
1059
+ op: "Test string",
1060
+ },
1061
+ fieldFilter: {
1062
+ field: {
1063
+ fieldPath: "Test string",
1064
+ },
1065
+ op: "Test string",
1066
+ value: {
1067
+ arrayValue: {
1068
+ values: undefined,
1069
+ },
1070
+ booleanValue: true,
1071
+ bytesValue: "Test string",
1072
+ doubleValue: 42,
1073
+ geoPointValue: {
1074
+ latitude: 42,
1075
+ longitude: 42,
1076
+ },
1077
+ integerValue: "Test string",
1078
+ mapValue: {
1079
+ fields: undefined,
1080
+ },
1081
+ nullValue: "Test string",
1082
+ referenceValue: "Test string",
1083
+ stringValue: "Test string",
1084
+ timestampValue: "Test string",
1085
+ },
1086
+ },
1087
+ unaryFilter: {
1088
+ field: {
1089
+ fieldPath: "Test string",
1090
+ },
1091
+ op: "Test string",
1092
+ },
1093
+ },
1094
+ },
1095
+ });
1096
+ /** Updates or inserts a document. */
1097
+ await gapi.client.firestore.projects.databases.documents.patch({
1098
+ "currentDocument.exists": true,
1099
+ "currentDocument.updateTime": "Test string",
1100
+ "mask.fieldPaths": "Test string",
1101
+ name: "Test string",
1102
+ "updateMask.fieldPaths": "Test string",
1103
+ }, {
1104
+ createTime: "Test string",
1105
+ fields: {
1106
+ A: {
1107
+ arrayValue: {
1108
+ values: undefined,
1109
+ },
1110
+ booleanValue: true,
1111
+ bytesValue: "Test string",
1112
+ doubleValue: 42,
1113
+ geoPointValue: {
1114
+ latitude: 42,
1115
+ longitude: 42,
1116
+ },
1117
+ integerValue: "Test string",
1118
+ mapValue: {
1119
+ fields: undefined,
1120
+ },
1121
+ nullValue: "Test string",
1122
+ referenceValue: "Test string",
1123
+ stringValue: "Test string",
1124
+ timestampValue: "Test string",
1125
+ }
1126
+ },
1127
+ name: "Test string",
1128
+ updateTime: "Test string",
1129
+ });
1130
+ /** Rolls back a transaction. */
1131
+ await gapi.client.firestore.projects.databases.documents.rollback({
1132
+ database: "Test string",
1133
+ }, {
1134
+ transaction: "Test string",
1135
+ });
1136
+ /** Runs a query. */
1137
+ await gapi.client.firestore.projects.databases.documents.runQuery({
1138
+ parent: "Test string",
1139
+ }, {
1140
+ newTransaction: {
1141
+ readOnly: {
1142
+ readTime: "Test string",
1143
+ },
1144
+ readWrite: {
1145
+ retryTransaction: "Test string",
1146
+ },
1147
+ },
1148
+ readTime: "Test string",
1149
+ structuredQuery: {
1150
+ endAt: {
1151
+ before: true,
1152
+ values: [
1153
+ {
1154
+ arrayValue: {
1155
+ values: undefined,
1156
+ },
1157
+ booleanValue: true,
1158
+ bytesValue: "Test string",
1159
+ doubleValue: 42,
1160
+ geoPointValue: {
1161
+ latitude: 42,
1162
+ longitude: 42,
1163
+ },
1164
+ integerValue: "Test string",
1165
+ mapValue: {
1166
+ fields: undefined,
1167
+ },
1168
+ nullValue: "Test string",
1169
+ referenceValue: "Test string",
1170
+ stringValue: "Test string",
1171
+ timestampValue: "Test string",
1172
+ }
1173
+ ],
1174
+ },
1175
+ from: [
1176
+ {
1177
+ allDescendants: true,
1178
+ collectionId: "Test string",
1179
+ }
1180
+ ],
1181
+ limit: 42,
1182
+ offset: 42,
1183
+ orderBy: [
1184
+ {
1185
+ direction: "Test string",
1186
+ field: {
1187
+ fieldPath: "Test string",
1188
+ },
1189
+ }
1190
+ ],
1191
+ select: {
1192
+ fields: [
1193
+ {
1194
+ fieldPath: "Test string",
1195
+ }
1196
+ ],
1197
+ },
1198
+ startAt: {
1199
+ before: true,
1200
+ values: [
1201
+ {
1202
+ arrayValue: {
1203
+ values: undefined,
1204
+ },
1205
+ booleanValue: true,
1206
+ bytesValue: "Test string",
1207
+ doubleValue: 42,
1208
+ geoPointValue: {
1209
+ latitude: 42,
1210
+ longitude: 42,
1211
+ },
1212
+ integerValue: "Test string",
1213
+ mapValue: {
1214
+ fields: undefined,
1215
+ },
1216
+ nullValue: "Test string",
1217
+ referenceValue: "Test string",
1218
+ stringValue: "Test string",
1219
+ timestampValue: "Test string",
1220
+ }
1221
+ ],
1222
+ },
1223
+ where: {
1224
+ compositeFilter: {
1225
+ filters: undefined,
1226
+ op: "Test string",
1227
+ },
1228
+ fieldFilter: {
1229
+ field: {
1230
+ fieldPath: "Test string",
1231
+ },
1232
+ op: "Test string",
1233
+ value: {
1234
+ arrayValue: {
1235
+ values: undefined,
1236
+ },
1237
+ booleanValue: true,
1238
+ bytesValue: "Test string",
1239
+ doubleValue: 42,
1240
+ geoPointValue: {
1241
+ latitude: 42,
1242
+ longitude: 42,
1243
+ },
1244
+ integerValue: "Test string",
1245
+ mapValue: {
1246
+ fields: undefined,
1247
+ },
1248
+ nullValue: "Test string",
1249
+ referenceValue: "Test string",
1250
+ stringValue: "Test string",
1251
+ timestampValue: "Test string",
1252
+ },
1253
+ },
1254
+ unaryFilter: {
1255
+ field: {
1256
+ fieldPath: "Test string",
1257
+ },
1258
+ op: "Test string",
1259
+ },
1260
+ },
1261
+ },
1262
+ transaction: "Test string",
1263
+ });
1264
+ /** Streams batches of document updates and deletes, in order. */
1265
+ await gapi.client.firestore.projects.databases.documents.write({
1266
+ database: "Test string",
1267
+ }, {
1268
+ labels: {
1269
+ A: "Test string"
1270
+ },
1271
+ streamId: "Test string",
1272
+ streamToken: "Test string",
1273
+ writes: [
1274
+ {
1275
+ currentDocument: {
1276
+ exists: true,
1277
+ updateTime: "Test string",
1278
+ },
1279
+ delete: "Test string",
1280
+ transform: {
1281
+ document: "Test string",
1282
+ fieldTransforms: [
1283
+ {
1284
+ appendMissingElements: {
1285
+ values: [
1286
+ {
1287
+ arrayValue: undefined,
1288
+ booleanValue: true,
1289
+ bytesValue: "Test string",
1290
+ doubleValue: 42,
1291
+ geoPointValue: {
1292
+ latitude: 42,
1293
+ longitude: 42,
1294
+ },
1295
+ integerValue: "Test string",
1296
+ mapValue: {
1297
+ fields: undefined,
1298
+ },
1299
+ nullValue: "Test string",
1300
+ referenceValue: "Test string",
1301
+ stringValue: "Test string",
1302
+ timestampValue: "Test string",
1303
+ }
1304
+ ],
1305
+ },
1306
+ fieldPath: "Test string",
1307
+ increment: {
1308
+ arrayValue: {
1309
+ values: undefined,
1310
+ },
1311
+ booleanValue: true,
1312
+ bytesValue: "Test string",
1313
+ doubleValue: 42,
1314
+ geoPointValue: {
1315
+ latitude: 42,
1316
+ longitude: 42,
1317
+ },
1318
+ integerValue: "Test string",
1319
+ mapValue: {
1320
+ fields: undefined,
1321
+ },
1322
+ nullValue: "Test string",
1323
+ referenceValue: "Test string",
1324
+ stringValue: "Test string",
1325
+ timestampValue: "Test string",
1326
+ },
1327
+ maximum: {
1328
+ arrayValue: {
1329
+ values: undefined,
1330
+ },
1331
+ booleanValue: true,
1332
+ bytesValue: "Test string",
1333
+ doubleValue: 42,
1334
+ geoPointValue: {
1335
+ latitude: 42,
1336
+ longitude: 42,
1337
+ },
1338
+ integerValue: "Test string",
1339
+ mapValue: {
1340
+ fields: undefined,
1341
+ },
1342
+ nullValue: "Test string",
1343
+ referenceValue: "Test string",
1344
+ stringValue: "Test string",
1345
+ timestampValue: "Test string",
1346
+ },
1347
+ minimum: {
1348
+ arrayValue: {
1349
+ values: undefined,
1350
+ },
1351
+ booleanValue: true,
1352
+ bytesValue: "Test string",
1353
+ doubleValue: 42,
1354
+ geoPointValue: {
1355
+ latitude: 42,
1356
+ longitude: 42,
1357
+ },
1358
+ integerValue: "Test string",
1359
+ mapValue: {
1360
+ fields: undefined,
1361
+ },
1362
+ nullValue: "Test string",
1363
+ referenceValue: "Test string",
1364
+ stringValue: "Test string",
1365
+ timestampValue: "Test string",
1366
+ },
1367
+ removeAllFromArray: {
1368
+ values: [
1369
+ {
1370
+ arrayValue: undefined,
1371
+ booleanValue: true,
1372
+ bytesValue: "Test string",
1373
+ doubleValue: 42,
1374
+ geoPointValue: {
1375
+ latitude: 42,
1376
+ longitude: 42,
1377
+ },
1378
+ integerValue: "Test string",
1379
+ mapValue: {
1380
+ fields: undefined,
1381
+ },
1382
+ nullValue: "Test string",
1383
+ referenceValue: "Test string",
1384
+ stringValue: "Test string",
1385
+ timestampValue: "Test string",
1386
+ }
1387
+ ],
1388
+ },
1389
+ setToServerValue: "Test string",
1390
+ }
1391
+ ],
1392
+ },
1393
+ update: {
1394
+ createTime: "Test string",
1395
+ fields: {
1396
+ A: {
1397
+ arrayValue: {
1398
+ values: undefined,
1399
+ },
1400
+ booleanValue: true,
1401
+ bytesValue: "Test string",
1402
+ doubleValue: 42,
1403
+ geoPointValue: {
1404
+ latitude: 42,
1405
+ longitude: 42,
1406
+ },
1407
+ integerValue: "Test string",
1408
+ mapValue: {
1409
+ fields: undefined,
1410
+ },
1411
+ nullValue: "Test string",
1412
+ referenceValue: "Test string",
1413
+ stringValue: "Test string",
1414
+ timestampValue: "Test string",
1415
+ }
1416
+ },
1417
+ name: "Test string",
1418
+ updateTime: "Test string",
1419
+ },
1420
+ updateMask: {
1421
+ fieldPaths: [
1422
+ "Test string"
1423
+ ],
1424
+ },
1425
+ updateTransforms: [
1426
+ {
1427
+ appendMissingElements: {
1428
+ values: [
1429
+ {
1430
+ arrayValue: undefined,
1431
+ booleanValue: true,
1432
+ bytesValue: "Test string",
1433
+ doubleValue: 42,
1434
+ geoPointValue: {
1435
+ latitude: 42,
1436
+ longitude: 42,
1437
+ },
1438
+ integerValue: "Test string",
1439
+ mapValue: {
1440
+ fields: undefined,
1441
+ },
1442
+ nullValue: "Test string",
1443
+ referenceValue: "Test string",
1444
+ stringValue: "Test string",
1445
+ timestampValue: "Test string",
1446
+ }
1447
+ ],
1448
+ },
1449
+ fieldPath: "Test string",
1450
+ increment: {
1451
+ arrayValue: {
1452
+ values: undefined,
1453
+ },
1454
+ booleanValue: true,
1455
+ bytesValue: "Test string",
1456
+ doubleValue: 42,
1457
+ geoPointValue: {
1458
+ latitude: 42,
1459
+ longitude: 42,
1460
+ },
1461
+ integerValue: "Test string",
1462
+ mapValue: {
1463
+ fields: undefined,
1464
+ },
1465
+ nullValue: "Test string",
1466
+ referenceValue: "Test string",
1467
+ stringValue: "Test string",
1468
+ timestampValue: "Test string",
1469
+ },
1470
+ maximum: {
1471
+ arrayValue: {
1472
+ values: undefined,
1473
+ },
1474
+ booleanValue: true,
1475
+ bytesValue: "Test string",
1476
+ doubleValue: 42,
1477
+ geoPointValue: {
1478
+ latitude: 42,
1479
+ longitude: 42,
1480
+ },
1481
+ integerValue: "Test string",
1482
+ mapValue: {
1483
+ fields: undefined,
1484
+ },
1485
+ nullValue: "Test string",
1486
+ referenceValue: "Test string",
1487
+ stringValue: "Test string",
1488
+ timestampValue: "Test string",
1489
+ },
1490
+ minimum: {
1491
+ arrayValue: {
1492
+ values: undefined,
1493
+ },
1494
+ booleanValue: true,
1495
+ bytesValue: "Test string",
1496
+ doubleValue: 42,
1497
+ geoPointValue: {
1498
+ latitude: 42,
1499
+ longitude: 42,
1500
+ },
1501
+ integerValue: "Test string",
1502
+ mapValue: {
1503
+ fields: undefined,
1504
+ },
1505
+ nullValue: "Test string",
1506
+ referenceValue: "Test string",
1507
+ stringValue: "Test string",
1508
+ timestampValue: "Test string",
1509
+ },
1510
+ removeAllFromArray: {
1511
+ values: [
1512
+ {
1513
+ arrayValue: undefined,
1514
+ booleanValue: true,
1515
+ bytesValue: "Test string",
1516
+ doubleValue: 42,
1517
+ geoPointValue: {
1518
+ latitude: 42,
1519
+ longitude: 42,
1520
+ },
1521
+ integerValue: "Test string",
1522
+ mapValue: {
1523
+ fields: undefined,
1524
+ },
1525
+ nullValue: "Test string",
1526
+ referenceValue: "Test string",
1527
+ stringValue: "Test string",
1528
+ timestampValue: "Test string",
1529
+ }
1530
+ ],
1531
+ },
1532
+ setToServerValue: "Test string",
1533
+ }
1534
+ ],
1535
+ }
1536
+ ],
1537
+ });
1538
+ /**
1539
+ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
1540
+ * method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
1541
+ * completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of
1542
+ * 1, corresponding to `Code.CANCELLED`.
1543
+ */
1544
+ await gapi.client.firestore.projects.databases.operations.cancel({
1545
+ name: "Test string",
1546
+ }, {
1547
+ });
1548
+ /**
1549
+ * Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support
1550
+ * this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1551
+ */
1552
+ await gapi.client.firestore.projects.databases.operations.delete({
1553
+ name: "Test string",
1554
+ });
1555
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
1556
+ await gapi.client.firestore.projects.databases.operations.get({
1557
+ name: "Test string",
1558
+ });
1559
+ /**
1560
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
1561
+ * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1562
+ * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1563
+ * ensure the name binding is the parent resource, without the operations collection id.
1564
+ */
1565
+ await gapi.client.firestore.projects.databases.operations.list({
1566
+ filter: "Test string",
1567
+ name: "Test string",
1568
+ pageSize: 42,
1569
+ pageToken: "Test string",
1570
+ });
1571
+ /** Gets information about a location. */
1572
+ await gapi.client.firestore.projects.locations.get({
1573
+ name: "Test string",
1574
+ });
1575
+ /** Lists information about the supported locations for this service. */
1576
+ await gapi.client.firestore.projects.locations.list({
1577
+ filter: "Test string",
1578
+ name: "Test string",
1579
+ pageSize: 42,
1580
+ pageToken: "Test string",
1581
+ });
1582
+ }
1583
+ });