Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail

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

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail.



16426
16427
16428
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16426

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

Instance Attribute Details

#metricString

Corresponds to the JSON property metric

Returns:

  • (String)


16414
16415
16416
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16414

def metric
  @metric
end

#scoreFloat

Corresponds to the JSON property score

Returns:

  • (Float)


16419
16420
16421
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16419

def score
  @score
end

#section_detailsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail>

Corresponds to the JSON property sectionDetails



16424
16425
16426
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16424

def section_details
  @section_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16431
16432
16433
16434
16435
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16431

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