- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#SCHEMA_REPRESENTATION)
- [AlertPolicy](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#AlertPolicy)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#AlertPolicy.SCHEMA_REPRESENTATION)
- [EnrollStatus](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#EnrollStatus)
- [Recipient](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#Recipient)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2beta/AlertConfig.md.txt#Recipient.SCHEMA_REPRESENTATION)

Project level alert config.

| JSON representation |
|---|
| ``` { "name": string, "alertPolicies": [ { object (`AlertPolicy`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/\*/alertConfig |
| `alertPolicies[]` | ``object (`AlertPolicy`)`` Alert policies for a customer. They must be unique by \[AlertPolicy.alert_group\] |

## AlertPolicy

Alert policy for a customer.

| JSON representation |
|---|
| ``` { "alertGroup": string, "enrollStatus": enum (`EnrollStatus`), "recipients": [ { object (`Recipient`) } ] } ``` |

| Fields ||
|---|---|
| `alertGroup` | `string` The feature that provides alerting capability. Supported value: - `search-data-quality` for retail search customers. - `conv-data-quality` for retail conversation customers. |
| `enrollStatus` | ``enum (`EnrollStatus`)`` The enrollment status of a customer. |
| `recipients[]` | ``object (`Recipient`)`` Recipients for the alert policy. One alert policy should not exceed 20 recipients. |

## EnrollStatus

The enrollment status enum for alert policy.

| Enums ||
|---|---|
| `ENROLL_STATUS_UNSPECIFIED` | Default value. Used for customers who have not responded to the alert policy. |
| `ENROLLED` | Customer is enrolled in this policy. |
| `DECLINED` | Customer declined this policy. |

## Recipient

Recipient contact information.

| JSON representation |
|---|
| ``` { "emailAddress": string } ``` |

| Fields ||
|---|---|
| `emailAddress` | `string` Email address of the recipient. |