google-api-client 0.14.5 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -0
  5. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  6. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  7. data/generated/google/apis/androidenterprise_v1/classes.rb +63 -0
  8. data/generated/google/apis/androidenterprise_v1/representations.rb +18 -0
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +14 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  12. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  13. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +28 -50
  14. data/generated/google/apis/classroom_v1.rb +1 -1
  15. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  16. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +116 -111
  17. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +17 -17
  18. data/generated/google/apis/cloudtasks_v2beta2/service.rb +8 -0
  19. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  20. data/generated/google/apis/cloudtrace_v2/classes.rb +51 -58
  21. data/generated/google/apis/cloudtrace_v2/representations.rb +14 -15
  22. data/generated/google/apis/compute_alpha.rb +1 -1
  23. data/generated/google/apis/compute_alpha/classes.rb +157 -17
  24. data/generated/google/apis/compute_alpha/representations.rb +52 -0
  25. data/generated/google/apis/compute_alpha/service.rb +57 -0
  26. data/generated/google/apis/compute_beta.rb +1 -1
  27. data/generated/google/apis/compute_beta/classes.rb +46 -17
  28. data/generated/google/apis/compute_beta/representations.rb +2 -0
  29. data/generated/google/apis/compute_beta/service.rb +10 -1
  30. data/generated/google/apis/compute_v1.rb +1 -1
  31. data/generated/google/apis/compute_v1/classes.rb +4767 -337
  32. data/generated/google/apis/compute_v1/representations.rb +2044 -27
  33. data/generated/google/apis/compute_v1/service.rb +111 -0
  34. data/generated/google/apis/container_v1.rb +1 -1
  35. data/generated/google/apis/container_v1/classes.rb +1 -1
  36. data/generated/google/apis/container_v1beta1.rb +1 -1
  37. data/generated/google/apis/container_v1beta1/classes.rb +34 -1
  38. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  39. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  40. data/generated/google/apis/dataflow_v1b3/classes.rb +0 -2
  41. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  42. data/generated/google/apis/dataproc_v1beta2/service.rb +5 -1
  43. data/generated/google/apis/{ml_v1beta1.rb → firestore_v1beta1.rb} +11 -8
  44. data/generated/google/apis/firestore_v1beta1/classes.rb +2115 -0
  45. data/generated/google/apis/firestore_v1beta1/representations.rb +899 -0
  46. data/generated/google/apis/firestore_v1beta1/service.rb +734 -0
  47. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  48. data/generated/google/apis/identitytoolkit_v3/classes.rb +93 -0
  49. data/generated/google/apis/identitytoolkit_v3/representations.rb +35 -0
  50. data/generated/google/apis/identitytoolkit_v3/service.rb +35 -0
  51. data/generated/google/apis/logging_v2.rb +1 -1
  52. data/generated/google/apis/logging_v2/classes.rb +4 -9
  53. data/generated/google/apis/logging_v2beta1.rb +1 -1
  54. data/generated/google/apis/logging_v2beta1/classes.rb +4 -9
  55. data/generated/google/apis/ml_v1.rb +1 -1
  56. data/generated/google/apis/ml_v1/service.rb +102 -0
  57. data/generated/google/apis/monitoring_v3.rb +1 -1
  58. data/generated/google/apis/monitoring_v3/classes.rb +4 -9
  59. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  60. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +17 -0
  61. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +1 -0
  62. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  63. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -11
  64. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  65. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  66. data/generated/google/apis/serviceuser_v1.rb +1 -1
  67. data/generated/google/apis/sheets_v4.rb +1 -1
  68. data/generated/google/apis/sheets_v4/classes.rb +81 -26
  69. data/generated/google/apis/sheets_v4/representations.rb +23 -0
  70. data/generated/google/apis/sheets_v4/service.rb +5 -5
  71. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  72. data/generated/google/apis/streetviewpublish_v1/classes.rb +97 -0
  73. data/generated/google/apis/streetviewpublish_v1/representations.rb +18 -0
  74. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  75. data/generated/google/apis/toolresults_v1beta3/classes.rb +121 -0
  76. data/generated/google/apis/toolresults_v1beta3/representations.rb +41 -0
  77. data/generated/google/apis/vision_v1.rb +1 -1
  78. data/generated/google/apis/vision_v1/classes.rb +4 -2
  79. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  80. data/lib/google/apis/version.rb +1 -1
  81. metadata +6 -6
  82. data/generated/google/apis/ml_v1beta1/classes.rb +0 -2396
  83. data/generated/google/apis/ml_v1beta1/representations.rb +0 -755
  84. data/generated/google/apis/ml_v1beta1/service.rb +0 -975
@@ -0,0 +1,899 @@
1
+ # Copyright 2015 Google Inc.
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 BeginTransactionRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class BeginTransactionResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CollectionSelector
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CommitRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CommitResponse
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CompositeFilter
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Cursor
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Document
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DocumentChange
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DocumentDelete
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class DocumentMask
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DocumentRemove
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class DocumentTransform
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class DocumentsTarget
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Empty
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ExistenceFilter
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class FieldFilter
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class FieldReference
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class FieldTransform
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Filter
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Index
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class IndexField
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class IndexOperationMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class LatLng
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ListCollectionIdsResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ListDocumentsResponse
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ListIndexesResponse
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ListenRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ListenResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class MapValue
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Operation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Order
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Precondition
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Progress
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class Projection
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class QueryTarget
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ReadOnly
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ReadWrite
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class RollbackRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class RunQueryRequest
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class RunQueryResponse
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class Status
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class StructuredQuery
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class Target
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class TargetChange
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class TransactionOptions
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class UnaryFilter
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class Value
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Write
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class WriteRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class WriteResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class WriteResult
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class ArrayValue
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ collection :values, as: 'values', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
359
+
360
+ end
361
+ end
362
+
363
+ class BatchGetDocumentsRequest
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ collection :documents, as: 'documents'
367
+ property :mask, as: 'mask', class: Google::Apis::FirestoreV1beta1::DocumentMask, decorator: Google::Apis::FirestoreV1beta1::DocumentMask::Representation
368
+
369
+ property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
370
+
371
+ property :read_time, as: 'readTime'
372
+ property :transaction, :base64 => true, as: 'transaction'
373
+ end
374
+ end
375
+
376
+ class BatchGetDocumentsResponse
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :found, as: 'found', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
380
+
381
+ property :missing, as: 'missing'
382
+ property :read_time, as: 'readTime'
383
+ property :transaction, :base64 => true, as: 'transaction'
384
+ end
385
+ end
386
+
387
+ class BeginTransactionRequest
388
+ # @private
389
+ class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :options, as: 'options', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class BeginTransactionResponse
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ property :transaction, :base64 => true, as: 'transaction'
399
+ end
400
+ end
401
+
402
+ class CollectionSelector
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :all_descendants, as: 'allDescendants'
406
+ property :collection_id, as: 'collectionId'
407
+ end
408
+ end
409
+
410
+ class CommitRequest
411
+ # @private
412
+ class Representation < Google::Apis::Core::JsonRepresentation
413
+ property :transaction, :base64 => true, as: 'transaction'
414
+ collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
415
+
416
+ end
417
+ end
418
+
419
+ class CommitResponse
420
+ # @private
421
+ class Representation < Google::Apis::Core::JsonRepresentation
422
+ property :commit_time, as: 'commitTime'
423
+ collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1beta1::WriteResult, decorator: Google::Apis::FirestoreV1beta1::WriteResult::Representation
424
+
425
+ end
426
+ end
427
+
428
+ class CompositeFilter
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ collection :filters, as: 'filters', class: Google::Apis::FirestoreV1beta1::Filter, decorator: Google::Apis::FirestoreV1beta1::Filter::Representation
432
+
433
+ property :op, as: 'op'
434
+ end
435
+ end
436
+
437
+ class Cursor
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :before, as: 'before'
441
+ collection :values, as: 'values', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
442
+
443
+ end
444
+ end
445
+
446
+ class Document
447
+ # @private
448
+ class Representation < Google::Apis::Core::JsonRepresentation
449
+ property :create_time, as: 'createTime'
450
+ hash :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
451
+
452
+ property :name, as: 'name'
453
+ property :update_time, as: 'updateTime'
454
+ end
455
+ end
456
+
457
+ class DocumentChange
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :document, as: 'document', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
461
+
462
+ collection :removed_target_ids, as: 'removedTargetIds'
463
+ collection :target_ids, as: 'targetIds'
464
+ end
465
+ end
466
+
467
+ class DocumentDelete
468
+ # @private
469
+ class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :document, as: 'document'
471
+ property :read_time, as: 'readTime'
472
+ collection :removed_target_ids, as: 'removedTargetIds'
473
+ end
474
+ end
475
+
476
+ class DocumentMask
477
+ # @private
478
+ class Representation < Google::Apis::Core::JsonRepresentation
479
+ collection :field_paths, as: 'fieldPaths'
480
+ end
481
+ end
482
+
483
+ class DocumentRemove
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :document, as: 'document'
487
+ property :read_time, as: 'readTime'
488
+ collection :removed_target_ids, as: 'removedTargetIds'
489
+ end
490
+ end
491
+
492
+ class DocumentTransform
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :document, as: 'document'
496
+ collection :field_transforms, as: 'fieldTransforms', class: Google::Apis::FirestoreV1beta1::FieldTransform, decorator: Google::Apis::FirestoreV1beta1::FieldTransform::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class DocumentsTarget
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ collection :documents, as: 'documents'
505
+ end
506
+ end
507
+
508
+ class Empty
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ end
512
+ end
513
+
514
+ class ExistenceFilter
515
+ # @private
516
+ class Representation < Google::Apis::Core::JsonRepresentation
517
+ property :count, as: 'count'
518
+ property :target_id, as: 'targetId'
519
+ end
520
+ end
521
+
522
+ class FieldFilter
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
526
+
527
+ property :op, as: 'op'
528
+ property :value, as: 'value', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
529
+
530
+ end
531
+ end
532
+
533
+ class FieldReference
534
+ # @private
535
+ class Representation < Google::Apis::Core::JsonRepresentation
536
+ property :field_path, as: 'fieldPath'
537
+ end
538
+ end
539
+
540
+ class FieldTransform
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ property :field_path, as: 'fieldPath'
544
+ property :set_to_server_value, as: 'setToServerValue'
545
+ end
546
+ end
547
+
548
+ class Filter
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :composite_filter, as: 'compositeFilter', class: Google::Apis::FirestoreV1beta1::CompositeFilter, decorator: Google::Apis::FirestoreV1beta1::CompositeFilter::Representation
552
+
553
+ property :field_filter, as: 'fieldFilter', class: Google::Apis::FirestoreV1beta1::FieldFilter, decorator: Google::Apis::FirestoreV1beta1::FieldFilter::Representation
554
+
555
+ property :unary_filter, as: 'unaryFilter', class: Google::Apis::FirestoreV1beta1::UnaryFilter, decorator: Google::Apis::FirestoreV1beta1::UnaryFilter::Representation
556
+
557
+ end
558
+ end
559
+
560
+ class Index
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :collection_id, as: 'collectionId'
564
+ collection :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::IndexField, decorator: Google::Apis::FirestoreV1beta1::IndexField::Representation
565
+
566
+ property :name, as: 'name'
567
+ property :state, as: 'state'
568
+ end
569
+ end
570
+
571
+ class IndexField
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :field_path, as: 'fieldPath'
575
+ property :mode, as: 'mode'
576
+ end
577
+ end
578
+
579
+ class IndexOperationMetadata
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :cancelled, as: 'cancelled'
583
+ property :document_progress, as: 'documentProgress', class: Google::Apis::FirestoreV1beta1::Progress, decorator: Google::Apis::FirestoreV1beta1::Progress::Representation
584
+
585
+ property :end_time, as: 'endTime'
586
+ property :index, as: 'index'
587
+ property :operation_type, as: 'operationType'
588
+ property :start_time, as: 'startTime'
589
+ end
590
+ end
591
+
592
+ class LatLng
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :latitude, as: 'latitude'
596
+ property :longitude, as: 'longitude'
597
+ end
598
+ end
599
+
600
+ class ListCollectionIdsResponse
601
+ # @private
602
+ class Representation < Google::Apis::Core::JsonRepresentation
603
+ collection :collection_ids, as: 'collectionIds'
604
+ property :next_page_token, as: 'nextPageToken'
605
+ end
606
+ end
607
+
608
+ class ListDocumentsResponse
609
+ # @private
610
+ class Representation < Google::Apis::Core::JsonRepresentation
611
+ collection :documents, as: 'documents', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
612
+
613
+ property :next_page_token, as: 'nextPageToken'
614
+ end
615
+ end
616
+
617
+ class ListIndexesResponse
618
+ # @private
619
+ class Representation < Google::Apis::Core::JsonRepresentation
620
+ collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1beta1::Index, decorator: Google::Apis::FirestoreV1beta1::Index::Representation
621
+
622
+ property :next_page_token, as: 'nextPageToken'
623
+ end
624
+ end
625
+
626
+ class ListenRequest
627
+ # @private
628
+ class Representation < Google::Apis::Core::JsonRepresentation
629
+ property :add_target, as: 'addTarget', class: Google::Apis::FirestoreV1beta1::Target, decorator: Google::Apis::FirestoreV1beta1::Target::Representation
630
+
631
+ hash :labels, as: 'labels'
632
+ property :remove_target, as: 'removeTarget'
633
+ end
634
+ end
635
+
636
+ class ListenResponse
637
+ # @private
638
+ class Representation < Google::Apis::Core::JsonRepresentation
639
+ property :document_change, as: 'documentChange', class: Google::Apis::FirestoreV1beta1::DocumentChange, decorator: Google::Apis::FirestoreV1beta1::DocumentChange::Representation
640
+
641
+ property :document_delete, as: 'documentDelete', class: Google::Apis::FirestoreV1beta1::DocumentDelete, decorator: Google::Apis::FirestoreV1beta1::DocumentDelete::Representation
642
+
643
+ property :document_remove, as: 'documentRemove', class: Google::Apis::FirestoreV1beta1::DocumentRemove, decorator: Google::Apis::FirestoreV1beta1::DocumentRemove::Representation
644
+
645
+ property :filter, as: 'filter', class: Google::Apis::FirestoreV1beta1::ExistenceFilter, decorator: Google::Apis::FirestoreV1beta1::ExistenceFilter::Representation
646
+
647
+ property :target_change, as: 'targetChange', class: Google::Apis::FirestoreV1beta1::TargetChange, decorator: Google::Apis::FirestoreV1beta1::TargetChange::Representation
648
+
649
+ end
650
+ end
651
+
652
+ class MapValue
653
+ # @private
654
+ class Representation < Google::Apis::Core::JsonRepresentation
655
+ hash :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
656
+
657
+ end
658
+ end
659
+
660
+ class Operation
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :done, as: 'done'
664
+ property :error, as: 'error', class: Google::Apis::FirestoreV1beta1::Status, decorator: Google::Apis::FirestoreV1beta1::Status::Representation
665
+
666
+ hash :metadata, as: 'metadata'
667
+ property :name, as: 'name'
668
+ hash :response, as: 'response'
669
+ end
670
+ end
671
+
672
+ class Order
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :direction, as: 'direction'
676
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
677
+
678
+ end
679
+ end
680
+
681
+ class Precondition
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ property :exists, as: 'exists'
685
+ property :update_time, as: 'updateTime'
686
+ end
687
+ end
688
+
689
+ class Progress
690
+ # @private
691
+ class Representation < Google::Apis::Core::JsonRepresentation
692
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
693
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
694
+ end
695
+ end
696
+
697
+ class Projection
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ collection :fields, as: 'fields', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
701
+
702
+ end
703
+ end
704
+
705
+ class QueryTarget
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :parent, as: 'parent'
709
+ property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
710
+
711
+ end
712
+ end
713
+
714
+ class ReadOnly
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ property :read_time, as: 'readTime'
718
+ end
719
+ end
720
+
721
+ class ReadWrite
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :retry_transaction, :base64 => true, as: 'retryTransaction'
725
+ end
726
+ end
727
+
728
+ class RollbackRequest
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :transaction, :base64 => true, as: 'transaction'
732
+ end
733
+ end
734
+
735
+ class RunQueryRequest
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1beta1::TransactionOptions, decorator: Google::Apis::FirestoreV1beta1::TransactionOptions::Representation
739
+
740
+ property :read_time, as: 'readTime'
741
+ property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1beta1::StructuredQuery, decorator: Google::Apis::FirestoreV1beta1::StructuredQuery::Representation
742
+
743
+ property :transaction, :base64 => true, as: 'transaction'
744
+ end
745
+ end
746
+
747
+ class RunQueryResponse
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :document, as: 'document', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
751
+
752
+ property :read_time, as: 'readTime'
753
+ property :skipped_results, as: 'skippedResults'
754
+ property :transaction, :base64 => true, as: 'transaction'
755
+ end
756
+ end
757
+
758
+ class Status
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :code, as: 'code'
762
+ collection :details, as: 'details'
763
+ property :message, as: 'message'
764
+ end
765
+ end
766
+
767
+ class StructuredQuery
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :end_at, as: 'endAt', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
771
+
772
+ collection :from, as: 'from', class: Google::Apis::FirestoreV1beta1::CollectionSelector, decorator: Google::Apis::FirestoreV1beta1::CollectionSelector::Representation
773
+
774
+ property :limit, as: 'limit'
775
+ property :offset, as: 'offset'
776
+ collection :order_by, as: 'orderBy', class: Google::Apis::FirestoreV1beta1::Order, decorator: Google::Apis::FirestoreV1beta1::Order::Representation
777
+
778
+ property :select, as: 'select', class: Google::Apis::FirestoreV1beta1::Projection, decorator: Google::Apis::FirestoreV1beta1::Projection::Representation
779
+
780
+ property :start_at, as: 'startAt', class: Google::Apis::FirestoreV1beta1::Cursor, decorator: Google::Apis::FirestoreV1beta1::Cursor::Representation
781
+
782
+ property :where, as: 'where', class: Google::Apis::FirestoreV1beta1::Filter, decorator: Google::Apis::FirestoreV1beta1::Filter::Representation
783
+
784
+ end
785
+ end
786
+
787
+ class Target
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :documents, as: 'documents', class: Google::Apis::FirestoreV1beta1::DocumentsTarget, decorator: Google::Apis::FirestoreV1beta1::DocumentsTarget::Representation
791
+
792
+ property :once, as: 'once'
793
+ property :query, as: 'query', class: Google::Apis::FirestoreV1beta1::QueryTarget, decorator: Google::Apis::FirestoreV1beta1::QueryTarget::Representation
794
+
795
+ property :read_time, as: 'readTime'
796
+ property :resume_token, :base64 => true, as: 'resumeToken'
797
+ property :target_id, as: 'targetId'
798
+ end
799
+ end
800
+
801
+ class TargetChange
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :cause, as: 'cause', class: Google::Apis::FirestoreV1beta1::Status, decorator: Google::Apis::FirestoreV1beta1::Status::Representation
805
+
806
+ property :read_time, as: 'readTime'
807
+ property :resume_token, :base64 => true, as: 'resumeToken'
808
+ property :target_change_type, as: 'targetChangeType'
809
+ collection :target_ids, as: 'targetIds'
810
+ end
811
+ end
812
+
813
+ class TransactionOptions
814
+ # @private
815
+ class Representation < Google::Apis::Core::JsonRepresentation
816
+ property :read_only, as: 'readOnly', class: Google::Apis::FirestoreV1beta1::ReadOnly, decorator: Google::Apis::FirestoreV1beta1::ReadOnly::Representation
817
+
818
+ property :read_write, as: 'readWrite', class: Google::Apis::FirestoreV1beta1::ReadWrite, decorator: Google::Apis::FirestoreV1beta1::ReadWrite::Representation
819
+
820
+ end
821
+ end
822
+
823
+ class UnaryFilter
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :field, as: 'field', class: Google::Apis::FirestoreV1beta1::FieldReference, decorator: Google::Apis::FirestoreV1beta1::FieldReference::Representation
827
+
828
+ property :op, as: 'op'
829
+ end
830
+ end
831
+
832
+ class Value
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ property :array_value, as: 'arrayValue', class: Google::Apis::FirestoreV1beta1::ArrayValue, decorator: Google::Apis::FirestoreV1beta1::ArrayValue::Representation
836
+
837
+ property :boolean_value, as: 'booleanValue'
838
+ property :bytes_value, :base64 => true, as: 'bytesValue'
839
+ property :double_value, as: 'doubleValue'
840
+ property :geo_point_value, as: 'geoPointValue', class: Google::Apis::FirestoreV1beta1::LatLng, decorator: Google::Apis::FirestoreV1beta1::LatLng::Representation
841
+
842
+ property :integer_value, :numeric_string => true, as: 'integerValue'
843
+ property :map_value, as: 'mapValue', class: Google::Apis::FirestoreV1beta1::MapValue, decorator: Google::Apis::FirestoreV1beta1::MapValue::Representation
844
+
845
+ property :null_value, as: 'nullValue'
846
+ property :reference_value, as: 'referenceValue'
847
+ property :string_value, as: 'stringValue'
848
+ property :timestamp_value, as: 'timestampValue'
849
+ end
850
+ end
851
+
852
+ class Write
853
+ # @private
854
+ class Representation < Google::Apis::Core::JsonRepresentation
855
+ property :current_document, as: 'currentDocument', class: Google::Apis::FirestoreV1beta1::Precondition, decorator: Google::Apis::FirestoreV1beta1::Precondition::Representation
856
+
857
+ property :delete, as: 'delete'
858
+ property :transform, as: 'transform', class: Google::Apis::FirestoreV1beta1::DocumentTransform, decorator: Google::Apis::FirestoreV1beta1::DocumentTransform::Representation
859
+
860
+ property :update, as: 'update', class: Google::Apis::FirestoreV1beta1::Document, decorator: Google::Apis::FirestoreV1beta1::Document::Representation
861
+
862
+ property :update_mask, as: 'updateMask', class: Google::Apis::FirestoreV1beta1::DocumentMask, decorator: Google::Apis::FirestoreV1beta1::DocumentMask::Representation
863
+
864
+ end
865
+ end
866
+
867
+ class WriteRequest
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ hash :labels, as: 'labels'
871
+ property :stream_id, as: 'streamId'
872
+ property :stream_token, :base64 => true, as: 'streamToken'
873
+ collection :writes, as: 'writes', class: Google::Apis::FirestoreV1beta1::Write, decorator: Google::Apis::FirestoreV1beta1::Write::Representation
874
+
875
+ end
876
+ end
877
+
878
+ class WriteResponse
879
+ # @private
880
+ class Representation < Google::Apis::Core::JsonRepresentation
881
+ property :commit_time, as: 'commitTime'
882
+ property :stream_id, as: 'streamId'
883
+ property :stream_token, :base64 => true, as: 'streamToken'
884
+ collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1beta1::WriteResult, decorator: Google::Apis::FirestoreV1beta1::WriteResult::Representation
885
+
886
+ end
887
+ end
888
+
889
+ class WriteResult
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ collection :transform_results, as: 'transformResults', class: Google::Apis::FirestoreV1beta1::Value, decorator: Google::Apis::FirestoreV1beta1::Value::Representation
893
+
894
+ property :update_time, as: 'updateTime'
895
+ end
896
+ end
897
+ end
898
+ end
899
+ end