Class: Google::Apis::LanguageV2::XpsSpeechEvaluationMetrics

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_metricsArray<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