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.



7856
7857
7858
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7856

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

Instance Attribute Details

#insightsGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights

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



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

def insights
  @insights
end

#scoresGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

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



7854
7855
7856
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7854

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7861
7862
7863
7864
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7861

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