Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail

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

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail.



20782
20783
20784
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20782

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

Instance Attribute Details

#message_entriesArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>

Corresponds to the JSON property messageEntries



20765
20766
20767
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20765

def message_entries
  @message_entries
end

#metric_detailsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail>

Corresponds to the JSON property metricDetails



20770
20771
20772
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20770

def metric_details
  @metric_details
end

#section_tokensArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken>

Corresponds to the JSON property sectionTokens



20775
20776
20777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20775

def section_tokens
  @section_tokens
end

#summary_sectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection>

Corresponds to the JSON property summarySections



20780
20781
20782
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20780

def summary_sections
  @summary_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20787
20788
20789
20790
20791
20792
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 20787

def update!(**args)
  @message_entries = args[:message_entries] if args.key?(:message_entries)
  @metric_details = args[:metric_details] if args.key?(:metric_details)
  @section_tokens = args[:section_tokens] if args.key?(:section_tokens)
  @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
end