google-apis-datamigration_v1 0.70.0 → 0.72.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c19037245298ec4d9c291c97ff6e2a918f5b5203698385e7826d15fc96dcdccb
|
4
|
+
data.tar.gz: cb6d01d7de5d90b14a3b9865b4c56fd5fd899b2b9e7e7ba42c4005a4e692adc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29fc63871ea8a7297ffd33fd90b8fb4b26b3d920176682064147463e95572303c443f41400d46619126749a1c998d6721eb32e97a0c9220a0b3f6dbd41e9e22b
|
7
|
+
data.tar.gz: 446ef511b48cba7eccfb3ef18eef2f2401a0bf2cf904f05882c4967e619fcf5004080d3260c7b7f0e433b8a32ea9f7d72fe110f86d257ad14e918d9335756714
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-datamigration_v1
|
2
2
|
|
3
|
+
### v0.72.0 (2025-04-20)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250409
|
6
|
+
|
7
|
+
### v0.71.0 (2025-03-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250319
|
10
|
+
|
3
11
|
### v0.70.0 (2025-03-09)
|
4
12
|
|
5
13
|
* 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.
|
19
|
+
GEM_VERSION = "0.72.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 = "
|
25
|
+
REVISION = "20250409"
|
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
|
@@ -122,6 +122,9 @@ module Google
|
|
122
122
|
# Lists information about the supported locations for this service.
|
123
123
|
# @param [String] name
|
124
124
|
# The resource that owns the locations collection, if applicable.
|
125
|
+
# @param [Array<String>, String] extra_location_types
|
126
|
+
# Optional. A list of extra location types that should be used as conditions for
|
127
|
+
# controlling the visibility of the locations.
|
125
128
|
# @param [String] filter
|
126
129
|
# A filter to narrow down results to a preferred subset. The filtering language
|
127
130
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
@@ -149,11 +152,12 @@ module Google
|
|
149
152
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
150
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
151
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
152
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
155
|
+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
153
156
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
154
157
|
command.response_representation = Google::Apis::DatamigrationV1::ListLocationsResponse::Representation
|
155
158
|
command.response_class = Google::Apis::DatamigrationV1::ListLocationsResponse
|
156
159
|
command.params['name'] = name unless name.nil?
|
160
|
+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
|
157
161
|
command.query['filter'] = filter unless filter.nil?
|
158
162
|
command.query['pageSize'] = page_size unless page_size.nil?
|
159
163
|
command.query['pageToken'] = page_token unless page_token.nil?
|
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.
|
4
|
+
version: 0.72.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-20 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.72.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:
|