Class: Google::Apis::DatastreamV1::PostgresqlSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::PostgresqlSourceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
PostgreSQL data source configuration
Instance Attribute Summary collapse
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::PostgresqlRdbms
PostgreSQL database structure.
-
#include_objects ⇒ Google::Apis::DatastreamV1::PostgresqlRdbms
PostgreSQL database structure.
-
#max_concurrent_backfill_tasks ⇒ Fixnum
Maximum number of concurrent backfill tasks.
-
#publication ⇒ String
Required.
-
#replication_slot ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgresqlSourceConfig
constructor
A new instance of PostgresqlSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgresqlSourceConfig
Returns a new instance of PostgresqlSourceConfig.
1967 1968 1969 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::PostgresqlRdbms
PostgreSQL database structure.
Corresponds to the JSON property excludeObjects
1942 1943 1944 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1942 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::PostgresqlRdbms
PostgreSQL database structure.
Corresponds to the JSON property includeObjects
1947 1948 1949 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1947 def include_objects @include_objects end |
#max_concurrent_backfill_tasks ⇒ Fixnum
Maximum number of concurrent backfill tasks. The number should be non negative.
If not set (or set to 0), the system's default value will be used.
Corresponds to the JSON property maxConcurrentBackfillTasks
1953 1954 1955 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1953 def max_concurrent_backfill_tasks @max_concurrent_backfill_tasks end |
#publication ⇒ String
Required. The name of the publication that includes the set of all tables that
are defined in the stream's include_objects.
Corresponds to the JSON property publication
1959 1960 1961 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1959 def publication @publication end |
#replication_slot ⇒ String
Required. Immutable. The name of the logical replication slot that's
configured with the pgoutput plugin.
Corresponds to the JSON property replicationSlot
1965 1966 1967 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1965 def replication_slot @replication_slot end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1972 1973 1974 1975 1976 1977 1978 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1972 def update!(**args) @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects) @include_objects = args[:include_objects] if args.key?(:include_objects) @max_concurrent_backfill_tasks = args[:max_concurrent_backfill_tasks] if args.key?(:max_concurrent_backfill_tasks) @publication = args[:publication] if args.key?(:publication) @replication_slot = args[:replication_slot] if args.key?(:replication_slot) end |