Class: Google::Apis::DatastreamV1::DataverseSourceConfig

Inherits:
Object
  • Object
show all
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 Dataverse source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataverseSourceConfig

Returns a new instance of DataverseSourceConfig.



731
732
733
# File 'lib/google/apis/datastream_v1/classes.rb', line 731

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property excludeObjects



717
718
719
# File 'lib/google/apis/datastream_v1/classes.rb', line 717

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property includeObjects



722
723
724
# File 'lib/google/apis/datastream_v1/classes.rb', line 722

def include_objects
  @include_objects
end

#polling_intervalString

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive. Corresponds to the JSON property pollingInterval

Returns:

  • (String)


729
730
731
# File 'lib/google/apis/datastream_v1/classes.rb', line 729

def polling_interval
  @polling_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



736
737
738
739
740
# File 'lib/google/apis/datastream_v1/classes.rb', line 736

def update!(**args)
  @exclude_objects = args[:exclude_objects] if args.key?(:exclude_objects)
  @include_objects = args[:include_objects] if args.key?(:include_objects)
  @polling_interval = args[:polling_interval] if args.key?(:polling_interval)
end