# DestinationConfig

- [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DestinationConfig#SCHEMA_REPRESENTATION)
- [Destination](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DestinationConfig#Destination)
  - [JSON representation](https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DestinationConfig#Destination.SCHEMA_REPRESENTATION)

Define the Connectors target endpoint.

| JSON representation |
|---|
| ``` { "key": string, "destinations": [ { object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DestinationConfig#Destination`) } ] } ``` |

| Fields ||
|---|---|
| `key` | `string` The key is the destination identifier that is supported by the Connector. |
| `destinations[]` | ``object (`https://docs.cloud.google.com/integration-connectors/docs/reference/rest/v1/DestinationConfig#Destination`)`` The destinations for the key. |

## Destination

| JSON representation |
|---|
| ``` { "port": integer, // Union field `destination` can be only one of the following: "serviceAttachment": string, "host": string // End of list of possible types for union field `destination`. } ``` |

| Fields ||
|---|---|
| `port` | `integer` The port is the target port number that is accepted by the destination. |
| Union field `destination`. `destination` can be only one of the following: ||
| `serviceAttachment (deprecated)` | `string` > [!WARNING] > This item is deprecated! PSC service attachments. Format: projects/\*/regions/\*/serviceAttachments/\* |
| `host` | `string` For publicly routable host. |