Class: Google::Apis::LanguageV2::XpsSpeechEvaluationMetrics
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV2::XpsSpeechEvaluationMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb
Instance Attribute Summary collapse
-
#sub_model_evaluation_metrics ⇒ Array<Google::Apis::LanguageV2::XpsSpeechEvaluationMetricsSubModelEvaluationMetric>
Evaluation metrics for all submodels contained in this model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsSpeechEvaluationMetrics
constructor
A new instance of XpsSpeechEvaluationMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsSpeechEvaluationMetrics
Returns a new instance of XpsSpeechEvaluationMetrics.
3142 3143 3144 |
# File 'lib/google/apis/language_v2/classes.rb', line 3142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sub_model_evaluation_metrics ⇒ Array<Google::Apis::LanguageV2::XpsSpeechEvaluationMetricsSubModelEvaluationMetric>
Evaluation metrics for all submodels contained in this model.
Corresponds to the JSON property subModelEvaluationMetrics
3140 3141 3142 |
# File 'lib/google/apis/language_v2/classes.rb', line 3140 def sub_model_evaluation_metrics @sub_model_evaluation_metrics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3147 3148 3149 |
# File 'lib/google/apis/language_v2/classes.rb', line 3147 def update!(**args) @sub_model_evaluation_metrics = args[:sub_model_evaluation_metrics] if args.key?(:sub_model_evaluation_metrics) end |