# Google Cloud Datastream V1 Client - Class PostgresqlSourceConfig (2.5.3)

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 PostgresqlSourceConfig.

PostgreSQL data source configuration

Generated from protobuf message `google.cloud.datastream.v1.PostgresqlSourceConfig`

## 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.PostgresqlRdbms` PostgreSQL objects to include in the stream. |
| `↳ exclude_objects` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.PostgresqlRdbms` PostgreSQL objects to exclude from the stream. |
| `↳ replication_slot` | `string` Required. Immutable. The name of the logical replication slot that's configured with the pgoutput plugin. |
| `↳ publication` | `string` Required. The name of the publication that includes the set of all tables that are defined in the stream's include_objects. |
| `↳ max_concurrent_backfill_tasks` | `int` Maximum number of concurrent backfill tasks. The number should be non negative. If not set (or set to 0), the system's default value will be used. |

### getIncludeObjects

PostgreSQL objects to include in the stream.

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

### hasIncludeObjects

### clearIncludeObjects

### setIncludeObjects

PostgreSQL objects to include in the stream.

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

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

### getExcludeObjects

PostgreSQL objects to exclude from the stream.

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

### hasExcludeObjects

### clearExcludeObjects

### setExcludeObjects

PostgreSQL objects to exclude from the stream.

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

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

### getReplicationSlot

Required. Immutable. The name of the logical replication slot that's
configured with the pgoutput plugin.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setReplicationSlot

Required. Immutable. The name of the logical replication slot that's
configured with the pgoutput plugin.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getPublication

Required. The name of the publication that includes the set of all tables
that are defined in the stream's include_objects.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPublication

Required. The name of the publication that includes the set of all tables
that are defined in the stream's include_objects.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getMaxConcurrentBackfillTasks

Maximum number of concurrent backfill tasks. The number should be non
negative. If not set (or set to 0), the system's default value will be
used.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMaxConcurrentBackfillTasks

Maximum number of concurrent backfill tasks. The number should be non
negative. If not set (or set to 0), the system's default value will be
used.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

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