Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail

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) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail.



20814
20815
20816
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20814

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

Instance Attribute Details

#metricString

Corresponds to the JSON property metric

Returns:

  • (String)


20802
20803
20804
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20802

def metric
  @metric
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


20807
20808
20809
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20807

def score
  @score
end

#section_detailsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail>

Corresponds to the JSON property sectionDetails



20812
20813
20814
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20812

def section_details
  @section_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20819
20820
20821
20822
20823
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20819

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