google-apis-datamigration_v1 0.70.0 → 0.71.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 735b840bd2d663f570ca3c2ae766c86b2b9c617aeb163cbb08f7bb511bcafdd0
4
- data.tar.gz: 6c0d107202c47dd20e4c246f34f1a200fbd513c7029662a2e66009fc98e7d470
3
+ metadata.gz: 0ac88a2aeac64723d3c6ec4049bdf34e864e72d5d31e2d4ba6392905666ef784
4
+ data.tar.gz: a59190ad745edb4426d2a8d454e838dc95e2fb4520a7e0f3d08d4be2264fae61
5
5
  SHA512:
6
- metadata.gz: 7fde6f613eeee627fb442dbc29f013b4b8137535406680b35fad7c19f3709a2162d6eb33744e6602f1ffb95d114c1a063e0bb1971a028c0310f62ab04cbe79ce
7
- data.tar.gz: 65b108743544d09e0d529d64d02b9388b2e3cb5198e5bacdbfedc4d4ef9a08b7fcbbdbfb132ad28b8df71609c9de7c70767239f12c3404b9cc0d87c763505071
6
+ metadata.gz: 0ca70693619171e886bac0795f09f928a6e4b9e7da629a46ef080125cb80e3c5dfca260e9fff3a53f05a9d79fed56ddd5a8bab38a80a1286b91dcf4955acb0ef
7
+ data.tar.gz: 024def50d8d854f81164fde4756f9288eafcbb20b0ff934d3a3fc2f2637c772e8d94b8ad8e69856773a5b286fc5859cef2c25e7cecd41e209386d509c60c6149
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.71.0 (2025-03-30)
4
+
5
+ * Regenerated from discovery document revision 20250319
6
+
3
7
  ### v0.70.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250226
@@ -2777,6 +2777,13 @@ module Google
2777
2777
  # @return [Fixnum]
2778
2778
  attr_accessor :cpu_count
2779
2779
 
2780
+ # Optional. Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8",
2781
+ # "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine
2782
+ # type.
2783
+ # Corresponds to the JSON property `machineType`
2784
+ # @return [String]
2785
+ attr_accessor :machine_type
2786
+
2780
2787
  def initialize(**args)
2781
2788
  update!(**args)
2782
2789
  end
@@ -2784,6 +2791,7 @@ module Google
2784
2791
  # Update properties of this object
2785
2792
  def update!(**args)
2786
2793
  @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
2794
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
2787
2795
  end
2788
2796
  end
2789
2797
 
@@ -3204,6 +3212,12 @@ module Google
3204
3212
  # @return [Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig]
3205
3213
  attr_accessor :sqlserver_homogeneous_migration_job_config
3206
3214
 
3215
+ # Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL**
3216
+ # migrations.
3217
+ # Corresponds to the JSON property `sqlserverToPostgresConfig`
3218
+ # @return [Google::Apis::DatamigrationV1::SqlServerToPostgresConfig]
3219
+ attr_accessor :sqlserver_to_postgres_config
3220
+
3207
3221
  # The current migration job state.
3208
3222
  # Corresponds to the JSON property `state`
3209
3223
  # @return [String]
@@ -3267,6 +3281,7 @@ module Google
3267
3281
  @source = args[:source] if args.key?(:source)
3268
3282
  @source_database = args[:source_database] if args.key?(:source_database)
3269
3283
  @sqlserver_homogeneous_migration_job_config = args[:sqlserver_homogeneous_migration_job_config] if args.key?(:sqlserver_homogeneous_migration_job_config)
3284
+ @sqlserver_to_postgres_config = args[:sqlserver_to_postgres_config] if args.key?(:sqlserver_to_postgres_config)
3270
3285
  @state = args[:state] if args.key?(:state)
3271
3286
  @static_ip_connectivity = args[:static_ip_connectivity] if args.key?(:static_ip_connectivity)
3272
3287
  @type = args[:type] if args.key?(:type)
@@ -5224,6 +5239,11 @@ module Google
5224
5239
  # @return [String]
5225
5240
  attr_accessor :cloud_sql_id
5226
5241
 
5242
+ # Required. The name of the specific database within the host.
5243
+ # Corresponds to the JSON property `database`
5244
+ # @return [String]
5245
+ attr_accessor :database
5246
+
5227
5247
  # Forward SSH Tunnel connectivity.
5228
5248
  # Corresponds to the JSON property `forwardSshConnectivity`
5229
5249
  # @return [Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity]
@@ -5291,6 +5311,7 @@ module Google
5291
5311
  def update!(**args)
5292
5312
  @backups = args[:backups] if args.key?(:backups)
5293
5313
  @cloud_sql_id = args[:cloud_sql_id] if args.key?(:cloud_sql_id)
5314
+ @database = args[:database] if args.key?(:database)
5294
5315
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
5295
5316
  @host = args[:host] if args.key?(:host)
5296
5317
  @password = args[:password] if args.key?(:password)
@@ -5413,6 +5434,72 @@ module Google
5413
5434
  end
5414
5435
  end
5415
5436
 
5437
+ # Configuration for SQL Server as a source in a migration.
5438
+ class SqlServerSourceConfig
5439
+ include Google::Apis::Core::Hashable
5440
+
5441
+ # Optional. The log sequence number (LSN) to start CDC data migration from.
5442
+ # Corresponds to the JSON property `cdcStartPosition`
5443
+ # @return [String]
5444
+ attr_accessor :cdc_start_position
5445
+
5446
+ # Optional. Maximum number of connections Database Migration Service will open
5447
+ # to the source for CDC phase.
5448
+ # Corresponds to the JSON property `maxConcurrentCdcConnections`
5449
+ # @return [Fixnum]
5450
+ attr_accessor :max_concurrent_cdc_connections
5451
+
5452
+ # Optional. Maximum number of connections Database Migration Service will open
5453
+ # to the source for full dump phase.
5454
+ # Corresponds to the JSON property `maxConcurrentFullDumpConnections`
5455
+ # @return [Fixnum]
5456
+ attr_accessor :max_concurrent_full_dump_connections
5457
+
5458
+ # Optional. Whether to skip full dump or not.
5459
+ # Corresponds to the JSON property `skipFullDump`
5460
+ # @return [Boolean]
5461
+ attr_accessor :skip_full_dump
5462
+ alias_method :skip_full_dump?, :skip_full_dump
5463
+
5464
+ def initialize(**args)
5465
+ update!(**args)
5466
+ end
5467
+
5468
+ # Update properties of this object
5469
+ def update!(**args)
5470
+ @cdc_start_position = args[:cdc_start_position] if args.key?(:cdc_start_position)
5471
+ @max_concurrent_cdc_connections = args[:max_concurrent_cdc_connections] if args.key?(:max_concurrent_cdc_connections)
5472
+ @max_concurrent_full_dump_connections = args[:max_concurrent_full_dump_connections] if args.key?(:max_concurrent_full_dump_connections)
5473
+ @skip_full_dump = args[:skip_full_dump] if args.key?(:skip_full_dump)
5474
+ end
5475
+ end
5476
+
5477
+ # Configuration for heterogeneous **SQL Server to Cloud SQL for PostgreSQL**
5478
+ # migrations.
5479
+ class SqlServerToPostgresConfig
5480
+ include Google::Apis::Core::Hashable
5481
+
5482
+ # Configuration for Postgres as a destination in a migration.
5483
+ # Corresponds to the JSON property `postgresDestinationConfig`
5484
+ # @return [Google::Apis::DatamigrationV1::PostgresDestinationConfig]
5485
+ attr_accessor :postgres_destination_config
5486
+
5487
+ # Configuration for SQL Server as a source in a migration.
5488
+ # Corresponds to the JSON property `sqlserverSourceConfig`
5489
+ # @return [Google::Apis::DatamigrationV1::SqlServerSourceConfig]
5490
+ attr_accessor :sqlserver_source_config
5491
+
5492
+ def initialize(**args)
5493
+ update!(**args)
5494
+ end
5495
+
5496
+ # Update properties of this object
5497
+ def update!(**args)
5498
+ @postgres_destination_config = args[:postgres_destination_config] if args.key?(:postgres_destination_config)
5499
+ @sqlserver_source_config = args[:sqlserver_source_config] if args.key?(:sqlserver_source_config)
5500
+ end
5501
+ end
5502
+
5416
5503
  # Response message for 'GenerateSshScript' request.
5417
5504
  class SshScript
5418
5505
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DatamigrationV1
18
18
  # Version of the google-apis-datamigration_v1 gem
19
- GEM_VERSION = "0.70.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250226"
25
+ REVISION = "20250319"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,18 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class SqlServerSourceConfig
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class SqlServerToPostgresConfig
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
775
787
  class SshScript
776
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
789
 
@@ -1649,6 +1661,7 @@ module Google
1649
1661
  # @private
1650
1662
  class Representation < Google::Apis::Core::JsonRepresentation
1651
1663
  property :cpu_count, as: 'cpuCount'
1664
+ property :machine_type, as: 'machineType'
1652
1665
  end
1653
1666
  end
1654
1667
 
@@ -1748,6 +1761,8 @@ module Google
1748
1761
 
1749
1762
  property :sqlserver_homogeneous_migration_job_config, as: 'sqlserverHomogeneousMigrationJobConfig', class: Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig, decorator: Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig::Representation
1750
1763
 
1764
+ property :sqlserver_to_postgres_config, as: 'sqlserverToPostgresConfig', class: Google::Apis::DatamigrationV1::SqlServerToPostgresConfig, decorator: Google::Apis::DatamigrationV1::SqlServerToPostgresConfig::Representation
1765
+
1751
1766
  property :state, as: 'state'
1752
1767
  property :static_ip_connectivity, as: 'staticIpConnectivity', class: Google::Apis::DatamigrationV1::StaticIpConnectivity, decorator: Google::Apis::DatamigrationV1::StaticIpConnectivity::Representation
1753
1768
 
@@ -2261,6 +2276,7 @@ module Google
2261
2276
  property :backups, as: 'backups', class: Google::Apis::DatamigrationV1::SqlServerBackups, decorator: Google::Apis::DatamigrationV1::SqlServerBackups::Representation
2262
2277
 
2263
2278
  property :cloud_sql_id, as: 'cloudSqlId'
2279
+ property :database, as: 'database'
2264
2280
  property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity::Representation
2265
2281
 
2266
2282
  property :host, as: 'host'
@@ -2308,6 +2324,26 @@ module Google
2308
2324
  end
2309
2325
  end
2310
2326
 
2327
+ class SqlServerSourceConfig
2328
+ # @private
2329
+ class Representation < Google::Apis::Core::JsonRepresentation
2330
+ property :cdc_start_position, as: 'cdcStartPosition'
2331
+ property :max_concurrent_cdc_connections, as: 'maxConcurrentCdcConnections'
2332
+ property :max_concurrent_full_dump_connections, as: 'maxConcurrentFullDumpConnections'
2333
+ property :skip_full_dump, as: 'skipFullDump'
2334
+ end
2335
+ end
2336
+
2337
+ class SqlServerToPostgresConfig
2338
+ # @private
2339
+ class Representation < Google::Apis::Core::JsonRepresentation
2340
+ property :postgres_destination_config, as: 'postgresDestinationConfig', class: Google::Apis::DatamigrationV1::PostgresDestinationConfig, decorator: Google::Apis::DatamigrationV1::PostgresDestinationConfig::Representation
2341
+
2342
+ property :sqlserver_source_config, as: 'sqlserverSourceConfig', class: Google::Apis::DatamigrationV1::SqlServerSourceConfig, decorator: Google::Apis::DatamigrationV1::SqlServerSourceConfig::Representation
2343
+
2344
+ end
2345
+ end
2346
+
2311
2347
  class SshScript
2312
2348
  # @private
2313
2349
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-09 00:00:00.000000000 Z
10
+ date: 2025-03-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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-datamigration_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.71.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
62
62
  rdoc_options: []
63
63
  require_paths: