- [Resource: GlossaryCategory](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories#GlossaryCategory)
  - [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories#GlossaryCategory.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories#METHODS_SUMMARY)

## Resource: GlossaryCategory

A GlossaryCategory represents a collection of GlossaryCategories and GlossaryTerms within a Glossary that are related to each other.

| JSON representation |
|---|
| ``` { "name": string, "uid": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "parent": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. The resource name of the GlossaryCategory. Format: projects/{project_id_or_number}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} |
| `uid` | `string` Output only. System generated unique id for the GlossaryCategory. This ID will be different if the GlossaryCategory is deleted and re-created with the same name. |
| `displayName` | `string` Optional. User friendly display name of the GlossaryCategory. This is user-mutable. This will be same as the GlossaryCategoryId, if not specified. |
| `description` | `string` Optional. The user-mutable description of the GlossaryCategory. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time at which the GlossaryCategory 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. The time at which the GlossaryCategory was last 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 for the GlossaryCategory. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `parent` | `string` Required. The immediate parent of the GlossaryCategory in the resource-hierarchy. It can either be a Glossary or a GlossaryCategory. Format: projects/{project_id_or_number}/locations/{locationId}/glossaries/{glossaryId} OR projects/{project_id_or_number}/locations/{locationId}/glossaries/{glossaryId}/categories/{categoryId} |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories/create` | Creates a new GlossaryCategory resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories/delete` | Deletes a GlossaryCategory resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories/get` | Gets a GlossaryCategory resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories/list` | Lists GlossaryCategory resources in a Glossary. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.glossaries.categories/patch` | Updates a GlossaryCategory resource. |