# REST Resource: projects.locations.spaces.applicationTemplates.components.connections

- [Resource: Connection](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections#Connection)
  - [JSON representation](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections#Connection.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections#METHODS_SUMMARY)

## Resource: Connection

Connection resource.

| JSON representation |
|---|
| ``` { "name": string, "destinationComponentUri": string, "createTime": string, "updateTime": string, "sourceComponentParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ], "destinationComponentParameters": [ { object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The connection name. |
| `destinationComponentUri` | `string` Required. The destination component URI used to generate the connection. Format is `projects/$project/locations/$location/spaces/$space/applicationTemplates/$applicationTemplate/components/$component` |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The connection creation timestamp. 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. The connection update timestamp. 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"`. |
| `sourceComponentParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. The parameters of the connection associated with the source component. |
| `destinationComponentParameters[]` | ``object (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/Parameter`)`` Optional. The parameters of the connection associated with the destination component. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections/create` | Creates a connection. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections/delete` | Deletes a connection. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections/get` | Gets details about a connection. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections/list` | Lists connections in an application template. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.applicationTemplates.components.connections/patch` | Updates a connection. |