# REST Resource: projects.locations.multicloudDataTransferConfigs.destinations

- [Resource: Destination](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#Destination)
  - [JSON representation](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#Destination.SCHEMA_REPRESENTATION)
- [DestinationEndpoint](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#DestinationEndpoint)
  - [JSON representation](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#DestinationEndpoint.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#State)
- [Methods](https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#METHODS_SUMMARY)

## Resource: Destination

The `Destination` resource. It specifies the IP prefix and the associated autonomous system numbers (ASN) that you want to include in a `MulticloudDataTransferConfig` resource.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "etag": string, "description": string, "ipPrefix": string, "endpoints": [ { object (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#DestinationEndpoint`) } ], "stateTimeline": { object (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/Shared.Types/StateTimeline`) }, "uid": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the `Destination` resource. Format: `projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloudDataTransferConfig}/destinations/{destination}`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the `Destination` resource was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the `Destination` resource was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels` | `map (key: string, value: string)` Optional. User-defined labels. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `etag` | `string` The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding. |
| `description` | `string` Optional. A description of this resource. |
| `ipPrefix` | `string` Required. Immutable. The IP prefix that represents your workload on another CSP. |
| `endpoints[]` | ``object (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#DestinationEndpoint`)`` Required. Unordered list. The list of `DestinationEndpoint` resources configured for the IP prefix. |
| `stateTimeline` | ``object (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/Shared.Types/StateTimeline`)`` Output only. The timeline of the expected `Destination` states or the current rest state. If a state change is expected, the value is `ADDING`, `DELETING` or `SUSPENDING`, depending on the action specified. Example: "stateTimeline": { "states": \[ { // The time when the `Destination` resource will be activated. "effectiveTime": "2024-12-01T08:00:00Z", "state": "ADDING" }, { // The time when the `Destination` resource will be suspended. "effectiveTime": "2024-12-01T20:00:00Z", "state": "SUSPENDING" } \] } |
| `uid` | `string` Output only. The Google-generated unique ID for the `Destination` resource. This value is unique across all `Destination` resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID. |

## DestinationEndpoint

The metadata for a `DestinationEndpoint` resource.

| JSON representation |
|---|
| ``` { "asn": string, "csp": string, "state": enum (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#State`), "updateTime": string } ``` |

| Fields ||
|---|---|
| `asn` | `string (https://developers.google.com/discovery/v1/type-format format)` Required. The ASN of the remote IP prefix. |
| `csp` | `string` Required. The CSP of the remote IP prefix. |
| `state` | ``enum (`https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations#State`)`` Output only. The state of the `DestinationEndpoint` resource. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when the `DestinationEndpoint` resource was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

## State

The state of the `DestinationEndpoint` resource.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | An invalid state, which is the default case. |
| `VALID` | The `DestinationEndpoint` resource is valid. |
| `INVALID` | The `DestinationEndpoint` resource is invalid. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations/create` | Creates a `Destination` resource in a specified project and location. |
| ### `https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations/delete` | Deletes a `Destination` resource. |
| ### `https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations/get` | Gets the details of a `Destination` resource. |
| ### `https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations/list` | Lists the `Destination` resources in a specified project and location. |
| ### `https://docs.cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1/projects.locations.multicloudDataTransferConfigs.destinations/patch` | Updates a `Destination` resource in a specified project and location. |