Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Represents the results of an evaluation for a single SampleQuery.
Instance Attribute Summary collapse
-
#quality_metrics ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetrics
Describes the metrics produced by the evaluation.
-
#sample_query ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery
Sample Query captures metadata to be used for evaluation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult
Returns a new instance of GoogleCloudDiscoveryengineV1alphaListEvaluationResultsResponseEvaluationResult.
12215 12216 12217 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#quality_metrics ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaQualityMetrics
Describes the metrics produced by the evaluation.
Corresponds to the JSON property qualityMetrics
12208 12209 12210 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12208 def quality_metrics @quality_metrics end |
#sample_query ⇒ Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQuery
Sample Query captures metadata to be used for evaluation.
Corresponds to the JSON property sampleQuery
12213 12214 12215 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12213 def sample_query @sample_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12220 12221 12222 12223 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 12220 def update!(**args) @quality_metrics = args[:quality_metrics] if args.key?(:quality_metrics) @sample_query = args[:sample_query] if args.key?(:sample_query) end |