Class: Google::Apis::DatastreamV1::SalesforceSourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SalesforceSourceConfig
- 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
-
#exclude_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
-
#include_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
-
#polling_interval ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SalesforceSourceConfig
constructor
A new instance of SalesforceSourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SalesforceSourceConfig
Returns a new instance of SalesforceSourceConfig.
4025 4026 4027 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
Corresponds to the JSON property excludeObjects
4011 4012 4013 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4011 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
Corresponds to the JSON property includeObjects
4016 4017 4018 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4016 def include_objects @include_objects end |
#polling_interval ⇒ String
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
4023 4024 4025 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4023 def polling_interval @polling_interval end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4030 4031 4032 4033 4034 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4030 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 |