google-apis-contactcenterinsights_v1 0.80.0 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6199,6 +6199,11 @@ module Google
6199
6199
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure]
6200
6200
  attr_accessor :conversation_measure
6201
6201
 
6202
+ # The measure related to dialogflow interactions.
6203
+ # Corresponds to the JSON property `dialogflowInteractionMeasure`
6204
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure]
6205
+ attr_accessor :dialogflow_interaction_measure
6206
+
6202
6207
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6203
6208
  # Timestamp end (exclusive). The start must be less than or equal to the end.
6204
6209
  # When the start equals the end, the interval is empty (matches no time). When
@@ -6214,6 +6219,7 @@ module Google
6214
6219
  # Update properties of this object
6215
6220
  def update!(**args)
6216
6221
  @conversation_measure = args[:conversation_measure] if args.key?(:conversation_measure)
6222
+ @dialogflow_interaction_measure = args[:dialogflow_interaction_measure] if args.key?(:dialogflow_interaction_measure)
6217
6223
  @interval = args[:interval] if args.key?(:interval)
6218
6224
  end
6219
6225
  end
@@ -6222,6 +6228,70 @@ module Google
6222
6228
  class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure
6223
6229
  include Google::Apis::Core::Hashable
6224
6230
 
6231
+ # The number of conversations that were assigned to an AA human supervisor.
6232
+ # Corresponds to the JSON property `aaSupervisorAssignedConversationsCount`
6233
+ # @return [Fixnum]
6234
+ attr_accessor :aa_supervisor_assigned_conversations_count
6235
+
6236
+ # The number of conversations that were dropped, i.e. escalated but not assigned
6237
+ # to an AA human supervisor.
6238
+ # Corresponds to the JSON property `aaSupervisorDroppedConversationsCount`
6239
+ # @return [Fixnum]
6240
+ attr_accessor :aa_supervisor_dropped_conversations_count
6241
+
6242
+ # The number of conversations that were escalated to an AA human supervisor for
6243
+ # intervention.
6244
+ # Corresponds to the JSON property `aaSupervisorEscalatedConversationsCount`
6245
+ # @return [Fixnum]
6246
+ attr_accessor :aa_supervisor_escalated_conversations_count
6247
+
6248
+ # The number of conversations scanned by the AA human supervisor.
6249
+ # Corresponds to the JSON property `aaSupervisorMonitoredConversationsCount`
6250
+ # @return [Fixnum]
6251
+ attr_accessor :aa_supervisor_monitored_conversations_count
6252
+
6253
+ # The number of conversations transferred to a human agent.
6254
+ # Corresponds to the JSON property `aaSupervisorTransferredToHumanAgentConvCount`
6255
+ # @return [Fixnum]
6256
+ attr_accessor :aa_supervisor_transferred_to_human_agent_conv_count
6257
+
6258
+ # Count of agent messages that triggered an Ai Coach Suggestion.
6259
+ # Corresponds to the JSON property `aiCoachSuggestionAgentMessageTriggerCount`
6260
+ # @return [Fixnum]
6261
+ attr_accessor :ai_coach_suggestion_agent_message_trigger_count
6262
+
6263
+ # Count of Ai Coach Suggestion that has been used by agents.
6264
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageCount`
6265
+ # @return [Fixnum]
6266
+ attr_accessor :ai_coach_suggestion_agent_usage_count
6267
+
6268
+ # Proportion of Ai Coach Suggestion that has been used by agents.
6269
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageRatio`
6270
+ # @return [Float]
6271
+ attr_accessor :ai_coach_suggestion_agent_usage_ratio
6272
+
6273
+ # Count of customer messages that triggered an Ai Coach Suggestion.
6274
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerCount`
6275
+ # @return [Fixnum]
6276
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_count
6277
+
6278
+ # Proportion of customer messages that triggered an Ai Coach Suggestion.
6279
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerRatio`
6280
+ # @return [Float]
6281
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_ratio
6282
+
6283
+ # Count of end_of_utterance trigger event messages that triggered an Ai Coach
6284
+ # Suggestion.
6285
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerCount`
6286
+ # @return [Fixnum]
6287
+ attr_accessor :ai_coach_suggestion_message_trigger_count
6288
+
6289
+ # Proportion of end_of_utterance trigger event messages that triggered an Ai
6290
+ # Coach Suggestion.
6291
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerRatio`
6292
+ # @return [Float]
6293
+ attr_accessor :ai_coach_suggestion_message_trigger_ratio
6294
+
6225
6295
  # The average agent's sentiment score.
6226
6296
  # Corresponds to the JSON property `averageAgentSentimentScore`
6227
6297
  # @return [Float]
@@ -6263,27 +6333,234 @@ module Google
6263
6333
  # @return [Float]
6264
6334
  attr_accessor :average_silence_percentage
6265
6335
 
6336
+ # Average edit distance of the summarization suggestions. Edit distance (also
6337
+ # called as levenshtein distance) is calculated by summing up number of
6338
+ # insertions, deletions and substitutions required to transform the summization
6339
+ # feedback to the original summary suggestion.
6340
+ # Corresponds to the JSON property `averageSummarizationSuggestionEditDistance`
6341
+ # @return [Float]
6342
+ attr_accessor :average_summarization_suggestion_edit_distance
6343
+
6344
+ # Normalized Average edit distance of the summarization suggestions. Edit
6345
+ # distance (also called as levenshtein distance) is calculated by summing up
6346
+ # number of insertions, deletions and substitutions required to transform the
6347
+ # summization feedback to the original summary suggestion. Normalized edit
6348
+ # distance is the average of (edit distance / summary length).
6349
+ # Corresponds to the JSON property `averageSummarizationSuggestionNormalizedEditDistance`
6350
+ # @return [Float]
6351
+ attr_accessor :average_summarization_suggestion_normalized_edit_distance
6352
+
6266
6353
  # The average turn count.
6267
6354
  # Corresponds to the JSON property `averageTurnCount`
6268
6355
  # @return [Float]
6269
6356
  attr_accessor :average_turn_count
6270
6357
 
6358
+ # The exponential moving average of the sentiment score of client turns in the
6359
+ # conversation.
6360
+ # Corresponds to the JSON property `avgConversationClientTurnSentimentEma`
6361
+ # @return [Float]
6362
+ attr_accessor :avg_conversation_client_turn_sentiment_ema
6363
+
6364
+ # The number of conversations that were contained.
6365
+ # Corresponds to the JSON property `containedConversationCount`
6366
+ # @return [Fixnum]
6367
+ attr_accessor :contained_conversation_count
6368
+
6369
+ # The percentage of conversations that were contained.
6370
+ # Corresponds to the JSON property `containedConversationRatio`
6371
+ # @return [Float]
6372
+ attr_accessor :contained_conversation_ratio
6373
+
6374
+ # Count of conversations that has Ai Coach Suggestions.
6375
+ # Corresponds to the JSON property `conversationAiCoachSuggestionCount`
6376
+ # @return [Fixnum]
6377
+ attr_accessor :conversation_ai_coach_suggestion_count
6378
+
6379
+ # Proportion of conversations that has Ai Coach Suggestions.
6380
+ # Corresponds to the JSON property `conversationAiCoachSuggestionRatio`
6381
+ # @return [Float]
6382
+ attr_accessor :conversation_ai_coach_suggestion_ratio
6383
+
6271
6384
  # The conversation count.
6272
6385
  # Corresponds to the JSON property `conversationCount`
6273
6386
  # @return [Fixnum]
6274
6387
  attr_accessor :conversation_count
6275
6388
 
6389
+ # Proportion of conversations that had a suggested summary.
6390
+ # Corresponds to the JSON property `conversationSuggestedSummaryRatio`
6391
+ # @return [Float]
6392
+ attr_accessor :conversation_suggested_summary_ratio
6393
+
6394
+ # The agent message count.
6395
+ # Corresponds to the JSON property `conversationTotalAgentMessageCount`
6396
+ # @return [Fixnum]
6397
+ attr_accessor :conversation_total_agent_message_count
6398
+
6399
+ # The customer message count.
6400
+ # Corresponds to the JSON property `conversationTotalCustomerMessageCount`
6401
+ # @return [Fixnum]
6402
+ attr_accessor :conversation_total_customer_message_count
6403
+
6404
+ # The average latency of conversational agents' audio in audio out latency per
6405
+ # interaction. This is computed as the average of the all the interactions'
6406
+ # audio in audio out latencies in a conversation and averaged across
6407
+ # conversations.
6408
+ # Corresponds to the JSON property `conversationalAgentsAverageAudioInAudioOutLatency`
6409
+ # @return [Float]
6410
+ attr_accessor :conversational_agents_average_audio_in_audio_out_latency
6411
+
6412
+ # The average latency of conversational agents' latency per interaction. This is
6413
+ # computed as the average of the all the iteractions' end to end latencies in a
6414
+ # conversation and averaged across conversations. The e2e latency is the time
6415
+ # between the end of the user utterance and the start of the agent utterance on
6416
+ # the interaction level.
6417
+ # Corresponds to the JSON property `conversationalAgentsAverageEndToEndLatency`
6418
+ # @return [Float]
6419
+ attr_accessor :conversational_agents_average_end_to_end_latency
6420
+
6421
+ # The average latency of conversational agents' LLM call latency per interaction.
6422
+ # This is computed as the average of the all the interactions LLM call
6423
+ # latencies in a conversation and averaged across conversations.
6424
+ # Corresponds to the JSON property `conversationalAgentsAverageLlmCallLatency`
6425
+ # @return [Float]
6426
+ attr_accessor :conversational_agents_average_llm_call_latency
6427
+
6428
+ # The macro average latency of conversational agents' TTS latency per
6429
+ # interaction. This is computed as the average of the all the interactions' TTS
6430
+ # latencies in a conversation and averaged across conversations.
6431
+ # Corresponds to the JSON property `conversationalAgentsAverageTtsLatency`
6432
+ # @return [Float]
6433
+ attr_accessor :conversational_agents_average_tts_latency
6434
+
6435
+ # Average latency of dialogflow webhook calls.
6436
+ # Corresponds to the JSON property `dialogflowAverageWebhookLatency`
6437
+ # @return [Float]
6438
+ attr_accessor :dialogflow_average_webhook_latency
6439
+
6440
+ # count of conversations that was handed off from virtual agent to human agent.
6441
+ # Corresponds to the JSON property `dialogflowConversationsEscalationCount`
6442
+ # @return [Float]
6443
+ attr_accessor :dialogflow_conversations_escalation_count
6444
+
6445
+ # Proportion of conversations that was handed off from virtual agent to human
6446
+ # agent.
6447
+ # Corresponds to the JSON property `dialogflowConversationsEscalationRatio`
6448
+ # @return [Float]
6449
+ attr_accessor :dialogflow_conversations_escalation_ratio
6450
+
6451
+ # Proportion of dialogflow interactions that has empty input.
6452
+ # Corresponds to the JSON property `dialogflowInteractionsNoInputRatio`
6453
+ # @return [Float]
6454
+ attr_accessor :dialogflow_interactions_no_input_ratio
6455
+
6456
+ # Proportion of dialogflow interactions that has no intent match for the input.
6457
+ # Corresponds to the JSON property `dialogflowInteractionsNoMatchRatio`
6458
+ # @return [Float]
6459
+ attr_accessor :dialogflow_interactions_no_match_ratio
6460
+
6461
+ # Proportion of dialogflow webhook calls that failed.
6462
+ # Corresponds to the JSON property `dialogflowWebhookFailureRatio`
6463
+ # @return [Float]
6464
+ attr_accessor :dialogflow_webhook_failure_ratio
6465
+
6466
+ # Proportion of dialogflow webhook calls that timed out.
6467
+ # Corresponds to the JSON property `dialogflowWebhookTimeoutRatio`
6468
+ # @return [Float]
6469
+ attr_accessor :dialogflow_webhook_timeout_ratio
6470
+
6471
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
6472
+ # that had negative feedback.
6473
+ # Corresponds to the JSON property `knowledgeAssistNegativeFeedbackRatio`
6474
+ # @return [Float]
6475
+ attr_accessor :knowledge_assist_negative_feedback_ratio
6476
+
6477
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
6478
+ # that had positive feedback.
6479
+ # Corresponds to the JSON property `knowledgeAssistPositiveFeedbackRatio`
6480
+ # @return [Float]
6481
+ attr_accessor :knowledge_assist_positive_feedback_ratio
6482
+
6483
+ # Count of knowledge assist results (Proactive Generative Knowledge Assist)
6484
+ # shown to the user.
6485
+ # Corresponds to the JSON property `knowledgeAssistResultCount`
6486
+ # @return [Fixnum]
6487
+ attr_accessor :knowledge_assist_result_count
6488
+
6489
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
6490
+ # that had a URL clicked.
6491
+ # Corresponds to the JSON property `knowledgeAssistUriClickRatio`
6492
+ # @return [Float]
6493
+ attr_accessor :knowledge_assist_uri_click_ratio
6494
+
6495
+ # Proportion of knowledge search (Generative Knowledge Assist) queries made by
6496
+ # the agent compared to the total number of knowledge search queries made.
6497
+ # Corresponds to the JSON property `knowledgeSearchAgentQuerySourceRatio`
6498
+ # @return [Float]
6499
+ attr_accessor :knowledge_search_agent_query_source_ratio
6500
+
6501
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
6502
+ # negative feedback.
6503
+ # Corresponds to the JSON property `knowledgeSearchNegativeFeedbackRatio`
6504
+ # @return [Float]
6505
+ attr_accessor :knowledge_search_negative_feedback_ratio
6506
+
6507
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
6508
+ # positive feedback.
6509
+ # Corresponds to the JSON property `knowledgeSearchPositiveFeedbackRatio`
6510
+ # @return [Float]
6511
+ attr_accessor :knowledge_search_positive_feedback_ratio
6512
+
6513
+ # Count of knowledge search results (Generative Knowledge Assist) shown to the
6514
+ # user.
6515
+ # Corresponds to the JSON property `knowledgeSearchResultCount`
6516
+ # @return [Fixnum]
6517
+ attr_accessor :knowledge_search_result_count
6518
+
6519
+ # Proportion of knowledge search (Generative Knowledge Assist) queries suggested
6520
+ # compared to the total number of knowledge search queries made.
6521
+ # Corresponds to the JSON property `knowledgeSearchSuggestedQuerySourceRatio`
6522
+ # @return [Float]
6523
+ attr_accessor :knowledge_search_suggested_query_source_ratio
6524
+
6525
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
6526
+ # a URL clicked.
6527
+ # Corresponds to the JSON property `knowledgeSearchUriClickRatio`
6528
+ # @return [Float]
6529
+ attr_accessor :knowledge_search_uri_click_ratio
6530
+
6276
6531
  # Average QA normalized score for all the tags.
6277
6532
  # Corresponds to the JSON property `qaTagScores`
6278
6533
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
6279
6534
  attr_accessor :qa_tag_scores
6280
6535
 
6536
+ # Proportion of summarization suggestions that were manually edited.
6537
+ # Corresponds to the JSON property `summarizationSuggestionEditRatio`
6538
+ # @return [Float]
6539
+ attr_accessor :summarization_suggestion_edit_ratio
6540
+
6541
+ # Count of summarization suggestions results.
6542
+ # Corresponds to the JSON property `summarizationSuggestionResultCount`
6543
+ # @return [Fixnum]
6544
+ attr_accessor :summarization_suggestion_result_count
6545
+
6281
6546
  def initialize(**args)
6282
6547
  update!(**args)
6283
6548
  end
6284
6549
 
6285
6550
  # Update properties of this object
6286
6551
  def update!(**args)
6552
+ @aa_supervisor_assigned_conversations_count = args[:aa_supervisor_assigned_conversations_count] if args.key?(:aa_supervisor_assigned_conversations_count)
6553
+ @aa_supervisor_dropped_conversations_count = args[:aa_supervisor_dropped_conversations_count] if args.key?(:aa_supervisor_dropped_conversations_count)
6554
+ @aa_supervisor_escalated_conversations_count = args[:aa_supervisor_escalated_conversations_count] if args.key?(:aa_supervisor_escalated_conversations_count)
6555
+ @aa_supervisor_monitored_conversations_count = args[:aa_supervisor_monitored_conversations_count] if args.key?(:aa_supervisor_monitored_conversations_count)
6556
+ @aa_supervisor_transferred_to_human_agent_conv_count = args[:aa_supervisor_transferred_to_human_agent_conv_count] if args.key?(:aa_supervisor_transferred_to_human_agent_conv_count)
6557
+ @ai_coach_suggestion_agent_message_trigger_count = args[:ai_coach_suggestion_agent_message_trigger_count] if args.key?(:ai_coach_suggestion_agent_message_trigger_count)
6558
+ @ai_coach_suggestion_agent_usage_count = args[:ai_coach_suggestion_agent_usage_count] if args.key?(:ai_coach_suggestion_agent_usage_count)
6559
+ @ai_coach_suggestion_agent_usage_ratio = args[:ai_coach_suggestion_agent_usage_ratio] if args.key?(:ai_coach_suggestion_agent_usage_ratio)
6560
+ @ai_coach_suggestion_customer_message_trigger_count = args[:ai_coach_suggestion_customer_message_trigger_count] if args.key?(:ai_coach_suggestion_customer_message_trigger_count)
6561
+ @ai_coach_suggestion_customer_message_trigger_ratio = args[:ai_coach_suggestion_customer_message_trigger_ratio] if args.key?(:ai_coach_suggestion_customer_message_trigger_ratio)
6562
+ @ai_coach_suggestion_message_trigger_count = args[:ai_coach_suggestion_message_trigger_count] if args.key?(:ai_coach_suggestion_message_trigger_count)
6563
+ @ai_coach_suggestion_message_trigger_ratio = args[:ai_coach_suggestion_message_trigger_ratio] if args.key?(:ai_coach_suggestion_message_trigger_ratio)
6287
6564
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
6288
6565
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
6289
6566
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -6291,9 +6568,42 @@ module Google
6291
6568
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
6292
6569
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
6293
6570
  @average_silence_percentage = args[:average_silence_percentage] if args.key?(:average_silence_percentage)
6571
+ @average_summarization_suggestion_edit_distance = args[:average_summarization_suggestion_edit_distance] if args.key?(:average_summarization_suggestion_edit_distance)
6572
+ @average_summarization_suggestion_normalized_edit_distance = args[:average_summarization_suggestion_normalized_edit_distance] if args.key?(:average_summarization_suggestion_normalized_edit_distance)
6294
6573
  @average_turn_count = args[:average_turn_count] if args.key?(:average_turn_count)
6574
+ @avg_conversation_client_turn_sentiment_ema = args[:avg_conversation_client_turn_sentiment_ema] if args.key?(:avg_conversation_client_turn_sentiment_ema)
6575
+ @contained_conversation_count = args[:contained_conversation_count] if args.key?(:contained_conversation_count)
6576
+ @contained_conversation_ratio = args[:contained_conversation_ratio] if args.key?(:contained_conversation_ratio)
6577
+ @conversation_ai_coach_suggestion_count = args[:conversation_ai_coach_suggestion_count] if args.key?(:conversation_ai_coach_suggestion_count)
6578
+ @conversation_ai_coach_suggestion_ratio = args[:conversation_ai_coach_suggestion_ratio] if args.key?(:conversation_ai_coach_suggestion_ratio)
6295
6579
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
6580
+ @conversation_suggested_summary_ratio = args[:conversation_suggested_summary_ratio] if args.key?(:conversation_suggested_summary_ratio)
6581
+ @conversation_total_agent_message_count = args[:conversation_total_agent_message_count] if args.key?(:conversation_total_agent_message_count)
6582
+ @conversation_total_customer_message_count = args[:conversation_total_customer_message_count] if args.key?(:conversation_total_customer_message_count)
6583
+ @conversational_agents_average_audio_in_audio_out_latency = args[:conversational_agents_average_audio_in_audio_out_latency] if args.key?(:conversational_agents_average_audio_in_audio_out_latency)
6584
+ @conversational_agents_average_end_to_end_latency = args[:conversational_agents_average_end_to_end_latency] if args.key?(:conversational_agents_average_end_to_end_latency)
6585
+ @conversational_agents_average_llm_call_latency = args[:conversational_agents_average_llm_call_latency] if args.key?(:conversational_agents_average_llm_call_latency)
6586
+ @conversational_agents_average_tts_latency = args[:conversational_agents_average_tts_latency] if args.key?(:conversational_agents_average_tts_latency)
6587
+ @dialogflow_average_webhook_latency = args[:dialogflow_average_webhook_latency] if args.key?(:dialogflow_average_webhook_latency)
6588
+ @dialogflow_conversations_escalation_count = args[:dialogflow_conversations_escalation_count] if args.key?(:dialogflow_conversations_escalation_count)
6589
+ @dialogflow_conversations_escalation_ratio = args[:dialogflow_conversations_escalation_ratio] if args.key?(:dialogflow_conversations_escalation_ratio)
6590
+ @dialogflow_interactions_no_input_ratio = args[:dialogflow_interactions_no_input_ratio] if args.key?(:dialogflow_interactions_no_input_ratio)
6591
+ @dialogflow_interactions_no_match_ratio = args[:dialogflow_interactions_no_match_ratio] if args.key?(:dialogflow_interactions_no_match_ratio)
6592
+ @dialogflow_webhook_failure_ratio = args[:dialogflow_webhook_failure_ratio] if args.key?(:dialogflow_webhook_failure_ratio)
6593
+ @dialogflow_webhook_timeout_ratio = args[:dialogflow_webhook_timeout_ratio] if args.key?(:dialogflow_webhook_timeout_ratio)
6594
+ @knowledge_assist_negative_feedback_ratio = args[:knowledge_assist_negative_feedback_ratio] if args.key?(:knowledge_assist_negative_feedback_ratio)
6595
+ @knowledge_assist_positive_feedback_ratio = args[:knowledge_assist_positive_feedback_ratio] if args.key?(:knowledge_assist_positive_feedback_ratio)
6596
+ @knowledge_assist_result_count = args[:knowledge_assist_result_count] if args.key?(:knowledge_assist_result_count)
6597
+ @knowledge_assist_uri_click_ratio = args[:knowledge_assist_uri_click_ratio] if args.key?(:knowledge_assist_uri_click_ratio)
6598
+ @knowledge_search_agent_query_source_ratio = args[:knowledge_search_agent_query_source_ratio] if args.key?(:knowledge_search_agent_query_source_ratio)
6599
+ @knowledge_search_negative_feedback_ratio = args[:knowledge_search_negative_feedback_ratio] if args.key?(:knowledge_search_negative_feedback_ratio)
6600
+ @knowledge_search_positive_feedback_ratio = args[:knowledge_search_positive_feedback_ratio] if args.key?(:knowledge_search_positive_feedback_ratio)
6601
+ @knowledge_search_result_count = args[:knowledge_search_result_count] if args.key?(:knowledge_search_result_count)
6602
+ @knowledge_search_suggested_query_source_ratio = args[:knowledge_search_suggested_query_source_ratio] if args.key?(:knowledge_search_suggested_query_source_ratio)
6603
+ @knowledge_search_uri_click_ratio = args[:knowledge_search_uri_click_ratio] if args.key?(:knowledge_search_uri_click_ratio)
6296
6604
  @qa_tag_scores = args[:qa_tag_scores] if args.key?(:qa_tag_scores)
6605
+ @summarization_suggestion_edit_ratio = args[:summarization_suggestion_edit_ratio] if args.key?(:summarization_suggestion_edit_ratio)
6606
+ @summarization_suggestion_result_count = args[:summarization_suggestion_result_count] if args.key?(:summarization_suggestion_result_count)
6297
6607
  end
6298
6608
  end
6299
6609
 
@@ -6322,6 +6632,86 @@ module Google
6322
6632
  end
6323
6633
  end
6324
6634
 
6635
+ # The measure related to dialogflow interactions.
6636
+ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure
6637
+ include Google::Apis::Core::Hashable
6638
+
6639
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6640
+ # 99th.
6641
+ # Corresponds to the JSON property `percentileAudioInAudioOutLatency`
6642
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult]
6643
+ attr_accessor :percentile_audio_in_audio_out_latency
6644
+
6645
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6646
+ # 99th.
6647
+ # Corresponds to the JSON property `percentileEndToEndLatency`
6648
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult]
6649
+ attr_accessor :percentile_end_to_end_latency
6650
+
6651
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6652
+ # 99th.
6653
+ # Corresponds to the JSON property `percentileLlmCallLatency`
6654
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult]
6655
+ attr_accessor :percentile_llm_call_latency
6656
+
6657
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6658
+ # 99th.
6659
+ # Corresponds to the JSON property `percentileToolUseLatency`
6660
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult]
6661
+ attr_accessor :percentile_tool_use_latency
6662
+
6663
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6664
+ # 99th.
6665
+ # Corresponds to the JSON property `percentileTtsLatency`
6666
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult]
6667
+ attr_accessor :percentile_tts_latency
6668
+
6669
+ def initialize(**args)
6670
+ update!(**args)
6671
+ end
6672
+
6673
+ # Update properties of this object
6674
+ def update!(**args)
6675
+ @percentile_audio_in_audio_out_latency = args[:percentile_audio_in_audio_out_latency] if args.key?(:percentile_audio_in_audio_out_latency)
6676
+ @percentile_end_to_end_latency = args[:percentile_end_to_end_latency] if args.key?(:percentile_end_to_end_latency)
6677
+ @percentile_llm_call_latency = args[:percentile_llm_call_latency] if args.key?(:percentile_llm_call_latency)
6678
+ @percentile_tool_use_latency = args[:percentile_tool_use_latency] if args.key?(:percentile_tool_use_latency)
6679
+ @percentile_tts_latency = args[:percentile_tts_latency] if args.key?(:percentile_tts_latency)
6680
+ end
6681
+ end
6682
+
6683
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
6684
+ # 99th.
6685
+ class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointPercentileResult
6686
+ include Google::Apis::Core::Hashable
6687
+
6688
+ # The 50th percentile value.
6689
+ # Corresponds to the JSON property `p50`
6690
+ # @return [Float]
6691
+ attr_accessor :p50
6692
+
6693
+ # The 90th percentile value.
6694
+ # Corresponds to the JSON property `p90`
6695
+ # @return [Float]
6696
+ attr_accessor :p90
6697
+
6698
+ # The 99th percentile value.
6699
+ # Corresponds to the JSON property `p99`
6700
+ # @return [Float]
6701
+ attr_accessor :p99
6702
+
6703
+ def initialize(**args)
6704
+ update!(**args)
6705
+ end
6706
+
6707
+ # Update properties of this object
6708
+ def update!(**args)
6709
+ @p50 = args[:p50] if args.key?(:p50)
6710
+ @p90 = args[:p90] if args.key?(:p90)
6711
+ @p99 = args[:p99] if args.key?(:p99)
6712
+ end
6713
+ end
6714
+
6325
6715
  # A time series of metric values.
6326
6716
  class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries
6327
6717
  include Google::Apis::Core::Hashable
@@ -11663,6 +12053,11 @@ module Google
11663
12053
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure]
11664
12054
  attr_accessor :conversation_measure
11665
12055
 
12056
+ # The measure related to dialogflow interactions.
12057
+ # Corresponds to the JSON property `dialogflowInteractionMeasure`
12058
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure]
12059
+ attr_accessor :dialogflow_interaction_measure
12060
+
11666
12061
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
11667
12062
  # Timestamp end (exclusive). The start must be less than or equal to the end.
11668
12063
  # When the start equals the end, the interval is empty (matches no time). When
@@ -11678,6 +12073,7 @@ module Google
11678
12073
  # Update properties of this object
11679
12074
  def update!(**args)
11680
12075
  @conversation_measure = args[:conversation_measure] if args.key?(:conversation_measure)
12076
+ @dialogflow_interaction_measure = args[:dialogflow_interaction_measure] if args.key?(:dialogflow_interaction_measure)
11681
12077
  @interval = args[:interval] if args.key?(:interval)
11682
12078
  end
11683
12079
  end
@@ -11686,6 +12082,70 @@ module Google
11686
12082
  class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure
11687
12083
  include Google::Apis::Core::Hashable
11688
12084
 
12085
+ # The number of conversations that were assigned to an AA human supervisor.
12086
+ # Corresponds to the JSON property `aaSupervisorAssignedConversationsCount`
12087
+ # @return [Fixnum]
12088
+ attr_accessor :aa_supervisor_assigned_conversations_count
12089
+
12090
+ # The number of conversations that were dropped, i.e. escalated but not assigned
12091
+ # to an AA human supervisor.
12092
+ # Corresponds to the JSON property `aaSupervisorDroppedConversationsCount`
12093
+ # @return [Fixnum]
12094
+ attr_accessor :aa_supervisor_dropped_conversations_count
12095
+
12096
+ # The number of conversations that were escalated to an AA human supervisor for
12097
+ # intervention.
12098
+ # Corresponds to the JSON property `aaSupervisorEscalatedConversationsCount`
12099
+ # @return [Fixnum]
12100
+ attr_accessor :aa_supervisor_escalated_conversations_count
12101
+
12102
+ # The number of conversations scanned by the AA human supervisor.
12103
+ # Corresponds to the JSON property `aaSupervisorMonitoredConversationsCount`
12104
+ # @return [Fixnum]
12105
+ attr_accessor :aa_supervisor_monitored_conversations_count
12106
+
12107
+ # The number of conversations transferred to a human agent.
12108
+ # Corresponds to the JSON property `aaSupervisorTransferredToHumanAgentConvCount`
12109
+ # @return [Fixnum]
12110
+ attr_accessor :aa_supervisor_transferred_to_human_agent_conv_count
12111
+
12112
+ # Count of agent messages that triggered an Ai Coach Suggestion.
12113
+ # Corresponds to the JSON property `aiCoachSuggestionAgentMessageTriggerCount`
12114
+ # @return [Fixnum]
12115
+ attr_accessor :ai_coach_suggestion_agent_message_trigger_count
12116
+
12117
+ # Count of Ai Coach Suggestion that has been used by agents.
12118
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageCount`
12119
+ # @return [Fixnum]
12120
+ attr_accessor :ai_coach_suggestion_agent_usage_count
12121
+
12122
+ # Proportion of Ai Coach Suggestion that has been used by agents.
12123
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageRatio`
12124
+ # @return [Float]
12125
+ attr_accessor :ai_coach_suggestion_agent_usage_ratio
12126
+
12127
+ # Count of customer messages that triggered an Ai Coach Suggestion.
12128
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerCount`
12129
+ # @return [Fixnum]
12130
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_count
12131
+
12132
+ # Proportion of customer messages that triggered an Ai Coach Suggestion.
12133
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerRatio`
12134
+ # @return [Float]
12135
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_ratio
12136
+
12137
+ # Count of end_of_utterance trigger event messages that triggered an Ai Coach
12138
+ # Suggestion.
12139
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerCount`
12140
+ # @return [Fixnum]
12141
+ attr_accessor :ai_coach_suggestion_message_trigger_count
12142
+
12143
+ # Proportion of end_of_utterance trigger event messages that triggered an Ai
12144
+ # Coach Suggestion.
12145
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerRatio`
12146
+ # @return [Float]
12147
+ attr_accessor :ai_coach_suggestion_message_trigger_ratio
12148
+
11689
12149
  # The average agent's sentiment score.
11690
12150
  # Corresponds to the JSON property `averageAgentSentimentScore`
11691
12151
  # @return [Float]
@@ -11727,27 +12187,234 @@ module Google
11727
12187
  # @return [Float]
11728
12188
  attr_accessor :average_silence_percentage
11729
12189
 
12190
+ # Average edit distance of the summarization suggestions. Edit distance (also
12191
+ # called as levenshtein distance) is calculated by summing up number of
12192
+ # insertions, deletions and substitutions required to transform the summization
12193
+ # feedback to the original summary suggestion.
12194
+ # Corresponds to the JSON property `averageSummarizationSuggestionEditDistance`
12195
+ # @return [Float]
12196
+ attr_accessor :average_summarization_suggestion_edit_distance
12197
+
12198
+ # Normalized Average edit distance of the summarization suggestions. Edit
12199
+ # distance (also called as levenshtein distance) is calculated by summing up
12200
+ # number of insertions, deletions and substitutions required to transform the
12201
+ # summization feedback to the original summary suggestion. Normalized edit
12202
+ # distance is the average of (edit distance / summary length).
12203
+ # Corresponds to the JSON property `averageSummarizationSuggestionNormalizedEditDistance`
12204
+ # @return [Float]
12205
+ attr_accessor :average_summarization_suggestion_normalized_edit_distance
12206
+
11730
12207
  # The average turn count.
11731
12208
  # Corresponds to the JSON property `averageTurnCount`
11732
12209
  # @return [Float]
11733
12210
  attr_accessor :average_turn_count
11734
12211
 
12212
+ # The exponential moving average of the sentiment score of client turns in the
12213
+ # conversation.
12214
+ # Corresponds to the JSON property `avgConversationClientTurnSentimentEma`
12215
+ # @return [Float]
12216
+ attr_accessor :avg_conversation_client_turn_sentiment_ema
12217
+
12218
+ # The number of conversations that were contained.
12219
+ # Corresponds to the JSON property `containedConversationCount`
12220
+ # @return [Fixnum]
12221
+ attr_accessor :contained_conversation_count
12222
+
12223
+ # The percentage of conversations that were contained.
12224
+ # Corresponds to the JSON property `containedConversationRatio`
12225
+ # @return [Float]
12226
+ attr_accessor :contained_conversation_ratio
12227
+
12228
+ # Count of conversations that has Ai Coach Suggestions.
12229
+ # Corresponds to the JSON property `conversationAiCoachSuggestionCount`
12230
+ # @return [Fixnum]
12231
+ attr_accessor :conversation_ai_coach_suggestion_count
12232
+
12233
+ # Proportion of conversations that has Ai Coach Suggestions.
12234
+ # Corresponds to the JSON property `conversationAiCoachSuggestionRatio`
12235
+ # @return [Float]
12236
+ attr_accessor :conversation_ai_coach_suggestion_ratio
12237
+
11735
12238
  # The conversation count.
11736
12239
  # Corresponds to the JSON property `conversationCount`
11737
12240
  # @return [Fixnum]
11738
12241
  attr_accessor :conversation_count
11739
12242
 
12243
+ # Proportion of conversations that had a suggested summary.
12244
+ # Corresponds to the JSON property `conversationSuggestedSummaryRatio`
12245
+ # @return [Float]
12246
+ attr_accessor :conversation_suggested_summary_ratio
12247
+
12248
+ # The agent message count.
12249
+ # Corresponds to the JSON property `conversationTotalAgentMessageCount`
12250
+ # @return [Fixnum]
12251
+ attr_accessor :conversation_total_agent_message_count
12252
+
12253
+ # The customer message count.
12254
+ # Corresponds to the JSON property `conversationTotalCustomerMessageCount`
12255
+ # @return [Fixnum]
12256
+ attr_accessor :conversation_total_customer_message_count
12257
+
12258
+ # The average latency of conversational agents' audio in audio out latency per
12259
+ # interaction. This is computed as the average of the all the interactions'
12260
+ # audio in audio out latencies in a conversation and averaged across
12261
+ # conversations.
12262
+ # Corresponds to the JSON property `conversationalAgentsAverageAudioInAudioOutLatency`
12263
+ # @return [Float]
12264
+ attr_accessor :conversational_agents_average_audio_in_audio_out_latency
12265
+
12266
+ # The average latency of conversational agents' latency per interaction. This is
12267
+ # computed as the average of the all the iteractions' end to end latencies in a
12268
+ # conversation and averaged across conversations. The e2e latency is the time
12269
+ # between the end of the user utterance and the start of the agent utterance on
12270
+ # the interaction level.
12271
+ # Corresponds to the JSON property `conversationalAgentsAverageEndToEndLatency`
12272
+ # @return [Float]
12273
+ attr_accessor :conversational_agents_average_end_to_end_latency
12274
+
12275
+ # The average latency of conversational agents' LLM call latency per interaction.
12276
+ # This is computed as the average of the all the interactions LLM call
12277
+ # latencies in a conversation and averaged across conversations.
12278
+ # Corresponds to the JSON property `conversationalAgentsAverageLlmCallLatency`
12279
+ # @return [Float]
12280
+ attr_accessor :conversational_agents_average_llm_call_latency
12281
+
12282
+ # The macro average latency of conversational agents' TTS latency per
12283
+ # interaction. This is computed as the average of the all the interactions' TTS
12284
+ # latencies in a conversation and averaged across conversations.
12285
+ # Corresponds to the JSON property `conversationalAgentsAverageTtsLatency`
12286
+ # @return [Float]
12287
+ attr_accessor :conversational_agents_average_tts_latency
12288
+
12289
+ # Average latency of dialogflow webhook calls.
12290
+ # Corresponds to the JSON property `dialogflowAverageWebhookLatency`
12291
+ # @return [Float]
12292
+ attr_accessor :dialogflow_average_webhook_latency
12293
+
12294
+ # count of conversations that was handed off from virtual agent to human agent.
12295
+ # Corresponds to the JSON property `dialogflowConversationsEscalationCount`
12296
+ # @return [Float]
12297
+ attr_accessor :dialogflow_conversations_escalation_count
12298
+
12299
+ # Proportion of conversations that was handed off from virtual agent to human
12300
+ # agent.
12301
+ # Corresponds to the JSON property `dialogflowConversationsEscalationRatio`
12302
+ # @return [Float]
12303
+ attr_accessor :dialogflow_conversations_escalation_ratio
12304
+
12305
+ # Proportion of dialogflow interactions that has empty input.
12306
+ # Corresponds to the JSON property `dialogflowInteractionsNoInputRatio`
12307
+ # @return [Float]
12308
+ attr_accessor :dialogflow_interactions_no_input_ratio
12309
+
12310
+ # Proportion of dialogflow interactions that has no intent match for the input.
12311
+ # Corresponds to the JSON property `dialogflowInteractionsNoMatchRatio`
12312
+ # @return [Float]
12313
+ attr_accessor :dialogflow_interactions_no_match_ratio
12314
+
12315
+ # Proportion of dialogflow webhook calls that failed.
12316
+ # Corresponds to the JSON property `dialogflowWebhookFailureRatio`
12317
+ # @return [Float]
12318
+ attr_accessor :dialogflow_webhook_failure_ratio
12319
+
12320
+ # Proportion of dialogflow webhook calls that timed out.
12321
+ # Corresponds to the JSON property `dialogflowWebhookTimeoutRatio`
12322
+ # @return [Float]
12323
+ attr_accessor :dialogflow_webhook_timeout_ratio
12324
+
12325
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
12326
+ # that had negative feedback.
12327
+ # Corresponds to the JSON property `knowledgeAssistNegativeFeedbackRatio`
12328
+ # @return [Float]
12329
+ attr_accessor :knowledge_assist_negative_feedback_ratio
12330
+
12331
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
12332
+ # that had positive feedback.
12333
+ # Corresponds to the JSON property `knowledgeAssistPositiveFeedbackRatio`
12334
+ # @return [Float]
12335
+ attr_accessor :knowledge_assist_positive_feedback_ratio
12336
+
12337
+ # Count of knowledge assist results (Proactive Generative Knowledge Assist)
12338
+ # shown to the user.
12339
+ # Corresponds to the JSON property `knowledgeAssistResultCount`
12340
+ # @return [Fixnum]
12341
+ attr_accessor :knowledge_assist_result_count
12342
+
12343
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
12344
+ # that had a URL clicked.
12345
+ # Corresponds to the JSON property `knowledgeAssistUriClickRatio`
12346
+ # @return [Float]
12347
+ attr_accessor :knowledge_assist_uri_click_ratio
12348
+
12349
+ # Proportion of knowledge search (Generative Knowledge Assist) queries made by
12350
+ # the agent compared to the total number of knowledge search queries made.
12351
+ # Corresponds to the JSON property `knowledgeSearchAgentQuerySourceRatio`
12352
+ # @return [Float]
12353
+ attr_accessor :knowledge_search_agent_query_source_ratio
12354
+
12355
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
12356
+ # negative feedback.
12357
+ # Corresponds to the JSON property `knowledgeSearchNegativeFeedbackRatio`
12358
+ # @return [Float]
12359
+ attr_accessor :knowledge_search_negative_feedback_ratio
12360
+
12361
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
12362
+ # positive feedback.
12363
+ # Corresponds to the JSON property `knowledgeSearchPositiveFeedbackRatio`
12364
+ # @return [Float]
12365
+ attr_accessor :knowledge_search_positive_feedback_ratio
12366
+
12367
+ # Count of knowledge search results (Generative Knowledge Assist) shown to the
12368
+ # user.
12369
+ # Corresponds to the JSON property `knowledgeSearchResultCount`
12370
+ # @return [Fixnum]
12371
+ attr_accessor :knowledge_search_result_count
12372
+
12373
+ # Proportion of knowledge search (Generative Knowledge Assist) queries suggested
12374
+ # compared to the total number of knowledge search queries made.
12375
+ # Corresponds to the JSON property `knowledgeSearchSuggestedQuerySourceRatio`
12376
+ # @return [Float]
12377
+ attr_accessor :knowledge_search_suggested_query_source_ratio
12378
+
12379
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
12380
+ # a URL clicked.
12381
+ # Corresponds to the JSON property `knowledgeSearchUriClickRatio`
12382
+ # @return [Float]
12383
+ attr_accessor :knowledge_search_uri_click_ratio
12384
+
11740
12385
  # Average QA normalized score for all the tags.
11741
12386
  # Corresponds to the JSON property `qaTagScores`
11742
12387
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
11743
12388
  attr_accessor :qa_tag_scores
11744
12389
 
12390
+ # Proportion of summarization suggestions that were manually edited.
12391
+ # Corresponds to the JSON property `summarizationSuggestionEditRatio`
12392
+ # @return [Float]
12393
+ attr_accessor :summarization_suggestion_edit_ratio
12394
+
12395
+ # Count of summarization suggestions results.
12396
+ # Corresponds to the JSON property `summarizationSuggestionResultCount`
12397
+ # @return [Fixnum]
12398
+ attr_accessor :summarization_suggestion_result_count
12399
+
11745
12400
  def initialize(**args)
11746
12401
  update!(**args)
11747
12402
  end
11748
12403
 
11749
12404
  # Update properties of this object
11750
12405
  def update!(**args)
12406
+ @aa_supervisor_assigned_conversations_count = args[:aa_supervisor_assigned_conversations_count] if args.key?(:aa_supervisor_assigned_conversations_count)
12407
+ @aa_supervisor_dropped_conversations_count = args[:aa_supervisor_dropped_conversations_count] if args.key?(:aa_supervisor_dropped_conversations_count)
12408
+ @aa_supervisor_escalated_conversations_count = args[:aa_supervisor_escalated_conversations_count] if args.key?(:aa_supervisor_escalated_conversations_count)
12409
+ @aa_supervisor_monitored_conversations_count = args[:aa_supervisor_monitored_conversations_count] if args.key?(:aa_supervisor_monitored_conversations_count)
12410
+ @aa_supervisor_transferred_to_human_agent_conv_count = args[:aa_supervisor_transferred_to_human_agent_conv_count] if args.key?(:aa_supervisor_transferred_to_human_agent_conv_count)
12411
+ @ai_coach_suggestion_agent_message_trigger_count = args[:ai_coach_suggestion_agent_message_trigger_count] if args.key?(:ai_coach_suggestion_agent_message_trigger_count)
12412
+ @ai_coach_suggestion_agent_usage_count = args[:ai_coach_suggestion_agent_usage_count] if args.key?(:ai_coach_suggestion_agent_usage_count)
12413
+ @ai_coach_suggestion_agent_usage_ratio = args[:ai_coach_suggestion_agent_usage_ratio] if args.key?(:ai_coach_suggestion_agent_usage_ratio)
12414
+ @ai_coach_suggestion_customer_message_trigger_count = args[:ai_coach_suggestion_customer_message_trigger_count] if args.key?(:ai_coach_suggestion_customer_message_trigger_count)
12415
+ @ai_coach_suggestion_customer_message_trigger_ratio = args[:ai_coach_suggestion_customer_message_trigger_ratio] if args.key?(:ai_coach_suggestion_customer_message_trigger_ratio)
12416
+ @ai_coach_suggestion_message_trigger_count = args[:ai_coach_suggestion_message_trigger_count] if args.key?(:ai_coach_suggestion_message_trigger_count)
12417
+ @ai_coach_suggestion_message_trigger_ratio = args[:ai_coach_suggestion_message_trigger_ratio] if args.key?(:ai_coach_suggestion_message_trigger_ratio)
11751
12418
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
11752
12419
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
11753
12420
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -11755,9 +12422,42 @@ module Google
11755
12422
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
11756
12423
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
11757
12424
  @average_silence_percentage = args[:average_silence_percentage] if args.key?(:average_silence_percentage)
12425
+ @average_summarization_suggestion_edit_distance = args[:average_summarization_suggestion_edit_distance] if args.key?(:average_summarization_suggestion_edit_distance)
12426
+ @average_summarization_suggestion_normalized_edit_distance = args[:average_summarization_suggestion_normalized_edit_distance] if args.key?(:average_summarization_suggestion_normalized_edit_distance)
11758
12427
  @average_turn_count = args[:average_turn_count] if args.key?(:average_turn_count)
12428
+ @avg_conversation_client_turn_sentiment_ema = args[:avg_conversation_client_turn_sentiment_ema] if args.key?(:avg_conversation_client_turn_sentiment_ema)
12429
+ @contained_conversation_count = args[:contained_conversation_count] if args.key?(:contained_conversation_count)
12430
+ @contained_conversation_ratio = args[:contained_conversation_ratio] if args.key?(:contained_conversation_ratio)
12431
+ @conversation_ai_coach_suggestion_count = args[:conversation_ai_coach_suggestion_count] if args.key?(:conversation_ai_coach_suggestion_count)
12432
+ @conversation_ai_coach_suggestion_ratio = args[:conversation_ai_coach_suggestion_ratio] if args.key?(:conversation_ai_coach_suggestion_ratio)
11759
12433
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
12434
+ @conversation_suggested_summary_ratio = args[:conversation_suggested_summary_ratio] if args.key?(:conversation_suggested_summary_ratio)
12435
+ @conversation_total_agent_message_count = args[:conversation_total_agent_message_count] if args.key?(:conversation_total_agent_message_count)
12436
+ @conversation_total_customer_message_count = args[:conversation_total_customer_message_count] if args.key?(:conversation_total_customer_message_count)
12437
+ @conversational_agents_average_audio_in_audio_out_latency = args[:conversational_agents_average_audio_in_audio_out_latency] if args.key?(:conversational_agents_average_audio_in_audio_out_latency)
12438
+ @conversational_agents_average_end_to_end_latency = args[:conversational_agents_average_end_to_end_latency] if args.key?(:conversational_agents_average_end_to_end_latency)
12439
+ @conversational_agents_average_llm_call_latency = args[:conversational_agents_average_llm_call_latency] if args.key?(:conversational_agents_average_llm_call_latency)
12440
+ @conversational_agents_average_tts_latency = args[:conversational_agents_average_tts_latency] if args.key?(:conversational_agents_average_tts_latency)
12441
+ @dialogflow_average_webhook_latency = args[:dialogflow_average_webhook_latency] if args.key?(:dialogflow_average_webhook_latency)
12442
+ @dialogflow_conversations_escalation_count = args[:dialogflow_conversations_escalation_count] if args.key?(:dialogflow_conversations_escalation_count)
12443
+ @dialogflow_conversations_escalation_ratio = args[:dialogflow_conversations_escalation_ratio] if args.key?(:dialogflow_conversations_escalation_ratio)
12444
+ @dialogflow_interactions_no_input_ratio = args[:dialogflow_interactions_no_input_ratio] if args.key?(:dialogflow_interactions_no_input_ratio)
12445
+ @dialogflow_interactions_no_match_ratio = args[:dialogflow_interactions_no_match_ratio] if args.key?(:dialogflow_interactions_no_match_ratio)
12446
+ @dialogflow_webhook_failure_ratio = args[:dialogflow_webhook_failure_ratio] if args.key?(:dialogflow_webhook_failure_ratio)
12447
+ @dialogflow_webhook_timeout_ratio = args[:dialogflow_webhook_timeout_ratio] if args.key?(:dialogflow_webhook_timeout_ratio)
12448
+ @knowledge_assist_negative_feedback_ratio = args[:knowledge_assist_negative_feedback_ratio] if args.key?(:knowledge_assist_negative_feedback_ratio)
12449
+ @knowledge_assist_positive_feedback_ratio = args[:knowledge_assist_positive_feedback_ratio] if args.key?(:knowledge_assist_positive_feedback_ratio)
12450
+ @knowledge_assist_result_count = args[:knowledge_assist_result_count] if args.key?(:knowledge_assist_result_count)
12451
+ @knowledge_assist_uri_click_ratio = args[:knowledge_assist_uri_click_ratio] if args.key?(:knowledge_assist_uri_click_ratio)
12452
+ @knowledge_search_agent_query_source_ratio = args[:knowledge_search_agent_query_source_ratio] if args.key?(:knowledge_search_agent_query_source_ratio)
12453
+ @knowledge_search_negative_feedback_ratio = args[:knowledge_search_negative_feedback_ratio] if args.key?(:knowledge_search_negative_feedback_ratio)
12454
+ @knowledge_search_positive_feedback_ratio = args[:knowledge_search_positive_feedback_ratio] if args.key?(:knowledge_search_positive_feedback_ratio)
12455
+ @knowledge_search_result_count = args[:knowledge_search_result_count] if args.key?(:knowledge_search_result_count)
12456
+ @knowledge_search_suggested_query_source_ratio = args[:knowledge_search_suggested_query_source_ratio] if args.key?(:knowledge_search_suggested_query_source_ratio)
12457
+ @knowledge_search_uri_click_ratio = args[:knowledge_search_uri_click_ratio] if args.key?(:knowledge_search_uri_click_ratio)
11760
12458
  @qa_tag_scores = args[:qa_tag_scores] if args.key?(:qa_tag_scores)
12459
+ @summarization_suggestion_edit_ratio = args[:summarization_suggestion_edit_ratio] if args.key?(:summarization_suggestion_edit_ratio)
12460
+ @summarization_suggestion_result_count = args[:summarization_suggestion_result_count] if args.key?(:summarization_suggestion_result_count)
11761
12461
  end
11762
12462
  end
11763
12463
 
@@ -11786,6 +12486,86 @@ module Google
11786
12486
  end
11787
12487
  end
11788
12488
 
12489
+ # The measure related to dialogflow interactions.
12490
+ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointDialogflowInteractionMeasure
12491
+ include Google::Apis::Core::Hashable
12492
+
12493
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12494
+ # 99th.
12495
+ # Corresponds to the JSON property `percentileAudioInAudioOutLatency`
12496
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult]
12497
+ attr_accessor :percentile_audio_in_audio_out_latency
12498
+
12499
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12500
+ # 99th.
12501
+ # Corresponds to the JSON property `percentileEndToEndLatency`
12502
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult]
12503
+ attr_accessor :percentile_end_to_end_latency
12504
+
12505
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12506
+ # 99th.
12507
+ # Corresponds to the JSON property `percentileLlmCallLatency`
12508
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult]
12509
+ attr_accessor :percentile_llm_call_latency
12510
+
12511
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12512
+ # 99th.
12513
+ # Corresponds to the JSON property `percentileToolUseLatency`
12514
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult]
12515
+ attr_accessor :percentile_tool_use_latency
12516
+
12517
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12518
+ # 99th.
12519
+ # Corresponds to the JSON property `percentileTtsLatency`
12520
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult]
12521
+ attr_accessor :percentile_tts_latency
12522
+
12523
+ def initialize(**args)
12524
+ update!(**args)
12525
+ end
12526
+
12527
+ # Update properties of this object
12528
+ def update!(**args)
12529
+ @percentile_audio_in_audio_out_latency = args[:percentile_audio_in_audio_out_latency] if args.key?(:percentile_audio_in_audio_out_latency)
12530
+ @percentile_end_to_end_latency = args[:percentile_end_to_end_latency] if args.key?(:percentile_end_to_end_latency)
12531
+ @percentile_llm_call_latency = args[:percentile_llm_call_latency] if args.key?(:percentile_llm_call_latency)
12532
+ @percentile_tool_use_latency = args[:percentile_tool_use_latency] if args.key?(:percentile_tool_use_latency)
12533
+ @percentile_tts_latency = args[:percentile_tts_latency] if args.key?(:percentile_tts_latency)
12534
+ end
12535
+ end
12536
+
12537
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
12538
+ # 99th.
12539
+ class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointPercentileResult
12540
+ include Google::Apis::Core::Hashable
12541
+
12542
+ # The 50th percentile value.
12543
+ # Corresponds to the JSON property `p50`
12544
+ # @return [Float]
12545
+ attr_accessor :p50
12546
+
12547
+ # The 90th percentile value.
12548
+ # Corresponds to the JSON property `p90`
12549
+ # @return [Float]
12550
+ attr_accessor :p90
12551
+
12552
+ # The 99th percentile value.
12553
+ # Corresponds to the JSON property `p99`
12554
+ # @return [Float]
12555
+ attr_accessor :p99
12556
+
12557
+ def initialize(**args)
12558
+ update!(**args)
12559
+ end
12560
+
12561
+ # Update properties of this object
12562
+ def update!(**args)
12563
+ @p50 = args[:p50] if args.key?(:p50)
12564
+ @p90 = args[:p90] if args.key?(:p90)
12565
+ @p99 = args[:p99] if args.key?(:p99)
12566
+ end
12567
+ end
12568
+
11789
12569
  # A time series of metric values.
11790
12570
  class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries
11791
12571
  include Google::Apis::Core::Hashable
@@ -16951,6 +17731,11 @@ module Google
16951
17731
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure]
16952
17732
  attr_accessor :conversation_measure
16953
17733
 
17734
+ # The measure related to dialogflow interactions.
17735
+ # Corresponds to the JSON property `dialogflowInteractionMeasure`
17736
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure]
17737
+ attr_accessor :dialogflow_interaction_measure
17738
+
16954
17739
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
16955
17740
  # Timestamp end (exclusive). The start must be less than or equal to the end.
16956
17741
  # When the start equals the end, the interval is empty (matches no time). When
@@ -16966,6 +17751,7 @@ module Google
16966
17751
  # Update properties of this object
16967
17752
  def update!(**args)
16968
17753
  @conversation_measure = args[:conversation_measure] if args.key?(:conversation_measure)
17754
+ @dialogflow_interaction_measure = args[:dialogflow_interaction_measure] if args.key?(:dialogflow_interaction_measure)
16969
17755
  @interval = args[:interval] if args.key?(:interval)
16970
17756
  end
16971
17757
  end
@@ -16974,6 +17760,70 @@ module Google
16974
17760
  class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure
16975
17761
  include Google::Apis::Core::Hashable
16976
17762
 
17763
+ # The number of conversations that were assigned to an AA human supervisor.
17764
+ # Corresponds to the JSON property `aaSupervisorAssignedConversationsCount`
17765
+ # @return [Fixnum]
17766
+ attr_accessor :aa_supervisor_assigned_conversations_count
17767
+
17768
+ # The number of conversations that were dropped, i.e. escalated but not assigned
17769
+ # to an AA human supervisor.
17770
+ # Corresponds to the JSON property `aaSupervisorDroppedConversationsCount`
17771
+ # @return [Fixnum]
17772
+ attr_accessor :aa_supervisor_dropped_conversations_count
17773
+
17774
+ # The number of conversations that were escalated to an AA human supervisor for
17775
+ # intervention.
17776
+ # Corresponds to the JSON property `aaSupervisorEscalatedConversationsCount`
17777
+ # @return [Fixnum]
17778
+ attr_accessor :aa_supervisor_escalated_conversations_count
17779
+
17780
+ # The number of conversations scanned by the AA human supervisor.
17781
+ # Corresponds to the JSON property `aaSupervisorMonitoredConversationsCount`
17782
+ # @return [Fixnum]
17783
+ attr_accessor :aa_supervisor_monitored_conversations_count
17784
+
17785
+ # The number of conversations transferred to a human agent.
17786
+ # Corresponds to the JSON property `aaSupervisorTransferredToHumanAgentConvCount`
17787
+ # @return [Fixnum]
17788
+ attr_accessor :aa_supervisor_transferred_to_human_agent_conv_count
17789
+
17790
+ # Count of agent messages that triggered an Ai Coach Suggestion.
17791
+ # Corresponds to the JSON property `aiCoachSuggestionAgentMessageTriggerCount`
17792
+ # @return [Fixnum]
17793
+ attr_accessor :ai_coach_suggestion_agent_message_trigger_count
17794
+
17795
+ # Count of Ai Coach Suggestion that has been used by agents.
17796
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageCount`
17797
+ # @return [Fixnum]
17798
+ attr_accessor :ai_coach_suggestion_agent_usage_count
17799
+
17800
+ # Proportion of Ai Coach Suggestion that has been used by agents.
17801
+ # Corresponds to the JSON property `aiCoachSuggestionAgentUsageRatio`
17802
+ # @return [Float]
17803
+ attr_accessor :ai_coach_suggestion_agent_usage_ratio
17804
+
17805
+ # Count of customer messages that triggered an Ai Coach Suggestion.
17806
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerCount`
17807
+ # @return [Fixnum]
17808
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_count
17809
+
17810
+ # Proportion of customer messages that triggered an Ai Coach Suggestion.
17811
+ # Corresponds to the JSON property `aiCoachSuggestionCustomerMessageTriggerRatio`
17812
+ # @return [Float]
17813
+ attr_accessor :ai_coach_suggestion_customer_message_trigger_ratio
17814
+
17815
+ # Count of end_of_utterance trigger event messages that triggered an Ai Coach
17816
+ # Suggestion.
17817
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerCount`
17818
+ # @return [Fixnum]
17819
+ attr_accessor :ai_coach_suggestion_message_trigger_count
17820
+
17821
+ # Proportion of end_of_utterance trigger event messages that triggered an Ai
17822
+ # Coach Suggestion.
17823
+ # Corresponds to the JSON property `aiCoachSuggestionMessageTriggerRatio`
17824
+ # @return [Float]
17825
+ attr_accessor :ai_coach_suggestion_message_trigger_ratio
17826
+
16977
17827
  # The average agent's sentiment score.
16978
17828
  # Corresponds to the JSON property `averageAgentSentimentScore`
16979
17829
  # @return [Float]
@@ -17015,27 +17865,234 @@ module Google
17015
17865
  # @return [Float]
17016
17866
  attr_accessor :average_silence_percentage
17017
17867
 
17868
+ # Average edit distance of the summarization suggestions. Edit distance (also
17869
+ # called as levenshtein distance) is calculated by summing up number of
17870
+ # insertions, deletions and substitutions required to transform the summization
17871
+ # feedback to the original summary suggestion.
17872
+ # Corresponds to the JSON property `averageSummarizationSuggestionEditDistance`
17873
+ # @return [Float]
17874
+ attr_accessor :average_summarization_suggestion_edit_distance
17875
+
17876
+ # Normalized Average edit distance of the summarization suggestions. Edit
17877
+ # distance (also called as levenshtein distance) is calculated by summing up
17878
+ # number of insertions, deletions and substitutions required to transform the
17879
+ # summization feedback to the original summary suggestion. Normalized edit
17880
+ # distance is the average of (edit distance / summary length).
17881
+ # Corresponds to the JSON property `averageSummarizationSuggestionNormalizedEditDistance`
17882
+ # @return [Float]
17883
+ attr_accessor :average_summarization_suggestion_normalized_edit_distance
17884
+
17018
17885
  # The average turn count.
17019
17886
  # Corresponds to the JSON property `averageTurnCount`
17020
17887
  # @return [Float]
17021
17888
  attr_accessor :average_turn_count
17022
17889
 
17890
+ # The exponential moving average of the sentiment score of client turns in the
17891
+ # conversation.
17892
+ # Corresponds to the JSON property `avgConversationClientTurnSentimentEma`
17893
+ # @return [Float]
17894
+ attr_accessor :avg_conversation_client_turn_sentiment_ema
17895
+
17896
+ # The number of conversations that were contained.
17897
+ # Corresponds to the JSON property `containedConversationCount`
17898
+ # @return [Fixnum]
17899
+ attr_accessor :contained_conversation_count
17900
+
17901
+ # The percentage of conversations that were contained.
17902
+ # Corresponds to the JSON property `containedConversationRatio`
17903
+ # @return [Float]
17904
+ attr_accessor :contained_conversation_ratio
17905
+
17906
+ # Count of conversations that has Ai Coach Suggestions.
17907
+ # Corresponds to the JSON property `conversationAiCoachSuggestionCount`
17908
+ # @return [Fixnum]
17909
+ attr_accessor :conversation_ai_coach_suggestion_count
17910
+
17911
+ # Proportion of conversations that has Ai Coach Suggestions.
17912
+ # Corresponds to the JSON property `conversationAiCoachSuggestionRatio`
17913
+ # @return [Float]
17914
+ attr_accessor :conversation_ai_coach_suggestion_ratio
17915
+
17023
17916
  # The conversation count.
17024
17917
  # Corresponds to the JSON property `conversationCount`
17025
17918
  # @return [Fixnum]
17026
17919
  attr_accessor :conversation_count
17027
17920
 
17921
+ # Proportion of conversations that had a suggested summary.
17922
+ # Corresponds to the JSON property `conversationSuggestedSummaryRatio`
17923
+ # @return [Float]
17924
+ attr_accessor :conversation_suggested_summary_ratio
17925
+
17926
+ # The agent message count.
17927
+ # Corresponds to the JSON property `conversationTotalAgentMessageCount`
17928
+ # @return [Fixnum]
17929
+ attr_accessor :conversation_total_agent_message_count
17930
+
17931
+ # The customer message count.
17932
+ # Corresponds to the JSON property `conversationTotalCustomerMessageCount`
17933
+ # @return [Fixnum]
17934
+ attr_accessor :conversation_total_customer_message_count
17935
+
17936
+ # The average latency of conversational agents' audio in audio out latency per
17937
+ # interaction. This is computed as the average of the all the interactions'
17938
+ # audio in audio out latencies in a conversation and averaged across
17939
+ # conversations.
17940
+ # Corresponds to the JSON property `conversationalAgentsAverageAudioInAudioOutLatency`
17941
+ # @return [Float]
17942
+ attr_accessor :conversational_agents_average_audio_in_audio_out_latency
17943
+
17944
+ # The average latency of conversational agents' latency per interaction. This is
17945
+ # computed as the average of the all the iteractions' end to end latencies in a
17946
+ # conversation and averaged across conversations. The e2e latency is the time
17947
+ # between the end of the user utterance and the start of the agent utterance on
17948
+ # the interaction level.
17949
+ # Corresponds to the JSON property `conversationalAgentsAverageEndToEndLatency`
17950
+ # @return [Float]
17951
+ attr_accessor :conversational_agents_average_end_to_end_latency
17952
+
17953
+ # The average latency of conversational agents' LLM call latency per interaction.
17954
+ # This is computed as the average of the all the interactions LLM call
17955
+ # latencies in a conversation and averaged across conversations.
17956
+ # Corresponds to the JSON property `conversationalAgentsAverageLlmCallLatency`
17957
+ # @return [Float]
17958
+ attr_accessor :conversational_agents_average_llm_call_latency
17959
+
17960
+ # The macro average latency of conversational agents' TTS latency per
17961
+ # interaction. This is computed as the average of the all the interactions' TTS
17962
+ # latencies in a conversation and averaged across conversations.
17963
+ # Corresponds to the JSON property `conversationalAgentsAverageTtsLatency`
17964
+ # @return [Float]
17965
+ attr_accessor :conversational_agents_average_tts_latency
17966
+
17967
+ # Average latency of dialogflow webhook calls.
17968
+ # Corresponds to the JSON property `dialogflowAverageWebhookLatency`
17969
+ # @return [Float]
17970
+ attr_accessor :dialogflow_average_webhook_latency
17971
+
17972
+ # count of conversations that was handed off from virtual agent to human agent.
17973
+ # Corresponds to the JSON property `dialogflowConversationsEscalationCount`
17974
+ # @return [Float]
17975
+ attr_accessor :dialogflow_conversations_escalation_count
17976
+
17977
+ # Proportion of conversations that was handed off from virtual agent to human
17978
+ # agent.
17979
+ # Corresponds to the JSON property `dialogflowConversationsEscalationRatio`
17980
+ # @return [Float]
17981
+ attr_accessor :dialogflow_conversations_escalation_ratio
17982
+
17983
+ # Proportion of dialogflow interactions that has empty input.
17984
+ # Corresponds to the JSON property `dialogflowInteractionsNoInputRatio`
17985
+ # @return [Float]
17986
+ attr_accessor :dialogflow_interactions_no_input_ratio
17987
+
17988
+ # Proportion of dialogflow interactions that has no intent match for the input.
17989
+ # Corresponds to the JSON property `dialogflowInteractionsNoMatchRatio`
17990
+ # @return [Float]
17991
+ attr_accessor :dialogflow_interactions_no_match_ratio
17992
+
17993
+ # Proportion of dialogflow webhook calls that failed.
17994
+ # Corresponds to the JSON property `dialogflowWebhookFailureRatio`
17995
+ # @return [Float]
17996
+ attr_accessor :dialogflow_webhook_failure_ratio
17997
+
17998
+ # Proportion of dialogflow webhook calls that timed out.
17999
+ # Corresponds to the JSON property `dialogflowWebhookTimeoutRatio`
18000
+ # @return [Float]
18001
+ attr_accessor :dialogflow_webhook_timeout_ratio
18002
+
18003
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
18004
+ # that had negative feedback.
18005
+ # Corresponds to the JSON property `knowledgeAssistNegativeFeedbackRatio`
18006
+ # @return [Float]
18007
+ attr_accessor :knowledge_assist_negative_feedback_ratio
18008
+
18009
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
18010
+ # that had positive feedback.
18011
+ # Corresponds to the JSON property `knowledgeAssistPositiveFeedbackRatio`
18012
+ # @return [Float]
18013
+ attr_accessor :knowledge_assist_positive_feedback_ratio
18014
+
18015
+ # Count of knowledge assist results (Proactive Generative Knowledge Assist)
18016
+ # shown to the user.
18017
+ # Corresponds to the JSON property `knowledgeAssistResultCount`
18018
+ # @return [Fixnum]
18019
+ attr_accessor :knowledge_assist_result_count
18020
+
18021
+ # Proportion of knowledge assist (Proactive Generative Knowledge Assist) queries
18022
+ # that had a URL clicked.
18023
+ # Corresponds to the JSON property `knowledgeAssistUriClickRatio`
18024
+ # @return [Float]
18025
+ attr_accessor :knowledge_assist_uri_click_ratio
18026
+
18027
+ # Proportion of knowledge search (Generative Knowledge Assist) queries made by
18028
+ # the agent compared to the total number of knowledge search queries made.
18029
+ # Corresponds to the JSON property `knowledgeSearchAgentQuerySourceRatio`
18030
+ # @return [Float]
18031
+ attr_accessor :knowledge_search_agent_query_source_ratio
18032
+
18033
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
18034
+ # negative feedback.
18035
+ # Corresponds to the JSON property `knowledgeSearchNegativeFeedbackRatio`
18036
+ # @return [Float]
18037
+ attr_accessor :knowledge_search_negative_feedback_ratio
18038
+
18039
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
18040
+ # positive feedback.
18041
+ # Corresponds to the JSON property `knowledgeSearchPositiveFeedbackRatio`
18042
+ # @return [Float]
18043
+ attr_accessor :knowledge_search_positive_feedback_ratio
18044
+
18045
+ # Count of knowledge search results (Generative Knowledge Assist) shown to the
18046
+ # user.
18047
+ # Corresponds to the JSON property `knowledgeSearchResultCount`
18048
+ # @return [Fixnum]
18049
+ attr_accessor :knowledge_search_result_count
18050
+
18051
+ # Proportion of knowledge search (Generative Knowledge Assist) queries suggested
18052
+ # compared to the total number of knowledge search queries made.
18053
+ # Corresponds to the JSON property `knowledgeSearchSuggestedQuerySourceRatio`
18054
+ # @return [Float]
18055
+ attr_accessor :knowledge_search_suggested_query_source_ratio
18056
+
18057
+ # Proportion of knowledge search (Generative Knowledge Assist) queries that had
18058
+ # a URL clicked.
18059
+ # Corresponds to the JSON property `knowledgeSearchUriClickRatio`
18060
+ # @return [Float]
18061
+ attr_accessor :knowledge_search_uri_click_ratio
18062
+
17028
18063
  # Average QA normalized score for all the tags.
17029
18064
  # Corresponds to the JSON property `qaTagScores`
17030
18065
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
17031
18066
  attr_accessor :qa_tag_scores
17032
18067
 
18068
+ # Proportion of summarization suggestions that were manually edited.
18069
+ # Corresponds to the JSON property `summarizationSuggestionEditRatio`
18070
+ # @return [Float]
18071
+ attr_accessor :summarization_suggestion_edit_ratio
18072
+
18073
+ # Count of summarization suggestions results.
18074
+ # Corresponds to the JSON property `summarizationSuggestionResultCount`
18075
+ # @return [Fixnum]
18076
+ attr_accessor :summarization_suggestion_result_count
18077
+
17033
18078
  def initialize(**args)
17034
18079
  update!(**args)
17035
18080
  end
17036
18081
 
17037
18082
  # Update properties of this object
17038
18083
  def update!(**args)
18084
+ @aa_supervisor_assigned_conversations_count = args[:aa_supervisor_assigned_conversations_count] if args.key?(:aa_supervisor_assigned_conversations_count)
18085
+ @aa_supervisor_dropped_conversations_count = args[:aa_supervisor_dropped_conversations_count] if args.key?(:aa_supervisor_dropped_conversations_count)
18086
+ @aa_supervisor_escalated_conversations_count = args[:aa_supervisor_escalated_conversations_count] if args.key?(:aa_supervisor_escalated_conversations_count)
18087
+ @aa_supervisor_monitored_conversations_count = args[:aa_supervisor_monitored_conversations_count] if args.key?(:aa_supervisor_monitored_conversations_count)
18088
+ @aa_supervisor_transferred_to_human_agent_conv_count = args[:aa_supervisor_transferred_to_human_agent_conv_count] if args.key?(:aa_supervisor_transferred_to_human_agent_conv_count)
18089
+ @ai_coach_suggestion_agent_message_trigger_count = args[:ai_coach_suggestion_agent_message_trigger_count] if args.key?(:ai_coach_suggestion_agent_message_trigger_count)
18090
+ @ai_coach_suggestion_agent_usage_count = args[:ai_coach_suggestion_agent_usage_count] if args.key?(:ai_coach_suggestion_agent_usage_count)
18091
+ @ai_coach_suggestion_agent_usage_ratio = args[:ai_coach_suggestion_agent_usage_ratio] if args.key?(:ai_coach_suggestion_agent_usage_ratio)
18092
+ @ai_coach_suggestion_customer_message_trigger_count = args[:ai_coach_suggestion_customer_message_trigger_count] if args.key?(:ai_coach_suggestion_customer_message_trigger_count)
18093
+ @ai_coach_suggestion_customer_message_trigger_ratio = args[:ai_coach_suggestion_customer_message_trigger_ratio] if args.key?(:ai_coach_suggestion_customer_message_trigger_ratio)
18094
+ @ai_coach_suggestion_message_trigger_count = args[:ai_coach_suggestion_message_trigger_count] if args.key?(:ai_coach_suggestion_message_trigger_count)
18095
+ @ai_coach_suggestion_message_trigger_ratio = args[:ai_coach_suggestion_message_trigger_ratio] if args.key?(:ai_coach_suggestion_message_trigger_ratio)
17039
18096
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
17040
18097
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
17041
18098
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -17043,9 +18100,42 @@ module Google
17043
18100
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
17044
18101
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
17045
18102
  @average_silence_percentage = args[:average_silence_percentage] if args.key?(:average_silence_percentage)
18103
+ @average_summarization_suggestion_edit_distance = args[:average_summarization_suggestion_edit_distance] if args.key?(:average_summarization_suggestion_edit_distance)
18104
+ @average_summarization_suggestion_normalized_edit_distance = args[:average_summarization_suggestion_normalized_edit_distance] if args.key?(:average_summarization_suggestion_normalized_edit_distance)
17046
18105
  @average_turn_count = args[:average_turn_count] if args.key?(:average_turn_count)
18106
+ @avg_conversation_client_turn_sentiment_ema = args[:avg_conversation_client_turn_sentiment_ema] if args.key?(:avg_conversation_client_turn_sentiment_ema)
18107
+ @contained_conversation_count = args[:contained_conversation_count] if args.key?(:contained_conversation_count)
18108
+ @contained_conversation_ratio = args[:contained_conversation_ratio] if args.key?(:contained_conversation_ratio)
18109
+ @conversation_ai_coach_suggestion_count = args[:conversation_ai_coach_suggestion_count] if args.key?(:conversation_ai_coach_suggestion_count)
18110
+ @conversation_ai_coach_suggestion_ratio = args[:conversation_ai_coach_suggestion_ratio] if args.key?(:conversation_ai_coach_suggestion_ratio)
17047
18111
  @conversation_count = args[:conversation_count] if args.key?(:conversation_count)
18112
+ @conversation_suggested_summary_ratio = args[:conversation_suggested_summary_ratio] if args.key?(:conversation_suggested_summary_ratio)
18113
+ @conversation_total_agent_message_count = args[:conversation_total_agent_message_count] if args.key?(:conversation_total_agent_message_count)
18114
+ @conversation_total_customer_message_count = args[:conversation_total_customer_message_count] if args.key?(:conversation_total_customer_message_count)
18115
+ @conversational_agents_average_audio_in_audio_out_latency = args[:conversational_agents_average_audio_in_audio_out_latency] if args.key?(:conversational_agents_average_audio_in_audio_out_latency)
18116
+ @conversational_agents_average_end_to_end_latency = args[:conversational_agents_average_end_to_end_latency] if args.key?(:conversational_agents_average_end_to_end_latency)
18117
+ @conversational_agents_average_llm_call_latency = args[:conversational_agents_average_llm_call_latency] if args.key?(:conversational_agents_average_llm_call_latency)
18118
+ @conversational_agents_average_tts_latency = args[:conversational_agents_average_tts_latency] if args.key?(:conversational_agents_average_tts_latency)
18119
+ @dialogflow_average_webhook_latency = args[:dialogflow_average_webhook_latency] if args.key?(:dialogflow_average_webhook_latency)
18120
+ @dialogflow_conversations_escalation_count = args[:dialogflow_conversations_escalation_count] if args.key?(:dialogflow_conversations_escalation_count)
18121
+ @dialogflow_conversations_escalation_ratio = args[:dialogflow_conversations_escalation_ratio] if args.key?(:dialogflow_conversations_escalation_ratio)
18122
+ @dialogflow_interactions_no_input_ratio = args[:dialogflow_interactions_no_input_ratio] if args.key?(:dialogflow_interactions_no_input_ratio)
18123
+ @dialogflow_interactions_no_match_ratio = args[:dialogflow_interactions_no_match_ratio] if args.key?(:dialogflow_interactions_no_match_ratio)
18124
+ @dialogflow_webhook_failure_ratio = args[:dialogflow_webhook_failure_ratio] if args.key?(:dialogflow_webhook_failure_ratio)
18125
+ @dialogflow_webhook_timeout_ratio = args[:dialogflow_webhook_timeout_ratio] if args.key?(:dialogflow_webhook_timeout_ratio)
18126
+ @knowledge_assist_negative_feedback_ratio = args[:knowledge_assist_negative_feedback_ratio] if args.key?(:knowledge_assist_negative_feedback_ratio)
18127
+ @knowledge_assist_positive_feedback_ratio = args[:knowledge_assist_positive_feedback_ratio] if args.key?(:knowledge_assist_positive_feedback_ratio)
18128
+ @knowledge_assist_result_count = args[:knowledge_assist_result_count] if args.key?(:knowledge_assist_result_count)
18129
+ @knowledge_assist_uri_click_ratio = args[:knowledge_assist_uri_click_ratio] if args.key?(:knowledge_assist_uri_click_ratio)
18130
+ @knowledge_search_agent_query_source_ratio = args[:knowledge_search_agent_query_source_ratio] if args.key?(:knowledge_search_agent_query_source_ratio)
18131
+ @knowledge_search_negative_feedback_ratio = args[:knowledge_search_negative_feedback_ratio] if args.key?(:knowledge_search_negative_feedback_ratio)
18132
+ @knowledge_search_positive_feedback_ratio = args[:knowledge_search_positive_feedback_ratio] if args.key?(:knowledge_search_positive_feedback_ratio)
18133
+ @knowledge_search_result_count = args[:knowledge_search_result_count] if args.key?(:knowledge_search_result_count)
18134
+ @knowledge_search_suggested_query_source_ratio = args[:knowledge_search_suggested_query_source_ratio] if args.key?(:knowledge_search_suggested_query_source_ratio)
18135
+ @knowledge_search_uri_click_ratio = args[:knowledge_search_uri_click_ratio] if args.key?(:knowledge_search_uri_click_ratio)
17048
18136
  @qa_tag_scores = args[:qa_tag_scores] if args.key?(:qa_tag_scores)
18137
+ @summarization_suggestion_edit_ratio = args[:summarization_suggestion_edit_ratio] if args.key?(:summarization_suggestion_edit_ratio)
18138
+ @summarization_suggestion_result_count = args[:summarization_suggestion_result_count] if args.key?(:summarization_suggestion_result_count)
17049
18139
  end
17050
18140
  end
17051
18141
 
@@ -17074,6 +18164,86 @@ module Google
17074
18164
  end
17075
18165
  end
17076
18166
 
18167
+ # The measure related to dialogflow interactions.
18168
+ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointDialogflowInteractionMeasure
18169
+ include Google::Apis::Core::Hashable
18170
+
18171
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18172
+ # 99th.
18173
+ # Corresponds to the JSON property `percentileAudioInAudioOutLatency`
18174
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult]
18175
+ attr_accessor :percentile_audio_in_audio_out_latency
18176
+
18177
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18178
+ # 99th.
18179
+ # Corresponds to the JSON property `percentileEndToEndLatency`
18180
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult]
18181
+ attr_accessor :percentile_end_to_end_latency
18182
+
18183
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18184
+ # 99th.
18185
+ # Corresponds to the JSON property `percentileLlmCallLatency`
18186
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult]
18187
+ attr_accessor :percentile_llm_call_latency
18188
+
18189
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18190
+ # 99th.
18191
+ # Corresponds to the JSON property `percentileToolUseLatency`
18192
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult]
18193
+ attr_accessor :percentile_tool_use_latency
18194
+
18195
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18196
+ # 99th.
18197
+ # Corresponds to the JSON property `percentileTtsLatency`
18198
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult]
18199
+ attr_accessor :percentile_tts_latency
18200
+
18201
+ def initialize(**args)
18202
+ update!(**args)
18203
+ end
18204
+
18205
+ # Update properties of this object
18206
+ def update!(**args)
18207
+ @percentile_audio_in_audio_out_latency = args[:percentile_audio_in_audio_out_latency] if args.key?(:percentile_audio_in_audio_out_latency)
18208
+ @percentile_end_to_end_latency = args[:percentile_end_to_end_latency] if args.key?(:percentile_end_to_end_latency)
18209
+ @percentile_llm_call_latency = args[:percentile_llm_call_latency] if args.key?(:percentile_llm_call_latency)
18210
+ @percentile_tool_use_latency = args[:percentile_tool_use_latency] if args.key?(:percentile_tool_use_latency)
18211
+ @percentile_tts_latency = args[:percentile_tts_latency] if args.key?(:percentile_tts_latency)
18212
+ end
18213
+ end
18214
+
18215
+ # The percentile result. Currently supported percentiles are 50th, 90th, and
18216
+ # 99th.
18217
+ class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointPercentileResult
18218
+ include Google::Apis::Core::Hashable
18219
+
18220
+ # The 50th percentile value.
18221
+ # Corresponds to the JSON property `p50`
18222
+ # @return [Float]
18223
+ attr_accessor :p50
18224
+
18225
+ # The 90th percentile value.
18226
+ # Corresponds to the JSON property `p90`
18227
+ # @return [Float]
18228
+ attr_accessor :p90
18229
+
18230
+ # The 99th percentile value.
18231
+ # Corresponds to the JSON property `p99`
18232
+ # @return [Float]
18233
+ attr_accessor :p99
18234
+
18235
+ def initialize(**args)
18236
+ update!(**args)
18237
+ end
18238
+
18239
+ # Update properties of this object
18240
+ def update!(**args)
18241
+ @p50 = args[:p50] if args.key?(:p50)
18242
+ @p90 = args[:p90] if args.key?(:p90)
18243
+ @p99 = args[:p99] if args.key?(:p99)
18244
+ end
18245
+ end
18246
+
17077
18247
  # A time series of metric values.
17078
18248
  class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries
17079
18249
  include Google::Apis::Core::Hashable