Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation

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

Evaluation results for a program candidate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation.



7844
7845
7846
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7844

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

Instance Attribute Details

#insightsGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights

Evaluation insights for a program. Corresponds to the JSON property insights



7837
7838
7839
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7837

def insights
  @insights
end

#scoresGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

Contains the evaluation scores for the target metrics to optimize. Corresponds to the JSON property scores



7842
7843
7844
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7842

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7849
7850
7851
7852
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7849

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