Class: Google::Apis::DatastreamV1::ServiceNowSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::ServiceNowSourceConfig
- 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 ServiceNow 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) ⇒ ServiceNowSourceConfig
constructor
A new instance of ServiceNowSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceNowSourceConfig
Returns a new instance of ServiceNowSourceConfig.
4401 4402 4403 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4401 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
Corresponds to the JSON property excludeObjects
4387 4388 4389 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4387 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::SourceCatalog
Source catalog.
Corresponds to the JSON property includeObjects
4392 4393 4394 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4392 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
4399 4400 4401 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4399 def polling_interval @polling_interval end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4406 4407 4408 4409 4410 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4406 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 |