Google Cloud Datastream V1 Client - Class SalesforceMarketingCloudSourceConfig (2.7.0)

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

Configuration for syncing data from a Salesforce Marketing Cloud source.

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ include_objects SourceCatalog

Optional. The objects to retrieve from the source.

↳ exclude_objects SourceCatalog

Optional. The objects to exclude from the stream.

↳ polling_interval Google\Protobuf\Duration

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

↳ full_refresh_polling_interval Google\Protobuf\Duration

Required. Specifies the polling interval for a full refresh of objects that do not support incremental sync. If not set, a default value of 24 hours is used. The duration must be between 1 and 24 hours, inclusive.

getIncludeObjects

Optional. The objects to retrieve from the source.

Returns
Type Description
SourceCatalog|null

hasIncludeObjects

clearIncludeObjects

setIncludeObjects

Optional. The objects to retrieve from the source.

Parameter
Name Description
var SourceCatalog
Returns
Type Description
$this

getExcludeObjects

Optional. The objects to exclude from the stream.

Returns
Type Description
SourceCatalog|null

hasExcludeObjects

clearExcludeObjects

setExcludeObjects

Optional. The objects to exclude from the stream.

Parameter
Name Description
var SourceCatalog
Returns
Type Description
$this

getPollingInterval

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

Returns
Type Description
Google\Protobuf\Duration|null

hasPollingInterval

clearPollingInterval

setPollingInterval

Required. Incremental sync polling interval for all objects. If not set, a default value of 5 minutes is used. The duration must be from 5 minutes to 24 hours, inclusive.

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

getFullRefreshPollingInterval

Required. Specifies the polling interval for a full refresh of objects that do not support incremental sync. If not set, a default value of 24 hours is used. The duration must be between 1 and 24 hours, inclusive.

Returns
Type Description
Google\Protobuf\Duration|null

hasFullRefreshPollingInterval

clearFullRefreshPollingInterval

setFullRefreshPollingInterval

Required. Specifies the polling interval for a full refresh of objects that do not support incremental sync. If not set, a default value of 24 hours is used. The duration must be between 1 and 24 hours, inclusive.

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