0.9.0 (latest) 0.8.3 0.7.2 0.6.3 0.5.7 0.4.2 0.3.1 0.2.0 0.1.14

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class EvaluationJobAlertConfig.

Provides details for how an evaluation job sends email alerts based on the
results of a run.

Generated from protobuf message `google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig`

## Namespace

Google \\ Cloud \\ DataLabeling \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ email` | `string` Required. An email address to send alerts to. |
| `↳ min_acceptable_mean_average_precision` | `float` Required. A number between 0 and 1 that describes a minimum mean average precision threshold. When the evaluation job runs, if it calculates that your model version's predictions from the recent interval have [meanAveragePrecision](https://docs.cloud.google.com/php/docs/reference/cloud-datalabeling/latest/V1beta1.PrCurve#_Google_Cloud_DataLabeling_V1beta1_PrCurve__getMeanAveragePrecision__) below this threshold, then it sends an alert to your specified email. |

### getEmail

Required. An email address to send alerts to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEmail

Required. An email address to send alerts to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMinAcceptableMeanAveragePrecision

Required. A number between 0 and 1 that describes a minimum mean average
precision threshold. When the evaluation job runs, if it calculates that
your model version's predictions from the recent interval have
[meanAveragePrecision](https://docs.cloud.google.com/php/docs/reference/cloud-datalabeling/latest/V1beta1.PrCurve#_Google_Cloud_DataLabeling_V1beta1_PrCurve__getMeanAveragePrecision__) below this
threshold, then it sends an alert to your specified email.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setMinAcceptableMeanAveragePrecision

Required. A number between 0 and 1 that describes a minimum mean average
precision threshold. When the evaluation job runs, if it calculates that
your model version's predictions from the recent interval have
[meanAveragePrecision](https://docs.cloud.google.com/php/docs/reference/cloud-datalabeling/latest/V1beta1.PrCurve#_Google_Cloud_DataLabeling_V1beta1_PrCurve__getMeanAveragePrecision__) below this
threshold, then it sends an alert to your specified email.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |