google-apis-firestore_v1 0.1.0
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.
- checksums.yaml +7 -0
- data/.yardopts +13 -0
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +202 -0
- data/OVERVIEW.md +96 -0
- data/lib/google-apis-firestore_v1.rb +15 -0
- data/lib/google/apis/firestore_v1.rb +40 -0
- data/lib/google/apis/firestore_v1/classes.rb +2642 -0
- data/lib/google/apis/firestore_v1/gem_version.rb +28 -0
- data/lib/google/apis/firestore_v1/representations.rb +1228 -0
- data/lib/google/apis/firestore_v1/service.rb +1232 -0
- metadata +76 -0
|
@@ -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 FirestoreV1
|
|
18
|
+
# Version of the google-apis-firestore_v1 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 = "20201016"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,1228 @@
|
|
|
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 FirestoreV1
|
|
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 GoogleFirestoreAdminV1ExportDocumentsMetadata
|
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
177
|
+
|
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
+
|
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
|
+
|
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
class GoogleFirestoreAdminV1Field
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
class GoogleFirestoreAdminV1FieldOperationMetadata
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
class GoogleFirestoreAdminV1Index
|
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
|
+
|
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
class GoogleFirestoreAdminV1IndexConfig
|
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
225
|
+
|
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
class GoogleFirestoreAdminV1IndexConfigDelta
|
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
|
+
|
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
class GoogleFirestoreAdminV1IndexField
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
class GoogleFirestoreAdminV1IndexOperationMetadata
|
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
243
|
+
|
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
class GoogleFirestoreAdminV1ListFieldsResponse
|
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
249
|
+
|
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
251
|
+
end
|
|
252
|
+
|
|
253
|
+
class GoogleFirestoreAdminV1ListIndexesResponse
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
class GoogleFirestoreAdminV1LocationMetadata
|
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
|
+
|
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
class GoogleFirestoreAdminV1Progress
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class GoogleLongrunningCancelOperationRequest
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class GoogleLongrunningListOperationsResponse
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
class GoogleLongrunningOperation
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
class LatLng
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
class ListCollectionIdsRequest
|
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
+
|
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
class ListCollectionIdsResponse
|
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
|
+
|
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
class ListDocumentsResponse
|
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
309
|
+
|
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
class ListLocationsResponse
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class ListenRequest
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class ListenResponse
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
331
|
+
class Location
|
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
333
|
+
|
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
335
|
+
end
|
|
336
|
+
|
|
337
|
+
class MapValue
|
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
339
|
+
|
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
class Order
|
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
345
|
+
|
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
347
|
+
end
|
|
348
|
+
|
|
349
|
+
class PartitionQueryRequest
|
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
351
|
+
|
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
353
|
+
end
|
|
354
|
+
|
|
355
|
+
class PartitionQueryResponse
|
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
357
|
+
|
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
class Precondition
|
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
363
|
+
|
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
365
|
+
end
|
|
366
|
+
|
|
367
|
+
class Projection
|
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
369
|
+
|
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
class QueryTarget
|
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
375
|
+
|
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
377
|
+
end
|
|
378
|
+
|
|
379
|
+
class ReadOnly
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
381
|
+
|
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
383
|
+
end
|
|
384
|
+
|
|
385
|
+
class ReadWrite
|
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
387
|
+
|
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
class RollbackRequest
|
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
393
|
+
|
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
395
|
+
end
|
|
396
|
+
|
|
397
|
+
class RunQueryRequest
|
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
399
|
+
|
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
401
|
+
end
|
|
402
|
+
|
|
403
|
+
class RunQueryResponse
|
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
405
|
+
|
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
407
|
+
end
|
|
408
|
+
|
|
409
|
+
class Status
|
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
411
|
+
|
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
class StructuredQuery
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
421
|
+
class Target
|
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
423
|
+
|
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
class TargetChange
|
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
429
|
+
|
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
431
|
+
end
|
|
432
|
+
|
|
433
|
+
class TransactionOptions
|
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
435
|
+
|
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
class UnaryFilter
|
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
441
|
+
|
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
443
|
+
end
|
|
444
|
+
|
|
445
|
+
class Value
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class Write
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
457
|
+
class WriteRequest
|
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
459
|
+
|
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
class WriteResponse
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
465
|
+
|
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
class WriteResult
|
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
471
|
+
|
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
473
|
+
end
|
|
474
|
+
|
|
475
|
+
class ArrayValue
|
|
476
|
+
# @private
|
|
477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
478
|
+
collection :values, as: 'values', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
479
|
+
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
483
|
+
class BatchGetDocumentsRequest
|
|
484
|
+
# @private
|
|
485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
486
|
+
collection :documents, as: 'documents'
|
|
487
|
+
property :mask, as: 'mask', class: Google::Apis::FirestoreV1::DocumentMask, decorator: Google::Apis::FirestoreV1::DocumentMask::Representation
|
|
488
|
+
|
|
489
|
+
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
|
490
|
+
|
|
491
|
+
property :read_time, as: 'readTime'
|
|
492
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
493
|
+
end
|
|
494
|
+
end
|
|
495
|
+
|
|
496
|
+
class BatchGetDocumentsResponse
|
|
497
|
+
# @private
|
|
498
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
499
|
+
property :found, as: 'found', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
|
500
|
+
|
|
501
|
+
property :missing, as: 'missing'
|
|
502
|
+
property :read_time, as: 'readTime'
|
|
503
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
504
|
+
end
|
|
505
|
+
end
|
|
506
|
+
|
|
507
|
+
class BatchWriteRequest
|
|
508
|
+
# @private
|
|
509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
510
|
+
hash :labels, as: 'labels'
|
|
511
|
+
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1::Write, decorator: Google::Apis::FirestoreV1::Write::Representation
|
|
512
|
+
|
|
513
|
+
end
|
|
514
|
+
end
|
|
515
|
+
|
|
516
|
+
class BatchWriteResponse
|
|
517
|
+
# @private
|
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
519
|
+
collection :status, as: 'status', class: Google::Apis::FirestoreV1::Status, decorator: Google::Apis::FirestoreV1::Status::Representation
|
|
520
|
+
|
|
521
|
+
collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1::WriteResult, decorator: Google::Apis::FirestoreV1::WriteResult::Representation
|
|
522
|
+
|
|
523
|
+
end
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class BeginTransactionRequest
|
|
527
|
+
# @private
|
|
528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
529
|
+
property :options, as: 'options', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
|
530
|
+
|
|
531
|
+
end
|
|
532
|
+
end
|
|
533
|
+
|
|
534
|
+
class BeginTransactionResponse
|
|
535
|
+
# @private
|
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
537
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
538
|
+
end
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
class CollectionSelector
|
|
542
|
+
# @private
|
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
544
|
+
property :all_descendants, as: 'allDescendants'
|
|
545
|
+
property :collection_id, as: 'collectionId'
|
|
546
|
+
end
|
|
547
|
+
end
|
|
548
|
+
|
|
549
|
+
class CommitRequest
|
|
550
|
+
# @private
|
|
551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
552
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
553
|
+
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1::Write, decorator: Google::Apis::FirestoreV1::Write::Representation
|
|
554
|
+
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
class CommitResponse
|
|
559
|
+
# @private
|
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
561
|
+
property :commit_time, as: 'commitTime'
|
|
562
|
+
collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1::WriteResult, decorator: Google::Apis::FirestoreV1::WriteResult::Representation
|
|
563
|
+
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
|
|
567
|
+
class CompositeFilter
|
|
568
|
+
# @private
|
|
569
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
570
|
+
collection :filters, as: 'filters', class: Google::Apis::FirestoreV1::Filter, decorator: Google::Apis::FirestoreV1::Filter::Representation
|
|
571
|
+
|
|
572
|
+
property :op, as: 'op'
|
|
573
|
+
end
|
|
574
|
+
end
|
|
575
|
+
|
|
576
|
+
class Cursor
|
|
577
|
+
# @private
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
579
|
+
property :before, as: 'before'
|
|
580
|
+
collection :values, as: 'values', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
581
|
+
|
|
582
|
+
end
|
|
583
|
+
end
|
|
584
|
+
|
|
585
|
+
class Document
|
|
586
|
+
# @private
|
|
587
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
588
|
+
property :create_time, as: 'createTime'
|
|
589
|
+
hash :fields, as: 'fields', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
590
|
+
|
|
591
|
+
property :name, as: 'name'
|
|
592
|
+
property :update_time, as: 'updateTime'
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
class DocumentChange
|
|
597
|
+
# @private
|
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
599
|
+
property :document, as: 'document', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
|
600
|
+
|
|
601
|
+
collection :removed_target_ids, as: 'removedTargetIds'
|
|
602
|
+
collection :target_ids, as: 'targetIds'
|
|
603
|
+
end
|
|
604
|
+
end
|
|
605
|
+
|
|
606
|
+
class DocumentDelete
|
|
607
|
+
# @private
|
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
609
|
+
property :document, as: 'document'
|
|
610
|
+
property :read_time, as: 'readTime'
|
|
611
|
+
collection :removed_target_ids, as: 'removedTargetIds'
|
|
612
|
+
end
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
class DocumentMask
|
|
616
|
+
# @private
|
|
617
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
618
|
+
collection :field_paths, as: 'fieldPaths'
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
class DocumentRemove
|
|
623
|
+
# @private
|
|
624
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
625
|
+
property :document, as: 'document'
|
|
626
|
+
property :read_time, as: 'readTime'
|
|
627
|
+
collection :removed_target_ids, as: 'removedTargetIds'
|
|
628
|
+
end
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
class DocumentTransform
|
|
632
|
+
# @private
|
|
633
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
634
|
+
property :document, as: 'document'
|
|
635
|
+
collection :field_transforms, as: 'fieldTransforms', class: Google::Apis::FirestoreV1::FieldTransform, decorator: Google::Apis::FirestoreV1::FieldTransform::Representation
|
|
636
|
+
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
class DocumentsTarget
|
|
641
|
+
# @private
|
|
642
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
643
|
+
collection :documents, as: 'documents'
|
|
644
|
+
end
|
|
645
|
+
end
|
|
646
|
+
|
|
647
|
+
class Empty
|
|
648
|
+
# @private
|
|
649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
650
|
+
end
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
class ExistenceFilter
|
|
654
|
+
# @private
|
|
655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
656
|
+
property :count, as: 'count'
|
|
657
|
+
property :target_id, as: 'targetId'
|
|
658
|
+
end
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
class FieldFilter
|
|
662
|
+
# @private
|
|
663
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
664
|
+
property :field, as: 'field', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
|
665
|
+
|
|
666
|
+
property :op, as: 'op'
|
|
667
|
+
property :value, as: 'value', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
668
|
+
|
|
669
|
+
end
|
|
670
|
+
end
|
|
671
|
+
|
|
672
|
+
class FieldReference
|
|
673
|
+
# @private
|
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
675
|
+
property :field_path, as: 'fieldPath'
|
|
676
|
+
end
|
|
677
|
+
end
|
|
678
|
+
|
|
679
|
+
class FieldTransform
|
|
680
|
+
# @private
|
|
681
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
682
|
+
property :append_missing_elements, as: 'appendMissingElements', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation
|
|
683
|
+
|
|
684
|
+
property :field_path, as: 'fieldPath'
|
|
685
|
+
property :increment, as: 'increment', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
686
|
+
|
|
687
|
+
property :maximum, as: 'maximum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
688
|
+
|
|
689
|
+
property :minimum, as: 'minimum', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
690
|
+
|
|
691
|
+
property :remove_all_from_array, as: 'removeAllFromArray', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation
|
|
692
|
+
|
|
693
|
+
property :set_to_server_value, as: 'setToServerValue'
|
|
694
|
+
end
|
|
695
|
+
end
|
|
696
|
+
|
|
697
|
+
class Filter
|
|
698
|
+
# @private
|
|
699
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
700
|
+
property :composite_filter, as: 'compositeFilter', class: Google::Apis::FirestoreV1::CompositeFilter, decorator: Google::Apis::FirestoreV1::CompositeFilter::Representation
|
|
701
|
+
|
|
702
|
+
property :field_filter, as: 'fieldFilter', class: Google::Apis::FirestoreV1::FieldFilter, decorator: Google::Apis::FirestoreV1::FieldFilter::Representation
|
|
703
|
+
|
|
704
|
+
property :unary_filter, as: 'unaryFilter', class: Google::Apis::FirestoreV1::UnaryFilter, decorator: Google::Apis::FirestoreV1::UnaryFilter::Representation
|
|
705
|
+
|
|
706
|
+
end
|
|
707
|
+
end
|
|
708
|
+
|
|
709
|
+
class GoogleFirestoreAdminV1ExportDocumentsMetadata
|
|
710
|
+
# @private
|
|
711
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
712
|
+
collection :collection_ids, as: 'collectionIds'
|
|
713
|
+
property :end_time, as: 'endTime'
|
|
714
|
+
property :operation_state, as: 'operationState'
|
|
715
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
|
716
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
717
|
+
|
|
718
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
719
|
+
|
|
720
|
+
property :start_time, as: 'startTime'
|
|
721
|
+
end
|
|
722
|
+
end
|
|
723
|
+
|
|
724
|
+
class GoogleFirestoreAdminV1ExportDocumentsRequest
|
|
725
|
+
# @private
|
|
726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
727
|
+
collection :collection_ids, as: 'collectionIds'
|
|
728
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
|
729
|
+
end
|
|
730
|
+
end
|
|
731
|
+
|
|
732
|
+
class GoogleFirestoreAdminV1ExportDocumentsResponse
|
|
733
|
+
# @private
|
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
735
|
+
property :output_uri_prefix, as: 'outputUriPrefix'
|
|
736
|
+
end
|
|
737
|
+
end
|
|
738
|
+
|
|
739
|
+
class GoogleFirestoreAdminV1Field
|
|
740
|
+
# @private
|
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
742
|
+
property :index_config, as: 'indexConfig', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfig::Representation
|
|
743
|
+
|
|
744
|
+
property :name, as: 'name'
|
|
745
|
+
end
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
class GoogleFirestoreAdminV1FieldOperationMetadata
|
|
749
|
+
# @private
|
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
751
|
+
property :end_time, as: 'endTime'
|
|
752
|
+
property :field, as: 'field'
|
|
753
|
+
collection :index_config_deltas, as: 'indexConfigDeltas', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexConfigDelta::Representation
|
|
754
|
+
|
|
755
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
756
|
+
|
|
757
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
758
|
+
|
|
759
|
+
property :start_time, as: 'startTime'
|
|
760
|
+
property :state, as: 'state'
|
|
761
|
+
end
|
|
762
|
+
end
|
|
763
|
+
|
|
764
|
+
class GoogleFirestoreAdminV1ImportDocumentsMetadata
|
|
765
|
+
# @private
|
|
766
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
767
|
+
collection :collection_ids, as: 'collectionIds'
|
|
768
|
+
property :end_time, as: 'endTime'
|
|
769
|
+
property :input_uri_prefix, as: 'inputUriPrefix'
|
|
770
|
+
property :operation_state, as: 'operationState'
|
|
771
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
772
|
+
|
|
773
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
774
|
+
|
|
775
|
+
property :start_time, as: 'startTime'
|
|
776
|
+
end
|
|
777
|
+
end
|
|
778
|
+
|
|
779
|
+
class GoogleFirestoreAdminV1ImportDocumentsRequest
|
|
780
|
+
# @private
|
|
781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
782
|
+
collection :collection_ids, as: 'collectionIds'
|
|
783
|
+
property :input_uri_prefix, as: 'inputUriPrefix'
|
|
784
|
+
end
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
class GoogleFirestoreAdminV1Index
|
|
788
|
+
# @private
|
|
789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
790
|
+
collection :fields, as: 'fields', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField::Representation
|
|
791
|
+
|
|
792
|
+
property :name, as: 'name'
|
|
793
|
+
property :query_scope, as: 'queryScope'
|
|
794
|
+
property :state, as: 'state'
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
class GoogleFirestoreAdminV1IndexConfig
|
|
799
|
+
# @private
|
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
801
|
+
property :ancestor_field, as: 'ancestorField'
|
|
802
|
+
collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
|
803
|
+
|
|
804
|
+
property :reverting, as: 'reverting'
|
|
805
|
+
property :uses_ancestor_config, as: 'usesAncestorConfig'
|
|
806
|
+
end
|
|
807
|
+
end
|
|
808
|
+
|
|
809
|
+
class GoogleFirestoreAdminV1IndexConfigDelta
|
|
810
|
+
# @private
|
|
811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
812
|
+
property :change_type, as: 'changeType'
|
|
813
|
+
property :index, as: 'index', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
|
814
|
+
|
|
815
|
+
end
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
class GoogleFirestoreAdminV1IndexField
|
|
819
|
+
# @private
|
|
820
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
821
|
+
property :array_config, as: 'arrayConfig'
|
|
822
|
+
property :field_path, as: 'fieldPath'
|
|
823
|
+
property :order, as: 'order'
|
|
824
|
+
end
|
|
825
|
+
end
|
|
826
|
+
|
|
827
|
+
class GoogleFirestoreAdminV1IndexOperationMetadata
|
|
828
|
+
# @private
|
|
829
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
830
|
+
property :end_time, as: 'endTime'
|
|
831
|
+
property :index, as: 'index'
|
|
832
|
+
property :progress_bytes, as: 'progressBytes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
833
|
+
|
|
834
|
+
property :progress_documents, as: 'progressDocuments', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Progress::Representation
|
|
835
|
+
|
|
836
|
+
property :start_time, as: 'startTime'
|
|
837
|
+
property :state, as: 'state'
|
|
838
|
+
end
|
|
839
|
+
end
|
|
840
|
+
|
|
841
|
+
class GoogleFirestoreAdminV1ListFieldsResponse
|
|
842
|
+
# @private
|
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
844
|
+
collection :fields, as: 'fields', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Field::Representation
|
|
845
|
+
|
|
846
|
+
property :next_page_token, as: 'nextPageToken'
|
|
847
|
+
end
|
|
848
|
+
end
|
|
849
|
+
|
|
850
|
+
class GoogleFirestoreAdminV1ListIndexesResponse
|
|
851
|
+
# @private
|
|
852
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
853
|
+
collection :indexes, as: 'indexes', class: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index, decorator: Google::Apis::FirestoreV1::GoogleFirestoreAdminV1Index::Representation
|
|
854
|
+
|
|
855
|
+
property :next_page_token, as: 'nextPageToken'
|
|
856
|
+
end
|
|
857
|
+
end
|
|
858
|
+
|
|
859
|
+
class GoogleFirestoreAdminV1LocationMetadata
|
|
860
|
+
# @private
|
|
861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
862
|
+
end
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
class GoogleFirestoreAdminV1Progress
|
|
866
|
+
# @private
|
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
868
|
+
property :completed_work, :numeric_string => true, as: 'completedWork'
|
|
869
|
+
property :estimated_work, :numeric_string => true, as: 'estimatedWork'
|
|
870
|
+
end
|
|
871
|
+
end
|
|
872
|
+
|
|
873
|
+
class GoogleLongrunningCancelOperationRequest
|
|
874
|
+
# @private
|
|
875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
876
|
+
end
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
class GoogleLongrunningListOperationsResponse
|
|
880
|
+
# @private
|
|
881
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
882
|
+
property :next_page_token, as: 'nextPageToken'
|
|
883
|
+
collection :operations, as: 'operations', class: Google::Apis::FirestoreV1::GoogleLongrunningOperation, decorator: Google::Apis::FirestoreV1::GoogleLongrunningOperation::Representation
|
|
884
|
+
|
|
885
|
+
end
|
|
886
|
+
end
|
|
887
|
+
|
|
888
|
+
class GoogleLongrunningOperation
|
|
889
|
+
# @private
|
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
891
|
+
property :done, as: 'done'
|
|
892
|
+
property :error, as: 'error', class: Google::Apis::FirestoreV1::Status, decorator: Google::Apis::FirestoreV1::Status::Representation
|
|
893
|
+
|
|
894
|
+
hash :metadata, as: 'metadata'
|
|
895
|
+
property :name, as: 'name'
|
|
896
|
+
hash :response, as: 'response'
|
|
897
|
+
end
|
|
898
|
+
end
|
|
899
|
+
|
|
900
|
+
class LatLng
|
|
901
|
+
# @private
|
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
903
|
+
property :latitude, as: 'latitude'
|
|
904
|
+
property :longitude, as: 'longitude'
|
|
905
|
+
end
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
class ListCollectionIdsRequest
|
|
909
|
+
# @private
|
|
910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
911
|
+
property :page_size, as: 'pageSize'
|
|
912
|
+
property :page_token, as: 'pageToken'
|
|
913
|
+
end
|
|
914
|
+
end
|
|
915
|
+
|
|
916
|
+
class ListCollectionIdsResponse
|
|
917
|
+
# @private
|
|
918
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
919
|
+
collection :collection_ids, as: 'collectionIds'
|
|
920
|
+
property :next_page_token, as: 'nextPageToken'
|
|
921
|
+
end
|
|
922
|
+
end
|
|
923
|
+
|
|
924
|
+
class ListDocumentsResponse
|
|
925
|
+
# @private
|
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
927
|
+
collection :documents, as: 'documents', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
|
928
|
+
|
|
929
|
+
property :next_page_token, as: 'nextPageToken'
|
|
930
|
+
end
|
|
931
|
+
end
|
|
932
|
+
|
|
933
|
+
class ListLocationsResponse
|
|
934
|
+
# @private
|
|
935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
936
|
+
collection :locations, as: 'locations', class: Google::Apis::FirestoreV1::Location, decorator: Google::Apis::FirestoreV1::Location::Representation
|
|
937
|
+
|
|
938
|
+
property :next_page_token, as: 'nextPageToken'
|
|
939
|
+
end
|
|
940
|
+
end
|
|
941
|
+
|
|
942
|
+
class ListenRequest
|
|
943
|
+
# @private
|
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
945
|
+
property :add_target, as: 'addTarget', class: Google::Apis::FirestoreV1::Target, decorator: Google::Apis::FirestoreV1::Target::Representation
|
|
946
|
+
|
|
947
|
+
hash :labels, as: 'labels'
|
|
948
|
+
property :remove_target, as: 'removeTarget'
|
|
949
|
+
end
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
class ListenResponse
|
|
953
|
+
# @private
|
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
955
|
+
property :document_change, as: 'documentChange', class: Google::Apis::FirestoreV1::DocumentChange, decorator: Google::Apis::FirestoreV1::DocumentChange::Representation
|
|
956
|
+
|
|
957
|
+
property :document_delete, as: 'documentDelete', class: Google::Apis::FirestoreV1::DocumentDelete, decorator: Google::Apis::FirestoreV1::DocumentDelete::Representation
|
|
958
|
+
|
|
959
|
+
property :document_remove, as: 'documentRemove', class: Google::Apis::FirestoreV1::DocumentRemove, decorator: Google::Apis::FirestoreV1::DocumentRemove::Representation
|
|
960
|
+
|
|
961
|
+
property :filter, as: 'filter', class: Google::Apis::FirestoreV1::ExistenceFilter, decorator: Google::Apis::FirestoreV1::ExistenceFilter::Representation
|
|
962
|
+
|
|
963
|
+
property :target_change, as: 'targetChange', class: Google::Apis::FirestoreV1::TargetChange, decorator: Google::Apis::FirestoreV1::TargetChange::Representation
|
|
964
|
+
|
|
965
|
+
end
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
class Location
|
|
969
|
+
# @private
|
|
970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
971
|
+
property :display_name, as: 'displayName'
|
|
972
|
+
hash :labels, as: 'labels'
|
|
973
|
+
property :location_id, as: 'locationId'
|
|
974
|
+
hash :metadata, as: 'metadata'
|
|
975
|
+
property :name, as: 'name'
|
|
976
|
+
end
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
class MapValue
|
|
980
|
+
# @private
|
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
982
|
+
hash :fields, as: 'fields', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
983
|
+
|
|
984
|
+
end
|
|
985
|
+
end
|
|
986
|
+
|
|
987
|
+
class Order
|
|
988
|
+
# @private
|
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
990
|
+
property :direction, as: 'direction'
|
|
991
|
+
property :field, as: 'field', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
|
992
|
+
|
|
993
|
+
end
|
|
994
|
+
end
|
|
995
|
+
|
|
996
|
+
class PartitionQueryRequest
|
|
997
|
+
# @private
|
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
999
|
+
property :page_size, as: 'pageSize'
|
|
1000
|
+
property :page_token, as: 'pageToken'
|
|
1001
|
+
property :partition_count, :numeric_string => true, as: 'partitionCount'
|
|
1002
|
+
property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1::StructuredQuery, decorator: Google::Apis::FirestoreV1::StructuredQuery::Representation
|
|
1003
|
+
|
|
1004
|
+
end
|
|
1005
|
+
end
|
|
1006
|
+
|
|
1007
|
+
class PartitionQueryResponse
|
|
1008
|
+
# @private
|
|
1009
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1010
|
+
property :next_page_token, as: 'nextPageToken'
|
|
1011
|
+
collection :partitions, as: 'partitions', class: Google::Apis::FirestoreV1::Cursor, decorator: Google::Apis::FirestoreV1::Cursor::Representation
|
|
1012
|
+
|
|
1013
|
+
end
|
|
1014
|
+
end
|
|
1015
|
+
|
|
1016
|
+
class Precondition
|
|
1017
|
+
# @private
|
|
1018
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1019
|
+
property :exists, as: 'exists'
|
|
1020
|
+
property :update_time, as: 'updateTime'
|
|
1021
|
+
end
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
class Projection
|
|
1025
|
+
# @private
|
|
1026
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1027
|
+
collection :fields, as: 'fields', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
|
1028
|
+
|
|
1029
|
+
end
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
class QueryTarget
|
|
1033
|
+
# @private
|
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1035
|
+
property :parent, as: 'parent'
|
|
1036
|
+
property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1::StructuredQuery, decorator: Google::Apis::FirestoreV1::StructuredQuery::Representation
|
|
1037
|
+
|
|
1038
|
+
end
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
class ReadOnly
|
|
1042
|
+
# @private
|
|
1043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1044
|
+
property :read_time, as: 'readTime'
|
|
1045
|
+
end
|
|
1046
|
+
end
|
|
1047
|
+
|
|
1048
|
+
class ReadWrite
|
|
1049
|
+
# @private
|
|
1050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1051
|
+
property :retry_transaction, :base64 => true, as: 'retryTransaction'
|
|
1052
|
+
end
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1055
|
+
class RollbackRequest
|
|
1056
|
+
# @private
|
|
1057
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1058
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
1059
|
+
end
|
|
1060
|
+
end
|
|
1061
|
+
|
|
1062
|
+
class RunQueryRequest
|
|
1063
|
+
# @private
|
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1065
|
+
property :new_transaction, as: 'newTransaction', class: Google::Apis::FirestoreV1::TransactionOptions, decorator: Google::Apis::FirestoreV1::TransactionOptions::Representation
|
|
1066
|
+
|
|
1067
|
+
property :read_time, as: 'readTime'
|
|
1068
|
+
property :structured_query, as: 'structuredQuery', class: Google::Apis::FirestoreV1::StructuredQuery, decorator: Google::Apis::FirestoreV1::StructuredQuery::Representation
|
|
1069
|
+
|
|
1070
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
1071
|
+
end
|
|
1072
|
+
end
|
|
1073
|
+
|
|
1074
|
+
class RunQueryResponse
|
|
1075
|
+
# @private
|
|
1076
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1077
|
+
property :document, as: 'document', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
|
1078
|
+
|
|
1079
|
+
property :read_time, as: 'readTime'
|
|
1080
|
+
property :skipped_results, as: 'skippedResults'
|
|
1081
|
+
property :transaction, :base64 => true, as: 'transaction'
|
|
1082
|
+
end
|
|
1083
|
+
end
|
|
1084
|
+
|
|
1085
|
+
class Status
|
|
1086
|
+
# @private
|
|
1087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1088
|
+
property :code, as: 'code'
|
|
1089
|
+
collection :details, as: 'details'
|
|
1090
|
+
property :message, as: 'message'
|
|
1091
|
+
end
|
|
1092
|
+
end
|
|
1093
|
+
|
|
1094
|
+
class StructuredQuery
|
|
1095
|
+
# @private
|
|
1096
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1097
|
+
property :end_at, as: 'endAt', class: Google::Apis::FirestoreV1::Cursor, decorator: Google::Apis::FirestoreV1::Cursor::Representation
|
|
1098
|
+
|
|
1099
|
+
collection :from, as: 'from', class: Google::Apis::FirestoreV1::CollectionSelector, decorator: Google::Apis::FirestoreV1::CollectionSelector::Representation
|
|
1100
|
+
|
|
1101
|
+
property :limit, as: 'limit'
|
|
1102
|
+
property :offset, as: 'offset'
|
|
1103
|
+
collection :order_by, as: 'orderBy', class: Google::Apis::FirestoreV1::Order, decorator: Google::Apis::FirestoreV1::Order::Representation
|
|
1104
|
+
|
|
1105
|
+
property :select, as: 'select', class: Google::Apis::FirestoreV1::Projection, decorator: Google::Apis::FirestoreV1::Projection::Representation
|
|
1106
|
+
|
|
1107
|
+
property :start_at, as: 'startAt', class: Google::Apis::FirestoreV1::Cursor, decorator: Google::Apis::FirestoreV1::Cursor::Representation
|
|
1108
|
+
|
|
1109
|
+
property :where, as: 'where', class: Google::Apis::FirestoreV1::Filter, decorator: Google::Apis::FirestoreV1::Filter::Representation
|
|
1110
|
+
|
|
1111
|
+
end
|
|
1112
|
+
end
|
|
1113
|
+
|
|
1114
|
+
class Target
|
|
1115
|
+
# @private
|
|
1116
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1117
|
+
property :documents, as: 'documents', class: Google::Apis::FirestoreV1::DocumentsTarget, decorator: Google::Apis::FirestoreV1::DocumentsTarget::Representation
|
|
1118
|
+
|
|
1119
|
+
property :once, as: 'once'
|
|
1120
|
+
property :query, as: 'query', class: Google::Apis::FirestoreV1::QueryTarget, decorator: Google::Apis::FirestoreV1::QueryTarget::Representation
|
|
1121
|
+
|
|
1122
|
+
property :read_time, as: 'readTime'
|
|
1123
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
|
1124
|
+
property :target_id, as: 'targetId'
|
|
1125
|
+
end
|
|
1126
|
+
end
|
|
1127
|
+
|
|
1128
|
+
class TargetChange
|
|
1129
|
+
# @private
|
|
1130
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1131
|
+
property :cause, as: 'cause', class: Google::Apis::FirestoreV1::Status, decorator: Google::Apis::FirestoreV1::Status::Representation
|
|
1132
|
+
|
|
1133
|
+
property :read_time, as: 'readTime'
|
|
1134
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
|
1135
|
+
property :target_change_type, as: 'targetChangeType'
|
|
1136
|
+
collection :target_ids, as: 'targetIds'
|
|
1137
|
+
end
|
|
1138
|
+
end
|
|
1139
|
+
|
|
1140
|
+
class TransactionOptions
|
|
1141
|
+
# @private
|
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1143
|
+
property :read_only, as: 'readOnly', class: Google::Apis::FirestoreV1::ReadOnly, decorator: Google::Apis::FirestoreV1::ReadOnly::Representation
|
|
1144
|
+
|
|
1145
|
+
property :read_write, as: 'readWrite', class: Google::Apis::FirestoreV1::ReadWrite, decorator: Google::Apis::FirestoreV1::ReadWrite::Representation
|
|
1146
|
+
|
|
1147
|
+
end
|
|
1148
|
+
end
|
|
1149
|
+
|
|
1150
|
+
class UnaryFilter
|
|
1151
|
+
# @private
|
|
1152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1153
|
+
property :field, as: 'field', class: Google::Apis::FirestoreV1::FieldReference, decorator: Google::Apis::FirestoreV1::FieldReference::Representation
|
|
1154
|
+
|
|
1155
|
+
property :op, as: 'op'
|
|
1156
|
+
end
|
|
1157
|
+
end
|
|
1158
|
+
|
|
1159
|
+
class Value
|
|
1160
|
+
# @private
|
|
1161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1162
|
+
property :array_value, as: 'arrayValue', class: Google::Apis::FirestoreV1::ArrayValue, decorator: Google::Apis::FirestoreV1::ArrayValue::Representation
|
|
1163
|
+
|
|
1164
|
+
property :boolean_value, as: 'booleanValue'
|
|
1165
|
+
property :bytes_value, :base64 => true, as: 'bytesValue'
|
|
1166
|
+
property :double_value, as: 'doubleValue'
|
|
1167
|
+
property :geo_point_value, as: 'geoPointValue', class: Google::Apis::FirestoreV1::LatLng, decorator: Google::Apis::FirestoreV1::LatLng::Representation
|
|
1168
|
+
|
|
1169
|
+
property :integer_value, :numeric_string => true, as: 'integerValue'
|
|
1170
|
+
property :map_value, as: 'mapValue', class: Google::Apis::FirestoreV1::MapValue, decorator: Google::Apis::FirestoreV1::MapValue::Representation
|
|
1171
|
+
|
|
1172
|
+
property :null_value, as: 'nullValue'
|
|
1173
|
+
property :reference_value, as: 'referenceValue'
|
|
1174
|
+
property :string_value, as: 'stringValue'
|
|
1175
|
+
property :timestamp_value, as: 'timestampValue'
|
|
1176
|
+
end
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
class Write
|
|
1180
|
+
# @private
|
|
1181
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1182
|
+
property :current_document, as: 'currentDocument', class: Google::Apis::FirestoreV1::Precondition, decorator: Google::Apis::FirestoreV1::Precondition::Representation
|
|
1183
|
+
|
|
1184
|
+
property :delete, as: 'delete'
|
|
1185
|
+
property :transform, as: 'transform', class: Google::Apis::FirestoreV1::DocumentTransform, decorator: Google::Apis::FirestoreV1::DocumentTransform::Representation
|
|
1186
|
+
|
|
1187
|
+
property :update, as: 'update', class: Google::Apis::FirestoreV1::Document, decorator: Google::Apis::FirestoreV1::Document::Representation
|
|
1188
|
+
|
|
1189
|
+
property :update_mask, as: 'updateMask', class: Google::Apis::FirestoreV1::DocumentMask, decorator: Google::Apis::FirestoreV1::DocumentMask::Representation
|
|
1190
|
+
|
|
1191
|
+
collection :update_transforms, as: 'updateTransforms', class: Google::Apis::FirestoreV1::FieldTransform, decorator: Google::Apis::FirestoreV1::FieldTransform::Representation
|
|
1192
|
+
|
|
1193
|
+
end
|
|
1194
|
+
end
|
|
1195
|
+
|
|
1196
|
+
class WriteRequest
|
|
1197
|
+
# @private
|
|
1198
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1199
|
+
hash :labels, as: 'labels'
|
|
1200
|
+
property :stream_id, as: 'streamId'
|
|
1201
|
+
property :stream_token, :base64 => true, as: 'streamToken'
|
|
1202
|
+
collection :writes, as: 'writes', class: Google::Apis::FirestoreV1::Write, decorator: Google::Apis::FirestoreV1::Write::Representation
|
|
1203
|
+
|
|
1204
|
+
end
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
class WriteResponse
|
|
1208
|
+
# @private
|
|
1209
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1210
|
+
property :commit_time, as: 'commitTime'
|
|
1211
|
+
property :stream_id, as: 'streamId'
|
|
1212
|
+
property :stream_token, :base64 => true, as: 'streamToken'
|
|
1213
|
+
collection :write_results, as: 'writeResults', class: Google::Apis::FirestoreV1::WriteResult, decorator: Google::Apis::FirestoreV1::WriteResult::Representation
|
|
1214
|
+
|
|
1215
|
+
end
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1218
|
+
class WriteResult
|
|
1219
|
+
# @private
|
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1221
|
+
collection :transform_results, as: 'transformResults', class: Google::Apis::FirestoreV1::Value, decorator: Google::Apis::FirestoreV1::Value::Representation
|
|
1222
|
+
|
|
1223
|
+
property :update_time, as: 'updateTime'
|
|
1224
|
+
end
|
|
1225
|
+
end
|
|
1226
|
+
end
|
|
1227
|
+
end
|
|
1228
|
+
end
|