Class: Google::Apis::DatamigrationV1::PostgresHomogeneousConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::PostgresHomogeneousConfig
- 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 PostgreSQL to PostgreSQL migrations.
Instance Attribute Summary collapse
-
#is_native_logical ⇒ Boolean
(also: #is_native_logical?)
Required.
-
#max_additional_subscriptions ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgresHomogeneousConfig
constructor
A new instance of PostgresHomogeneousConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgresHomogeneousConfig
Returns a new instance of PostgresHomogeneousConfig.
4545 4546 4547 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4545 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_native_logical ⇒ Boolean Also known as: is_native_logical?
Required. Whether the migration is native logical.
Corresponds to the JSON property isNativeLogical
4536 4537 4538 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4536 def is_native_logical @is_native_logical end |
#max_additional_subscriptions ⇒ Fixnum
Optional. Maximum number of additional subscriptions to use for the migration
job.
Corresponds to the JSON property maxAdditionalSubscriptions
4543 4544 4545 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4543 def max_additional_subscriptions @max_additional_subscriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4550 4551 4552 4553 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4550 def update!(**args) @is_native_logical = args[:is_native_logical] if args.key?(:is_native_logical) @max_additional_subscriptions = args[:max_additional_subscriptions] if args.key?(:max_additional_subscriptions) end |