google-apis-datamigration_v1 0.79.0 → 0.81.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: 321a491688783569cd31f616ab45264344d522da62a0601381fdeff7df8fb20f
4
- data.tar.gz: dfd6e8cd524b2cf9f6d2e93834b42479b77002ad34861da82443f957e484ab91
3
+ metadata.gz: e20c047ec4bc569309bfc64372ea5890ec694bfa72e695b7b6b270216e8dcebf
4
+ data.tar.gz: 32785b2ddab1aa0032eb3af0459dac429aef21fd7bf184f2dfa68f691084fbab
5
5
  SHA512:
6
- metadata.gz: f470fa1227341afc9e46064459124864ab723f194622a86f6bc8ffbf86d9fce6f519aa84796e0d06825f8e0737e530b9eff717b089219b1f64e4c823f233719c
7
- data.tar.gz: 83f7f07242b092a23cd67bd837ac30d03e8a28e921ace50486b94e34017d7d8083c3c43ade8fa3758ba2d1fe21a176bdc5e973c876dbc87e432f7218d8101847
6
+ metadata.gz: 0cbc5d3fac2225915f9a444daab9956e6d922ce0ddf4c4170e09b65f943944bba8768c1b60e61f99e6b144203c622ffb39d97cfa87dc0ab5ac4c63ec2a465cab
7
+ data.tar.gz: 4f0b795960585688b25223c336ed652bb5a82e51154091afb2790138e82bfc7ecd152690a4d7b98d3200f72fb8e9701f323b1ceb9aad5a9c5adb3d2fbe292551
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.81.0 (2025-11-09)
4
+
5
+ * Regenerated from discovery document revision 20251029
6
+
7
+ ### v0.80.0 (2025-09-07)
8
+
9
+ * Regenerated from discovery document revision 20250826
10
+
3
11
  ### v0.79.0 (2025-08-24)
4
12
 
5
13
  * Regenerated from discovery document revision 20250815
@@ -2658,6 +2658,13 @@ module Google
2658
2658
  # @return [Array<Google::Apis::DatamigrationV1::Operation>]
2659
2659
  attr_accessor :operations
2660
2660
 
2661
+ # Unordered list. Unreachable resources. Populated when the request sets `
2662
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
2663
+ # when attempting to list all resources across all supported locations.
2664
+ # Corresponds to the JSON property `unreachable`
2665
+ # @return [Array<String>]
2666
+ attr_accessor :unreachable
2667
+
2661
2668
  def initialize(**args)
2662
2669
  update!(**args)
2663
2670
  end
@@ -2666,6 +2673,7 @@ module Google
2666
2673
  def update!(**args)
2667
2674
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2668
2675
  @operations = args[:operations] if args.key?(:operations)
2676
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
2669
2677
  end
2670
2678
  end
2671
2679
 
@@ -5326,11 +5334,22 @@ module Google
5326
5334
  # @return [String]
5327
5335
  attr_accessor :cloud_sql_id
5328
5336
 
5337
+ # Optional. The project id of the Cloud SQL instance. If not provided, the
5338
+ # project id of the connection profile will be used.
5339
+ # Corresponds to the JSON property `cloudSqlProjectId`
5340
+ # @return [String]
5341
+ attr_accessor :cloud_sql_project_id
5342
+
5329
5343
  # Required. The name of the specific database within the host.
5330
5344
  # Corresponds to the JSON property `database`
5331
5345
  # @return [String]
5332
5346
  attr_accessor :database
5333
5347
 
5348
+ # Optional. The Database Mirroring (DBM) port of the source SQL Server instance.
5349
+ # Corresponds to the JSON property `dbmPort`
5350
+ # @return [Fixnum]
5351
+ attr_accessor :dbm_port
5352
+
5334
5353
  # Forward SSH Tunnel connectivity.
5335
5354
  # Corresponds to the JSON property `forwardSshConnectivity`
5336
5355
  # @return [Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity]
@@ -5398,7 +5417,9 @@ module Google
5398
5417
  def update!(**args)
5399
5418
  @backups = args[:backups] if args.key?(:backups)
5400
5419
  @cloud_sql_id = args[:cloud_sql_id] if args.key?(:cloud_sql_id)
5420
+ @cloud_sql_project_id = args[:cloud_sql_project_id] if args.key?(:cloud_sql_project_id)
5401
5421
  @database = args[:database] if args.key?(:database)
5422
+ @dbm_port = args[:dbm_port] if args.key?(:dbm_port)
5402
5423
  @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
5403
5424
  @host = args[:host] if args.key?(:host)
5404
5425
  @password = args[:password] if args.key?(:password)
@@ -5412,6 +5433,34 @@ module Google
5412
5433
  end
5413
5434
  end
5414
5435
 
5436
+ # Configuration for distributed availability group (DAG) for the SQL Server
5437
+ # homogeneous migration.
5438
+ class SqlServerDagConfig
5439
+ include Google::Apis::Core::Hashable
5440
+
5441
+ # Required. The name of the linked server that points to the source SQL Server
5442
+ # instance. Only used by DAG migrations.
5443
+ # Corresponds to the JSON property `linkedServer`
5444
+ # @return [String]
5445
+ attr_accessor :linked_server
5446
+
5447
+ # Required. The name of the source availability group. Only used by DAG
5448
+ # migrations.
5449
+ # Corresponds to the JSON property `sourceAg`
5450
+ # @return [String]
5451
+ attr_accessor :source_ag
5452
+
5453
+ def initialize(**args)
5454
+ update!(**args)
5455
+ end
5456
+
5457
+ # Update properties of this object
5458
+ def update!(**args)
5459
+ @linked_server = args[:linked_server] if args.key?(:linked_server)
5460
+ @source_ag = args[:source_ag] if args.key?(:source_ag)
5461
+ end
5462
+ end
5463
+
5415
5464
  # Specifies the backup details for a single database in Cloud Storage for
5416
5465
  # homogeneous migration to Cloud SQL for SQL Server.
5417
5466
  class SqlServerDatabaseBackup
@@ -5491,6 +5540,12 @@ module Google
5491
5540
  # @return [String]
5492
5541
  attr_accessor :backup_file_pattern
5493
5542
 
5543
+ # Configuration for distributed availability group (DAG) for the SQL Server
5544
+ # homogeneous migration.
5545
+ # Corresponds to the JSON property `dagConfig`
5546
+ # @return [Google::Apis::DatamigrationV1::SqlServerDagConfig]
5547
+ attr_accessor :dag_config
5548
+
5494
5549
  # Required. Backup details per database in Cloud Storage.
5495
5550
  # Corresponds to the JSON property `databaseBackups`
5496
5551
  # @return [Array<Google::Apis::DatamigrationV1::SqlServerDatabaseBackup>]
@@ -5515,6 +5570,7 @@ module Google
5515
5570
  # Update properties of this object
5516
5571
  def update!(**args)
5517
5572
  @backup_file_pattern = args[:backup_file_pattern] if args.key?(:backup_file_pattern)
5573
+ @dag_config = args[:dag_config] if args.key?(:dag_config)
5518
5574
  @database_backups = args[:database_backups] if args.key?(:database_backups)
5519
5575
  @promote_when_ready = args[:promote_when_ready] if args.key?(:promote_when_ready)
5520
5576
  @use_diff_backup = args[:use_diff_backup] if args.key?(:use_diff_backup)
@@ -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.79.0"
19
+ GEM_VERSION = "0.81.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 = "20250815"
25
+ REVISION = "20251029"
26
26
  end
27
27
  end
28
28
  end
@@ -766,6 +766,12 @@ module Google
766
766
  include Google::Apis::Core::JsonObjectSupport
767
767
  end
768
768
 
769
+ class SqlServerDagConfig
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
769
775
  class SqlServerDatabaseBackup
770
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
777
 
@@ -1633,6 +1639,7 @@ module Google
1633
1639
  property :next_page_token, as: 'nextPageToken'
1634
1640
  collection :operations, as: 'operations', class: Google::Apis::DatamigrationV1::Operation, decorator: Google::Apis::DatamigrationV1::Operation::Representation
1635
1641
 
1642
+ collection :unreachable, as: 'unreachable'
1636
1643
  end
1637
1644
  end
1638
1645
 
@@ -2311,7 +2318,9 @@ module Google
2311
2318
  property :backups, as: 'backups', class: Google::Apis::DatamigrationV1::SqlServerBackups, decorator: Google::Apis::DatamigrationV1::SqlServerBackups::Representation
2312
2319
 
2313
2320
  property :cloud_sql_id, as: 'cloudSqlId'
2321
+ property :cloud_sql_project_id, as: 'cloudSqlProjectId'
2314
2322
  property :database, as: 'database'
2323
+ property :dbm_port, as: 'dbmPort'
2315
2324
  property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity::Representation
2316
2325
 
2317
2326
  property :host, as: 'host'
@@ -2330,6 +2339,14 @@ module Google
2330
2339
  end
2331
2340
  end
2332
2341
 
2342
+ class SqlServerDagConfig
2343
+ # @private
2344
+ class Representation < Google::Apis::Core::JsonRepresentation
2345
+ property :linked_server, as: 'linkedServer'
2346
+ property :source_ag, as: 'sourceAg'
2347
+ end
2348
+ end
2349
+
2333
2350
  class SqlServerDatabaseBackup
2334
2351
  # @private
2335
2352
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2352,6 +2369,8 @@ module Google
2352
2369
  # @private
2353
2370
  class Representation < Google::Apis::Core::JsonRepresentation
2354
2371
  property :backup_file_pattern, as: 'backupFilePattern'
2372
+ property :dag_config, as: 'dagConfig', class: Google::Apis::DatamigrationV1::SqlServerDagConfig, decorator: Google::Apis::DatamigrationV1::SqlServerDagConfig::Representation
2373
+
2355
2374
  collection :database_backups, as: 'databaseBackups', class: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup, decorator: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup::Representation
2356
2375
 
2357
2376
  property :promote_when_ready, as: 'promoteWhenReady'
@@ -2367,6 +2367,13 @@ module Google
2367
2367
  # The standard list page size.
2368
2368
  # @param [String] page_token
2369
2369
  # The standard list page token.
2370
+ # @param [Boolean] return_partial_success
2371
+ # When set to `true`, operations that are reachable are returned as normal, and
2372
+ # those that are unreachable are returned in the [ListOperationsResponse.
2373
+ # unreachable] field. This can only be `true` when reading across collections e.
2374
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2375
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2376
+ # explicitly documented otherwise in service or product specific documentation.
2370
2377
  # @param [String] fields
2371
2378
  # Selector specifying which fields to include in a partial response.
2372
2379
  # @param [String] quota_user
@@ -2384,7 +2391,7 @@ module Google
2384
2391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2385
2392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2386
2393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2387
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2394
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2388
2395
  command = make_simple_command(:get, 'v1/{+name}/operations', options)
2389
2396
  command.response_representation = Google::Apis::DatamigrationV1::ListOperationsResponse::Representation
2390
2397
  command.response_class = Google::Apis::DatamigrationV1::ListOperationsResponse
@@ -2392,6 +2399,7 @@ module Google
2392
2399
  command.query['filter'] = filter unless filter.nil?
2393
2400
  command.query['pageSize'] = page_size unless page_size.nil?
2394
2401
  command.query['pageToken'] = page_token unless page_token.nil?
2402
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2395
2403
  command.query['fields'] = fields unless fields.nil?
2396
2404
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2397
2405
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.79.0
4
+ version: 0.81.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-datamigration_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.81.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: