google-apis-datastore_v1beta3 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.
@@ -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 DatastoreV1beta3
18
+ # Version of the google-apis-datastore_v1beta3 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201017"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,859 @@
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 DatastoreV1beta3
24
+
25
+ class AllocateIdsRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AllocateIdsResponse
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class ArrayValue
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 CommitRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CommitResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class CompositeFilter
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Entity
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class EntityResult
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class Filter
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleDatastoreAdminV1CommonMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleDatastoreAdminV1EntityFilter
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleDatastoreAdminV1ExportEntitiesMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleDatastoreAdminV1ExportEntitiesResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleDatastoreAdminV1ImportEntitiesMetadata
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleDatastoreAdminV1IndexOperationMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleDatastoreAdminV1Progress
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleDatastoreAdminV1beta1CommonMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleDatastoreAdminV1beta1EntityFilter
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleDatastoreAdminV1beta1ExportEntitiesResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleDatastoreAdminV1beta1Progress
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GqlQuery
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GqlQueryParameter
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Key
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class KindExpression
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class LatLng
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class LookupRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class LookupResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Mutation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class MutationResult
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class PartitionId
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class PathElement
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Projection
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class PropertyFilter
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class PropertyOrder
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class PropertyReference
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Query
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class QueryResultBatch
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ReadOnly
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class ReadOptions
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class ReadWrite
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class ReserveIdsRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class ReserveIdsResponse
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class RollbackRequest
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class RollbackResponse
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class RunQueryRequest
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class RunQueryResponse
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class TransactionOptions
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class Value
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class AllocateIdsRequest
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
341
+
342
+ end
343
+ end
344
+
345
+ class AllocateIdsResponse
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
349
+
350
+ end
351
+ end
352
+
353
+ class ArrayValue
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ collection :values, as: 'values', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
357
+
358
+ end
359
+ end
360
+
361
+ class BeginTransactionRequest
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1beta3::TransactionOptions, decorator: Google::Apis::DatastoreV1beta3::TransactionOptions::Representation
365
+
366
+ end
367
+ end
368
+
369
+ class BeginTransactionResponse
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :transaction, :base64 => true, as: 'transaction'
373
+ end
374
+ end
375
+
376
+ class CommitRequest
377
+ # @private
378
+ class Representation < Google::Apis::Core::JsonRepresentation
379
+ property :mode, as: 'mode'
380
+ collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1beta3::Mutation, decorator: Google::Apis::DatastoreV1beta3::Mutation::Representation
381
+
382
+ property :transaction, :base64 => true, as: 'transaction'
383
+ end
384
+ end
385
+
386
+ class CommitResponse
387
+ # @private
388
+ class Representation < Google::Apis::Core::JsonRepresentation
389
+ property :index_updates, as: 'indexUpdates'
390
+ collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1beta3::MutationResult, decorator: Google::Apis::DatastoreV1beta3::MutationResult::Representation
391
+
392
+ end
393
+ end
394
+
395
+ class CompositeFilter
396
+ # @private
397
+ class Representation < Google::Apis::Core::JsonRepresentation
398
+ collection :filters, as: 'filters', class: Google::Apis::DatastoreV1beta3::Filter, decorator: Google::Apis::DatastoreV1beta3::Filter::Representation
399
+
400
+ property :op, as: 'op'
401
+ end
402
+ end
403
+
404
+ class Entity
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :key, as: 'key', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
408
+
409
+ hash :properties, as: 'properties', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
410
+
411
+ end
412
+ end
413
+
414
+ class EntityResult
415
+ # @private
416
+ class Representation < Google::Apis::Core::JsonRepresentation
417
+ property :cursor, :base64 => true, as: 'cursor'
418
+ property :entity, as: 'entity', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
419
+
420
+ property :version, :numeric_string => true, as: 'version'
421
+ end
422
+ end
423
+
424
+ class Filter
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1beta3::CompositeFilter, decorator: Google::Apis::DatastoreV1beta3::CompositeFilter::Representation
428
+
429
+ property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1beta3::PropertyFilter, decorator: Google::Apis::DatastoreV1beta3::PropertyFilter::Representation
430
+
431
+ end
432
+ end
433
+
434
+ class GoogleDatastoreAdminV1CommonMetadata
435
+ # @private
436
+ class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :end_time, as: 'endTime'
438
+ hash :labels, as: 'labels'
439
+ property :operation_type, as: 'operationType'
440
+ property :start_time, as: 'startTime'
441
+ property :state, as: 'state'
442
+ end
443
+ end
444
+
445
+ class GoogleDatastoreAdminV1EntityFilter
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ collection :kinds, as: 'kinds'
449
+ collection :namespace_ids, as: 'namespaceIds'
450
+ end
451
+ end
452
+
453
+ class GoogleDatastoreAdminV1ExportEntitiesMetadata
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata::Representation
457
+
458
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter::Representation
459
+
460
+ property :output_url_prefix, as: 'outputUrlPrefix'
461
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
462
+
463
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
464
+
465
+ end
466
+ end
467
+
468
+ class GoogleDatastoreAdminV1ExportEntitiesResponse
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :output_url, as: 'outputUrl'
472
+ end
473
+ end
474
+
475
+ class GoogleDatastoreAdminV1ImportEntitiesMetadata
476
+ # @private
477
+ class Representation < Google::Apis::Core::JsonRepresentation
478
+ property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata::Representation
479
+
480
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1EntityFilter::Representation
481
+
482
+ property :input_url, as: 'inputUrl'
483
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
484
+
485
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
486
+
487
+ end
488
+ end
489
+
490
+ class GoogleDatastoreAdminV1IndexOperationMetadata
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1CommonMetadata::Representation
494
+
495
+ property :index_id, as: 'indexId'
496
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1Progress::Representation
497
+
498
+ end
499
+ end
500
+
501
+ class GoogleDatastoreAdminV1Progress
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
505
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
506
+ end
507
+ end
508
+
509
+ class GoogleDatastoreAdminV1beta1CommonMetadata
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :end_time, as: 'endTime'
513
+ hash :labels, as: 'labels'
514
+ property :operation_type, as: 'operationType'
515
+ property :start_time, as: 'startTime'
516
+ property :state, as: 'state'
517
+ end
518
+ end
519
+
520
+ class GoogleDatastoreAdminV1beta1EntityFilter
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ collection :kinds, as: 'kinds'
524
+ collection :namespace_ids, as: 'namespaceIds'
525
+ end
526
+ end
527
+
528
+ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata::Representation
532
+
533
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter::Representation
534
+
535
+ property :output_url_prefix, as: 'outputUrlPrefix'
536
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress::Representation
537
+
538
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress::Representation
539
+
540
+ end
541
+ end
542
+
543
+ class GoogleDatastoreAdminV1beta1ExportEntitiesResponse
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ property :output_url, as: 'outputUrl'
547
+ end
548
+ end
549
+
550
+ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :common, as: 'common', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1CommonMetadata::Representation
554
+
555
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1EntityFilter::Representation
556
+
557
+ property :input_url, as: 'inputUrl'
558
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress::Representation
559
+
560
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1beta1Progress::Representation
561
+
562
+ end
563
+ end
564
+
565
+ class GoogleDatastoreAdminV1beta1Progress
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
569
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
570
+ end
571
+ end
572
+
573
+ class GqlQuery
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :allow_literals, as: 'allowLiterals'
577
+ hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1beta3::GqlQueryParameter, decorator: Google::Apis::DatastoreV1beta3::GqlQueryParameter::Representation
578
+
579
+ collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1beta3::GqlQueryParameter, decorator: Google::Apis::DatastoreV1beta3::GqlQueryParameter::Representation
580
+
581
+ property :query_string, as: 'queryString'
582
+ end
583
+ end
584
+
585
+ class GqlQueryParameter
586
+ # @private
587
+ class Representation < Google::Apis::Core::JsonRepresentation
588
+ property :cursor, :base64 => true, as: 'cursor'
589
+ property :value, as: 'value', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
590
+
591
+ end
592
+ end
593
+
594
+ class Key
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
598
+
599
+ collection :path, as: 'path', class: Google::Apis::DatastoreV1beta3::PathElement, decorator: Google::Apis::DatastoreV1beta3::PathElement::Representation
600
+
601
+ end
602
+ end
603
+
604
+ class KindExpression
605
+ # @private
606
+ class Representation < Google::Apis::Core::JsonRepresentation
607
+ property :name, as: 'name'
608
+ end
609
+ end
610
+
611
+ class LatLng
612
+ # @private
613
+ class Representation < Google::Apis::Core::JsonRepresentation
614
+ property :latitude, as: 'latitude'
615
+ property :longitude, as: 'longitude'
616
+ end
617
+ end
618
+
619
+ class LookupRequest
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
623
+
624
+ property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
625
+
626
+ end
627
+ end
628
+
629
+ class LookupResponse
630
+ # @private
631
+ class Representation < Google::Apis::Core::JsonRepresentation
632
+ collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
633
+
634
+ collection :found, as: 'found', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
635
+
636
+ collection :missing, as: 'missing', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
637
+
638
+ end
639
+ end
640
+
641
+ class Mutation
642
+ # @private
643
+ class Representation < Google::Apis::Core::JsonRepresentation
644
+ property :base_version, :numeric_string => true, as: 'baseVersion'
645
+ property :delete, as: 'delete', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
646
+
647
+ property :insert, as: 'insert', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
648
+
649
+ property :update, as: 'update', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
650
+
651
+ property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
652
+
653
+ end
654
+ end
655
+
656
+ class MutationResult
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :conflict_detected, as: 'conflictDetected'
660
+ property :key, as: 'key', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
661
+
662
+ property :version, :numeric_string => true, as: 'version'
663
+ end
664
+ end
665
+
666
+ class PartitionId
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :namespace_id, as: 'namespaceId'
670
+ property :project_id, as: 'projectId'
671
+ end
672
+ end
673
+
674
+ class PathElement
675
+ # @private
676
+ class Representation < Google::Apis::Core::JsonRepresentation
677
+ property :id, :numeric_string => true, as: 'id'
678
+ property :kind, as: 'kind'
679
+ property :name, as: 'name'
680
+ end
681
+ end
682
+
683
+ class Projection
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
687
+
688
+ end
689
+ end
690
+
691
+ class PropertyFilter
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ property :op, as: 'op'
695
+ property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
696
+
697
+ property :value, as: 'value', class: Google::Apis::DatastoreV1beta3::Value, decorator: Google::Apis::DatastoreV1beta3::Value::Representation
698
+
699
+ end
700
+ end
701
+
702
+ class PropertyOrder
703
+ # @private
704
+ class Representation < Google::Apis::Core::JsonRepresentation
705
+ property :direction, as: 'direction'
706
+ property :property, as: 'property', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
707
+
708
+ end
709
+ end
710
+
711
+ class PropertyReference
712
+ # @private
713
+ class Representation < Google::Apis::Core::JsonRepresentation
714
+ property :name, as: 'name'
715
+ end
716
+ end
717
+
718
+ class Query
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1beta3::PropertyReference, decorator: Google::Apis::DatastoreV1beta3::PropertyReference::Representation
722
+
723
+ property :end_cursor, :base64 => true, as: 'endCursor'
724
+ property :filter, as: 'filter', class: Google::Apis::DatastoreV1beta3::Filter, decorator: Google::Apis::DatastoreV1beta3::Filter::Representation
725
+
726
+ collection :kind, as: 'kind', class: Google::Apis::DatastoreV1beta3::KindExpression, decorator: Google::Apis::DatastoreV1beta3::KindExpression::Representation
727
+
728
+ property :limit, as: 'limit'
729
+ property :offset, as: 'offset'
730
+ collection :order, as: 'order', class: Google::Apis::DatastoreV1beta3::PropertyOrder, decorator: Google::Apis::DatastoreV1beta3::PropertyOrder::Representation
731
+
732
+ collection :projection, as: 'projection', class: Google::Apis::DatastoreV1beta3::Projection, decorator: Google::Apis::DatastoreV1beta3::Projection::Representation
733
+
734
+ property :start_cursor, :base64 => true, as: 'startCursor'
735
+ end
736
+ end
737
+
738
+ class QueryResultBatch
739
+ # @private
740
+ class Representation < Google::Apis::Core::JsonRepresentation
741
+ property :end_cursor, :base64 => true, as: 'endCursor'
742
+ property :entity_result_type, as: 'entityResultType'
743
+ collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1beta3::EntityResult, decorator: Google::Apis::DatastoreV1beta3::EntityResult::Representation
744
+
745
+ property :more_results, as: 'moreResults'
746
+ property :skipped_cursor, :base64 => true, as: 'skippedCursor'
747
+ property :skipped_results, as: 'skippedResults'
748
+ property :snapshot_version, :numeric_string => true, as: 'snapshotVersion'
749
+ end
750
+ end
751
+
752
+ class ReadOnly
753
+ # @private
754
+ class Representation < Google::Apis::Core::JsonRepresentation
755
+ end
756
+ end
757
+
758
+ class ReadOptions
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :read_consistency, as: 'readConsistency'
762
+ property :transaction, :base64 => true, as: 'transaction'
763
+ end
764
+ end
765
+
766
+ class ReadWrite
767
+ # @private
768
+ class Representation < Google::Apis::Core::JsonRepresentation
769
+ property :previous_transaction, :base64 => true, as: 'previousTransaction'
770
+ end
771
+ end
772
+
773
+ class ReserveIdsRequest
774
+ # @private
775
+ class Representation < Google::Apis::Core::JsonRepresentation
776
+ property :database_id, as: 'databaseId'
777
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
778
+
779
+ end
780
+ end
781
+
782
+ class ReserveIdsResponse
783
+ # @private
784
+ class Representation < Google::Apis::Core::JsonRepresentation
785
+ end
786
+ end
787
+
788
+ class RollbackRequest
789
+ # @private
790
+ class Representation < Google::Apis::Core::JsonRepresentation
791
+ property :transaction, :base64 => true, as: 'transaction'
792
+ end
793
+ end
794
+
795
+ class RollbackResponse
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ end
799
+ end
800
+
801
+ class RunQueryRequest
802
+ # @private
803
+ class Representation < Google::Apis::Core::JsonRepresentation
804
+ property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1beta3::GqlQuery, decorator: Google::Apis::DatastoreV1beta3::GqlQuery::Representation
805
+
806
+ property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1beta3::PartitionId, decorator: Google::Apis::DatastoreV1beta3::PartitionId::Representation
807
+
808
+ property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
809
+
810
+ property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1beta3::ReadOptions, decorator: Google::Apis::DatastoreV1beta3::ReadOptions::Representation
811
+
812
+ end
813
+ end
814
+
815
+ class RunQueryResponse
816
+ # @private
817
+ class Representation < Google::Apis::Core::JsonRepresentation
818
+ property :batch, as: 'batch', class: Google::Apis::DatastoreV1beta3::QueryResultBatch, decorator: Google::Apis::DatastoreV1beta3::QueryResultBatch::Representation
819
+
820
+ property :query, as: 'query', class: Google::Apis::DatastoreV1beta3::Query, decorator: Google::Apis::DatastoreV1beta3::Query::Representation
821
+
822
+ end
823
+ end
824
+
825
+ class TransactionOptions
826
+ # @private
827
+ class Representation < Google::Apis::Core::JsonRepresentation
828
+ property :read_only, as: 'readOnly', class: Google::Apis::DatastoreV1beta3::ReadOnly, decorator: Google::Apis::DatastoreV1beta3::ReadOnly::Representation
829
+
830
+ property :read_write, as: 'readWrite', class: Google::Apis::DatastoreV1beta3::ReadWrite, decorator: Google::Apis::DatastoreV1beta3::ReadWrite::Representation
831
+
832
+ end
833
+ end
834
+
835
+ class Value
836
+ # @private
837
+ class Representation < Google::Apis::Core::JsonRepresentation
838
+ property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1beta3::ArrayValue, decorator: Google::Apis::DatastoreV1beta3::ArrayValue::Representation
839
+
840
+ property :blob_value, :base64 => true, as: 'blobValue'
841
+ property :boolean_value, as: 'booleanValue'
842
+ property :double_value, as: 'doubleValue'
843
+ property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1beta3::Entity, decorator: Google::Apis::DatastoreV1beta3::Entity::Representation
844
+
845
+ property :exclude_from_indexes, as: 'excludeFromIndexes'
846
+ property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1beta3::LatLng, decorator: Google::Apis::DatastoreV1beta3::LatLng::Representation
847
+
848
+ property :integer_value, :numeric_string => true, as: 'integerValue'
849
+ property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1beta3::Key, decorator: Google::Apis::DatastoreV1beta3::Key::Representation
850
+
851
+ property :meaning, as: 'meaning'
852
+ property :null_value, as: 'nullValue'
853
+ property :string_value, as: 'stringValue'
854
+ property :timestamp_value, as: 'timestampValue'
855
+ end
856
+ end
857
+ end
858
+ end
859
+ end