# REST Resource: projects.locations.spaces.sharedTemplates

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

## Resource: SharedTemplate

A read-only template that is shared with a space.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "description": string, "originTemplate": string, "createTime": string, "updateTime": string, "latestRevisionId": string, "templateCategory": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/TemplateCategory`), "type": enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/TemplateType`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The shared template name. `projects/$project/locations/$location/spaces/$space/sharedTemplates/$sharedTemplate` |
| `displayName` | `string` Optional. The shared template display name. |
| `description` | `string` Optional. The shared template description. |
| `originTemplate` | `string` Output only. The origin template of the shared template. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The shared template 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 shared template 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"`. |
| `latestRevisionId` | `string` Output only. Latest revision of the shared template. |
| `templateCategory` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/TemplateCategory`)`` Required. The category of the template. |
| `type` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/TemplateType`)`` Optional. The Application Design Center assembly template type. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.sharedTemplates/get` | Gets details about a shared template. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1/projects.locations.spaces.sharedTemplates/list` | Lists shared templates in a given space. |