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.



4433
4434
4435
# File 'lib/google/apis/datastream_v1/classes.rb', line 4433

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

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property excludeObjects



4419
4420
4421
# File 'lib/google/apis/datastream_v1/classes.rb', line 4419

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SourceCatalog

Source catalog. Corresponds to the JSON property includeObjects



4424
4425
4426
# File 'lib/google/apis/datastream_v1/classes.rb', line 4424

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)


4431
4432
4433
# File 'lib/google/apis/datastream_v1/classes.rb', line 4431

def polling_interval
  @polling_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4438
4439
4440
4441
4442
# File 'lib/google/apis/datastream_v1/classes.rb', line 4438

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