Class: Google::Apis::DatastreamV1::SpannerSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SpannerSourceConfig
- 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
Configuration for syncing data from a Spanner source.
Instance Attribute Summary collapse
-
#backfill_data_boost_enabled ⇒ Boolean
(also: #backfill_data_boost_enabled?)
Optional.
-
#change_stream_name ⇒ String
Required.
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::SpannerDatabase
Spanner database structure.
-
#fgac_role ⇒ String
Optional.
-
#include_objects ⇒ Google::Apis::DatastreamV1::SpannerDatabase
Spanner database structure.
-
#max_concurrent_backfill_tasks ⇒ Fixnum
Optional.
-
#max_concurrent_cdc_tasks ⇒ Fixnum
Optional.
-
#spanner_rpc_priority ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerSourceConfig
constructor
A new instance of SpannerSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerSourceConfig
Returns a new instance of SpannerSourceConfig.
4878 4879 4880 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backfill_data_boost_enabled ⇒ Boolean Also known as: backfill_data_boost_enabled?
Optional. Whether to use Data Boost for Spanner backfills. Defaults to false
if not set.
Corresponds to the JSON property backfillDataBoostEnabled
4840 4841 4842 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4840 def backfill_data_boost_enabled @backfill_data_boost_enabled end |
#change_stream_name ⇒ String
Required. Immutable. The change stream name to use for the stream.
Corresponds to the JSON property changeStreamName
4846 4847 4848 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4846 def change_stream_name @change_stream_name end |
#exclude_objects ⇒ Google::Apis::DatastreamV1::SpannerDatabase
Spanner database structure.
Corresponds to the JSON property excludeObjects
4851 4852 4853 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4851 def exclude_objects @exclude_objects end |
#fgac_role ⇒ String
Optional. The FGAC role to use for the stream.
Corresponds to the JSON property fgacRole
4856 4857 4858 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4856 def fgac_role @fgac_role end |
#include_objects ⇒ Google::Apis::DatastreamV1::SpannerDatabase
Spanner database structure.
Corresponds to the JSON property includeObjects
4861 4862 4863 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4861 def include_objects @include_objects end |
#max_concurrent_backfill_tasks ⇒ Fixnum
Optional. Maximum number of concurrent backfill tasks.
Corresponds to the JSON property maxConcurrentBackfillTasks
4866 4867 4868 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4866 def max_concurrent_backfill_tasks @max_concurrent_backfill_tasks end |
#max_concurrent_cdc_tasks ⇒ Fixnum
Optional. Maximum number of concurrent CDC tasks.
Corresponds to the JSON property maxConcurrentCdcTasks
4871 4872 4873 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4871 def max_concurrent_cdc_tasks @max_concurrent_cdc_tasks end |
#spanner_rpc_priority ⇒ String
Optional. The RPC priority to use for the stream.
Corresponds to the JSON property spannerRpcPriority
4876 4877 4878 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4876 def spanner_rpc_priority @spanner_rpc_priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4883 def update!(**args) @backfill_data_boost_enabled = args[:backfill_data_boost_enabled] if args.key?(:backfill_data_boost_enabled) @change_stream_name = args[:change_stream_name] if args.key?(:change_stream_name) @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects) @fgac_role = args[:fgac_role] if args.key?(:fgac_role) @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) @max_concurrent_cdc_tasks = args[:max_concurrent_cdc_tasks] if args.key?(:max_concurrent_cdc_tasks) @spanner_rpc_priority = args[:spanner_rpc_priority] if args.key?(:spanner_rpc_priority) end |