google-apis-datastore_v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module DatastoreV1
18
+ # Version of the google-apis-datastore_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 = "20201017"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,999 @@
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 DatastoreV1
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 Empty
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class Entity
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class EntityResult
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class Filter
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleDatastoreAdminV1CommonMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleDatastoreAdminV1EntityFilter
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleDatastoreAdminV1ExportEntitiesMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleDatastoreAdminV1ExportEntitiesRequest
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleDatastoreAdminV1ExportEntitiesResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleDatastoreAdminV1ImportEntitiesMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleDatastoreAdminV1ImportEntitiesRequest
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleDatastoreAdminV1Index
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleDatastoreAdminV1IndexOperationMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleDatastoreAdminV1IndexedProperty
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleDatastoreAdminV1ListIndexesResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleDatastoreAdminV1Progress
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleDatastoreAdminV1beta1CommonMetadata
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleDatastoreAdminV1beta1EntityFilter
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleDatastoreAdminV1beta1ExportEntitiesResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleDatastoreAdminV1beta1Progress
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleLongrunningListOperationsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleLongrunningOperation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GqlQuery
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GqlQueryParameter
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Key
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class KindExpression
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class LatLng
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class LookupRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class LookupResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class Mutation
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class MutationResult
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class PartitionId
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class PathElement
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class Projection
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class PropertyFilter
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class PropertyOrder
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PropertyReference
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Query
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class QueryResultBatch
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ReadOnly
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ReadOptions
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ReadWrite
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ReserveIdsRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class ReserveIdsResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class RollbackRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class RollbackResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class RunQueryRequest
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class RunQueryResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
373
+ class Status
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class TransactionOptions
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class Value
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
391
+ class AllocateIdsRequest
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
395
+
396
+ end
397
+ end
398
+
399
+ class AllocateIdsResponse
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class ArrayValue
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ collection :values, as: 'values', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation
411
+
412
+ end
413
+ end
414
+
415
+ class BeginTransactionRequest
416
+ # @private
417
+ class Representation < Google::Apis::Core::JsonRepresentation
418
+ property :transaction_options, as: 'transactionOptions', class: Google::Apis::DatastoreV1::TransactionOptions, decorator: Google::Apis::DatastoreV1::TransactionOptions::Representation
419
+
420
+ end
421
+ end
422
+
423
+ class BeginTransactionResponse
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :transaction, :base64 => true, as: 'transaction'
427
+ end
428
+ end
429
+
430
+ class CommitRequest
431
+ # @private
432
+ class Representation < Google::Apis::Core::JsonRepresentation
433
+ property :mode, as: 'mode'
434
+ collection :mutations, as: 'mutations', class: Google::Apis::DatastoreV1::Mutation, decorator: Google::Apis::DatastoreV1::Mutation::Representation
435
+
436
+ property :transaction, :base64 => true, as: 'transaction'
437
+ end
438
+ end
439
+
440
+ class CommitResponse
441
+ # @private
442
+ class Representation < Google::Apis::Core::JsonRepresentation
443
+ property :index_updates, as: 'indexUpdates'
444
+ collection :mutation_results, as: 'mutationResults', class: Google::Apis::DatastoreV1::MutationResult, decorator: Google::Apis::DatastoreV1::MutationResult::Representation
445
+
446
+ end
447
+ end
448
+
449
+ class CompositeFilter
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ collection :filters, as: 'filters', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation
453
+
454
+ property :op, as: 'op'
455
+ end
456
+ end
457
+
458
+ class Empty
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ end
462
+ end
463
+
464
+ class Entity
465
+ # @private
466
+ class Representation < Google::Apis::Core::JsonRepresentation
467
+ property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
468
+
469
+ hash :properties, as: 'properties', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation
470
+
471
+ end
472
+ end
473
+
474
+ class EntityResult
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :cursor, :base64 => true, as: 'cursor'
478
+ property :entity, as: 'entity', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
479
+
480
+ property :version, :numeric_string => true, as: 'version'
481
+ end
482
+ end
483
+
484
+ class Filter
485
+ # @private
486
+ class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :composite_filter, as: 'compositeFilter', class: Google::Apis::DatastoreV1::CompositeFilter, decorator: Google::Apis::DatastoreV1::CompositeFilter::Representation
488
+
489
+ property :property_filter, as: 'propertyFilter', class: Google::Apis::DatastoreV1::PropertyFilter, decorator: Google::Apis::DatastoreV1::PropertyFilter::Representation
490
+
491
+ end
492
+ end
493
+
494
+ class GoogleDatastoreAdminV1CommonMetadata
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :end_time, as: 'endTime'
498
+ hash :labels, as: 'labels'
499
+ property :operation_type, as: 'operationType'
500
+ property :start_time, as: 'startTime'
501
+ property :state, as: 'state'
502
+ end
503
+ end
504
+
505
+ class GoogleDatastoreAdminV1EntityFilter
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ collection :kinds, as: 'kinds'
509
+ collection :namespace_ids, as: 'namespaceIds'
510
+ end
511
+ end
512
+
513
+ class GoogleDatastoreAdminV1ExportEntitiesMetadata
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata::Representation
517
+
518
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
519
+
520
+ property :output_url_prefix, as: 'outputUrlPrefix'
521
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
522
+
523
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
524
+
525
+ end
526
+ end
527
+
528
+ class GoogleDatastoreAdminV1ExportEntitiesRequest
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
532
+
533
+ hash :labels, as: 'labels'
534
+ property :output_url_prefix, as: 'outputUrlPrefix'
535
+ end
536
+ end
537
+
538
+ class GoogleDatastoreAdminV1ExportEntitiesResponse
539
+ # @private
540
+ class Representation < Google::Apis::Core::JsonRepresentation
541
+ property :output_url, as: 'outputUrl'
542
+ end
543
+ end
544
+
545
+ class GoogleDatastoreAdminV1ImportEntitiesMetadata
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata::Representation
549
+
550
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
551
+
552
+ property :input_url, as: 'inputUrl'
553
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
554
+
555
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
556
+
557
+ end
558
+ end
559
+
560
+ class GoogleDatastoreAdminV1ImportEntitiesRequest
561
+ # @private
562
+ class Representation < Google::Apis::Core::JsonRepresentation
563
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1EntityFilter::Representation
564
+
565
+ property :input_url, as: 'inputUrl'
566
+ hash :labels, as: 'labels'
567
+ end
568
+ end
569
+
570
+ class GoogleDatastoreAdminV1Index
571
+ # @private
572
+ class Representation < Google::Apis::Core::JsonRepresentation
573
+ property :ancestor, as: 'ancestor'
574
+ property :index_id, as: 'indexId'
575
+ property :kind, as: 'kind'
576
+ property :project_id, as: 'projectId'
577
+ collection :properties, as: 'properties', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1IndexedProperty, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1IndexedProperty::Representation
578
+
579
+ property :state, as: 'state'
580
+ end
581
+ end
582
+
583
+ class GoogleDatastoreAdminV1IndexOperationMetadata
584
+ # @private
585
+ class Representation < Google::Apis::Core::JsonRepresentation
586
+ property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1CommonMetadata::Representation
587
+
588
+ property :index_id, as: 'indexId'
589
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Progress::Representation
590
+
591
+ end
592
+ end
593
+
594
+ class GoogleDatastoreAdminV1IndexedProperty
595
+ # @private
596
+ class Representation < Google::Apis::Core::JsonRepresentation
597
+ property :direction, as: 'direction'
598
+ property :name, as: 'name'
599
+ end
600
+ end
601
+
602
+ class GoogleDatastoreAdminV1ListIndexesResponse
603
+ # @private
604
+ class Representation < Google::Apis::Core::JsonRepresentation
605
+ collection :indexes, as: 'indexes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Index, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1Index::Representation
606
+
607
+ property :next_page_token, as: 'nextPageToken'
608
+ end
609
+ end
610
+
611
+ class GoogleDatastoreAdminV1Progress
612
+ # @private
613
+ class Representation < Google::Apis::Core::JsonRepresentation
614
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
615
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
616
+ end
617
+ end
618
+
619
+ class GoogleDatastoreAdminV1beta1CommonMetadata
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :end_time, as: 'endTime'
623
+ hash :labels, as: 'labels'
624
+ property :operation_type, as: 'operationType'
625
+ property :start_time, as: 'startTime'
626
+ property :state, as: 'state'
627
+ end
628
+ end
629
+
630
+ class GoogleDatastoreAdminV1beta1EntityFilter
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ collection :kinds, as: 'kinds'
634
+ collection :namespace_ids, as: 'namespaceIds'
635
+ end
636
+ end
637
+
638
+ class GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata::Representation
642
+
643
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter::Representation
644
+
645
+ property :output_url_prefix, as: 'outputUrlPrefix'
646
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation
647
+
648
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation
649
+
650
+ end
651
+ end
652
+
653
+ class GoogleDatastoreAdminV1beta1ExportEntitiesResponse
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :output_url, as: 'outputUrl'
657
+ end
658
+ end
659
+
660
+ class GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :common, as: 'common', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1CommonMetadata::Representation
664
+
665
+ property :entity_filter, as: 'entityFilter', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1EntityFilter::Representation
666
+
667
+ property :input_url, as: 'inputUrl'
668
+ property :progress_bytes, as: 'progressBytes', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation
669
+
670
+ property :progress_entities, as: 'progressEntities', class: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress, decorator: Google::Apis::DatastoreV1::GoogleDatastoreAdminV1beta1Progress::Representation
671
+
672
+ end
673
+ end
674
+
675
+ class GoogleDatastoreAdminV1beta1Progress
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :work_completed, :numeric_string => true, as: 'workCompleted'
679
+ property :work_estimated, :numeric_string => true, as: 'workEstimated'
680
+ end
681
+ end
682
+
683
+ class GoogleLongrunningListOperationsResponse
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ property :next_page_token, as: 'nextPageToken'
687
+ collection :operations, as: 'operations', class: Google::Apis::DatastoreV1::GoogleLongrunningOperation, decorator: Google::Apis::DatastoreV1::GoogleLongrunningOperation::Representation
688
+
689
+ end
690
+ end
691
+
692
+ class GoogleLongrunningOperation
693
+ # @private
694
+ class Representation < Google::Apis::Core::JsonRepresentation
695
+ property :done, as: 'done'
696
+ property :error, as: 'error', class: Google::Apis::DatastoreV1::Status, decorator: Google::Apis::DatastoreV1::Status::Representation
697
+
698
+ hash :metadata, as: 'metadata'
699
+ property :name, as: 'name'
700
+ hash :response, as: 'response'
701
+ end
702
+ end
703
+
704
+ class GqlQuery
705
+ # @private
706
+ class Representation < Google::Apis::Core::JsonRepresentation
707
+ property :allow_literals, as: 'allowLiterals'
708
+ hash :named_bindings, as: 'namedBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation
709
+
710
+ collection :positional_bindings, as: 'positionalBindings', class: Google::Apis::DatastoreV1::GqlQueryParameter, decorator: Google::Apis::DatastoreV1::GqlQueryParameter::Representation
711
+
712
+ property :query_string, as: 'queryString'
713
+ end
714
+ end
715
+
716
+ class GqlQueryParameter
717
+ # @private
718
+ class Representation < Google::Apis::Core::JsonRepresentation
719
+ property :cursor, :base64 => true, as: 'cursor'
720
+ property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation
721
+
722
+ end
723
+ end
724
+
725
+ class Key
726
+ # @private
727
+ class Representation < Google::Apis::Core::JsonRepresentation
728
+ property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
729
+
730
+ collection :path, as: 'path', class: Google::Apis::DatastoreV1::PathElement, decorator: Google::Apis::DatastoreV1::PathElement::Representation
731
+
732
+ end
733
+ end
734
+
735
+ class KindExpression
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :name, as: 'name'
739
+ end
740
+ end
741
+
742
+ class LatLng
743
+ # @private
744
+ class Representation < Google::Apis::Core::JsonRepresentation
745
+ property :latitude, as: 'latitude'
746
+ property :longitude, as: 'longitude'
747
+ end
748
+ end
749
+
750
+ class LookupRequest
751
+ # @private
752
+ class Representation < Google::Apis::Core::JsonRepresentation
753
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
754
+
755
+ property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
756
+
757
+ end
758
+ end
759
+
760
+ class LookupResponse
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ collection :deferred, as: 'deferred', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
764
+
765
+ collection :found, as: 'found', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
766
+
767
+ collection :missing, as: 'missing', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
768
+
769
+ end
770
+ end
771
+
772
+ class Mutation
773
+ # @private
774
+ class Representation < Google::Apis::Core::JsonRepresentation
775
+ property :base_version, :numeric_string => true, as: 'baseVersion'
776
+ property :delete, as: 'delete', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
777
+
778
+ property :insert, as: 'insert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
779
+
780
+ property :update, as: 'update', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
781
+
782
+ property :upsert, as: 'upsert', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
783
+
784
+ end
785
+ end
786
+
787
+ class MutationResult
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :conflict_detected, as: 'conflictDetected'
791
+ property :key, as: 'key', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
792
+
793
+ property :version, :numeric_string => true, as: 'version'
794
+ end
795
+ end
796
+
797
+ class PartitionId
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :namespace_id, as: 'namespaceId'
801
+ property :project_id, as: 'projectId'
802
+ end
803
+ end
804
+
805
+ class PathElement
806
+ # @private
807
+ class Representation < Google::Apis::Core::JsonRepresentation
808
+ property :id, :numeric_string => true, as: 'id'
809
+ property :kind, as: 'kind'
810
+ property :name, as: 'name'
811
+ end
812
+ end
813
+
814
+ class Projection
815
+ # @private
816
+ class Representation < Google::Apis::Core::JsonRepresentation
817
+ property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation
818
+
819
+ end
820
+ end
821
+
822
+ class PropertyFilter
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ property :op, as: 'op'
826
+ property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation
827
+
828
+ property :value, as: 'value', class: Google::Apis::DatastoreV1::Value, decorator: Google::Apis::DatastoreV1::Value::Representation
829
+
830
+ end
831
+ end
832
+
833
+ class PropertyOrder
834
+ # @private
835
+ class Representation < Google::Apis::Core::JsonRepresentation
836
+ property :direction, as: 'direction'
837
+ property :property, as: 'property', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation
838
+
839
+ end
840
+ end
841
+
842
+ class PropertyReference
843
+ # @private
844
+ class Representation < Google::Apis::Core::JsonRepresentation
845
+ property :name, as: 'name'
846
+ end
847
+ end
848
+
849
+ class Query
850
+ # @private
851
+ class Representation < Google::Apis::Core::JsonRepresentation
852
+ collection :distinct_on, as: 'distinctOn', class: Google::Apis::DatastoreV1::PropertyReference, decorator: Google::Apis::DatastoreV1::PropertyReference::Representation
853
+
854
+ property :end_cursor, :base64 => true, as: 'endCursor'
855
+ property :filter, as: 'filter', class: Google::Apis::DatastoreV1::Filter, decorator: Google::Apis::DatastoreV1::Filter::Representation
856
+
857
+ collection :kind, as: 'kind', class: Google::Apis::DatastoreV1::KindExpression, decorator: Google::Apis::DatastoreV1::KindExpression::Representation
858
+
859
+ property :limit, as: 'limit'
860
+ property :offset, as: 'offset'
861
+ collection :order, as: 'order', class: Google::Apis::DatastoreV1::PropertyOrder, decorator: Google::Apis::DatastoreV1::PropertyOrder::Representation
862
+
863
+ collection :projection, as: 'projection', class: Google::Apis::DatastoreV1::Projection, decorator: Google::Apis::DatastoreV1::Projection::Representation
864
+
865
+ property :start_cursor, :base64 => true, as: 'startCursor'
866
+ end
867
+ end
868
+
869
+ class QueryResultBatch
870
+ # @private
871
+ class Representation < Google::Apis::Core::JsonRepresentation
872
+ property :end_cursor, :base64 => true, as: 'endCursor'
873
+ property :entity_result_type, as: 'entityResultType'
874
+ collection :entity_results, as: 'entityResults', class: Google::Apis::DatastoreV1::EntityResult, decorator: Google::Apis::DatastoreV1::EntityResult::Representation
875
+
876
+ property :more_results, as: 'moreResults'
877
+ property :skipped_cursor, :base64 => true, as: 'skippedCursor'
878
+ property :skipped_results, as: 'skippedResults'
879
+ property :snapshot_version, :numeric_string => true, as: 'snapshotVersion'
880
+ end
881
+ end
882
+
883
+ class ReadOnly
884
+ # @private
885
+ class Representation < Google::Apis::Core::JsonRepresentation
886
+ end
887
+ end
888
+
889
+ class ReadOptions
890
+ # @private
891
+ class Representation < Google::Apis::Core::JsonRepresentation
892
+ property :read_consistency, as: 'readConsistency'
893
+ property :transaction, :base64 => true, as: 'transaction'
894
+ end
895
+ end
896
+
897
+ class ReadWrite
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ property :previous_transaction, :base64 => true, as: 'previousTransaction'
901
+ end
902
+ end
903
+
904
+ class ReserveIdsRequest
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :database_id, as: 'databaseId'
908
+ collection :keys, as: 'keys', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
909
+
910
+ end
911
+ end
912
+
913
+ class ReserveIdsResponse
914
+ # @private
915
+ class Representation < Google::Apis::Core::JsonRepresentation
916
+ end
917
+ end
918
+
919
+ class RollbackRequest
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :transaction, :base64 => true, as: 'transaction'
923
+ end
924
+ end
925
+
926
+ class RollbackResponse
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ end
930
+ end
931
+
932
+ class RunQueryRequest
933
+ # @private
934
+ class Representation < Google::Apis::Core::JsonRepresentation
935
+ property :gql_query, as: 'gqlQuery', class: Google::Apis::DatastoreV1::GqlQuery, decorator: Google::Apis::DatastoreV1::GqlQuery::Representation
936
+
937
+ property :partition_id, as: 'partitionId', class: Google::Apis::DatastoreV1::PartitionId, decorator: Google::Apis::DatastoreV1::PartitionId::Representation
938
+
939
+ property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
940
+
941
+ property :read_options, as: 'readOptions', class: Google::Apis::DatastoreV1::ReadOptions, decorator: Google::Apis::DatastoreV1::ReadOptions::Representation
942
+
943
+ end
944
+ end
945
+
946
+ class RunQueryResponse
947
+ # @private
948
+ class Representation < Google::Apis::Core::JsonRepresentation
949
+ property :batch, as: 'batch', class: Google::Apis::DatastoreV1::QueryResultBatch, decorator: Google::Apis::DatastoreV1::QueryResultBatch::Representation
950
+
951
+ property :query, as: 'query', class: Google::Apis::DatastoreV1::Query, decorator: Google::Apis::DatastoreV1::Query::Representation
952
+
953
+ end
954
+ end
955
+
956
+ class Status
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :code, as: 'code'
960
+ collection :details, as: 'details'
961
+ property :message, as: 'message'
962
+ end
963
+ end
964
+
965
+ class TransactionOptions
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :read_only, as: 'readOnly', class: Google::Apis::DatastoreV1::ReadOnly, decorator: Google::Apis::DatastoreV1::ReadOnly::Representation
969
+
970
+ property :read_write, as: 'readWrite', class: Google::Apis::DatastoreV1::ReadWrite, decorator: Google::Apis::DatastoreV1::ReadWrite::Representation
971
+
972
+ end
973
+ end
974
+
975
+ class Value
976
+ # @private
977
+ class Representation < Google::Apis::Core::JsonRepresentation
978
+ property :array_value, as: 'arrayValue', class: Google::Apis::DatastoreV1::ArrayValue, decorator: Google::Apis::DatastoreV1::ArrayValue::Representation
979
+
980
+ property :blob_value, :base64 => true, as: 'blobValue'
981
+ property :boolean_value, as: 'booleanValue'
982
+ property :double_value, as: 'doubleValue'
983
+ property :entity_value, as: 'entityValue', class: Google::Apis::DatastoreV1::Entity, decorator: Google::Apis::DatastoreV1::Entity::Representation
984
+
985
+ property :exclude_from_indexes, as: 'excludeFromIndexes'
986
+ property :geo_point_value, as: 'geoPointValue', class: Google::Apis::DatastoreV1::LatLng, decorator: Google::Apis::DatastoreV1::LatLng::Representation
987
+
988
+ property :integer_value, :numeric_string => true, as: 'integerValue'
989
+ property :key_value, as: 'keyValue', class: Google::Apis::DatastoreV1::Key, decorator: Google::Apis::DatastoreV1::Key::Representation
990
+
991
+ property :meaning, as: 'meaning'
992
+ property :null_value, as: 'nullValue'
993
+ property :string_value, as: 'stringValue'
994
+ property :timestamp_value, as: 'timestampValue'
995
+ end
996
+ end
997
+ end
998
+ end
999
+ end