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

## Resource: DataTaxonomy

> [!WARNING]
> This item is deprecated!

DataTaxonomy represents a set of hierarchical DataAttributes resources, grouped with a common theme Eg: 'SensitiveDataTaxonomy' can have attributes to manage PII data. It is defined at project level.

| JSON representation |
|---|
| ``` { "name": string, "uid": string, "createTime": string, "updateTime": string, "description": string, "displayName": string, "labels": { string: string, ... }, "attributeCount": integer, "etag": string, "classCount": integer } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The relative resource name of the DataTaxonomy, of the form: projects/{projectNumber}/locations/{locationId}/dataTaxonomies/{dataTaxonomyId}. |
| `uid` | `string` Output only. System generated globally unique ID for the dataTaxonomy. This ID will be different if the DataTaxonomy is deleted and re-created with the same name. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the DataTaxonomy 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 when the DataTaxonomy 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"`. |
| `description` | `string` Optional. Description of the DataTaxonomy. |
| `displayName` | `string` Optional. User friendly display name. |
| `labels` | `map (key: string, value: string)` Optional. User-defined labels for the DataTaxonomy. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `attributeCount` | `integer` Output only. The number of attributes in the DataTaxonomy. |
| `etag` | `string` This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `classCount` | `integer` Output only. The number of classes in the DataTaxonomy. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/create (deprecated)` | Create a DataTaxonomy resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/delete (deprecated)` | Deletes a DataTaxonomy resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/get (deprecated)` | Retrieves a DataTaxonomy resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/getIamPolicy` | Gets the access control policy for a resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/list (deprecated)` | Lists DataTaxonomy resources in a project and location. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/patch (deprecated)` | Updates a DataTaxonomy resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/setIamPolicy` | Sets the access control policy on the specified resource. |
| ### `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/projects.locations.dataTaxonomies/testIamPermissions` | Returns permissions that a caller has on the specified resource. |