google-apis-spanner_v1 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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-spanner_v1.rb +15 -0
- data/lib/google/apis/spanner_v1.rb +43 -0
- data/lib/google/apis/spanner_v1/classes.rb +3869 -0
- data/lib/google/apis/spanner_v1/gem_version.rb +28 -0
- data/lib/google/apis/spanner_v1/representations.rb +1311 -0
- data/lib/google/apis/spanner_v1/service.rb +2328 -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 SpannerV1
|
18
|
+
# Version of the google-apis-spanner_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 = "20201130"
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,1311 @@
|
|
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 SpannerV1
|
24
|
+
|
25
|
+
class Backup
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class BackupInfo
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class BatchCreateSessionsRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class BatchCreateSessionsResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class BeginTransactionRequest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Binding
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class ChildLink
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class CommitRequest
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class CommitResponse
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class CreateBackupMetadata
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class CreateDatabaseMetadata
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class CreateDatabaseRequest
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class CreateInstanceMetadata
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class CreateInstanceRequest
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class CreateSessionRequest
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class Database
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class Delete
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class Empty
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class ExecuteBatchDmlRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class ExecuteBatchDmlResponse
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class ExecuteSqlRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class Expr
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class Field
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GetDatabaseDdlResponse
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GetIamPolicyRequest
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GetPolicyOptions
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class Instance
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class InstanceConfig
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class KeyRange
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class KeySet
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ListBackupOperationsResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class ListBackupsResponse
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class ListDatabaseOperationsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class ListDatabasesResponse
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class ListInstanceConfigsResponse
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class ListInstancesResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class ListOperationsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class ListSessionsResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class Mutation
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class Operation
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class OperationProgress
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class OptimizeRestoredDatabaseMetadata
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class PartialResultSet
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class Partition
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class PartitionOptions
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class PartitionQueryRequest
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
301
|
+
class PartitionReadRequest
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
307
|
+
class PartitionResponse
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
313
|
+
class PartitionedDml
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
319
|
+
class PlanNode
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class Policy
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class QueryOptions
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class QueryPlan
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class ReadOnly
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class ReadRequest
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class ReadWrite
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class ReplicaInfo
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
367
|
+
class RestoreDatabaseMetadata
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
373
|
+
class RestoreDatabaseRequest
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
379
|
+
class RestoreInfo
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
|
+
|
382
|
+
include Google::Apis::Core::JsonObjectSupport
|
383
|
+
end
|
384
|
+
|
385
|
+
class ResultSet
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
391
|
+
class ResultSetMetadata
|
392
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
|
+
|
394
|
+
include Google::Apis::Core::JsonObjectSupport
|
395
|
+
end
|
396
|
+
|
397
|
+
class ResultSetStats
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
403
|
+
class RollbackRequest
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
include Google::Apis::Core::JsonObjectSupport
|
407
|
+
end
|
408
|
+
|
409
|
+
class Session
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class SetIamPolicyRequest
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
421
|
+
class ShortRepresentation
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
427
|
+
class Statement
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
433
|
+
class Status
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
439
|
+
class StructType
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
445
|
+
class TestIamPermissionsRequest
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
451
|
+
class TestIamPermissionsResponse
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
453
|
+
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
455
|
+
end
|
456
|
+
|
457
|
+
class Transaction
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class TransactionOptions
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class TransactionSelector
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
475
|
+
class Type
|
476
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
477
|
+
|
478
|
+
include Google::Apis::Core::JsonObjectSupport
|
479
|
+
end
|
480
|
+
|
481
|
+
class UpdateDatabaseDdlMetadata
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
487
|
+
class UpdateDatabaseDdlRequest
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
|
+
|
490
|
+
include Google::Apis::Core::JsonObjectSupport
|
491
|
+
end
|
492
|
+
|
493
|
+
class UpdateInstanceMetadata
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class UpdateInstanceRequest
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
505
|
+
class Write
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
511
|
+
class Backup
|
512
|
+
# @private
|
513
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
514
|
+
property :create_time, as: 'createTime'
|
515
|
+
property :database, as: 'database'
|
516
|
+
property :expire_time, as: 'expireTime'
|
517
|
+
property :name, as: 'name'
|
518
|
+
collection :referencing_databases, as: 'referencingDatabases'
|
519
|
+
property :size_bytes, :numeric_string => true, as: 'sizeBytes'
|
520
|
+
property :state, as: 'state'
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
class BackupInfo
|
525
|
+
# @private
|
526
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
+
property :backup, as: 'backup'
|
528
|
+
property :create_time, as: 'createTime'
|
529
|
+
property :source_database, as: 'sourceDatabase'
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
class BatchCreateSessionsRequest
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :session_count, as: 'sessionCount'
|
537
|
+
property :session_template, as: 'sessionTemplate', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
|
538
|
+
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class BatchCreateSessionsResponse
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
collection :session, as: 'session', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
|
546
|
+
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
class BeginTransactionRequest
|
551
|
+
# @private
|
552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
553
|
+
property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
554
|
+
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
558
|
+
class Binding
|
559
|
+
# @private
|
560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
+
property :condition, as: 'condition', class: Google::Apis::SpannerV1::Expr, decorator: Google::Apis::SpannerV1::Expr::Representation
|
562
|
+
|
563
|
+
collection :members, as: 'members'
|
564
|
+
property :role, as: 'role'
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
class ChildLink
|
569
|
+
# @private
|
570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
571
|
+
property :child_index, as: 'childIndex'
|
572
|
+
property :type, as: 'type'
|
573
|
+
property :variable, as: 'variable'
|
574
|
+
end
|
575
|
+
end
|
576
|
+
|
577
|
+
class CommitRequest
|
578
|
+
# @private
|
579
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
580
|
+
collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
|
581
|
+
|
582
|
+
property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
583
|
+
|
584
|
+
property :transaction_id, :base64 => true, as: 'transactionId'
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class CommitResponse
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
property :commit_timestamp, as: 'commitTimestamp'
|
592
|
+
end
|
593
|
+
end
|
594
|
+
|
595
|
+
class CreateBackupMetadata
|
596
|
+
# @private
|
597
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
598
|
+
property :cancel_time, as: 'cancelTime'
|
599
|
+
property :database, as: 'database'
|
600
|
+
property :name, as: 'name'
|
601
|
+
property :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
|
602
|
+
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
class CreateDatabaseMetadata
|
607
|
+
# @private
|
608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
609
|
+
property :database, as: 'database'
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
class CreateDatabaseRequest
|
614
|
+
# @private
|
615
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
616
|
+
property :create_statement, as: 'createStatement'
|
617
|
+
collection :extra_statements, as: 'extraStatements'
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
621
|
+
class CreateInstanceMetadata
|
622
|
+
# @private
|
623
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
624
|
+
property :cancel_time, as: 'cancelTime'
|
625
|
+
property :end_time, as: 'endTime'
|
626
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
627
|
+
|
628
|
+
property :start_time, as: 'startTime'
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
632
|
+
class CreateInstanceRequest
|
633
|
+
# @private
|
634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
635
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
636
|
+
|
637
|
+
property :instance_id, as: 'instanceId'
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
class CreateSessionRequest
|
642
|
+
# @private
|
643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
644
|
+
property :session, as: 'session', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
|
645
|
+
|
646
|
+
end
|
647
|
+
end
|
648
|
+
|
649
|
+
class Database
|
650
|
+
# @private
|
651
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
652
|
+
property :create_time, as: 'createTime'
|
653
|
+
property :name, as: 'name'
|
654
|
+
property :restore_info, as: 'restoreInfo', class: Google::Apis::SpannerV1::RestoreInfo, decorator: Google::Apis::SpannerV1::RestoreInfo::Representation
|
655
|
+
|
656
|
+
property :state, as: 'state'
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
class Delete
|
661
|
+
# @private
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
663
|
+
property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
|
664
|
+
|
665
|
+
property :table, as: 'table'
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
class Empty
|
670
|
+
# @private
|
671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
class ExecuteBatchDmlRequest
|
676
|
+
# @private
|
677
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
678
|
+
property :seqno, :numeric_string => true, as: 'seqno'
|
679
|
+
collection :statements, as: 'statements', class: Google::Apis::SpannerV1::Statement, decorator: Google::Apis::SpannerV1::Statement::Representation
|
680
|
+
|
681
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
682
|
+
|
683
|
+
end
|
684
|
+
end
|
685
|
+
|
686
|
+
class ExecuteBatchDmlResponse
|
687
|
+
# @private
|
688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
689
|
+
collection :result_sets, as: 'resultSets', class: Google::Apis::SpannerV1::ResultSet, decorator: Google::Apis::SpannerV1::ResultSet::Representation
|
690
|
+
|
691
|
+
property :status, as: 'status', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
|
692
|
+
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
class ExecuteSqlRequest
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
700
|
+
|
701
|
+
hash :params, as: 'params'
|
702
|
+
property :partition_token, :base64 => true, as: 'partitionToken'
|
703
|
+
property :query_mode, as: 'queryMode'
|
704
|
+
property :query_options, as: 'queryOptions', class: Google::Apis::SpannerV1::QueryOptions, decorator: Google::Apis::SpannerV1::QueryOptions::Representation
|
705
|
+
|
706
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
707
|
+
property :seqno, :numeric_string => true, as: 'seqno'
|
708
|
+
property :sql, as: 'sql'
|
709
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
710
|
+
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
class Expr
|
715
|
+
# @private
|
716
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
717
|
+
property :description, as: 'description'
|
718
|
+
property :expression, as: 'expression'
|
719
|
+
property :location, as: 'location'
|
720
|
+
property :title, as: 'title'
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
724
|
+
class Field
|
725
|
+
# @private
|
726
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
727
|
+
property :name, as: 'name'
|
728
|
+
property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
729
|
+
|
730
|
+
end
|
731
|
+
end
|
732
|
+
|
733
|
+
class GetDatabaseDdlResponse
|
734
|
+
# @private
|
735
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
736
|
+
collection :statements, as: 'statements'
|
737
|
+
end
|
738
|
+
end
|
739
|
+
|
740
|
+
class GetIamPolicyRequest
|
741
|
+
# @private
|
742
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
743
|
+
property :options, as: 'options', class: Google::Apis::SpannerV1::GetPolicyOptions, decorator: Google::Apis::SpannerV1::GetPolicyOptions::Representation
|
744
|
+
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
748
|
+
class GetPolicyOptions
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :requested_policy_version, as: 'requestedPolicyVersion'
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
class Instance
|
756
|
+
# @private
|
757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
758
|
+
property :config, as: 'config'
|
759
|
+
property :display_name, as: 'displayName'
|
760
|
+
collection :endpoint_uris, as: 'endpointUris'
|
761
|
+
hash :labels, as: 'labels'
|
762
|
+
property :name, as: 'name'
|
763
|
+
property :node_count, as: 'nodeCount'
|
764
|
+
property :state, as: 'state'
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
class InstanceConfig
|
769
|
+
# @private
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
771
|
+
property :display_name, as: 'displayName'
|
772
|
+
property :name, as: 'name'
|
773
|
+
collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
|
774
|
+
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
class KeyRange
|
779
|
+
# @private
|
780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
781
|
+
collection :end_closed, as: 'endClosed'
|
782
|
+
collection :end_open, as: 'endOpen'
|
783
|
+
collection :start_closed, as: 'startClosed'
|
784
|
+
collection :start_open, as: 'startOpen'
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
class KeySet
|
789
|
+
# @private
|
790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
791
|
+
property :all, as: 'all'
|
792
|
+
collection :keys, as: 'keys', :class => Array do
|
793
|
+
include Representable::JSON::Collection
|
794
|
+
items
|
795
|
+
end
|
796
|
+
|
797
|
+
collection :ranges, as: 'ranges', class: Google::Apis::SpannerV1::KeyRange, decorator: Google::Apis::SpannerV1::KeyRange::Representation
|
798
|
+
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
class ListBackupOperationsResponse
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
property :next_page_token, as: 'nextPageToken'
|
806
|
+
collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
|
807
|
+
|
808
|
+
end
|
809
|
+
end
|
810
|
+
|
811
|
+
class ListBackupsResponse
|
812
|
+
# @private
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
814
|
+
collection :backups, as: 'backups', class: Google::Apis::SpannerV1::Backup, decorator: Google::Apis::SpannerV1::Backup::Representation
|
815
|
+
|
816
|
+
property :next_page_token, as: 'nextPageToken'
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
class ListDatabaseOperationsResponse
|
821
|
+
# @private
|
822
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
823
|
+
property :next_page_token, as: 'nextPageToken'
|
824
|
+
collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
|
825
|
+
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
829
|
+
class ListDatabasesResponse
|
830
|
+
# @private
|
831
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
832
|
+
collection :databases, as: 'databases', class: Google::Apis::SpannerV1::Database, decorator: Google::Apis::SpannerV1::Database::Representation
|
833
|
+
|
834
|
+
property :next_page_token, as: 'nextPageToken'
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
class ListInstanceConfigsResponse
|
839
|
+
# @private
|
840
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
841
|
+
collection :instance_configs, as: 'instanceConfigs', class: Google::Apis::SpannerV1::InstanceConfig, decorator: Google::Apis::SpannerV1::InstanceConfig::Representation
|
842
|
+
|
843
|
+
property :next_page_token, as: 'nextPageToken'
|
844
|
+
end
|
845
|
+
end
|
846
|
+
|
847
|
+
class ListInstancesResponse
|
848
|
+
# @private
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
850
|
+
collection :instances, as: 'instances', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
851
|
+
|
852
|
+
property :next_page_token, as: 'nextPageToken'
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
class ListOperationsResponse
|
857
|
+
# @private
|
858
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
859
|
+
property :next_page_token, as: 'nextPageToken'
|
860
|
+
collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
|
861
|
+
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
class ListSessionsResponse
|
866
|
+
# @private
|
867
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
868
|
+
property :next_page_token, as: 'nextPageToken'
|
869
|
+
collection :sessions, as: 'sessions', class: Google::Apis::SpannerV1::Session, decorator: Google::Apis::SpannerV1::Session::Representation
|
870
|
+
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
class Mutation
|
875
|
+
# @private
|
876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
877
|
+
property :delete, as: 'delete', class: Google::Apis::SpannerV1::Delete, decorator: Google::Apis::SpannerV1::Delete::Representation
|
878
|
+
|
879
|
+
property :insert, as: 'insert', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
880
|
+
|
881
|
+
property :insert_or_update, as: 'insertOrUpdate', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
882
|
+
|
883
|
+
property :replace, as: 'replace', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
884
|
+
|
885
|
+
property :update, as: 'update', class: Google::Apis::SpannerV1::Write, decorator: Google::Apis::SpannerV1::Write::Representation
|
886
|
+
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
class Operation
|
891
|
+
# @private
|
892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
893
|
+
property :done, as: 'done'
|
894
|
+
property :error, as: 'error', class: Google::Apis::SpannerV1::Status, decorator: Google::Apis::SpannerV1::Status::Representation
|
895
|
+
|
896
|
+
hash :metadata, as: 'metadata'
|
897
|
+
property :name, as: 'name'
|
898
|
+
hash :response, as: 'response'
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
902
|
+
class OperationProgress
|
903
|
+
# @private
|
904
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
905
|
+
property :end_time, as: 'endTime'
|
906
|
+
property :progress_percent, as: 'progressPercent'
|
907
|
+
property :start_time, as: 'startTime'
|
908
|
+
end
|
909
|
+
end
|
910
|
+
|
911
|
+
class OptimizeRestoredDatabaseMetadata
|
912
|
+
# @private
|
913
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
914
|
+
property :name, as: 'name'
|
915
|
+
property :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
|
916
|
+
|
917
|
+
end
|
918
|
+
end
|
919
|
+
|
920
|
+
class PartialResultSet
|
921
|
+
# @private
|
922
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
923
|
+
property :chunked_value, as: 'chunkedValue'
|
924
|
+
property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
|
925
|
+
|
926
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
927
|
+
property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
|
928
|
+
|
929
|
+
collection :values, as: 'values'
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
class Partition
|
934
|
+
# @private
|
935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
936
|
+
property :partition_token, :base64 => true, as: 'partitionToken'
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
class PartitionOptions
|
941
|
+
# @private
|
942
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
943
|
+
property :max_partitions, :numeric_string => true, as: 'maxPartitions'
|
944
|
+
property :partition_size_bytes, :numeric_string => true, as: 'partitionSizeBytes'
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
948
|
+
class PartitionQueryRequest
|
949
|
+
# @private
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
951
|
+
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
952
|
+
|
953
|
+
hash :params, as: 'params'
|
954
|
+
property :partition_options, as: 'partitionOptions', class: Google::Apis::SpannerV1::PartitionOptions, decorator: Google::Apis::SpannerV1::PartitionOptions::Representation
|
955
|
+
|
956
|
+
property :sql, as: 'sql'
|
957
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
958
|
+
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
class PartitionReadRequest
|
963
|
+
# @private
|
964
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
965
|
+
collection :columns, as: 'columns'
|
966
|
+
property :index, as: 'index'
|
967
|
+
property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
|
968
|
+
|
969
|
+
property :partition_options, as: 'partitionOptions', class: Google::Apis::SpannerV1::PartitionOptions, decorator: Google::Apis::SpannerV1::PartitionOptions::Representation
|
970
|
+
|
971
|
+
property :table, as: 'table'
|
972
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
973
|
+
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
class PartitionResponse
|
978
|
+
# @private
|
979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
980
|
+
collection :partitions, as: 'partitions', class: Google::Apis::SpannerV1::Partition, decorator: Google::Apis::SpannerV1::Partition::Representation
|
981
|
+
|
982
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
|
983
|
+
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
987
|
+
class PartitionedDml
|
988
|
+
# @private
|
989
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
end
|
991
|
+
end
|
992
|
+
|
993
|
+
class PlanNode
|
994
|
+
# @private
|
995
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
996
|
+
collection :child_links, as: 'childLinks', class: Google::Apis::SpannerV1::ChildLink, decorator: Google::Apis::SpannerV1::ChildLink::Representation
|
997
|
+
|
998
|
+
property :display_name, as: 'displayName'
|
999
|
+
hash :execution_stats, as: 'executionStats'
|
1000
|
+
property :index, as: 'index'
|
1001
|
+
property :kind, as: 'kind'
|
1002
|
+
hash :metadata, as: 'metadata'
|
1003
|
+
property :short_representation, as: 'shortRepresentation', class: Google::Apis::SpannerV1::ShortRepresentation, decorator: Google::Apis::SpannerV1::ShortRepresentation::Representation
|
1004
|
+
|
1005
|
+
end
|
1006
|
+
end
|
1007
|
+
|
1008
|
+
class Policy
|
1009
|
+
# @private
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1011
|
+
collection :bindings, as: 'bindings', class: Google::Apis::SpannerV1::Binding, decorator: Google::Apis::SpannerV1::Binding::Representation
|
1012
|
+
|
1013
|
+
property :etag, :base64 => true, as: 'etag'
|
1014
|
+
property :version, as: 'version'
|
1015
|
+
end
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
class QueryOptions
|
1019
|
+
# @private
|
1020
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1021
|
+
property :optimizer_version, as: 'optimizerVersion'
|
1022
|
+
end
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
class QueryPlan
|
1026
|
+
# @private
|
1027
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1028
|
+
collection :plan_nodes, as: 'planNodes', class: Google::Apis::SpannerV1::PlanNode, decorator: Google::Apis::SpannerV1::PlanNode::Representation
|
1029
|
+
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
class ReadOnly
|
1034
|
+
# @private
|
1035
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1036
|
+
property :exact_staleness, as: 'exactStaleness'
|
1037
|
+
property :max_staleness, as: 'maxStaleness'
|
1038
|
+
property :min_read_timestamp, as: 'minReadTimestamp'
|
1039
|
+
property :read_timestamp, as: 'readTimestamp'
|
1040
|
+
property :return_read_timestamp, as: 'returnReadTimestamp'
|
1041
|
+
property :strong, as: 'strong'
|
1042
|
+
end
|
1043
|
+
end
|
1044
|
+
|
1045
|
+
class ReadRequest
|
1046
|
+
# @private
|
1047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1048
|
+
collection :columns, as: 'columns'
|
1049
|
+
property :index, as: 'index'
|
1050
|
+
property :key_set, as: 'keySet', class: Google::Apis::SpannerV1::KeySet, decorator: Google::Apis::SpannerV1::KeySet::Representation
|
1051
|
+
|
1052
|
+
property :limit, :numeric_string => true, as: 'limit'
|
1053
|
+
property :partition_token, :base64 => true, as: 'partitionToken'
|
1054
|
+
property :resume_token, :base64 => true, as: 'resumeToken'
|
1055
|
+
property :table, as: 'table'
|
1056
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
1057
|
+
|
1058
|
+
end
|
1059
|
+
end
|
1060
|
+
|
1061
|
+
class ReadWrite
|
1062
|
+
# @private
|
1063
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1064
|
+
end
|
1065
|
+
end
|
1066
|
+
|
1067
|
+
class ReplicaInfo
|
1068
|
+
# @private
|
1069
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1070
|
+
property :default_leader_location, as: 'defaultLeaderLocation'
|
1071
|
+
property :location, as: 'location'
|
1072
|
+
property :type, as: 'type'
|
1073
|
+
end
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
class RestoreDatabaseMetadata
|
1077
|
+
# @private
|
1078
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1079
|
+
property :backup_info, as: 'backupInfo', class: Google::Apis::SpannerV1::BackupInfo, decorator: Google::Apis::SpannerV1::BackupInfo::Representation
|
1080
|
+
|
1081
|
+
property :cancel_time, as: 'cancelTime'
|
1082
|
+
property :name, as: 'name'
|
1083
|
+
property :optimize_database_operation_name, as: 'optimizeDatabaseOperationName'
|
1084
|
+
property :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
|
1085
|
+
|
1086
|
+
property :source_type, as: 'sourceType'
|
1087
|
+
end
|
1088
|
+
end
|
1089
|
+
|
1090
|
+
class RestoreDatabaseRequest
|
1091
|
+
# @private
|
1092
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1093
|
+
property :backup, as: 'backup'
|
1094
|
+
property :database_id, as: 'databaseId'
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
class RestoreInfo
|
1099
|
+
# @private
|
1100
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1101
|
+
property :backup_info, as: 'backupInfo', class: Google::Apis::SpannerV1::BackupInfo, decorator: Google::Apis::SpannerV1::BackupInfo::Representation
|
1102
|
+
|
1103
|
+
property :source_type, as: 'sourceType'
|
1104
|
+
end
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
class ResultSet
|
1108
|
+
# @private
|
1109
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1110
|
+
property :metadata, as: 'metadata', class: Google::Apis::SpannerV1::ResultSetMetadata, decorator: Google::Apis::SpannerV1::ResultSetMetadata::Representation
|
1111
|
+
|
1112
|
+
collection :rows, as: 'rows', :class => Array do
|
1113
|
+
include Representable::JSON::Collection
|
1114
|
+
items
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
property :stats, as: 'stats', class: Google::Apis::SpannerV1::ResultSetStats, decorator: Google::Apis::SpannerV1::ResultSetStats::Representation
|
1118
|
+
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
class ResultSetMetadata
|
1123
|
+
# @private
|
1124
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1125
|
+
property :row_type, as: 'rowType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
|
1126
|
+
|
1127
|
+
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::Transaction, decorator: Google::Apis::SpannerV1::Transaction::Representation
|
1128
|
+
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
class ResultSetStats
|
1133
|
+
# @private
|
1134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1135
|
+
property :query_plan, as: 'queryPlan', class: Google::Apis::SpannerV1::QueryPlan, decorator: Google::Apis::SpannerV1::QueryPlan::Representation
|
1136
|
+
|
1137
|
+
hash :query_stats, as: 'queryStats'
|
1138
|
+
property :row_count_exact, :numeric_string => true, as: 'rowCountExact'
|
1139
|
+
property :row_count_lower_bound, :numeric_string => true, as: 'rowCountLowerBound'
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
class RollbackRequest
|
1144
|
+
# @private
|
1145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1146
|
+
property :transaction_id, :base64 => true, as: 'transactionId'
|
1147
|
+
end
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
class Session
|
1151
|
+
# @private
|
1152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1153
|
+
property :approximate_last_use_time, as: 'approximateLastUseTime'
|
1154
|
+
property :create_time, as: 'createTime'
|
1155
|
+
hash :labels, as: 'labels'
|
1156
|
+
property :name, as: 'name'
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
class SetIamPolicyRequest
|
1161
|
+
# @private
|
1162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1163
|
+
property :policy, as: 'policy', class: Google::Apis::SpannerV1::Policy, decorator: Google::Apis::SpannerV1::Policy::Representation
|
1164
|
+
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1168
|
+
class ShortRepresentation
|
1169
|
+
# @private
|
1170
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1171
|
+
property :description, as: 'description'
|
1172
|
+
hash :subqueries, as: 'subqueries'
|
1173
|
+
end
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
class Statement
|
1177
|
+
# @private
|
1178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1179
|
+
hash :param_types, as: 'paramTypes', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
1180
|
+
|
1181
|
+
hash :params, as: 'params'
|
1182
|
+
property :sql, as: 'sql'
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
class Status
|
1187
|
+
# @private
|
1188
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1189
|
+
property :code, as: 'code'
|
1190
|
+
collection :details, as: 'details'
|
1191
|
+
property :message, as: 'message'
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1195
|
+
class StructType
|
1196
|
+
# @private
|
1197
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1198
|
+
collection :fields, as: 'fields', class: Google::Apis::SpannerV1::Field, decorator: Google::Apis::SpannerV1::Field::Representation
|
1199
|
+
|
1200
|
+
end
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
class TestIamPermissionsRequest
|
1204
|
+
# @private
|
1205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1206
|
+
collection :permissions, as: 'permissions'
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
|
1210
|
+
class TestIamPermissionsResponse
|
1211
|
+
# @private
|
1212
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1213
|
+
collection :permissions, as: 'permissions'
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
class Transaction
|
1218
|
+
# @private
|
1219
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1220
|
+
property :id, :base64 => true, as: 'id'
|
1221
|
+
property :read_timestamp, as: 'readTimestamp'
|
1222
|
+
end
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
class TransactionOptions
|
1226
|
+
# @private
|
1227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1228
|
+
property :partitioned_dml, as: 'partitionedDml', class: Google::Apis::SpannerV1::PartitionedDml, decorator: Google::Apis::SpannerV1::PartitionedDml::Representation
|
1229
|
+
|
1230
|
+
property :read_only, as: 'readOnly', class: Google::Apis::SpannerV1::ReadOnly, decorator: Google::Apis::SpannerV1::ReadOnly::Representation
|
1231
|
+
|
1232
|
+
property :read_write, as: 'readWrite', class: Google::Apis::SpannerV1::ReadWrite, decorator: Google::Apis::SpannerV1::ReadWrite::Representation
|
1233
|
+
|
1234
|
+
end
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
class TransactionSelector
|
1238
|
+
# @private
|
1239
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1240
|
+
property :begin, as: 'begin', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
1241
|
+
|
1242
|
+
property :id, :base64 => true, as: 'id'
|
1243
|
+
property :single_use, as: 'singleUse', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
1244
|
+
|
1245
|
+
end
|
1246
|
+
end
|
1247
|
+
|
1248
|
+
class Type
|
1249
|
+
# @private
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1251
|
+
property :array_element_type, as: 'arrayElementType', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
1252
|
+
|
1253
|
+
property :code, as: 'code'
|
1254
|
+
property :struct_type, as: 'structType', class: Google::Apis::SpannerV1::StructType, decorator: Google::Apis::SpannerV1::StructType::Representation
|
1255
|
+
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1259
|
+
class UpdateDatabaseDdlMetadata
|
1260
|
+
# @private
|
1261
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1262
|
+
collection :commit_timestamps, as: 'commitTimestamps'
|
1263
|
+
property :database, as: 'database'
|
1264
|
+
collection :statements, as: 'statements'
|
1265
|
+
property :throttled, as: 'throttled'
|
1266
|
+
end
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
class UpdateDatabaseDdlRequest
|
1270
|
+
# @private
|
1271
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1272
|
+
property :operation_id, as: 'operationId'
|
1273
|
+
collection :statements, as: 'statements'
|
1274
|
+
end
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
class UpdateInstanceMetadata
|
1278
|
+
# @private
|
1279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1280
|
+
property :cancel_time, as: 'cancelTime'
|
1281
|
+
property :end_time, as: 'endTime'
|
1282
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
1283
|
+
|
1284
|
+
property :start_time, as: 'startTime'
|
1285
|
+
end
|
1286
|
+
end
|
1287
|
+
|
1288
|
+
class UpdateInstanceRequest
|
1289
|
+
# @private
|
1290
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1291
|
+
property :field_mask, as: 'fieldMask'
|
1292
|
+
property :instance, as: 'instance', class: Google::Apis::SpannerV1::Instance, decorator: Google::Apis::SpannerV1::Instance::Representation
|
1293
|
+
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class Write
|
1298
|
+
# @private
|
1299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1300
|
+
collection :columns, as: 'columns'
|
1301
|
+
property :table, as: 'table'
|
1302
|
+
collection :values, as: 'values', :class => Array do
|
1303
|
+
include Representable::JSON::Collection
|
1304
|
+
items
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
end
|
1310
|
+
end
|
1311
|
+
end
|