2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 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` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceOrg` Salesforce objects to retrieve from the source. |
| `↳ exclude_objects` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.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** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceOrg|null` |   |

### hasIncludeObjects

### clearIncludeObjects

### setIncludeObjects

Salesforce objects to retrieve from the source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceOrg` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExcludeObjects

Salesforce objects to exclude from the stream.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.SalesforceOrg|null` |   |

### hasExcludeObjects

### clearExcludeObjects

### setExcludeObjects

Salesforce objects to exclude from the stream.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.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` |   |