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

The configuration of the stream destination.

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

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ destination_connection_profile` | `string` Required. Destination connection profile resource. Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` |
| `↳ gcs_destination_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.GcsDestinationConfig` A configuration for how data should be loaded to Cloud Storage. |
| `↳ bigquery_destination_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig` BigQuery destination configuration. |

### getDestinationConnectionProfile

Required. Destination connection profile resource.

Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`

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

### setDestinationConnectionProfile

Required. Destination connection profile resource.

Format: `projects/{project}/locations/{location}/connectionProfiles/{name}`

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

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

### getGcsDestinationConfig

A configuration for how data should be loaded to Cloud Storage.

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

### hasGcsDestinationConfig

### setGcsDestinationConfig

A configuration for how data should be loaded to Cloud Storage.

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

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

### getBigqueryDestinationConfig

BigQuery destination configuration.

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

### hasBigqueryDestinationConfig

### setBigqueryDestinationConfig

BigQuery destination configuration.

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

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

### getDestinationStreamConfig

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