google-apis-spanner_v1 0.5.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/google/apis/spanner_v1.rb +1 -1
- data/lib/google/apis/spanner_v1/classes.rb +770 -9
- data/lib/google/apis/spanner_v1/gem_version.rb +3 -3
- data/lib/google/apis/spanner_v1/representations.rb +312 -0
- data/lib/google/apis/spanner_v1/service.rb +91 -0
- metadata +4 -4
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SpannerV1
|
18
18
|
# Version of the google-apis-spanner_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210517"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class ContextValue
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class CreateBackupMetadata
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -130,6 +136,18 @@ module Google
|
|
130
136
|
include Google::Apis::Core::JsonObjectSupport
|
131
137
|
end
|
132
138
|
|
139
|
+
class DerivedMetric
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class DiagnosticMessage
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
133
151
|
class Empty
|
134
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
153
|
|
@@ -196,6 +214,18 @@ module Google
|
|
196
214
|
include Google::Apis::Core::JsonObjectSupport
|
197
215
|
end
|
198
216
|
|
217
|
+
class IndexedHotKey
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class IndexedKeyRangeInfos
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
199
229
|
class Instance
|
200
230
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
231
|
|
@@ -214,6 +244,18 @@ module Google
|
|
214
244
|
include Google::Apis::Core::JsonObjectSupport
|
215
245
|
end
|
216
246
|
|
247
|
+
class KeyRangeInfo
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class KeyRangeInfos
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
217
259
|
class KeySet
|
218
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
261
|
|
@@ -262,12 +304,42 @@ module Google
|
|
262
304
|
include Google::Apis::Core::JsonObjectSupport
|
263
305
|
end
|
264
306
|
|
307
|
+
class ListScansResponse
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
265
313
|
class ListSessionsResponse
|
266
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
315
|
|
268
316
|
include Google::Apis::Core::JsonObjectSupport
|
269
317
|
end
|
270
318
|
|
319
|
+
class LocalizedString
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
|
+
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
323
|
+
end
|
324
|
+
|
325
|
+
class Metric
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class MetricMatrix
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
337
|
+
class MetricMatrixRow
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
271
343
|
class Mutation
|
272
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
345
|
|
@@ -346,6 +418,12 @@ module Google
|
|
346
418
|
include Google::Apis::Core::JsonObjectSupport
|
347
419
|
end
|
348
420
|
|
421
|
+
class PrefixNode
|
422
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
|
+
|
424
|
+
include Google::Apis::Core::JsonObjectSupport
|
425
|
+
end
|
426
|
+
|
349
427
|
class QueryOptions
|
350
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
429
|
|
@@ -382,6 +460,12 @@ module Google
|
|
382
460
|
include Google::Apis::Core::JsonObjectSupport
|
383
461
|
end
|
384
462
|
|
463
|
+
class RequestOptions
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
385
469
|
class RestoreDatabaseEncryptionConfig
|
386
470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
471
|
|
@@ -430,6 +514,18 @@ module Google
|
|
430
514
|
include Google::Apis::Core::JsonObjectSupport
|
431
515
|
end
|
432
516
|
|
517
|
+
class Scan
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
523
|
+
class ScanData
|
524
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
|
+
|
526
|
+
include Google::Apis::Core::JsonObjectSupport
|
527
|
+
end
|
528
|
+
|
433
529
|
class Session
|
434
530
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
531
|
|
@@ -526,6 +622,12 @@ module Google
|
|
526
622
|
include Google::Apis::Core::JsonObjectSupport
|
527
623
|
end
|
528
624
|
|
625
|
+
class VisualizationData
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
529
631
|
class Write
|
530
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
633
|
|
@@ -580,6 +682,8 @@ module Google
|
|
580
682
|
class Representation < Google::Apis::Core::JsonRepresentation
|
581
683
|
property :options, as: 'options', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
582
684
|
|
685
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
|
686
|
+
|
583
687
|
end
|
584
688
|
end
|
585
689
|
|
@@ -607,6 +711,8 @@ module Google
|
|
607
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
608
712
|
collection :mutations, as: 'mutations', class: Google::Apis::SpannerV1::Mutation, decorator: Google::Apis::SpannerV1::Mutation::Representation
|
609
713
|
|
714
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
|
715
|
+
|
610
716
|
property :return_commit_stats, as: 'returnCommitStats'
|
611
717
|
property :single_use_transaction, as: 'singleUseTransaction', class: Google::Apis::SpannerV1::TransactionOptions, decorator: Google::Apis::SpannerV1::TransactionOptions::Representation
|
612
718
|
|
@@ -630,6 +736,17 @@ module Google
|
|
630
736
|
end
|
631
737
|
end
|
632
738
|
|
739
|
+
class ContextValue
|
740
|
+
# @private
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
742
|
+
property :label, as: 'label', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
743
|
+
|
744
|
+
property :severity, as: 'severity'
|
745
|
+
property :unit, as: 'unit'
|
746
|
+
property :value, as: 'value'
|
747
|
+
end
|
748
|
+
end
|
749
|
+
|
633
750
|
class CreateBackupMetadata
|
634
751
|
# @private
|
635
752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -712,6 +829,30 @@ module Google
|
|
712
829
|
end
|
713
830
|
end
|
714
831
|
|
832
|
+
class DerivedMetric
|
833
|
+
# @private
|
834
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
835
|
+
property :denominator, as: 'denominator', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
836
|
+
|
837
|
+
property :numerator, as: 'numerator', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
838
|
+
|
839
|
+
end
|
840
|
+
end
|
841
|
+
|
842
|
+
class DiagnosticMessage
|
843
|
+
# @private
|
844
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
845
|
+
property :info, as: 'info', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
846
|
+
|
847
|
+
property :metric, as: 'metric', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
848
|
+
|
849
|
+
property :metric_specific, as: 'metricSpecific'
|
850
|
+
property :severity, as: 'severity'
|
851
|
+
property :short_message, as: 'shortMessage', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
852
|
+
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
715
856
|
class Empty
|
716
857
|
# @private
|
717
858
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -738,6 +879,8 @@ module Google
|
|
738
879
|
class ExecuteBatchDmlRequest
|
739
880
|
# @private
|
740
881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
882
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
|
883
|
+
|
741
884
|
property :seqno, :numeric_string => true, as: 'seqno'
|
742
885
|
collection :statements, as: 'statements', class: Google::Apis::SpannerV1::Statement, decorator: Google::Apis::SpannerV1::Statement::Representation
|
743
886
|
|
@@ -766,6 +909,8 @@ module Google
|
|
766
909
|
property :query_mode, as: 'queryMode'
|
767
910
|
property :query_options, as: 'queryOptions', class: Google::Apis::SpannerV1::QueryOptions, decorator: Google::Apis::SpannerV1::QueryOptions::Representation
|
768
911
|
|
912
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
|
913
|
+
|
769
914
|
property :resume_token, :base64 => true, as: 'resumeToken'
|
770
915
|
property :seqno, :numeric_string => true, as: 'seqno'
|
771
916
|
property :sql, as: 'sql'
|
@@ -815,6 +960,21 @@ module Google
|
|
815
960
|
end
|
816
961
|
end
|
817
962
|
|
963
|
+
class IndexedHotKey
|
964
|
+
# @private
|
965
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
966
|
+
hash :sparse_hot_keys, as: 'sparseHotKeys'
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
class IndexedKeyRangeInfos
|
971
|
+
# @private
|
972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
973
|
+
hash :key_range_infos, as: 'keyRangeInfos', class: Google::Apis::SpannerV1::KeyRangeInfos, decorator: Google::Apis::SpannerV1::KeyRangeInfos::Representation
|
974
|
+
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|
818
978
|
class Instance
|
819
979
|
# @private
|
820
980
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -848,6 +1008,33 @@ module Google
|
|
848
1008
|
end
|
849
1009
|
end
|
850
1010
|
|
1011
|
+
class KeyRangeInfo
|
1012
|
+
# @private
|
1013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1014
|
+
collection :context_values, as: 'contextValues', class: Google::Apis::SpannerV1::ContextValue, decorator: Google::Apis::SpannerV1::ContextValue::Representation
|
1015
|
+
|
1016
|
+
property :end_key_index, as: 'endKeyIndex'
|
1017
|
+
property :info, as: 'info', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1018
|
+
|
1019
|
+
property :keys_count, :numeric_string => true, as: 'keysCount'
|
1020
|
+
property :metric, as: 'metric', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1021
|
+
|
1022
|
+
property :start_key_index, as: 'startKeyIndex'
|
1023
|
+
property :unit, as: 'unit', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1024
|
+
|
1025
|
+
property :value, as: 'value'
|
1026
|
+
end
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
class KeyRangeInfos
|
1030
|
+
# @private
|
1031
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1032
|
+
collection :infos, as: 'infos', class: Google::Apis::SpannerV1::KeyRangeInfo, decorator: Google::Apis::SpannerV1::KeyRangeInfo::Representation
|
1033
|
+
|
1034
|
+
property :total_size, as: 'totalSize'
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
|
851
1038
|
class KeySet
|
852
1039
|
# @private
|
853
1040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -926,6 +1113,15 @@ module Google
|
|
926
1113
|
end
|
927
1114
|
end
|
928
1115
|
|
1116
|
+
class ListScansResponse
|
1117
|
+
# @private
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1119
|
+
property :next_page_token, as: 'nextPageToken'
|
1120
|
+
collection :scans, as: 'scans', class: Google::Apis::SpannerV1::Scan, decorator: Google::Apis::SpannerV1::Scan::Representation
|
1121
|
+
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
929
1125
|
class ListSessionsResponse
|
930
1126
|
# @private
|
931
1127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -935,6 +1131,56 @@ module Google
|
|
935
1131
|
end
|
936
1132
|
end
|
937
1133
|
|
1134
|
+
class LocalizedString
|
1135
|
+
# @private
|
1136
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1137
|
+
hash :args, as: 'args'
|
1138
|
+
property :message, as: 'message'
|
1139
|
+
property :token, as: 'token'
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
class Metric
|
1144
|
+
# @private
|
1145
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1146
|
+
property :aggregation, as: 'aggregation'
|
1147
|
+
property :category, as: 'category', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1148
|
+
|
1149
|
+
property :derived, as: 'derived', class: Google::Apis::SpannerV1::DerivedMetric, decorator: Google::Apis::SpannerV1::DerivedMetric::Representation
|
1150
|
+
|
1151
|
+
property :display_label, as: 'displayLabel', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1152
|
+
|
1153
|
+
property :has_nonzero_data, as: 'hasNonzeroData'
|
1154
|
+
property :hot_value, as: 'hotValue'
|
1155
|
+
hash :indexed_hot_keys, as: 'indexedHotKeys', class: Google::Apis::SpannerV1::IndexedHotKey, decorator: Google::Apis::SpannerV1::IndexedHotKey::Representation
|
1156
|
+
|
1157
|
+
hash :indexed_key_range_infos, as: 'indexedKeyRangeInfos', class: Google::Apis::SpannerV1::IndexedKeyRangeInfos, decorator: Google::Apis::SpannerV1::IndexedKeyRangeInfos::Representation
|
1158
|
+
|
1159
|
+
property :info, as: 'info', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1160
|
+
|
1161
|
+
property :matrix, as: 'matrix', class: Google::Apis::SpannerV1::MetricMatrix, decorator: Google::Apis::SpannerV1::MetricMatrix::Representation
|
1162
|
+
|
1163
|
+
property :unit, as: 'unit', class: Google::Apis::SpannerV1::LocalizedString, decorator: Google::Apis::SpannerV1::LocalizedString::Representation
|
1164
|
+
|
1165
|
+
property :visible, as: 'visible'
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
class MetricMatrix
|
1170
|
+
# @private
|
1171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1172
|
+
collection :rows, as: 'rows', class: Google::Apis::SpannerV1::MetricMatrixRow, decorator: Google::Apis::SpannerV1::MetricMatrixRow::Representation
|
1173
|
+
|
1174
|
+
end
|
1175
|
+
end
|
1176
|
+
|
1177
|
+
class MetricMatrixRow
|
1178
|
+
# @private
|
1179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1180
|
+
collection :cols, as: 'cols'
|
1181
|
+
end
|
1182
|
+
end
|
1183
|
+
|
938
1184
|
class Mutation
|
939
1185
|
# @private
|
940
1186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1079,9 +1325,21 @@ module Google
|
|
1079
1325
|
end
|
1080
1326
|
end
|
1081
1327
|
|
1328
|
+
class PrefixNode
|
1329
|
+
# @private
|
1330
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1331
|
+
property :data_source_node, as: 'dataSourceNode'
|
1332
|
+
property :depth, as: 'depth'
|
1333
|
+
property :end_index, as: 'endIndex'
|
1334
|
+
property :start_index, as: 'startIndex'
|
1335
|
+
property :word, as: 'word'
|
1336
|
+
end
|
1337
|
+
end
|
1338
|
+
|
1082
1339
|
class QueryOptions
|
1083
1340
|
# @private
|
1084
1341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1342
|
+
property :optimizer_statistics_package, as: 'optimizerStatisticsPackage'
|
1085
1343
|
property :optimizer_version, as: 'optimizerVersion'
|
1086
1344
|
end
|
1087
1345
|
end
|
@@ -1115,6 +1373,8 @@ module Google
|
|
1115
1373
|
|
1116
1374
|
property :limit, :numeric_string => true, as: 'limit'
|
1117
1375
|
property :partition_token, :base64 => true, as: 'partitionToken'
|
1376
|
+
property :request_options, as: 'requestOptions', class: Google::Apis::SpannerV1::RequestOptions, decorator: Google::Apis::SpannerV1::RequestOptions::Representation
|
1377
|
+
|
1118
1378
|
property :resume_token, :base64 => true, as: 'resumeToken'
|
1119
1379
|
property :table, as: 'table'
|
1120
1380
|
property :transaction, as: 'transaction', class: Google::Apis::SpannerV1::TransactionSelector, decorator: Google::Apis::SpannerV1::TransactionSelector::Representation
|
@@ -1137,6 +1397,15 @@ module Google
|
|
1137
1397
|
end
|
1138
1398
|
end
|
1139
1399
|
|
1400
|
+
class RequestOptions
|
1401
|
+
# @private
|
1402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1403
|
+
property :priority, as: 'priority'
|
1404
|
+
property :request_tag, as: 'requestTag'
|
1405
|
+
property :transaction_tag, as: 'transactionTag'
|
1406
|
+
end
|
1407
|
+
end
|
1408
|
+
|
1140
1409
|
class RestoreDatabaseEncryptionConfig
|
1141
1410
|
# @private
|
1142
1411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1221,6 +1490,28 @@ module Google
|
|
1221
1490
|
end
|
1222
1491
|
end
|
1223
1492
|
|
1493
|
+
class Scan
|
1494
|
+
# @private
|
1495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1496
|
+
hash :details, as: 'details'
|
1497
|
+
property :end_time, as: 'endTime'
|
1498
|
+
property :name, as: 'name'
|
1499
|
+
property :scan_data, as: 'scanData', class: Google::Apis::SpannerV1::ScanData, decorator: Google::Apis::SpannerV1::ScanData::Representation
|
1500
|
+
|
1501
|
+
property :start_time, as: 'startTime'
|
1502
|
+
end
|
1503
|
+
end
|
1504
|
+
|
1505
|
+
class ScanData
|
1506
|
+
# @private
|
1507
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1508
|
+
property :data, as: 'data', class: Google::Apis::SpannerV1::VisualizationData, decorator: Google::Apis::SpannerV1::VisualizationData::Representation
|
1509
|
+
|
1510
|
+
property :end_time, as: 'endTime'
|
1511
|
+
property :start_time, as: 'startTime'
|
1512
|
+
end
|
1513
|
+
end
|
1514
|
+
|
1224
1515
|
class Session
|
1225
1516
|
# @private
|
1226
1517
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1335,6 +1626,8 @@ module Google
|
|
1335
1626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1336
1627
|
collection :commit_timestamps, as: 'commitTimestamps'
|
1337
1628
|
property :database, as: 'database'
|
1629
|
+
collection :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
|
1630
|
+
|
1338
1631
|
collection :statements, as: 'statements'
|
1339
1632
|
property :throttled, as: 'throttled'
|
1340
1633
|
end
|
@@ -1368,6 +1661,25 @@ module Google
|
|
1368
1661
|
end
|
1369
1662
|
end
|
1370
1663
|
|
1664
|
+
class VisualizationData
|
1665
|
+
# @private
|
1666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1667
|
+
property :data_source_end_token, as: 'dataSourceEndToken'
|
1668
|
+
property :data_source_separator_token, as: 'dataSourceSeparatorToken'
|
1669
|
+
collection :diagnostic_messages, as: 'diagnosticMessages', class: Google::Apis::SpannerV1::DiagnosticMessage, decorator: Google::Apis::SpannerV1::DiagnosticMessage::Representation
|
1670
|
+
|
1671
|
+
collection :end_key_strings, as: 'endKeyStrings'
|
1672
|
+
property :has_pii, as: 'hasPii'
|
1673
|
+
collection :indexed_keys, as: 'indexedKeys'
|
1674
|
+
property :key_separator, as: 'keySeparator'
|
1675
|
+
property :key_unit, as: 'keyUnit'
|
1676
|
+
collection :metrics, as: 'metrics', class: Google::Apis::SpannerV1::Metric, decorator: Google::Apis::SpannerV1::Metric::Representation
|
1677
|
+
|
1678
|
+
collection :prefix_nodes, as: 'prefixNodes', class: Google::Apis::SpannerV1::PrefixNode, decorator: Google::Apis::SpannerV1::PrefixNode::Representation
|
1679
|
+
|
1680
|
+
end
|
1681
|
+
end
|
1682
|
+
|
1371
1683
|
class Write
|
1372
1684
|
# @private
|
1373
1685
|
class Representation < Google::Apis::Core::JsonRepresentation
|