# REST Resource: projects.locations.spaces.catalogs.templates

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

## Resource: CatalogTemplate

A template inside a catalog.

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

| Fields ||
|---|---|
| `name` | `string` Identifier. The catalog template name in following format: `projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template` |
| `displayName` | `string` Optional. The display name of a catalog template. |
| `description` | `string` Optional. The catalog template description. |
| `uuid` | `string` Output only. The template revisions UUID. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The catalog 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 catalog 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 template. |
| `templateCategory` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TemplateCategory`)`` Required. The category of the Application Design Center application template. |
| `type` | ``enum (`https://docs.cloud.google.com/application-design-center/docs/reference/rest/Shared.Types/TemplateType`)`` Optional. The Application Design Center application template type. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.catalogs.templates/create` | Adds a template to a catalog. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.catalogs.templates/delete` | Deletes a catalog template. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.catalogs.templates/get` | Gets a catalog template. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.catalogs.templates/list` | Lists catalog templates. |
| ### `https://docs.cloud.google.com/application-design-center/docs/reference/rest/v1alpha/projects.locations.spaces.catalogs.templates/patch` | Updates a catalog template resource. |