Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric.



20744
20745
20746
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20744

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

Instance Attribute Details

#metricString

Corresponds to the JSON property metric

Returns:

  • (String)


20742
20743
20744
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20742

def metric
  @metric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20749
20750
20751
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20749

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