- [JSON representation](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#SCHEMA_REPRESENTATION)
- [Category](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Category)
- [Signal](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Signal)

A domain represents a thematic category that a data profile can fall under.

| JSON representation |
|---|
| ``` { "category": enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Category`), "signals": [ enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Signal`) ] } ``` |

| Fields ||
|---|---|
| `category` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Category`)`` A domain category that this profile is related to. |
| `signals[]` | ``enum (`https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/Domain#Signal`)`` The collection of signals that influenced selection of the category. |

## Category

This enum defines the various domain categories a data profile can fall under.

| Enums ||
|---|---|
| `CATEGORY_UNSPECIFIED` | Category unspecified. |
| `AI` | Indicates that the data profile is related to artificial intelligence. When set, all findings stored to Security Command Center will set the corresponding AI domain field of `Finding` objects. |
| `CODE` | Indicates that the data profile is related to code. |

## Signal

The signal used to determine the category. New values may be added in the future.

| Enums ||
|---|---|
| `SIGNAL_UNSPECIFIED` | Unused. |
| `MODEL` | One or more machine learning models are present. |
| `TEXT_EMBEDDING` | A table appears to contain text embeddings. |
| `EMBEDDING` | A table appears to contain embeddings of any type (for example, text, image, multimodal). The `TEXT_EMBEDDING` signal might also be present if the table contains text embeddings. |
| `VERTEX_PLUGIN` | The [Cloud SQL Vertex AI](https://docs.cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) plugin is installed on the database. |
| `VECTOR_PLUGIN` | Support for [Cloud SQL vector embeddings](https://docs.cloud.google.com/sql/docs/mysql/enable-vector-search) is enabled on the database. |
| `SOURCE_CODE` | Source code is present. |
| `SERVICE` | If the service determines the category type. For example, Vertex AI assets would always have a `Category` of `AI`. |