Google Cloud Datastream V1 Client - Class SalesforceSourceConfig (2.3.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class SalesforceSourceConfig.

Salesforce source configuration

Generated from protobuf message google.cloud.datastream.v1.SalesforceSourceConfig

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ include_objectsSalesforceOrg

Salesforce objects to retrieve from the source.

↳ exclude_objectsSalesforceOrg

Salesforce objects to exclude from the stream.

↳ polling_intervalGoogle\Protobuf\Duration

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.

getIncludeObjects

Salesforce objects to retrieve from the source.

Returns
TypeDescription
SalesforceOrg|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

Salesforce objects to retrieve from the source.

Parameter
NameDescription
varSalesforceOrg
Returns
TypeDescription
$this

getExcludeObjects

Salesforce objects to exclude from the stream.

Returns
TypeDescription
SalesforceOrg|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

Salesforce objects to exclude from the stream.

Parameter
NameDescription
varSalesforceOrg
Returns
TypeDescription
$this

getPollingInterval

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.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasPollingInterval

clearPollingInterval

setPollingInterval

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.

Parameter
NameDescription
varGoogle\Protobuf\Duration
Returns
TypeDescription
$this