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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eEvaluation.Types.EvaluationSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically version 1.0.0-beta18, which is the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEvaluation.Types.EvaluationSpec\u003c/code\u003e class is used to define the specifications for an evaluation within the Discovery Engine, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a \u003ccode\u003eQuerySetSpec\u003c/code\u003e property, which is a required specification for the query set used in the evaluation.\u003c/p\u003e\n"],["\u003cp\u003eIt also contains a \u003ccode\u003eSearchRequest\u003c/code\u003e property, which is a required specification used to define the parameters for conducting an evaluation search.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one being a parameterless constructor, and the other taking an \u003ccode\u003eEvaluation.Types.EvaluationSpec\u003c/code\u003e object as an argument.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Evaluation.Types.EvaluationSpec (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec) \n\n public sealed class Evaluation.Types.EvaluationSpec : IMessage\u003cEvaluation.Types.EvaluationSpec\u003e, IEquatable\u003cEvaluation.Types.EvaluationSpec\u003e, IDeepCloneable\u003cEvaluation.Types.EvaluationSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class Evaluation.Types.EvaluationSpec.\n\nDescribes the specification of the evaluation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Evaluation.Types.EvaluationSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Evaluation](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](/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](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](/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](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types)[EvaluationSpec](/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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### EvaluationSpec()\n\n public EvaluationSpec()\n\n### EvaluationSpec(EvaluationSpec)\n\n public EvaluationSpec(Evaluation.Types.EvaluationSpec other)\n\nProperties\n----------\n\n### QuerySetSpec\n\n public Evaluation.Types.EvaluationSpec.Types.QuerySetSpec QuerySetSpec { get; set; }\n\nRequired. The specification of the query set.\n\n### SearchRequest\n\n public SearchRequest SearchRequest { get; set; }\n\nRequired. The search request that is used to perform the evaluation.\n\nOnly the following fields within SearchRequest are supported; if any\nother fields are provided, an UNSUPPORTED error will be returned:\n\n- \\[SearchRequest.serving_config\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.serving_config\\]\n- \\[SearchRequest.branch\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.branch\\]\n- \\[SearchRequest.canonical_filter\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.canonical_filter\\]\n- \\[SearchRequest.query_expansion_spec\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.query_expansion_spec\\]\n- \\[SearchRequest.spell_correction_spec\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.spell_correction_spec\\]\n- \\[SearchRequest.content_search_spec\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.content_search_spec\\]\n- \\[SearchRequest.user_pseudo_id\\]\\[google.cloud.discoveryengine.v1beta.SearchRequest.user_pseudo_id\\]\n\n### SearchSpecCase\n\n public Evaluation.Types.EvaluationSpec.SearchSpecOneofCase SearchSpecCase { get; }"]]