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.
3646 3647 3648 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3646 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
3639 3640 3641 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3639 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
3644 3645 3646 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3644 def postgres_destination_config @postgres_destination_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3651 3652 3653 3654 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3651 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 |