Class: Google::Apis::DatamigrationV1::OracleToPostgresConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::OracleToPostgresConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb
Overview
Configuration for heterogeneous Oracle to Cloud SQL for PostgreSQL and ** Oracle to AlloyDB for PostgreSQL** migrations.
Instance Attribute Summary collapse
-
#oracle_source_config ⇒ Google::Apis::DatamigrationV1::OracleSourceConfig
Configuration for Oracle as a source in a migration.
-
#postgres_destination_config ⇒ Google::Apis::DatamigrationV1::PostgresDestinationConfig
Configuration for Postgres as a destination in a migration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OracleToPostgresConfig
constructor
A new instance of OracleToPostgresConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OracleToPostgresConfig
Returns a new instance of OracleToPostgresConfig.
3810 3811 3812 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#oracle_source_config ⇒ Google::Apis::DatamigrationV1::OracleSourceConfig
Configuration for Oracle as a source in a migration.
Corresponds to the JSON property oracleSourceConfig
3803 3804 3805 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3803 def oracle_source_config @oracle_source_config end |
#postgres_destination_config ⇒ Google::Apis::DatamigrationV1::PostgresDestinationConfig
Configuration for Postgres as a destination in a migration.
Corresponds to the JSON property postgresDestinationConfig
3808 3809 3810 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3808 def postgres_destination_config @postgres_destination_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3815 3816 3817 3818 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3815 def update!(**args) @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config) @postgres_destination_config = args[:postgres_destination_config] if args.key?(:postgres_destination_config) end |