google-apis-firestore_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module FirestoreV1beta1
18
+ # Version of the google-apis-firestore_v1beta1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201017"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,1083 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module FirestoreV1beta1
24
+
25
+ class ArrayValue
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class BatchGetDocumentsRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BatchGetDocumentsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class BatchWriteRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BatchWriteResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class BeginTransactionRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BeginTransactionResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CollectionSelector
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CommitRequest
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CommitResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CompositeFilter
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Cursor
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class Document
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DocumentChange
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DocumentDelete
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DocumentMask
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DocumentRemove
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class DocumentTransform
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class DocumentsTarget
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Empty
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ExistenceFilter
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class FieldFilter
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class FieldReference
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class FieldTransform
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Filter
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleFirestoreAdminV1beta1ExportDocumentsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleFirestoreAdminV1beta1ExportDocumentsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleFirestoreAdminV1beta1ImportDocumentsRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleFirestoreAdminV1beta1Index
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleFirestoreAdminV1beta1IndexField
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleFirestoreAdminV1beta1IndexOperationMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleFirestoreAdminV1beta1ListIndexesResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleFirestoreAdminV1beta1LocationMetadata
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleFirestoreAdminV1beta1Progress
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleLongrunningOperation
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class LatLng
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListCollectionIdsRequest
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListCollectionIdsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ListDocumentsResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ListenRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ListenResponse
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MapValue
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Order
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class PartitionQueryRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PartitionQueryResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Precondition
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class Projection
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class QueryTarget
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ReadOnly
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ReadWrite
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class RollbackRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class RunQueryRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class RunQueryResponse
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class Status
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class StructuredQuery
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class Target
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class TargetChange
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TransactionOptions
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class UnaryFilter
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class Value
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class Write
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class WriteRequest
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
409
+ class WriteResponse
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class WriteResult
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class ArrayValue
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ collection :values, as: 'values', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
425
+
426
+ end
427
+ end
428
+
429
+ class BatchGetDocumentsRequest
430
+ # @private
431
+ class Representation < Google::Apis::Core::JsonRepresentation
432
+ collection :documents, as: 'documents'
433
+ property :mask, as: 'mask', class: Google::Apis::FirestoreV1beta1::DocumentMask, decorator: Google::Apis::FirestoreV1beta1::DocumentMask::Representation
434
+
435
+ property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
436
+
437
+ property :read_time, as: 'readTime'
438
+ property :transaction, :base64 => true, as: 'transaction'
439
+ end
440
+ end
441
+
442
+ class BatchGetDocumentsResponse
443
+ # @private
444
+ class Representation < Google::Apis::Core::JsonRepresentation
445
+ property :found, as: 'found', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
446
+
447
+ property :missing, as: 'missing'
448
+ property :read_time, as: 'readTime'
449
+ property :transaction, :base64 => true, as: 'transaction'
450
+ end
451
+ end
452
+
453
+ class BatchWriteRequest
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ hash :labels, as: 'labels'
457
+ collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
458
+
459
+ end
460
+ end
461
+
462
+ class BatchWriteResponse
463
+ # @private
464
+ class Representation < Google::Apis::Core::JsonRepresentation
465
+ collection :status, as: 'status', class: Google::Apis::FirestoreV1beta1::Status, decorator: Google::Apis::FirestoreV1beta1::Status::Representation
466
+
467
+ collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1beta1::WriteResult, decorator: Google::Apis::FirestoreV1beta1::WriteResult::Representation
468
+
469
+ end
470
+ end
471
+
472
+ class BeginTransactionRequest
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :options, as: 'options', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
476
+
477
+ end
478
+ end
479
+
480
+ class BeginTransactionResponse
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :transaction, :base64 => true, as: 'transaction'
484
+ end
485
+ end
486
+
487
+ class CollectionSelector
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :all_descendants, as: 'allDescendants'
491
+ property :collection_id, as: 'collectionId'
492
+ end
493
+ end
494
+
495
+ class CommitRequest
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :transaction, :base64 => true, as: 'transaction'
499
+ collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
500
+
501
+ end
502
+ end
503
+
504
+ class CommitResponse
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :commit_time, as: 'commitTime'
508
+ collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1beta1::WriteResult, decorator: Google::Apis::FirestoreV1beta1::WriteResult::Representation
509
+
510
+ end
511
+ end
512
+
513
+ class CompositeFilter
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ collection :filters, as: 'filters', class: Google::Apis::FirestoreV1beta1::Filter, decorator: Google::Apis::FirestoreV1beta1::Filter::Representation
517
+
518
+ property :op, as: 'op'
519
+ end
520
+ end
521
+
522
+ class Cursor
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :before, as: 'before'
526
+ collection :values, as: 'values', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
527
+
528
+ end
529
+ end
530
+
531
+ class Document
532
+ # @private
533
+ class Representation < Google::Apis::Core::JsonRepresentation
534
+ property :create_time, as: 'createTime'
535
+ hash :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
536
+
537
+ property :name, as: 'name'
538
+ property :update_time, as: 'updateTime'
539
+ end
540
+ end
541
+
542
+ class DocumentChange
543
+ # @private
544
+ class Representation < Google::Apis::Core::JsonRepresentation
545
+ property :document, as: 'document', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
546
+
547
+ collection :removed_target_ids, as: 'removedTargetIds'
548
+ collection :target_ids, as: 'targetIds'
549
+ end
550
+ end
551
+
552
+ class DocumentDelete
553
+ # @private
554
+ class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :document, as: 'document'
556
+ property :read_time, as: 'readTime'
557
+ collection :removed_target_ids, as: 'removedTargetIds'
558
+ end
559
+ end
560
+
561
+ class DocumentMask
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ collection :field_paths, as: 'fieldPaths'
565
+ end
566
+ end
567
+
568
+ class DocumentRemove
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :document, as: 'document'
572
+ property :read_time, as: 'readTime'
573
+ collection :removed_target_ids, as: 'removedTargetIds'
574
+ end
575
+ end
576
+
577
+ class DocumentTransform
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :document, as: 'document'
581
+ collection :field_transforms, as: 'fieldTransforms', class: Google::Apis::FirestoreV1beta1::FieldTransform, decorator: Google::Apis::FirestoreV1beta1::FieldTransform::Representation
582
+
583
+ end
584
+ end
585
+
586
+ class DocumentsTarget
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ collection :documents, as: 'documents'
590
+ end
591
+ end
592
+
593
+ class Empty
594
+ # @private
595
+ class Representation < Google::Apis::Core::JsonRepresentation
596
+ end
597
+ end
598
+
599
+ class ExistenceFilter
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :count, as: 'count'
603
+ property :target_id, as: 'targetId'
604
+ end
605
+ end
606
+
607
+ class FieldFilter
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
611
+
612
+ property :op, as: 'op'
613
+ property :value, as: 'value', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
614
+
615
+ end
616
+ end
617
+
618
+ class FieldReference
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :field_path, as: 'fieldPath'
622
+ end
623
+ end
624
+
625
+ class FieldTransform
626
+ # @private
627
+ class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
629
+
630
+ property :field_path, as: 'fieldPath'
631
+ property :increment, as: 'increment', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
632
+
633
+ property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
634
+
635
+ property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
636
+
637
+ property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
638
+
639
+ property :set_to_server_value, as: 'setToServerValue'
640
+ end
641
+ end
642
+
643
+ class Filter
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :composite_filter, as: 'compositeFilter', class: Google::Apis::FirestoreV1beta1::CompositeFilter, decorator: Google::Apis::FirestoreV1beta1::CompositeFilter::Representation
647
+
648
+ property :field_filter, as: 'fieldFilter', class: Google::Apis::FirestoreV1beta1::FieldFilter, decorator: Google::Apis::FirestoreV1beta1::FieldFilter::Representation
649
+
650
+ property :unary_filter, as: 'unaryFilter', class: Google::Apis::FirestoreV1beta1::UnaryFilter, decorator: Google::Apis::FirestoreV1beta1::UnaryFilter::Representation
651
+
652
+ end
653
+ end
654
+
655
+ class GoogleFirestoreAdminV1beta1ExportDocumentsMetadata
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ collection :collection_ids, as: 'collectionIds'
659
+ property :end_time, as: 'endTime'
660
+ property :operation_state, as: 'operationState'
661
+ property :output_uri_prefix, as: 'outputUriPrefix'
662
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress::Representation
663
+
664
+ property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress::Representation
665
+
666
+ property :start_time, as: 'startTime'
667
+ end
668
+ end
669
+
670
+ class GoogleFirestoreAdminV1beta1ExportDocumentsRequest
671
+ # @private
672
+ class Representation < Google::Apis::Core::JsonRepresentation
673
+ collection :collection_ids, as: 'collectionIds'
674
+ property :output_uri_prefix, as: 'outputUriPrefix'
675
+ end
676
+ end
677
+
678
+ class GoogleFirestoreAdminV1beta1ExportDocumentsResponse
679
+ # @private
680
+ class Representation < Google::Apis::Core::JsonRepresentation
681
+ property :output_uri_prefix, as: 'outputUriPrefix'
682
+ end
683
+ end
684
+
685
+ class GoogleFirestoreAdminV1beta1ImportDocumentsMetadata
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ collection :collection_ids, as: 'collectionIds'
689
+ property :end_time, as: 'endTime'
690
+ property :input_uri_prefix, as: 'inputUriPrefix'
691
+ property :operation_state, as: 'operationState'
692
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress::Representation
693
+
694
+ property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress::Representation
695
+
696
+ property :start_time, as: 'startTime'
697
+ end
698
+ end
699
+
700
+ class GoogleFirestoreAdminV1beta1ImportDocumentsRequest
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ collection :collection_ids, as: 'collectionIds'
704
+ property :input_uri_prefix, as: 'inputUriPrefix'
705
+ end
706
+ end
707
+
708
+ class GoogleFirestoreAdminV1beta1Index
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :collection_id, as: 'collectionId'
712
+ collection :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1IndexField, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1IndexField::Representation
713
+
714
+ property :name, as: 'name'
715
+ property :state, as: 'state'
716
+ end
717
+ end
718
+
719
+ class GoogleFirestoreAdminV1beta1IndexField
720
+ # @private
721
+ class Representation < Google::Apis::Core::JsonRepresentation
722
+ property :field_path, as: 'fieldPath'
723
+ property :mode, as: 'mode'
724
+ end
725
+ end
726
+
727
+ class GoogleFirestoreAdminV1beta1IndexOperationMetadata
728
+ # @private
729
+ class Representation < Google::Apis::Core::JsonRepresentation
730
+ property :cancelled, as: 'cancelled'
731
+ property :document_progress, as: 'documentProgress', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Progress::Representation
732
+
733
+ property :end_time, as: 'endTime'
734
+ property :index, as: 'index'
735
+ property :operation_type, as: 'operationType'
736
+ property :start_time, as: 'startTime'
737
+ end
738
+ end
739
+
740
+ class GoogleFirestoreAdminV1beta1ListIndexesResponse
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index, decorator: Google::Apis::FirestoreV1beta1::GoogleFirestoreAdminV1beta1Index::Representation
744
+
745
+ property :next_page_token, as: 'nextPageToken'
746
+ end
747
+ end
748
+
749
+ class GoogleFirestoreAdminV1beta1LocationMetadata
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ end
753
+ end
754
+
755
+ class GoogleFirestoreAdminV1beta1Progress
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
759
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
760
+ end
761
+ end
762
+
763
+ class GoogleLongrunningOperation
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :done, as: 'done'
767
+ property :error, as: 'error', class: Google::Apis::FirestoreV1beta1::Status, decorator: Google::Apis::FirestoreV1beta1::Status::Representation
768
+
769
+ hash :metadata, as: 'metadata'
770
+ property :name, as: 'name'
771
+ hash :response, as: 'response'
772
+ end
773
+ end
774
+
775
+ class LatLng
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ property :latitude, as: 'latitude'
779
+ property :longitude, as: 'longitude'
780
+ end
781
+ end
782
+
783
+ class ListCollectionIdsRequest
784
+ # @private
785
+ class Representation < Google::Apis::Core::JsonRepresentation
786
+ property :page_size, as: 'pageSize'
787
+ property :page_token, as: 'pageToken'
788
+ end
789
+ end
790
+
791
+ class ListCollectionIdsResponse
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ collection :collection_ids, as: 'collectionIds'
795
+ property :next_page_token, as: 'nextPageToken'
796
+ end
797
+ end
798
+
799
+ class ListDocumentsResponse
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ collection :documents, as: 'documents', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
803
+
804
+ property :next_page_token, as: 'nextPageToken'
805
+ end
806
+ end
807
+
808
+ class ListenRequest
809
+ # @private
810
+ class Representation < Google::Apis::Core::JsonRepresentation
811
+ property :add_target, as: 'addTarget', class: Google::Apis::FirestoreV1beta1::Target, decorator: Google::Apis::FirestoreV1beta1::Target::Representation
812
+
813
+ hash :labels, as: 'labels'
814
+ property :remove_target, as: 'removeTarget'
815
+ end
816
+ end
817
+
818
+ class ListenResponse
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :document_change, as: 'documentChange', class: Google::Apis::FirestoreV1beta1::DocumentChange, decorator: Google::Apis::FirestoreV1beta1::DocumentChange::Representation
822
+
823
+ property :document_delete, as: 'documentDelete', class: Google::Apis::FirestoreV1beta1::DocumentDelete, decorator: Google::Apis::FirestoreV1beta1::DocumentDelete::Representation
824
+
825
+ property :document_remove, as: 'documentRemove', class: Google::Apis::FirestoreV1beta1::DocumentRemove, decorator: Google::Apis::FirestoreV1beta1::DocumentRemove::Representation
826
+
827
+ property :filter, as: 'filter', class: Google::Apis::FirestoreV1beta1::ExistenceFilter, decorator: Google::Apis::FirestoreV1beta1::ExistenceFilter::Representation
828
+
829
+ property :target_change, as: 'targetChange', class: Google::Apis::FirestoreV1beta1::TargetChange, decorator: Google::Apis::FirestoreV1beta1::TargetChange::Representation
830
+
831
+ end
832
+ end
833
+
834
+ class MapValue
835
+ # @private
836
+ class Representation < Google::Apis::Core::JsonRepresentation
837
+ hash :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
838
+
839
+ end
840
+ end
841
+
842
+ class Order
843
+ # @private
844
+ class Representation < Google::Apis::Core::JsonRepresentation
845
+ property :direction, as: 'direction'
846
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
847
+
848
+ end
849
+ end
850
+
851
+ class PartitionQueryRequest
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :page_size, as: 'pageSize'
855
+ property :page_token, as: 'pageToken'
856
+ property :partition_count, :numeric_string => true, as: 'partitionCount'
857
+ property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
858
+
859
+ end
860
+ end
861
+
862
+ class PartitionQueryResponse
863
+ # @private
864
+ class Representation < Google::Apis::Core::JsonRepresentation
865
+ property :next_page_token, as: 'nextPageToken'
866
+ collection :partitions, as: 'partitions', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
867
+
868
+ end
869
+ end
870
+
871
+ class Precondition
872
+ # @private
873
+ class Representation < Google::Apis::Core::JsonRepresentation
874
+ property :exists, as: 'exists'
875
+ property :update_time, as: 'updateTime'
876
+ end
877
+ end
878
+
879
+ class Projection
880
+ # @private
881
+ class Representation < Google::Apis::Core::JsonRepresentation
882
+ collection :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
883
+
884
+ end
885
+ end
886
+
887
+ class QueryTarget
888
+ # @private
889
+ class Representation < Google::Apis::Core::JsonRepresentation
890
+ property :parent, as: 'parent'
891
+ property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
892
+
893
+ end
894
+ end
895
+
896
+ class ReadOnly
897
+ # @private
898
+ class Representation < Google::Apis::Core::JsonRepresentation
899
+ property :read_time, as: 'readTime'
900
+ end
901
+ end
902
+
903
+ class ReadWrite
904
+ # @private
905
+ class Representation < Google::Apis::Core::JsonRepresentation
906
+ property :retry_transaction, :base64 => true, as: 'retryTransaction'
907
+ end
908
+ end
909
+
910
+ class RollbackRequest
911
+ # @private
912
+ class Representation < Google::Apis::Core::JsonRepresentation
913
+ property :transaction, :base64 => true, as: 'transaction'
914
+ end
915
+ end
916
+
917
+ class RunQueryRequest
918
+ # @private
919
+ class Representation < Google::Apis::Core::JsonRepresentation
920
+ property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
921
+
922
+ property :read_time, as: 'readTime'
923
+ property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
924
+
925
+ property :transaction, :base64 => true, as: 'transaction'
926
+ end
927
+ end
928
+
929
+ class RunQueryResponse
930
+ # @private
931
+ class Representation < Google::Apis::Core::JsonRepresentation
932
+ property :document, as: 'document', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
933
+
934
+ property :read_time, as: 'readTime'
935
+ property :skipped_results, as: 'skippedResults'
936
+ property :transaction, :base64 => true, as: 'transaction'
937
+ end
938
+ end
939
+
940
+ class Status
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ property :code, as: 'code'
944
+ collection :details, as: 'details'
945
+ property :message, as: 'message'
946
+ end
947
+ end
948
+
949
+ class StructuredQuery
950
+ # @private
951
+ class Representation < Google::Apis::Core::JsonRepresentation
952
+ property :end_at, as: 'endAt', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
953
+
954
+ collection :from, as: 'from', class: Google::Apis::FirestoreV1beta1::CollectionSelector, decorator: Google::Apis::FirestoreV1beta1::CollectionSelector::Representation
955
+
956
+ property :limit, as: 'limit'
957
+ property :offset, as: 'offset'
958
+ collection :order_by, as: 'orderBy', class: Google::Apis::FirestoreV1beta1::Order, decorator: Google::Apis::FirestoreV1beta1::Order::Representation
959
+
960
+ property :select, as: 'select', class: Google::Apis::FirestoreV1beta1::Projection, decorator: Google::Apis::FirestoreV1beta1::Projection::Representation
961
+
962
+ property :start_at, as: 'startAt', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
963
+
964
+ property :where, as: 'where', class: Google::Apis::FirestoreV1beta1::Filter, decorator: Google::Apis::FirestoreV1beta1::Filter::Representation
965
+
966
+ end
967
+ end
968
+
969
+ class Target
970
+ # @private
971
+ class Representation < Google::Apis::Core::JsonRepresentation
972
+ property :documents, as: 'documents', class: Google::Apis::FirestoreV1beta1::DocumentsTarget, decorator: Google::Apis::FirestoreV1beta1::DocumentsTarget::Representation
973
+
974
+ property :once, as: 'once'
975
+ property :query, as: 'query', class: Google::Apis::FirestoreV1beta1::QueryTarget, decorator: Google::Apis::FirestoreV1beta1::QueryTarget::Representation
976
+
977
+ property :read_time, as: 'readTime'
978
+ property :resume_token, :base64 => true, as: 'resumeToken'
979
+ property :target_id, as: 'targetId'
980
+ end
981
+ end
982
+
983
+ class TargetChange
984
+ # @private
985
+ class Representation < Google::Apis::Core::JsonRepresentation
986
+ property :cause, as: 'cause', class: Google::Apis::FirestoreV1beta1::Status, decorator: Google::Apis::FirestoreV1beta1::Status::Representation
987
+
988
+ property :read_time, as: 'readTime'
989
+ property :resume_token, :base64 => true, as: 'resumeToken'
990
+ property :target_change_type, as: 'targetChangeType'
991
+ collection :target_ids, as: 'targetIds'
992
+ end
993
+ end
994
+
995
+ class TransactionOptions
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :read_only, as: 'readOnly', class: Google::Apis::FirestoreV1beta1::ReadOnly, decorator: Google::Apis::FirestoreV1beta1::ReadOnly::Representation
999
+
1000
+ property :read_write, as: 'readWrite', class: Google::Apis::FirestoreV1beta1::ReadWrite, decorator: Google::Apis::FirestoreV1beta1::ReadWrite::Representation
1001
+
1002
+ end
1003
+ end
1004
+
1005
+ class UnaryFilter
1006
+ # @private
1007
+ class Representation < Google::Apis::Core::JsonRepresentation
1008
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
1009
+
1010
+ property :op, as: 'op'
1011
+ end
1012
+ end
1013
+
1014
+ class Value
1015
+ # @private
1016
+ class Representation < Google::Apis::Core::JsonRepresentation
1017
+ property :array_value, as: 'arrayValue', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
1018
+
1019
+ property :boolean_value, as: 'booleanValue'
1020
+ property :bytes_value, :base64 => true, as: 'bytesValue'
1021
+ property :double_value, as: 'doubleValue'
1022
+ property :geo_point_value, as: 'geoPointValue', class: Google::Apis::FirestoreV1beta1::LatLng, decorator: Google::Apis::FirestoreV1beta1::LatLng::Representation
1023
+
1024
+ property :integer_value, :numeric_string => true, as: 'integerValue'
1025
+ property :map_value, as: 'mapValue', class: Google::Apis::FirestoreV1beta1::MapValue, decorator: Google::Apis::FirestoreV1beta1::MapValue::Representation
1026
+
1027
+ property :null_value, as: 'nullValue'
1028
+ property :reference_value, as: 'referenceValue'
1029
+ property :string_value, as: 'stringValue'
1030
+ property :timestamp_value, as: 'timestampValue'
1031
+ end
1032
+ end
1033
+
1034
+ class Write
1035
+ # @private
1036
+ class Representation < Google::Apis::Core::JsonRepresentation
1037
+ property :current_document, as: 'currentDocument', class: Google::Apis::FirestoreV1beta1::Precondition, decorator: Google::Apis::FirestoreV1beta1::Precondition::Representation
1038
+
1039
+ property :delete, as: 'delete'
1040
+ property :transform, as: 'transform', class: Google::Apis::FirestoreV1beta1::DocumentTransform, decorator: Google::Apis::FirestoreV1beta1::DocumentTransform::Representation
1041
+
1042
+ property :update, as: 'update', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
1043
+
1044
+ property :update_mask, as: 'updateMask', class: Google::Apis::FirestoreV1beta1::DocumentMask, decorator: Google::Apis::FirestoreV1beta1::DocumentMask::Representation
1045
+
1046
+ collection :update_transforms, as: 'updateTransforms', class: Google::Apis::FirestoreV1beta1::FieldTransform, decorator: Google::Apis::FirestoreV1beta1::FieldTransform::Representation
1047
+
1048
+ end
1049
+ end
1050
+
1051
+ class WriteRequest
1052
+ # @private
1053
+ class Representation < Google::Apis::Core::JsonRepresentation
1054
+ hash :labels, as: 'labels'
1055
+ property :stream_id, as: 'streamId'
1056
+ property :stream_token, :base64 => true, as: 'streamToken'
1057
+ collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
1058
+
1059
+ end
1060
+ end
1061
+
1062
+ class WriteResponse
1063
+ # @private
1064
+ class Representation < Google::Apis::Core::JsonRepresentation
1065
+ property :commit_time, as: 'commitTime'
1066
+ property :stream_id, as: 'streamId'
1067
+ property :stream_token, :base64 => true, as: 'streamToken'
1068
+ collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1beta1::WriteResult, decorator: Google::Apis::FirestoreV1beta1::WriteResult::Representation
1069
+
1070
+ end
1071
+ end
1072
+
1073
+ class WriteResult
1074
+ # @private
1075
+ class Representation < Google::Apis::Core::JsonRepresentation
1076
+ collection :transform_results, as: 'transformResults', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
1077
+
1078
+ property :update_time, as: 'updateTime'
1079
+ end
1080
+ end
1081
+ end
1082
+ end
1083
+ end