Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec

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

Overview

Describes the specification of the evaluation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec.



13636
13637
13638
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13636

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

Instance Attribute Details

#query_set_specGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec

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



13629
13630
13631
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13629

def query_set_spec
  @query_set_spec
end

#search_requestGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequest

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



13634
13635
13636
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13634

def search_request
  @search_request
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13641
13642
13643
13644
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 13641

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