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.
8537 8538 8539 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8537 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
8530 8531 8532 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8530 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
8535 8536 8537 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8535 def sample_query @sample_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8542 8543 8544 8545 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 8542 def update!(**args) @quality_metrics = args[:quality_metrics] if args.key?(:quality_metrics) @sample_query = args[:sample_query] if args.key?(:sample_query) end |