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.
4519 4520 4521 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4519 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
4510 4511 4512 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4510 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
4517 4518 4519 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4517 def max_additional_subscriptions @max_additional_subscriptions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4524 4525 4526 4527 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4524 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 |