Google Cloud Datastream V1 Client - Class SalesforceSourceConfig (2.7.0)

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

Configuration for syncing data from a Salesforce source.

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

The Salesforce objects to retrieve from the source.

↳ exclude_objects SalesforceOrg

The 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 from 5 minutes to 24 hours, inclusive.

getIncludeObjects

The Salesforce objects to retrieve from the source.

Returns
Type Description
SalesforceOrg|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

The Salesforce objects to retrieve from the source.

Parameter
Name Description
var SalesforceOrg
Returns
Type Description
$this

getExcludeObjects

The Salesforce objects to exclude from the stream.

Returns
Type Description
SalesforceOrg|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

The 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 from 5 minutes to 24 hours, inclusive.

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 from 5 minutes to 24 hours, inclusive.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this