# Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec (v0.28.0)

0.28.0 (latest) 0.27.0 0.26.0 0.25.0 0.24.0 0.23.1 0.22.0 0.21.0 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec.

Describes the specification of the evaluation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #query_set_spec

    def query_set_spec() -> ::Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec::QuerySetSpec

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec::QuerySetSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Evaluation-EvaluationSpec-QuerySetSpec)) --- Optional. The specification of the query set.

### #query_set_spec=

    def query_set_spec=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec::QuerySetSpec

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec::QuerySetSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Evaluation-EvaluationSpec-QuerySetSpec)) --- Optional. The specification of the query set.
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Evaluation::EvaluationSpec::QuerySetSpec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Evaluation-EvaluationSpec-QuerySetSpec)) --- Optional. The specification of the query set.

### #search_request

    def search_request() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest)) ---

  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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_serving_config_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#serving_config (method)")
  - [SearchRequest.branch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_branch_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#branch (method)")
  - [SearchRequest.canonical_filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_canonical_filter_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#canonical_filter (method)")
  - [SearchRequest.query_expansion_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_query_expansion_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#query_expansion_spec (method)")
  - [SearchRequest.spell_correction_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_spell_correction_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#spell_correction_spec (method)")
  - [SearchRequest.content_search_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_content_search_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#content_search_spec (method)")
  - [SearchRequest.user_pseudo_id](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_user_pseudo_id_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#user_pseudo_id (method)")

### #search_request=

    def search_request=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest)) ---

  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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_serving_config_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#serving_config (method)")
  - [SearchRequest.branch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_branch_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#branch (method)")
  - [SearchRequest.canonical_filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_canonical_filter_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#canonical_filter (method)")
  - [SearchRequest.query_expansion_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_query_expansion_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#query_expansion_spec (method)")
  - [SearchRequest.spell_correction_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_spell_correction_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#spell_correction_spec (method)")
  - [SearchRequest.content_search_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_content_search_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#content_search_spec (method)")
  - [SearchRequest.user_pseudo_id](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_user_pseudo_id_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#user_pseudo_id (method)")
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest)) ---

  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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_serving_config_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#serving_config (method)")
  - [SearchRequest.branch](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_branch_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#branch (method)")
  - [SearchRequest.canonical_filter](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_canonical_filter_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#canonical_filter (method)")
  - [SearchRequest.query_expansion_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_query_expansion_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#query_expansion_spec (method)")
  - [SearchRequest.spell_correction_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_spell_correction_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#spell_correction_spec (method)")
  - [SearchRequest.content_search_spec](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_content_search_spec_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#content_search_spec (method)")
  - [SearchRequest.user_pseudo_id](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-SearchRequest#Google__Cloud__DiscoveryEngine__V1beta__SearchRequest_user_pseudo_id_instance_ "Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#user_pseudo_id (method)")