Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

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

Contains the evaluation scores for the target metrics to optimize.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores.



7392
7393
7394
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7392

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

Instance Attribute Details

#scoresArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore>

Required. List of evaluation scores. Corresponds to the JSON property scores



7390
7391
7392
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7390

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7397
7398
7399
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7397

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