google-apis-spanner_v1 0.42.0 → 0.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/spanner_v1/classes.rb +544 -960
- data/lib/google/apis/spanner_v1/gem_version.rb +2 -2
- data/lib/google/apis/spanner_v1/representations.rb +186 -0
- metadata +2 -2
@@ -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.43.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250625"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -160,12 +160,24 @@ module Google
|
|
160
160
|
include Google::Apis::Core::JsonObjectSupport
|
161
161
|
end
|
162
162
|
|
163
|
+
class ChangeStreamRecord
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
163
169
|
class ChildLink
|
164
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
171
|
|
166
172
|
include Google::Apis::Core::JsonObjectSupport
|
167
173
|
end
|
168
174
|
|
175
|
+
class ColumnMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
169
181
|
class CommitRequest
|
170
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
183
|
|
@@ -280,6 +292,12 @@ module Google
|
|
280
292
|
include Google::Apis::Core::JsonObjectSupport
|
281
293
|
end
|
282
294
|
|
295
|
+
class DataChangeRecord
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class Database
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -418,6 +436,12 @@ module Google
|
|
418
436
|
include Google::Apis::Core::JsonObjectSupport
|
419
437
|
end
|
420
438
|
|
439
|
+
class HeartbeatRecord
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
421
445
|
class IncludeReplicas
|
422
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
447
|
|
@@ -622,12 +646,36 @@ module Google
|
|
622
646
|
include Google::Apis::Core::JsonObjectSupport
|
623
647
|
end
|
624
648
|
|
649
|
+
class Mod
|
650
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
|
+
|
652
|
+
include Google::Apis::Core::JsonObjectSupport
|
653
|
+
end
|
654
|
+
|
655
|
+
class ModValue
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
661
|
+
class MoveInEvent
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
625
667
|
class MoveInstanceRequest
|
626
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
669
|
|
628
670
|
include Google::Apis::Core::JsonObjectSupport
|
629
671
|
end
|
630
672
|
|
673
|
+
class MoveOutEvent
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
631
679
|
class MultiplexedSessionPrecommitToken
|
632
680
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
633
681
|
|
@@ -676,6 +724,18 @@ module Google
|
|
676
724
|
include Google::Apis::Core::JsonObjectSupport
|
677
725
|
end
|
678
726
|
|
727
|
+
class PartitionEndRecord
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
733
|
+
class PartitionEventRecord
|
734
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
735
|
+
|
736
|
+
include Google::Apis::Core::JsonObjectSupport
|
737
|
+
end
|
738
|
+
|
679
739
|
class PartitionOptions
|
680
740
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
741
|
|
@@ -700,6 +760,12 @@ module Google
|
|
700
760
|
include Google::Apis::Core::JsonObjectSupport
|
701
761
|
end
|
702
762
|
|
763
|
+
class PartitionStartRecord
|
764
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
|
+
|
766
|
+
include Google::Apis::Core::JsonObjectSupport
|
767
|
+
end
|
768
|
+
|
703
769
|
class PartitionedDml
|
704
770
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
771
|
|
@@ -1250,6 +1316,22 @@ module Google
|
|
1250
1316
|
end
|
1251
1317
|
end
|
1252
1318
|
|
1319
|
+
class ChangeStreamRecord
|
1320
|
+
# @private
|
1321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1322
|
+
property :data_change_record, as: 'dataChangeRecord', class: Google::Apis::SpannerV1::DataChangeRecord, decorator: Google::Apis::SpannerV1::DataChangeRecord::Representation
|
1323
|
+
|
1324
|
+
property :heartbeat_record, as: 'heartbeatRecord', class: Google::Apis::SpannerV1::HeartbeatRecord, decorator: Google::Apis::SpannerV1::HeartbeatRecord::Representation
|
1325
|
+
|
1326
|
+
property :partition_end_record, as: 'partitionEndRecord', class: Google::Apis::SpannerV1::PartitionEndRecord, decorator: Google::Apis::SpannerV1::PartitionEndRecord::Representation
|
1327
|
+
|
1328
|
+
property :partition_event_record, as: 'partitionEventRecord', class: Google::Apis::SpannerV1::PartitionEventRecord, decorator: Google::Apis::SpannerV1::PartitionEventRecord::Representation
|
1329
|
+
|
1330
|
+
property :partition_start_record, as: 'partitionStartRecord', class: Google::Apis::SpannerV1::PartitionStartRecord, decorator: Google::Apis::SpannerV1::PartitionStartRecord::Representation
|
1331
|
+
|
1332
|
+
end
|
1333
|
+
end
|
1334
|
+
|
1253
1335
|
class ChildLink
|
1254
1336
|
# @private
|
1255
1337
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1259,6 +1341,17 @@ module Google
|
|
1259
1341
|
end
|
1260
1342
|
end
|
1261
1343
|
|
1344
|
+
class ColumnMetadata
|
1345
|
+
# @private
|
1346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1347
|
+
property :is_primary_key, as: 'isPrimaryKey'
|
1348
|
+
property :name, as: 'name'
|
1349
|
+
property :ordinal_position, :numeric_string => true, as: 'ordinalPosition'
|
1350
|
+
property :type, as: 'type', class: Google::Apis::SpannerV1::Type, decorator: Google::Apis::SpannerV1::Type::Representation
|
1351
|
+
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1262
1355
|
class CommitRequest
|
1263
1356
|
# @private
|
1264
1357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1454,6 +1547,27 @@ module Google
|
|
1454
1547
|
end
|
1455
1548
|
end
|
1456
1549
|
|
1550
|
+
class DataChangeRecord
|
1551
|
+
# @private
|
1552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1553
|
+
collection :column_metadata, as: 'columnMetadata', class: Google::Apis::SpannerV1::ColumnMetadata, decorator: Google::Apis::SpannerV1::ColumnMetadata::Representation
|
1554
|
+
|
1555
|
+
property :commit_timestamp, as: 'commitTimestamp'
|
1556
|
+
property :is_last_record_in_transaction_in_partition, as: 'isLastRecordInTransactionInPartition'
|
1557
|
+
property :is_system_transaction, as: 'isSystemTransaction'
|
1558
|
+
property :mod_type, as: 'modType'
|
1559
|
+
collection :mods, as: 'mods', class: Google::Apis::SpannerV1::Mod, decorator: Google::Apis::SpannerV1::Mod::Representation
|
1560
|
+
|
1561
|
+
property :number_of_partitions_in_transaction, as: 'numberOfPartitionsInTransaction'
|
1562
|
+
property :number_of_records_in_transaction, as: 'numberOfRecordsInTransaction'
|
1563
|
+
property :record_sequence, as: 'recordSequence'
|
1564
|
+
property :server_transaction_id, as: 'serverTransactionId'
|
1565
|
+
property :table, as: 'table'
|
1566
|
+
property :transaction_tag, as: 'transactionTag'
|
1567
|
+
property :value_capture_type, as: 'valueCaptureType'
|
1568
|
+
end
|
1569
|
+
end
|
1570
|
+
|
1457
1571
|
class Database
|
1458
1572
|
# @private
|
1459
1573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1690,6 +1804,13 @@ module Google
|
|
1690
1804
|
end
|
1691
1805
|
end
|
1692
1806
|
|
1807
|
+
class HeartbeatRecord
|
1808
|
+
# @private
|
1809
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1810
|
+
property :timestamp, as: 'timestamp'
|
1811
|
+
end
|
1812
|
+
end
|
1813
|
+
|
1693
1814
|
class IncludeReplicas
|
1694
1815
|
# @private
|
1695
1816
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2054,6 +2175,33 @@ module Google
|
|
2054
2175
|
end
|
2055
2176
|
end
|
2056
2177
|
|
2178
|
+
class Mod
|
2179
|
+
# @private
|
2180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2181
|
+
collection :keys, as: 'keys', class: Google::Apis::SpannerV1::ModValue, decorator: Google::Apis::SpannerV1::ModValue::Representation
|
2182
|
+
|
2183
|
+
collection :new_values, as: 'newValues', class: Google::Apis::SpannerV1::ModValue, decorator: Google::Apis::SpannerV1::ModValue::Representation
|
2184
|
+
|
2185
|
+
collection :old_values, as: 'oldValues', class: Google::Apis::SpannerV1::ModValue, decorator: Google::Apis::SpannerV1::ModValue::Representation
|
2186
|
+
|
2187
|
+
end
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
class ModValue
|
2191
|
+
# @private
|
2192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2193
|
+
property :column_metadata_index, as: 'columnMetadataIndex'
|
2194
|
+
property :value, as: 'value'
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
|
2198
|
+
class MoveInEvent
|
2199
|
+
# @private
|
2200
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2201
|
+
property :source_partition_token, as: 'sourcePartitionToken'
|
2202
|
+
end
|
2203
|
+
end
|
2204
|
+
|
2057
2205
|
class MoveInstanceRequest
|
2058
2206
|
# @private
|
2059
2207
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2063,6 +2211,13 @@ module Google
|
|
2063
2211
|
end
|
2064
2212
|
end
|
2065
2213
|
|
2214
|
+
class MoveOutEvent
|
2215
|
+
# @private
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2217
|
+
property :destination_partition_token, as: 'destinationPartitionToken'
|
2218
|
+
end
|
2219
|
+
end
|
2220
|
+
|
2066
2221
|
class MultiplexedSessionPrecommitToken
|
2067
2222
|
# @private
|
2068
2223
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2148,6 +2303,28 @@ module Google
|
|
2148
2303
|
end
|
2149
2304
|
end
|
2150
2305
|
|
2306
|
+
class PartitionEndRecord
|
2307
|
+
# @private
|
2308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2309
|
+
property :end_timestamp, as: 'endTimestamp'
|
2310
|
+
property :partition_token, as: 'partitionToken'
|
2311
|
+
property :record_sequence, as: 'recordSequence'
|
2312
|
+
end
|
2313
|
+
end
|
2314
|
+
|
2315
|
+
class PartitionEventRecord
|
2316
|
+
# @private
|
2317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2318
|
+
property :commit_timestamp, as: 'commitTimestamp'
|
2319
|
+
collection :move_in_events, as: 'moveInEvents', class: Google::Apis::SpannerV1::MoveInEvent, decorator: Google::Apis::SpannerV1::MoveInEvent::Representation
|
2320
|
+
|
2321
|
+
collection :move_out_events, as: 'moveOutEvents', class: Google::Apis::SpannerV1::MoveOutEvent, decorator: Google::Apis::SpannerV1::MoveOutEvent::Representation
|
2322
|
+
|
2323
|
+
property :partition_token, as: 'partitionToken'
|
2324
|
+
property :record_sequence, as: 'recordSequence'
|
2325
|
+
end
|
2326
|
+
end
|
2327
|
+
|
2151
2328
|
class PartitionOptions
|
2152
2329
|
# @private
|
2153
2330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2195,6 +2372,15 @@ module Google
|
|
2195
2372
|
end
|
2196
2373
|
end
|
2197
2374
|
|
2375
|
+
class PartitionStartRecord
|
2376
|
+
# @private
|
2377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2378
|
+
collection :partition_tokens, as: 'partitionTokens'
|
2379
|
+
property :record_sequence, as: 'recordSequence'
|
2380
|
+
property :start_timestamp, as: 'startTimestamp'
|
2381
|
+
end
|
2382
|
+
end
|
2383
|
+
|
2198
2384
|
class PartitionedDml
|
2199
2385
|
# @private
|
2200
2386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-spanner_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.43.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|