public sealed class Evaluation.Types.EvaluationSpec.Types.QuerySetSpec : IMessage<Evaluation.Types.EvaluationSpec.Types.QuerySetSpec>, IEquatable<Evaluation.Types.EvaluationSpec.Types.QuerySetSpec>, IDeepCloneable<Evaluation.Types.EvaluationSpec.Types.QuerySetSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class Evaluation.Types.EvaluationSpec.Types.QuerySetSpec.
Required. The full resource name of the
[SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]
used for the evaluation, in the format of
projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}.
[[["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 provides details for the \u003ccode\u003eQuerySetSpec\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API, specifically within the \u003ccode\u003eEvaluation.Types.EvaluationSpec.Types\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuerySetSpec\u003c/code\u003e class is used to describe the specification of a query set, as part of the evaluation process.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in handling messages and supporting cloning and comparison operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuerySetSpec\u003c/code\u003e class has two constructors, one default and one that accepts another \u003ccode\u003eQuerySetSpec\u003c/code\u003e object for cloning, alongside two properties: \u003ccode\u003eSampleQuerySet\u003c/code\u003e, a string, and \u003ccode\u003eSampleQuerySetAsSampleQuerySetName\u003c/code\u003e, its typed counterpart.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSampleQuerySet\u003c/code\u003e property is a required field representing the full resource name of the \u003ccode\u003eSampleQuerySet\u003c/code\u003e used for evaluation.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class Evaluation.Types.EvaluationSpec.Types.QuerySetSpec (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.Types.QuerySetSpec)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec) \n\n public sealed class Evaluation.Types.EvaluationSpec.Types.QuerySetSpec : IMessage\u003cEvaluation.Types.EvaluationSpec.Types.QuerySetSpec\u003e, IEquatable\u003cEvaluation.Types.EvaluationSpec.Types.QuerySetSpec\u003e, IDeepCloneable\u003cEvaluation.Types.EvaluationSpec.Types.QuerySetSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class Evaluation.Types.EvaluationSpec.Types.QuerySetSpec.\n\nDescribes the specification of the query set. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Evaluation.Types.EvaluationSpec.Types.QuerySetSpec \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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types)[QuerySetSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec), [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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types)[QuerySetSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec), [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)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types)[QuerySetSpec](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec), [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### QuerySetSpec()\n\n public QuerySetSpec()\n\n### QuerySetSpec(QuerySetSpec)\n\n public QuerySetSpec(Evaluation.Types.EvaluationSpec.Types.QuerySetSpec other)\n\nProperties\n----------\n\n### SampleQuerySet\n\n public string SampleQuerySet { get; set; }\n\nRequired. The full resource name of the\n\\[SampleQuerySet\\]\\[google.cloud.discoveryengine.v1beta.SampleQuerySet\\]\nused for the evaluation, in the format of\n`projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.\n\n### SampleQuerySetAsSampleQuerySetName\n\n public SampleQuerySetName SampleQuerySetAsSampleQuerySetName { get; set; }\n\n[SampleQuerySetName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySetName)-typed view over the [SampleQuerySet](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.Evaluation.Types.EvaluationSpec.Types.QuerySetSpec#Google_Cloud_DiscoveryEngine_V1Beta_Evaluation_Types_EvaluationSpec_Types_QuerySetSpec_SampleQuerySet) resource\nname property."]]