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
Name Description
data array

Optional. Data for populating the Message object.

↳ include_objects SalesforceOrg

Salesforce objects to retrieve from the source.

↳ exclude_objects SalesforceOrg

Salesforce objects to exclude from the stream.

↳ polling_interval Google\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
Type Description
SalesforceOrg|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

Salesforce objects to retrieve from the source.

Parameter
Name Description
var SalesforceOrg
Returns
Type Description
$this

getExcludeObjects

Salesforce objects to exclude from the stream.

Returns
Type Description
SalesforceOrg|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

Salesforce objects to exclude from the stream.

Parameter
Name Description
var SalesforceOrg
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this