Class: Google::Apis::DatastreamV1::WorkdaySourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::WorkdaySourceConfig
- 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 Workday source.
Instance Attribute Summary collapse
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
-
#include_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
-
#polling_interval ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkdaySourceConfig
constructor
A new instance of WorkdaySourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkdaySourceConfig
Returns a new instance of WorkdaySourceConfig.
5981 5982 5983 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
Corresponds to the JSON property excludeObjects
5967 5968 5969 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5967 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
Corresponds to the JSON property includeObjects
5972 5973 5974 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5972 def include_objects @include_objects end |
#polling_interval ⇒ String
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
5979 5980 5981 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5979 def polling_interval @polling_interval end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5986 5987 5988 5989 5990 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 5986 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 |