google-apis-datamigration_v1 0.61.0 → 0.62.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: 5d4ad13fc85946bd168e0a6858df48c4773d2aa22b56b814f03556be76e1ebad
4
- data.tar.gz: 17d25f55e733d94386167454cc577282b7324c7507a38e902ff99d2e9f25300e
3
+ metadata.gz: a7e5593e1fe0fb7178abce26d0e1f62e02492fb8f96b41c7f51ce98a7177225f
4
+ data.tar.gz: 1a87c4f042fb68164e9ebe6cd95380acbc9e3902072c0c57389e90859cf34c58
5
5
  SHA512:
6
- metadata.gz: f8cec0974ef69b35a5d3ae2b6739a94097b2a0cb08d924dbfa95ddfb71cd131a20c781fceb3d9ad4738ef5c42f029a2a613518078aa6dfdaaf8e278341ac16f0
7
- data.tar.gz: dc8c0a2b60260578a64482db487a550388c9955db638df8dd21788edb530d4d0493db7dae4674527b97667ce1d92168e9eac880a3701e3351defef13a9a81151
6
+ metadata.gz: f9ed2d72eca39178051b7a160c6fccb8fad33e21885786cd70b8581705625558eca9d48224111d929dd73a610e515b351e94fb8a386c3140786e16a1ba8f1103
7
+ data.tar.gz: 0eaa877488e9f334804a2ef8a3eb8d2fbecee7f03899eda64c8592f27de42fcf5c1aa6d6b580cf039fa8d9c49509bd87ee10126b0bceee36be24aab8e33ab177
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-datamigration_v1
2
2
 
3
+ ### v0.62.0 (2024-10-06)
4
+
5
+ * Regenerated from discovery document revision 20240930
6
+
3
7
  ### v0.61.0 (2024-09-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20240914
@@ -388,6 +388,31 @@ module Google
388
388
  end
389
389
  end
390
390
 
391
+ # Configuration to use Binary Log Parser CDC technique.
392
+ class BinaryLogParser
393
+ include Google::Apis::Core::Hashable
394
+
395
+ # Configuration to specify the Oracle directories to access the log files.
396
+ # Corresponds to the JSON property `logFileDirectories`
397
+ # @return [Google::Apis::DatamigrationV1::LogFileDirectories]
398
+ attr_accessor :log_file_directories
399
+
400
+ # Configuration to use Oracle ASM to access the log files.
401
+ # Corresponds to the JSON property `oracleAsmLogFileAccess`
402
+ # @return [Google::Apis::DatamigrationV1::OracleAsmLogFileAccess]
403
+ attr_accessor :oracle_asm_log_file_access
404
+
405
+ def initialize(**args)
406
+ update!(**args)
407
+ end
408
+
409
+ # Update properties of this object
410
+ def update!(**args)
411
+ @log_file_directories = args[:log_file_directories] if args.key?(:log_file_directories)
412
+ @oracle_asm_log_file_access = args[:oracle_asm_log_file_access] if args.key?(:oracle_asm_log_file_access)
413
+ end
414
+ end
415
+
391
416
  # Associates `members`, or principals, with a `role`.
392
417
  class Binding
393
418
  include Google::Apis::Core::Hashable
@@ -2605,6 +2630,44 @@ module Google
2605
2630
  end
2606
2631
  end
2607
2632
 
2633
+ # Configuration to specify the Oracle directories to access the log files.
2634
+ class LogFileDirectories
2635
+ include Google::Apis::Core::Hashable
2636
+
2637
+ # Required. Oracle directory for archived logs.
2638
+ # Corresponds to the JSON property `archivedLogDirectory`
2639
+ # @return [String]
2640
+ attr_accessor :archived_log_directory
2641
+
2642
+ # Required. Oracle directory for online logs.
2643
+ # Corresponds to the JSON property `onlineLogDirectory`
2644
+ # @return [String]
2645
+ attr_accessor :online_log_directory
2646
+
2647
+ def initialize(**args)
2648
+ update!(**args)
2649
+ end
2650
+
2651
+ # Update properties of this object
2652
+ def update!(**args)
2653
+ @archived_log_directory = args[:archived_log_directory] if args.key?(:archived_log_directory)
2654
+ @online_log_directory = args[:online_log_directory] if args.key?(:online_log_directory)
2655
+ end
2656
+ end
2657
+
2658
+ # Configuration to use LogMiner CDC method.
2659
+ class LogMiner
2660
+ include Google::Apis::Core::Hashable
2661
+
2662
+ def initialize(**args)
2663
+ update!(**args)
2664
+ end
2665
+
2666
+ # Update properties of this object
2667
+ def update!(**args)
2668
+ end
2669
+ end
2670
+
2608
2671
  # MachineConfig describes the configuration of a machine.
2609
2672
  class MachineConfig
2610
2673
  include Google::Apis::Core::Hashable
@@ -2977,6 +3040,12 @@ module Google
2977
3040
  # @return [String]
2978
3041
  attr_accessor :name
2979
3042
 
3043
+ # Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **
3044
+ # Oracle to AlloyDB for PostgreSQL** migrations.
3045
+ # Corresponds to the JSON property `oracleToPostgresConfig`
3046
+ # @return [Google::Apis::DatamigrationV1::OracleToPostgresConfig]
3047
+ attr_accessor :oracle_to_postgres_config
3048
+
2980
3049
  # Performance configuration definition.
2981
3050
  # Corresponds to the JSON property `performanceConfig`
2982
3051
  # @return [Google::Apis::DatamigrationV1::PerformanceConfig]
@@ -3065,6 +3134,7 @@ module Google
3065
3134
  @filter = args[:filter] if args.key?(:filter)
3066
3135
  @labels = args[:labels] if args.key?(:labels)
3067
3136
  @name = args[:name] if args.key?(:name)
3137
+ @oracle_to_postgres_config = args[:oracle_to_postgres_config] if args.key?(:oracle_to_postgres_config)
3068
3138
  @performance_config = args[:performance_config] if args.key?(:performance_config)
3069
3139
  @phase = args[:phase] if args.key?(:phase)
3070
3140
  @reverse_ssh_connectivity = args[:reverse_ssh_connectivity] if args.key?(:reverse_ssh_connectivity)
@@ -3403,6 +3473,19 @@ module Google
3403
3473
  end
3404
3474
  end
3405
3475
 
3476
+ # Configuration to use Oracle ASM to access the log files.
3477
+ class OracleAsmLogFileAccess
3478
+ include Google::Apis::Core::Hashable
3479
+
3480
+ def initialize(**args)
3481
+ update!(**args)
3482
+ end
3483
+
3484
+ # Update properties of this object
3485
+ def update!(**args)
3486
+ end
3487
+ end
3488
+
3406
3489
  # Specifies connection parameters required specifically for Oracle databases.
3407
3490
  class OracleConnectionProfile
3408
3491
  include Google::Apis::Core::Hashable
@@ -3487,6 +3570,84 @@ module Google
3487
3570
  end
3488
3571
  end
3489
3572
 
3573
+ # Configuration for Oracle as a source in a migration.
3574
+ class OracleSourceConfig
3575
+ include Google::Apis::Core::Hashable
3576
+
3577
+ # Configuration to use Binary Log Parser CDC technique.
3578
+ # Corresponds to the JSON property `binaryLogParser`
3579
+ # @return [Google::Apis::DatamigrationV1::BinaryLogParser]
3580
+ attr_accessor :binary_log_parser
3581
+
3582
+ # Optional. The schema change number (SCN) to start CDC data migration from.
3583
+ # Corresponds to the JSON property `cdcStartPosition`
3584
+ # @return [Fixnum]
3585
+ attr_accessor :cdc_start_position
3586
+
3587
+ # Configuration to use LogMiner CDC method.
3588
+ # Corresponds to the JSON property `logMiner`
3589
+ # @return [Google::Apis::DatamigrationV1::LogMiner]
3590
+ attr_accessor :log_miner
3591
+
3592
+ # Optional. Maximum number of connections Database Migration Service will open
3593
+ # to the source for CDC phase.
3594
+ # Corresponds to the JSON property `maxConcurrentCdcConnections`
3595
+ # @return [Fixnum]
3596
+ attr_accessor :max_concurrent_cdc_connections
3597
+
3598
+ # Optional. Maximum number of connections Database Migration Service will open
3599
+ # to the source for full dump phase.
3600
+ # Corresponds to the JSON property `maxConcurrentFullDumpConnections`
3601
+ # @return [Fixnum]
3602
+ attr_accessor :max_concurrent_full_dump_connections
3603
+
3604
+ # Optional. Whether to skip full dump or not.
3605
+ # Corresponds to the JSON property `skipFullDump`
3606
+ # @return [Boolean]
3607
+ attr_accessor :skip_full_dump
3608
+ alias_method :skip_full_dump?, :skip_full_dump
3609
+
3610
+ def initialize(**args)
3611
+ update!(**args)
3612
+ end
3613
+
3614
+ # Update properties of this object
3615
+ def update!(**args)
3616
+ @binary_log_parser = args[:binary_log_parser] if args.key?(:binary_log_parser)
3617
+ @cdc_start_position = args[:cdc_start_position] if args.key?(:cdc_start_position)
3618
+ @log_miner = args[:log_miner] if args.key?(:log_miner)
3619
+ @max_concurrent_cdc_connections = args[:max_concurrent_cdc_connections] if args.key?(:max_concurrent_cdc_connections)
3620
+ @max_concurrent_full_dump_connections = args[:max_concurrent_full_dump_connections] if args.key?(:max_concurrent_full_dump_connections)
3621
+ @skip_full_dump = args[:skip_full_dump] if args.key?(:skip_full_dump)
3622
+ end
3623
+ end
3624
+
3625
+ # Configuration for heterogeneous **Oracle to Cloud SQL for PostgreSQL** and **
3626
+ # Oracle to AlloyDB for PostgreSQL** migrations.
3627
+ class OracleToPostgresConfig
3628
+ include Google::Apis::Core::Hashable
3629
+
3630
+ # Configuration for Oracle as a source in a migration.
3631
+ # Corresponds to the JSON property `oracleSourceConfig`
3632
+ # @return [Google::Apis::DatamigrationV1::OracleSourceConfig]
3633
+ attr_accessor :oracle_source_config
3634
+
3635
+ # Configuration for Postgres as a destination in a migration.
3636
+ # Corresponds to the JSON property `postgresDestinationConfig`
3637
+ # @return [Google::Apis::DatamigrationV1::PostgresDestinationConfig]
3638
+ attr_accessor :postgres_destination_config
3639
+
3640
+ def initialize(**args)
3641
+ update!(**args)
3642
+ end
3643
+
3644
+ # Update properties of this object
3645
+ def update!(**args)
3646
+ @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config)
3647
+ @postgres_destination_config = args[:postgres_destination_config] if args.key?(:postgres_destination_config)
3648
+ end
3649
+ end
3650
+
3490
3651
  # Package's parent is a schema.
3491
3652
  class PackageEntity
3492
3653
  include Google::Apis::Core::Hashable
@@ -3761,6 +3922,32 @@ module Google
3761
3922
  end
3762
3923
  end
3763
3924
 
3925
+ # Configuration for Postgres as a destination in a migration.
3926
+ class PostgresDestinationConfig
3927
+ include Google::Apis::Core::Hashable
3928
+
3929
+ # Optional. Maximum number of connections Database Migration Service will open
3930
+ # to the destination for data migration.
3931
+ # Corresponds to the JSON property `maxConcurrentConnections`
3932
+ # @return [Fixnum]
3933
+ attr_accessor :max_concurrent_connections
3934
+
3935
+ # Optional. Timeout for data migration transactions.
3936
+ # Corresponds to the JSON property `transactionTimeout`
3937
+ # @return [String]
3938
+ attr_accessor :transaction_timeout
3939
+
3940
+ def initialize(**args)
3941
+ update!(**args)
3942
+ end
3943
+
3944
+ # Update properties of this object
3945
+ def update!(**args)
3946
+ @max_concurrent_connections = args[:max_concurrent_connections] if args.key?(:max_concurrent_connections)
3947
+ @transaction_timeout = args[:transaction_timeout] if args.key?(:transaction_timeout)
3948
+ end
3949
+ end
3950
+
3764
3951
  # Settings for the cluster's primary instance
3765
3952
  class PrimaryInstanceSettings
3766
3953
  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.61.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240914"
25
+ REVISION = "20240930"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class BinaryLogParser
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class Binding
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -400,6 +406,18 @@ module Google
400
406
  include Google::Apis::Core::JsonObjectSupport
401
407
  end
402
408
 
409
+ class LogFileDirectories
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
415
+ class LogMiner
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
403
421
  class MachineConfig
404
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
423
 
@@ -466,12 +484,30 @@ module Google
466
484
  include Google::Apis::Core::JsonObjectSupport
467
485
  end
468
486
 
487
+ class OracleAsmLogFileAccess
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
469
493
  class OracleConnectionProfile
470
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
495
 
472
496
  include Google::Apis::Core::JsonObjectSupport
473
497
  end
474
498
 
499
+ class OracleSourceConfig
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class OracleToPostgresConfig
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
475
511
  class PackageEntity
476
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
513
 
@@ -502,6 +538,12 @@ module Google
502
538
  include Google::Apis::Core::JsonObjectSupport
503
539
  end
504
540
 
541
+ class PostgresDestinationConfig
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
505
547
  class PrimaryInstanceSettings
506
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
507
549
 
@@ -934,6 +976,16 @@ module Google
934
976
  end
935
977
  end
936
978
 
979
+ class BinaryLogParser
980
+ # @private
981
+ class Representation < Google::Apis::Core::JsonRepresentation
982
+ property :log_file_directories, as: 'logFileDirectories', class: Google::Apis::DatamigrationV1::LogFileDirectories, decorator: Google::Apis::DatamigrationV1::LogFileDirectories::Representation
983
+
984
+ property :oracle_asm_log_file_access, as: 'oracleAsmLogFileAccess', class: Google::Apis::DatamigrationV1::OracleAsmLogFileAccess, decorator: Google::Apis::DatamigrationV1::OracleAsmLogFileAccess::Representation
985
+
986
+ end
987
+ end
988
+
937
989
  class Binding
938
990
  # @private
939
991
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1512,6 +1564,20 @@ module Google
1512
1564
  end
1513
1565
  end
1514
1566
 
1567
+ class LogFileDirectories
1568
+ # @private
1569
+ class Representation < Google::Apis::Core::JsonRepresentation
1570
+ property :archived_log_directory, as: 'archivedLogDirectory'
1571
+ property :online_log_directory, as: 'onlineLogDirectory'
1572
+ end
1573
+ end
1574
+
1575
+ class LogMiner
1576
+ # @private
1577
+ class Representation < Google::Apis::Core::JsonRepresentation
1578
+ end
1579
+ end
1580
+
1515
1581
  class MachineConfig
1516
1582
  # @private
1517
1583
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1597,6 +1663,8 @@ module Google
1597
1663
  property :filter, as: 'filter'
1598
1664
  hash :labels, as: 'labels'
1599
1665
  property :name, as: 'name'
1666
+ property :oracle_to_postgres_config, as: 'oracleToPostgresConfig', class: Google::Apis::DatamigrationV1::OracleToPostgresConfig, decorator: Google::Apis::DatamigrationV1::OracleToPostgresConfig::Representation
1667
+
1600
1668
  property :performance_config, as: 'performanceConfig', class: Google::Apis::DatamigrationV1::PerformanceConfig, decorator: Google::Apis::DatamigrationV1::PerformanceConfig::Representation
1601
1669
 
1602
1670
  property :phase, as: 'phase'
@@ -1691,6 +1759,12 @@ module Google
1691
1759
  end
1692
1760
  end
1693
1761
 
1762
+ class OracleAsmLogFileAccess
1763
+ # @private
1764
+ class Representation < Google::Apis::Core::JsonRepresentation
1765
+ end
1766
+ end
1767
+
1694
1768
  class OracleConnectionProfile
1695
1769
  # @private
1696
1770
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1713,6 +1787,30 @@ module Google
1713
1787
  end
1714
1788
  end
1715
1789
 
1790
+ class OracleSourceConfig
1791
+ # @private
1792
+ class Representation < Google::Apis::Core::JsonRepresentation
1793
+ property :binary_log_parser, as: 'binaryLogParser', class: Google::Apis::DatamigrationV1::BinaryLogParser, decorator: Google::Apis::DatamigrationV1::BinaryLogParser::Representation
1794
+
1795
+ property :cdc_start_position, :numeric_string => true, as: 'cdcStartPosition'
1796
+ property :log_miner, as: 'logMiner', class: Google::Apis::DatamigrationV1::LogMiner, decorator: Google::Apis::DatamigrationV1::LogMiner::Representation
1797
+
1798
+ property :max_concurrent_cdc_connections, as: 'maxConcurrentCdcConnections'
1799
+ property :max_concurrent_full_dump_connections, as: 'maxConcurrentFullDumpConnections'
1800
+ property :skip_full_dump, as: 'skipFullDump'
1801
+ end
1802
+ end
1803
+
1804
+ class OracleToPostgresConfig
1805
+ # @private
1806
+ class Representation < Google::Apis::Core::JsonRepresentation
1807
+ property :oracle_source_config, as: 'oracleSourceConfig', class: Google::Apis::DatamigrationV1::OracleSourceConfig, decorator: Google::Apis::DatamigrationV1::OracleSourceConfig::Representation
1808
+
1809
+ property :postgres_destination_config, as: 'postgresDestinationConfig', class: Google::Apis::DatamigrationV1::PostgresDestinationConfig, decorator: Google::Apis::DatamigrationV1::PostgresDestinationConfig::Representation
1810
+
1811
+ end
1812
+ end
1813
+
1716
1814
  class PackageEntity
1717
1815
  # @private
1718
1816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1771,6 +1869,14 @@ module Google
1771
1869
  end
1772
1870
  end
1773
1871
 
1872
+ class PostgresDestinationConfig
1873
+ # @private
1874
+ class Representation < Google::Apis::Core::JsonRepresentation
1875
+ property :max_concurrent_connections, as: 'maxConcurrentConnections'
1876
+ property :transaction_timeout, as: 'transactionTimeout'
1877
+ end
1878
+ end
1879
+
1774
1880
  class PrimaryInstanceSettings
1775
1881
  # @private
1776
1882
  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.61.0
4
+ version: 0.62.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-09-22 00:00:00.000000000 Z
11
+ date: 2024-10-06 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.61.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.62.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: []