Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb

Overview

Describes the specification of the evaluation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec.



6979
6980
6981
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6979

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#query_set_specGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec

Describes the specification of the query set. Corresponds to the JSON property querySetSpec



6972
6973
6974
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6972

def query_set_spec
  @query_set_spec
end

#search_requestGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest

Request message for SearchService.Search method. Corresponds to the JSON property searchRequest



6977
6978
6979
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6977

def search_request
  @search_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6984
6985
6986
6987
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6984

def update!(**args)
  @query_set_spec = args[:query_set_spec] if args.key?(:query_set_spec)
  @search_request = args[:search_request] if args.key?(:search_request)
end