1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class Evaluation.Types.EvaluationSpec : IMessage<Evaluation.Types.EvaluationSpec>, IEquatable<Evaluation.Types.EvaluationSpec>, IDeepCloneable<Evaluation.Types.EvaluationSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Evaluation.Types.EvaluationSpec.

Describes the specification of the evaluation.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Evaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Evaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Evaluation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec), [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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### EvaluationSpec()

    public EvaluationSpec()

### EvaluationSpec(EvaluationSpec)

    public EvaluationSpec(Evaluation.Types.EvaluationSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec` |

## Properties

### QuerySetSpec

    public Evaluation.Types.EvaluationSpec.Types.QuerySetSpec QuerySetSpec { get; set; }

Optional. The specification of the query set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec` |   |

### SearchRequest

    public SearchRequest SearchRequest { get; set; }

Required. The search request that is used to perform the evaluation.

Only the following fields within SearchRequest are supported; if any
other fields are provided, an UNSUPPORTED error will be returned:

- \[SearchRequest.serving_config\]\[google.cloud.discoveryengine.v1beta.SearchRequest.serving_config\]
- \[SearchRequest.branch\]\[google.cloud.discoveryengine.v1beta.SearchRequest.branch\]
- \[SearchRequest.canonical_filter\]\[google.cloud.discoveryengine.v1beta.SearchRequest.canonical_filter\]
- \[SearchRequest.query_expansion_spec\]\[google.cloud.discoveryengine.v1beta.SearchRequest.query_expansion_spec\]
- \[SearchRequest.spell_correction_spec\]\[google.cloud.discoveryengine.v1beta.SearchRequest.spell_correction_spec\]
- \[SearchRequest.content_search_spec\]\[google.cloud.discoveryengine.v1beta.SearchRequest.content_search_spec\]
- \[SearchRequest.user_pseudo_id\]\[google.cloud.discoveryengine.v1beta.SearchRequest.user_pseudo_id\]

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SearchRequest` |   |

### SearchSpecCase

    public Evaluation.Types.EvaluationSpec.SearchSpecOneofCase SearchSpecCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluationhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.SearchSpecOneofCase` |   |