Class: Google::Apis::DatastreamV1::SalesforceSourceConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SalesforceSourceConfig

Returns a new instance of SalesforceSourceConfig.



4031
4032
4033
# File 'lib/google/apis/datastream_v1/classes.rb', line 4031

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

Instance Attribute Details

#exclude_objectsGoogle::Apis::DatastreamV1::SalesforceOrg

Salesforce organization structure. Corresponds to the JSON property excludeObjects



4017
4018
4019
# File 'lib/google/apis/datastream_v1/classes.rb', line 4017

def exclude_objects
  @exclude_objects
end

#include_objectsGoogle::Apis::DatastreamV1::SalesforceOrg

Salesforce organization structure. Corresponds to the JSON property includeObjects



4022
4023
4024
# File 'lib/google/apis/datastream_v1/classes.rb', line 4022

def include_objects
  @include_objects
end

#polling_intervalString

Required. Salesforce objects polling interval. The interval at which new changes will be polled for each object. The duration must be from 5 minutes to 24 hours, inclusive. Corresponds to the JSON property pollingInterval

Returns:

  • (String)


4029
4030
4031
# File 'lib/google/apis/datastream_v1/classes.rb', line 4029

def polling_interval
  @polling_interval
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4036
4037
4038
4039
4040
# File 'lib/google/apis/datastream_v1/classes.rb', line 4036

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