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.



7907
7908
7909
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7907

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

Instance Attribute Details

#insightsGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights

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



7900
7901
7902
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7900

def insights
  @insights
end

#scoresGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

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



7905
7906
7907
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7905

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7912
7913
7914
7915
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7912

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