google-apis-spanner_v1 0.41.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.
@@ -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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250304"
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,12 +292,24 @@ 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
 
286
304
  include Google::Apis::Core::JsonObjectSupport
287
305
  end
288
306
 
307
+ class DatabaseMoveConfig
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
289
313
  class DatabaseRole
290
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
315
 
@@ -412,6 +436,12 @@ module Google
412
436
  include Google::Apis::Core::JsonObjectSupport
413
437
  end
414
438
 
439
+ class HeartbeatRecord
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
415
445
  class IncludeReplicas
416
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
447
 
@@ -454,6 +484,12 @@ module Google
454
484
  include Google::Apis::Core::JsonObjectSupport
455
485
  end
456
486
 
487
+ class InstanceEncryptionConfig
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
457
493
  class InstanceOperationProgress
458
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
495
 
@@ -610,12 +646,36 @@ module Google
610
646
  include Google::Apis::Core::JsonObjectSupport
611
647
  end
612
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
+
613
667
  class MoveInstanceRequest
614
668
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
669
 
616
670
  include Google::Apis::Core::JsonObjectSupport
617
671
  end
618
672
 
673
+ class MoveOutEvent
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
619
679
  class MultiplexedSessionPrecommitToken
620
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
621
681
 
@@ -664,6 +724,18 @@ module Google
664
724
  include Google::Apis::Core::JsonObjectSupport
665
725
  end
666
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
+
667
739
  class PartitionOptions
668
740
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
741
 
@@ -688,6 +760,12 @@ module Google
688
760
  include Google::Apis::Core::JsonObjectSupport
689
761
  end
690
762
 
763
+ class PartitionStartRecord
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
691
769
  class PartitionedDml
692
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
693
771
 
@@ -1238,6 +1316,22 @@ module Google
1238
1316
  end
1239
1317
  end
1240
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
+
1241
1335
  class ChildLink
1242
1336
  # @private
1243
1337
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1247,6 +1341,17 @@ module Google
1247
1341
  end
1248
1342
  end
1249
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
+
1250
1355
  class CommitRequest
1251
1356
  # @private
1252
1357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1442,6 +1547,27 @@ module Google
1442
1547
  end
1443
1548
  end
1444
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
+
1445
1571
  class Database
1446
1572
  # @private
1447
1573
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1465,6 +1591,15 @@ module Google
1465
1591
  end
1466
1592
  end
1467
1593
 
1594
+ class DatabaseMoveConfig
1595
+ # @private
1596
+ class Representation < Google::Apis::Core::JsonRepresentation
1597
+ property :database_id, as: 'databaseId'
1598
+ property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::InstanceEncryptionConfig, decorator: Google::Apis::SpannerV1::InstanceEncryptionConfig::Representation
1599
+
1600
+ end
1601
+ end
1602
+
1468
1603
  class DatabaseRole
1469
1604
  # @private
1470
1605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1669,6 +1804,13 @@ module Google
1669
1804
  end
1670
1805
  end
1671
1806
 
1807
+ class HeartbeatRecord
1808
+ # @private
1809
+ class Representation < Google::Apis::Core::JsonRepresentation
1810
+ property :timestamp, as: 'timestamp'
1811
+ end
1812
+ end
1813
+
1672
1814
  class IncludeReplicas
1673
1815
  # @private
1674
1816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1754,6 +1896,14 @@ module Google
1754
1896
  end
1755
1897
  end
1756
1898
 
1899
+ class InstanceEncryptionConfig
1900
+ # @private
1901
+ class Representation < Google::Apis::Core::JsonRepresentation
1902
+ property :kms_key_name, as: 'kmsKeyName'
1903
+ collection :kms_key_names, as: 'kmsKeyNames'
1904
+ end
1905
+ end
1906
+
1757
1907
  class InstanceOperationProgress
1758
1908
  # @private
1759
1909
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2025,10 +2175,46 @@ module Google
2025
2175
  end
2026
2176
  end
2027
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
+
2028
2205
  class MoveInstanceRequest
2029
2206
  # @private
2030
2207
  class Representation < Google::Apis::Core::JsonRepresentation
2031
2208
  property :target_config, as: 'targetConfig'
2209
+ collection :target_database_move_configs, as: 'targetDatabaseMoveConfigs', class: Google::Apis::SpannerV1::DatabaseMoveConfig, decorator: Google::Apis::SpannerV1::DatabaseMoveConfig::Representation
2210
+
2211
+ end
2212
+ end
2213
+
2214
+ class MoveOutEvent
2215
+ # @private
2216
+ class Representation < Google::Apis::Core::JsonRepresentation
2217
+ property :destination_partition_token, as: 'destinationPartitionToken'
2032
2218
  end
2033
2219
  end
2034
2220
 
@@ -2117,6 +2303,28 @@ module Google
2117
2303
  end
2118
2304
  end
2119
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
+
2120
2328
  class PartitionOptions
2121
2329
  # @private
2122
2330
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2164,6 +2372,15 @@ module Google
2164
2372
  end
2165
2373
  end
2166
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
+
2167
2384
  class PartitionedDml
2168
2385
  # @private
2169
2386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1734,10 +1734,10 @@ module Google
1734
1734
  execute_or_queue_command(command, &block)
1735
1735
  end
1736
1736
 
1737
- # Adds split points to specified tables, indexes of a database.
1737
+ # Adds split points to specified tables and indexes of a database.
1738
1738
  # @param [String] database
1739
- # Required. The database on whose tables/indexes split points are to be added.
1740
- # Values are of the form `projects//instances//databases/`.
1739
+ # Required. The database on whose tables or indexes the split points are to be
1740
+ # added. Values are of the form `projects//instances//databases/`.
1741
1741
  # @param [Google::Apis::SpannerV1::AddSplitPointsRequest] add_split_points_request_object
1742
1742
  # @param [String] fields
1743
1743
  # Selector specifying which fields to include in a partial response.
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.41.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.41.0
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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Cloud Spanner API V1
79
79
  test_files: []