Class: Google::Apis::DatastreamV1::ServiceNowSourceConfig

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 ServiceNow source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceNowSourceConfig

Returns a new instance of ServiceNowSourceConfig.



4400
4401
4402
# File 'lib/google/apis/datastream_v1/classes.rb', line 4400

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

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property excludeObjects



4386
4387
4388
# File 'lib/google/apis/datastream_v1/classes.rb', line 4386

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property includeObjects



4391
4392
4393
# File 'lib/google/apis/datastream_v1/classes.rb', line 4391

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)


4398
4399
4400
# File 'lib/google/apis/datastream_v1/classes.rb', line 4398

def polling_interval
  @polling_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4405
4406
4407
4408
4409
# File 'lib/google/apis/datastream_v1/classes.rb', line 4405

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