Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::SpannerSourceConfig.
Configuration for syncing data from a Spanner source.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backfill_data_boost_enabled
def backfill_data_boost_enabled() -> ::Boolean
Returns
- (::Boolean) — Optional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.
#backfill_data_boost_enabled=
def backfill_data_boost_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.
Returns
- (::Boolean) — Optional. Whether to use Data Boost for Spanner backfills. Defaults to false if not set.
#change_stream_name
def change_stream_name() -> ::String
Returns
- (::String) — Required. Immutable. The change stream name to use for the stream.
#change_stream_name=
def change_stream_name=(value) -> ::String
Parameter
- value (::String) — Required. Immutable. The change stream name to use for the stream.
Returns
- (::String) — Required. Immutable. The change stream name to use for the stream.
#exclude_objects
def exclude_objects() -> ::Google::Cloud::Datastream::V1::SpannerDatabase
Returns
- (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to avoid retrieving. If some objects are both included and excluded, an error will be thrown.
#exclude_objects=
def exclude_objects=(value) -> ::Google::Cloud::Datastream::V1::SpannerDatabase
Parameter
- value (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to avoid retrieving. If some objects are both included and excluded, an error will be thrown.
Returns
- (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to avoid retrieving. If some objects are both included and excluded, an error will be thrown.
#fgac_role
def fgac_role() -> ::String
Returns
- (::String) — Optional. The FGAC role to use for the stream.
#fgac_role=
def fgac_role=(value) -> ::String
Parameter
- value (::String) — Optional. The FGAC role to use for the stream.
Returns
- (::String) — Optional. The FGAC role to use for the stream.
#include_objects
def include_objects() -> ::Google::Cloud::Datastream::V1::SpannerDatabase
Returns
- (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to retrieve from the data source. If some objects are both included and excluded, an error will be thrown.
#include_objects=
def include_objects=(value) -> ::Google::Cloud::Datastream::V1::SpannerDatabase
Parameter
- value (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to retrieve from the data source. If some objects are both included and excluded, an error will be thrown.
Returns
- (::Google::Cloud::Datastream::V1::SpannerDatabase) — Optional. The Spanner objects to retrieve from the data source. If some objects are both included and excluded, an error will be thrown.
#max_concurrent_backfill_tasks
def max_concurrent_backfill_tasks() -> ::Integer
Returns
- (::Integer) — Optional. Maximum number of concurrent backfill tasks.
#max_concurrent_backfill_tasks=
def max_concurrent_backfill_tasks=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Maximum number of concurrent backfill tasks.
Returns
- (::Integer) — Optional. Maximum number of concurrent backfill tasks.
#max_concurrent_cdc_tasks
def max_concurrent_cdc_tasks() -> ::Integer
Returns
- (::Integer) — Optional. Maximum number of concurrent CDC tasks.
#max_concurrent_cdc_tasks=
def max_concurrent_cdc_tasks=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Maximum number of concurrent CDC tasks.
Returns
- (::Integer) — Optional. Maximum number of concurrent CDC tasks.
#spanner_rpc_priority
def spanner_rpc_priority() -> ::Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority
Returns
- (::Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority) — Optional. The RPC priority to use for the stream.
#spanner_rpc_priority=
def spanner_rpc_priority=(value) -> ::Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority
Parameter
- value (::Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority) — Optional. The RPC priority to use for the stream.
Returns
- (::Google::Cloud::Datastream::V1::SpannerSourceConfig::SpannerRpcPriority) — Optional. The RPC priority to use for the stream.