Google Cloud Datastream V1 Client - Class SalesforceSourceConfig (2.5.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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.