Class: Google::Apis::DatamigrationV1::OracleToPostgresConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleToPostgresConfig

Returns a new instance of OracleToPostgresConfig.



3782
3783
3784
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3782

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#oracle_source_configGoogle::Apis::DatamigrationV1::OracleSourceConfig

Configuration for Oracle as a source in a migration. Corresponds to the JSON property oracleSourceConfig



3775
3776
3777
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3775

def oracle_source_config
  @oracle_source_config
end

#postgres_destination_configGoogle::Apis::DatamigrationV1::PostgresDestinationConfig

Configuration for Postgres as a destination in a migration. Corresponds to the JSON property postgresDestinationConfig



3780
3781
3782
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3780

def postgres_destination_config
  @postgres_destination_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3787
3788
3789
3790
# File 'lib/google/apis/datamigration_v1/classes.rb', line 3787

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