Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail

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

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail.



16380
16381
16382
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16380

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

Instance Attribute Details

#message_entriesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry>

Corresponds to the JSON property messageEntries



16363
16364
16365
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16363

def message_entries
  @message_entries
end

#metric_detailsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail>

Corresponds to the JSON property metricDetails



16368
16369
16370
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16368

def metric_details
  @metric_details
end

#section_tokensArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken>

Corresponds to the JSON property sectionTokens



16373
16374
16375
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16373

def section_tokens
  @section_tokens
end

#summary_sectionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection>

Corresponds to the JSON property summarySections



16378
16379
16380
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16378

def summary_sections
  @summary_sections
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16385
16386
16387
16388
16389
16390
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 16385

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