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.



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

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

Instance Attribute Details

#insightsGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights

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



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

def insights
  @insights
end

#scoresGoogle::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores

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



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

def scores
  @scores
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7918
7919
7920
7921
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7918

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