google-apis-datamigration_v1 0.52.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0a3be3d8c1f879505e052027def0078279d99ebe607a519ba6bcae9293a9b36
4
- data.tar.gz: 244677de2d3fc69baf830bd9720cacc7c1fb0f8d0ac6b953f55bff515a2118cf
3
+ metadata.gz: '02519d1669dad8542fe576a77f93bd37c54a5ddc66ba3f46d26776e9f2d7eb66'
4
+ data.tar.gz: '08166edbe692e4f03789cd60abbfd084314daab513687e3d8ea045d4c33e118a'
5
5
  SHA512:
6
- metadata.gz: bfe6cf746aa061e4e63c713acdf1db5e0631a127b17156efe498abfdf710fbac9a4476b72b8b68f6de6d62c234ebe454ea0675571153e674f201e6e00febe974
7
- data.tar.gz: 21cec0ef55fbb54e03ed4480b06fd5fa95dd29ea4bf5956c47676db251cfe7d1129ba6a0b0e74310492dc817622f3e0298dbd3e08fbd464824d4fcb873a012d1
6
+ metadata.gz: 863df21fbe90da5b3af35412b37ad5478813170703bf522d2dff2fcfbfd79abf67905715ad4f7c3bd1986ae07853e9d385930a5928e1c51721cf4c318269810e
7
+ data.tar.gz: 2ebcb15fbebdad009d88175f1591c1bea7c13c332824faf9c27991ca516ee24b41e7606918d636193e1cf735cb09470debb98a439cb5002842671797fdefe507
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.53.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240312
6
+
3
7
  ### v0.52.0 (2024-02-23)
4
8
 
5
9
  * Regenerated using generator version 0.14.0
@@ -952,6 +952,11 @@ module Google
952
952
  # @return [String]
953
953
  attr_accessor :provider
954
954
 
955
+ # Specifies connection parameters required specifically for SQL Server databases.
956
+ # Corresponds to the JSON property `sqlserver`
957
+ # @return [Google::Apis::DatamigrationV1::SqlServerConnectionProfile]
958
+ attr_accessor :sqlserver
959
+
955
960
  # The current connection profile state (e.g. DRAFT, READY, or FAILED).
956
961
  # Corresponds to the JSON property `state`
957
962
  # @return [String]
@@ -981,6 +986,7 @@ module Google
981
986
  @oracle = args[:oracle] if args.key?(:oracle)
982
987
  @postgresql = args[:postgresql] if args.key?(:postgresql)
983
988
  @provider = args[:provider] if args.key?(:provider)
989
+ @sqlserver = args[:sqlserver] if args.key?(:sqlserver)
984
990
  @state = args[:state] if args.key?(:state)
985
991
  @update_time = args[:update_time] if args.key?(:update_time)
986
992
  end
@@ -2925,6 +2931,11 @@ module Google
2925
2931
  # @return [Google::Apis::DatamigrationV1::DatabaseType]
2926
2932
  attr_accessor :source_database
2927
2933
 
2934
+ # Configuration for homogeneous migration to Cloud SQL for SQL Server.
2935
+ # Corresponds to the JSON property `sqlserverHomogeneousMigrationJobConfig`
2936
+ # @return [Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig]
2937
+ attr_accessor :sqlserver_homogeneous_migration_job_config
2938
+
2928
2939
  # The current migration job state.
2929
2940
  # Corresponds to the JSON property `state`
2930
2941
  # @return [String]
@@ -2982,6 +2993,7 @@ module Google
2982
2993
  @reverse_ssh_connectivity = args[:reverse_ssh_connectivity] if args.key?(:reverse_ssh_connectivity)
2983
2994
  @source = args[:source] if args.key?(:source)
2984
2995
  @source_database = args[:source_database] if args.key?(:source_database)
2996
+ @sqlserver_homogeneous_migration_job_config = args[:sqlserver_homogeneous_migration_job_config] if args.key?(:sqlserver_homogeneous_migration_job_config)
2985
2997
  @state = args[:state] if args.key?(:state)
2986
2998
  @static_ip_connectivity = args[:static_ip_connectivity] if args.key?(:static_ip_connectivity)
2987
2999
  @type = args[:type] if args.key?(:type)
@@ -4509,6 +4521,220 @@ module Google
4509
4521
  end
4510
4522
  end
4511
4523
 
4524
+ # Specifies the backup details in Cloud Storage for homogeneous migration to
4525
+ # Cloud SQL for SQL Server.
4526
+ class SqlServerBackups
4527
+ include Google::Apis::Core::Hashable
4528
+
4529
+ # Required. The Cloud Storage bucket that stores backups for all replicated
4530
+ # databases.
4531
+ # Corresponds to the JSON property `gcsBucket`
4532
+ # @return [String]
4533
+ attr_accessor :gcs_bucket
4534
+
4535
+ # Optional. Cloud Storage path inside the bucket that stores backups.
4536
+ # Corresponds to the JSON property `gcsPrefix`
4537
+ # @return [String]
4538
+ attr_accessor :gcs_prefix
4539
+
4540
+ def initialize(**args)
4541
+ update!(**args)
4542
+ end
4543
+
4544
+ # Update properties of this object
4545
+ def update!(**args)
4546
+ @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
4547
+ @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
4548
+ end
4549
+ end
4550
+
4551
+ # Specifies connection parameters required specifically for SQL Server databases.
4552
+ class SqlServerConnectionProfile
4553
+ include Google::Apis::Core::Hashable
4554
+
4555
+ # Specifies the backup details in Cloud Storage for homogeneous migration to
4556
+ # Cloud SQL for SQL Server.
4557
+ # Corresponds to the JSON property `backups`
4558
+ # @return [Google::Apis::DatamigrationV1::SqlServerBackups]
4559
+ attr_accessor :backups
4560
+
4561
+ # If the source is a Cloud SQL database, use this field to provide the Cloud SQL
4562
+ # instance ID of the source.
4563
+ # Corresponds to the JSON property `cloudSqlId`
4564
+ # @return [String]
4565
+ attr_accessor :cloud_sql_id
4566
+
4567
+ # Forward SSH Tunnel connectivity.
4568
+ # Corresponds to the JSON property `forwardSshConnectivity`
4569
+ # @return [Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity]
4570
+ attr_accessor :forward_ssh_connectivity
4571
+
4572
+ # Required. The IP or hostname of the source SQL Server database.
4573
+ # Corresponds to the JSON property `host`
4574
+ # @return [String]
4575
+ attr_accessor :host
4576
+
4577
+ # Required. Input only. The password for the user that Database Migration
4578
+ # Service will be using to connect to the database. This field is not returned
4579
+ # on request, and the value is encrypted when stored in Database Migration
4580
+ # Service.
4581
+ # Corresponds to the JSON property `password`
4582
+ # @return [String]
4583
+ attr_accessor :password
4584
+
4585
+ # Output only. Indicates whether a new password is included in the request.
4586
+ # Corresponds to the JSON property `passwordSet`
4587
+ # @return [Boolean]
4588
+ attr_accessor :password_set
4589
+ alias_method :password_set?, :password_set
4590
+
4591
+ # Required. The network port of the source SQL Server database.
4592
+ # Corresponds to the JSON property `port`
4593
+ # @return [Fixnum]
4594
+ attr_accessor :port
4595
+
4596
+ # Private Connectivity.
4597
+ # Corresponds to the JSON property `privateConnectivity`
4598
+ # @return [Google::Apis::DatamigrationV1::PrivateConnectivity]
4599
+ attr_accessor :private_connectivity
4600
+
4601
+ # [Private Service Connect connectivity](https://cloud.google.com/vpc/docs/
4602
+ # private-service-connect#service-attachments)
4603
+ # Corresponds to the JSON property `privateServiceConnectConnectivity`
4604
+ # @return [Google::Apis::DatamigrationV1::PrivateServiceConnectConnectivity]
4605
+ attr_accessor :private_service_connect_connectivity
4606
+
4607
+ # SSL configuration information.
4608
+ # Corresponds to the JSON property `ssl`
4609
+ # @return [Google::Apis::DatamigrationV1::SslConfig]
4610
+ attr_accessor :ssl
4611
+
4612
+ # The source database will allow incoming connections from the public IP of the
4613
+ # destination database. You can retrieve the public IP of the Cloud SQL instance
4614
+ # from the Cloud SQL console or using Cloud SQL APIs. No additional
4615
+ # configuration is required.
4616
+ # Corresponds to the JSON property `staticIpConnectivity`
4617
+ # @return [Google::Apis::DatamigrationV1::StaticIpConnectivity]
4618
+ attr_accessor :static_ip_connectivity
4619
+
4620
+ # Required. The username that Database Migration Service will use to connect to
4621
+ # the database. The value is encrypted when stored in Database Migration Service.
4622
+ # Corresponds to the JSON property `username`
4623
+ # @return [String]
4624
+ attr_accessor :username
4625
+
4626
+ def initialize(**args)
4627
+ update!(**args)
4628
+ end
4629
+
4630
+ # Update properties of this object
4631
+ def update!(**args)
4632
+ @backups = args[:backups] if args.key?(:backups)
4633
+ @cloud_sql_id = args[:cloud_sql_id] if args.key?(:cloud_sql_id)
4634
+ @forward_ssh_connectivity = args[:forward_ssh_connectivity] if args.key?(:forward_ssh_connectivity)
4635
+ @host = args[:host] if args.key?(:host)
4636
+ @password = args[:password] if args.key?(:password)
4637
+ @password_set = args[:password_set] if args.key?(:password_set)
4638
+ @port = args[:port] if args.key?(:port)
4639
+ @private_connectivity = args[:private_connectivity] if args.key?(:private_connectivity)
4640
+ @private_service_connect_connectivity = args[:private_service_connect_connectivity] if args.key?(:private_service_connect_connectivity)
4641
+ @ssl = args[:ssl] if args.key?(:ssl)
4642
+ @static_ip_connectivity = args[:static_ip_connectivity] if args.key?(:static_ip_connectivity)
4643
+ @username = args[:username] if args.key?(:username)
4644
+ end
4645
+ end
4646
+
4647
+ # Specifies the backup details for a single database in Cloud Storage for
4648
+ # homogeneous migration to Cloud SQL for SQL Server.
4649
+ class SqlServerDatabaseBackup
4650
+ include Google::Apis::Core::Hashable
4651
+
4652
+ # Required. Name of a SQL Server database for which to define backup
4653
+ # configuration.
4654
+ # Corresponds to the JSON property `database`
4655
+ # @return [String]
4656
+ attr_accessor :database
4657
+
4658
+ # Encryption settings for the SQL Server database.
4659
+ # Corresponds to the JSON property `encryptionOptions`
4660
+ # @return [Google::Apis::DatamigrationV1::SqlServerEncryptionOptions]
4661
+ attr_accessor :encryption_options
4662
+
4663
+ def initialize(**args)
4664
+ update!(**args)
4665
+ end
4666
+
4667
+ # Update properties of this object
4668
+ def update!(**args)
4669
+ @database = args[:database] if args.key?(:database)
4670
+ @encryption_options = args[:encryption_options] if args.key?(:encryption_options)
4671
+ end
4672
+ end
4673
+
4674
+ # Encryption settings for the SQL Server database.
4675
+ class SqlServerEncryptionOptions
4676
+ include Google::Apis::Core::Hashable
4677
+
4678
+ # Required. Path to certificate.
4679
+ # Corresponds to the JSON property `certPath`
4680
+ # @return [String]
4681
+ attr_accessor :cert_path
4682
+
4683
+ # Required. Input only. Private key password.
4684
+ # Corresponds to the JSON property `pvkPassword`
4685
+ # @return [String]
4686
+ attr_accessor :pvk_password
4687
+
4688
+ # Required. Path to certificate private key.
4689
+ # Corresponds to the JSON property `pvkPath`
4690
+ # @return [String]
4691
+ attr_accessor :pvk_path
4692
+
4693
+ def initialize(**args)
4694
+ update!(**args)
4695
+ end
4696
+
4697
+ # Update properties of this object
4698
+ def update!(**args)
4699
+ @cert_path = args[:cert_path] if args.key?(:cert_path)
4700
+ @pvk_password = args[:pvk_password] if args.key?(:pvk_password)
4701
+ @pvk_path = args[:pvk_path] if args.key?(:pvk_path)
4702
+ end
4703
+ end
4704
+
4705
+ # Configuration for homogeneous migration to Cloud SQL for SQL Server.
4706
+ class SqlServerHomogeneousMigrationJobConfig
4707
+ include Google::Apis::Core::Hashable
4708
+
4709
+ # Required. Pattern that describes the default backup naming strategy. The
4710
+ # specified pattern should ensure lexicographical order of backups. The pattern
4711
+ # must define one of the following capture group sets: Capture group set #1 yy/
4712
+ # yyyy - year, 2 or 4 digits mm - month number, 1-12 dd - day of month, 1-31 hh -
4713
+ # hour of day, 00-23 mi - minutes, 00-59 ss - seconds, 00-59 Example: For
4714
+ # backup file TestDB_backup_20230802_155400.trn, use pattern: (?.*)_backup_(?\d`
4715
+ # 4`)(?\d`2`)(?\d`2`)_(?\d`2`)(?\d`2`)(?\d`2`).trn Capture group set #2
4716
+ # timestamp - unix timestamp Example: For backup file TestDB_backup_1691448254.
4717
+ # trn, use pattern: (?.*)_backup_(?.*).trn
4718
+ # Corresponds to the JSON property `backupFilePattern`
4719
+ # @return [String]
4720
+ attr_accessor :backup_file_pattern
4721
+
4722
+ # Required. Backup details per database in Cloud Storage.
4723
+ # Corresponds to the JSON property `databaseBackups`
4724
+ # @return [Array<Google::Apis::DatamigrationV1::SqlServerDatabaseBackup>]
4725
+ attr_accessor :database_backups
4726
+
4727
+ def initialize(**args)
4728
+ update!(**args)
4729
+ end
4730
+
4731
+ # Update properties of this object
4732
+ def update!(**args)
4733
+ @backup_file_pattern = args[:backup_file_pattern] if args.key?(:backup_file_pattern)
4734
+ @database_backups = args[:database_backups] if args.key?(:database_backups)
4735
+ end
4736
+ end
4737
+
4512
4738
  # Response message for 'GenerateSshScript' request.
4513
4739
  class SshScript
4514
4740
  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.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240122"
25
+ REVISION = "20240312"
26
26
  end
27
27
  end
28
28
  end
@@ -640,6 +640,36 @@ module Google
640
640
  include Google::Apis::Core::JsonObjectSupport
641
641
  end
642
642
 
643
+ class SqlServerBackups
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
649
+ class SqlServerConnectionProfile
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
655
+ class SqlServerDatabaseBackup
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
661
+ class SqlServerEncryptionOptions
662
+ class Representation < Google::Apis::Core::JsonRepresentation; end
663
+
664
+ include Google::Apis::Core::JsonObjectSupport
665
+ end
666
+
667
+ class SqlServerHomogeneousMigrationJobConfig
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
643
673
  class SshScript
644
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
645
675
 
@@ -999,6 +1029,8 @@ module Google
999
1029
  property :postgresql, as: 'postgresql', class: Google::Apis::DatamigrationV1::PostgreSqlConnectionProfile, decorator: Google::Apis::DatamigrationV1::PostgreSqlConnectionProfile::Representation
1000
1030
 
1001
1031
  property :provider, as: 'provider'
1032
+ property :sqlserver, as: 'sqlserver', class: Google::Apis::DatamigrationV1::SqlServerConnectionProfile, decorator: Google::Apis::DatamigrationV1::SqlServerConnectionProfile::Representation
1033
+
1002
1034
  property :state, as: 'state'
1003
1035
  property :update_time, as: 'updateTime'
1004
1036
  end
@@ -1535,6 +1567,8 @@ module Google
1535
1567
  property :source, as: 'source'
1536
1568
  property :source_database, as: 'sourceDatabase', class: Google::Apis::DatamigrationV1::DatabaseType, decorator: Google::Apis::DatamigrationV1::DatabaseType::Representation
1537
1569
 
1570
+ property :sqlserver_homogeneous_migration_job_config, as: 'sqlserverHomogeneousMigrationJobConfig', class: Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig, decorator: Google::Apis::DatamigrationV1::SqlServerHomogeneousMigrationJobConfig::Representation
1571
+
1538
1572
  property :state, as: 'state'
1539
1573
  property :static_ip_connectivity, as: 'staticIpConnectivity', class: Google::Apis::DatamigrationV1::StaticIpConnectivity, decorator: Google::Apis::DatamigrationV1::StaticIpConnectivity::Representation
1540
1574
 
@@ -1920,6 +1954,65 @@ module Google
1920
1954
  end
1921
1955
  end
1922
1956
 
1957
+ class SqlServerBackups
1958
+ # @private
1959
+ class Representation < Google::Apis::Core::JsonRepresentation
1960
+ property :gcs_bucket, as: 'gcsBucket'
1961
+ property :gcs_prefix, as: 'gcsPrefix'
1962
+ end
1963
+ end
1964
+
1965
+ class SqlServerConnectionProfile
1966
+ # @private
1967
+ class Representation < Google::Apis::Core::JsonRepresentation
1968
+ property :backups, as: 'backups', class: Google::Apis::DatamigrationV1::SqlServerBackups, decorator: Google::Apis::DatamigrationV1::SqlServerBackups::Representation
1969
+
1970
+ property :cloud_sql_id, as: 'cloudSqlId'
1971
+ property :forward_ssh_connectivity, as: 'forwardSshConnectivity', class: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity, decorator: Google::Apis::DatamigrationV1::ForwardSshTunnelConnectivity::Representation
1972
+
1973
+ property :host, as: 'host'
1974
+ property :password, as: 'password'
1975
+ property :password_set, as: 'passwordSet'
1976
+ property :port, as: 'port'
1977
+ property :private_connectivity, as: 'privateConnectivity', class: Google::Apis::DatamigrationV1::PrivateConnectivity, decorator: Google::Apis::DatamigrationV1::PrivateConnectivity::Representation
1978
+
1979
+ property :private_service_connect_connectivity, as: 'privateServiceConnectConnectivity', class: Google::Apis::DatamigrationV1::PrivateServiceConnectConnectivity, decorator: Google::Apis::DatamigrationV1::PrivateServiceConnectConnectivity::Representation
1980
+
1981
+ property :ssl, as: 'ssl', class: Google::Apis::DatamigrationV1::SslConfig, decorator: Google::Apis::DatamigrationV1::SslConfig::Representation
1982
+
1983
+ property :static_ip_connectivity, as: 'staticIpConnectivity', class: Google::Apis::DatamigrationV1::StaticIpConnectivity, decorator: Google::Apis::DatamigrationV1::StaticIpConnectivity::Representation
1984
+
1985
+ property :username, as: 'username'
1986
+ end
1987
+ end
1988
+
1989
+ class SqlServerDatabaseBackup
1990
+ # @private
1991
+ class Representation < Google::Apis::Core::JsonRepresentation
1992
+ property :database, as: 'database'
1993
+ property :encryption_options, as: 'encryptionOptions', class: Google::Apis::DatamigrationV1::SqlServerEncryptionOptions, decorator: Google::Apis::DatamigrationV1::SqlServerEncryptionOptions::Representation
1994
+
1995
+ end
1996
+ end
1997
+
1998
+ class SqlServerEncryptionOptions
1999
+ # @private
2000
+ class Representation < Google::Apis::Core::JsonRepresentation
2001
+ property :cert_path, as: 'certPath'
2002
+ property :pvk_password, as: 'pvkPassword'
2003
+ property :pvk_path, as: 'pvkPath'
2004
+ end
2005
+ end
2006
+
2007
+ class SqlServerHomogeneousMigrationJobConfig
2008
+ # @private
2009
+ class Representation < Google::Apis::Core::JsonRepresentation
2010
+ property :backup_file_pattern, as: 'backupFilePattern'
2011
+ collection :database_backups, as: 'databaseBackups', class: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup, decorator: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup::Representation
2012
+
2013
+ end
2014
+ end
2015
+
1923
2016
  class SshScript
1924
2017
  # @private
1925
2018
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-datamigration_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
63
63
  post_install_message:
64
64
  rdoc_options: []