1.0.0-beta09 (latest) 1.0.0-beta08

    public sealed class EvaluationMetricsThresholds : IMessage<EvaluationMetricsThresholds>, IEquatable<EvaluationMetricsThresholds>, IDeepCloneable<EvaluationMetricsThresholds>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class EvaluationMetricsThresholds.

Threshold settings for metrics in an Evaluation.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EvaluationMetricsThresholds

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[EvaluationMetricsThresholds](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[EvaluationMetricsThresholds](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[EvaluationMetricsThresholds](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta)

## Assembly

Google.Cloud.Ces.V1Beta.dll

## Constructors

### EvaluationMetricsThresholds()

    public EvaluationMetricsThresholds()

### EvaluationMetricsThresholds(EvaluationMetricsThresholds)

    public EvaluationMetricsThresholds(EvaluationMetricsThresholds other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds` |

## Properties

### GoldenEvaluationMetricsThresholds

    public EvaluationMetricsThresholds.Types.GoldenEvaluationMetricsThresholds GoldenEvaluationMetricsThresholds { get; set; }

Optional. The golden evaluation metrics thresholds.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholdshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Types.GoldenEvaluationMetricsThresholds` |   |

### GoldenHallucinationMetricBehavior

    public EvaluationMetricsThresholds.Types.HallucinationMetricBehavior GoldenHallucinationMetricBehavior { get; set; }

Optional. The hallucination metric behavior for golden evaluations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholdshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Types.HallucinationMetricBehavior` |   |

### HallucinationMetricBehavior

    [Obsolete]
    public EvaluationMetricsThresholds.Types.HallucinationMetricBehavior HallucinationMetricBehavior { get; set; }

Optional. Deprecated: Use `golden_hallucination_metric_behavior` instead.
The hallucination metric behavior is currently used for golden evaluations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholdshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Types.HallucinationMetricBehavior` |   |

### ScenarioHallucinationMetricBehavior

    public EvaluationMetricsThresholds.Types.HallucinationMetricBehavior ScenarioHallucinationMetricBehavior { get; set; }

Optional. The hallucination metric behavior for scenario evaluations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholdshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1Beta/latest/Google.Cloud.Ces.V1Beta.EvaluationMetricsThresholds.Types.HallucinationMetricBehavior` |   |