Discovery Engine v1beta API - Class Evaluation.Types.EvaluationSpec (1.0.0-beta15)

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 > Evaluation.Types.EvaluationSpec

Namespace

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 EvaluationTypesEvaluationSpec

Properties

QuerySetSpec

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

Required. The specification of the query set.

Property Value
Type Description
EvaluationTypesEvaluationSpecTypesQuerySetSpec

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
SearchRequest

SearchSpecCase

public Evaluation.Types.EvaluationSpec.SearchSpecOneofCase SearchSpecCase { get; }
Property Value
Type Description
EvaluationTypesEvaluationSpecSearchSpecOneofCase