Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric.



16489
16490
16491
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16489

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

Instance Attribute Details

#metricString

Corresponds to the JSON property metric

Returns:

  • (String)


16487
16488
16489
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16487

def metric
  @metric
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16494
16495
16496
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16494

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