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
Salesforce source configuration
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.
3498 3499 3500 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3498 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclude_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
Corresponds to the JSON property excludeObjects
3484 3485 3486 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3484 def exclude_objects @exclude_objects end |
#include_objects ⇒ Google::Apis::DatastreamV1::SalesforceOrg
Salesforce organization structure.
Corresponds to the JSON property includeObjects
3489 3490 3491 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3489 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 between 5 minutes
and 24 hours.
Corresponds to the JSON property pollingInterval
3496 3497 3498 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3496 def polling_interval @polling_interval end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3503 3504 3505 3506 3507 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3503 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 |