google-apis-contactcenterinsights_v1 0.79.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.
@@ -1790,6 +1790,31 @@ module Google
1790
1790
  end
1791
1791
  end
1792
1792
 
1793
+ # A wrapper for holding the audio for any given turn.
1794
+ class GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio
1795
+ include Google::Apis::Core::Hashable
1796
+
1797
+ # The duration of the audio.
1798
+ # Corresponds to the JSON property `audioDuration`
1799
+ # @return [String]
1800
+ attr_accessor :audio_duration
1801
+
1802
+ # The Cloud Storage URI of the audio for any given turn.
1803
+ # Corresponds to the JSON property `audioGcsUri`
1804
+ # @return [String]
1805
+ attr_accessor :audio_gcs_uri
1806
+
1807
+ def initialize(**args)
1808
+ update!(**args)
1809
+ end
1810
+
1811
+ # Update properties of this object
1812
+ def update!(**args)
1813
+ @audio_duration = args[:audio_duration] if args.key?(:audio_duration)
1814
+ @audio_gcs_uri = args[:audio_gcs_uri] if args.key?(:audio_gcs_uri)
1815
+ end
1816
+ end
1817
+
1793
1818
  # One channel of conversation-level sentiment data.
1794
1819
  class GoogleCloudContactcenterinsightsV1ConversationLevelSentiment
1795
1820
  include Google::Apis::Core::Hashable
@@ -3606,6 +3631,25 @@ module Google
3606
3631
  end
3607
3632
  end
3608
3633
 
3634
+ # The response from a GenerateConversationSignedAudio request.
3635
+ class GoogleCloudContactcenterinsightsV1GenerateConversationSignedAudioResponse
3636
+ include Google::Apis::Core::Hashable
3637
+
3638
+ # Signed audio URIs for a conversation.
3639
+ # Corresponds to the JSON property `signedAudioUris`
3640
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SignedAudioUris]
3641
+ attr_accessor :signed_audio_uris
3642
+
3643
+ def initialize(**args)
3644
+ update!(**args)
3645
+ end
3646
+
3647
+ # Update properties of this object
3648
+ def update!(**args)
3649
+ @signed_audio_uris = args[:signed_audio_uris] if args.key?(:signed_audio_uris)
3650
+ end
3651
+ end
3652
+
3609
3653
  # The data for a hold annotation.
3610
3654
  class GoogleCloudContactcenterinsightsV1HoldData
3611
3655
  include Google::Apis::Core::Hashable
@@ -5259,7 +5303,9 @@ module Google
5259
5303
  class GoogleCloudContactcenterinsightsV1QaAnswer
5260
5304
  include Google::Apis::Core::Hashable
5261
5305
 
5262
- # List of all individual answers given to the question.
5306
+ # Lists all answer sources containing one or more answer values of a specific
5307
+ # source type, e.g., all system-generated answer sources, or all manual edit
5308
+ # answer sources.
5263
5309
  # Corresponds to the JSON property `answerSources`
5264
5310
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaAnswerAnswerSource>]
5265
5311
  attr_accessor :answer_sources
@@ -6153,6 +6199,11 @@ module Google
6153
6199
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure]
6154
6200
  attr_accessor :conversation_measure
6155
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
+
6156
6207
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
6157
6208
  # Timestamp end (exclusive). The start must be less than or equal to the end.
6158
6209
  # When the start equals the end, the interval is empty (matches no time). When
@@ -6168,6 +6219,7 @@ module Google
6168
6219
  # Update properties of this object
6169
6220
  def update!(**args)
6170
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)
6171
6223
  @interval = args[:interval] if args.key?(:interval)
6172
6224
  end
6173
6225
  end
@@ -6176,6 +6228,70 @@ module Google
6176
6228
  class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasure
6177
6229
  include Google::Apis::Core::Hashable
6178
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
+
6179
6295
  # The average agent's sentiment score.
6180
6296
  # Corresponds to the JSON property `averageAgentSentimentScore`
6181
6297
  # @return [Float]
@@ -6217,27 +6333,234 @@ module Google
6217
6333
  # @return [Float]
6218
6334
  attr_accessor :average_silence_percentage
6219
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
+
6220
6353
  # The average turn count.
6221
6354
  # Corresponds to the JSON property `averageTurnCount`
6222
6355
  # @return [Float]
6223
6356
  attr_accessor :average_turn_count
6224
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
+
6225
6384
  # The conversation count.
6226
6385
  # Corresponds to the JSON property `conversationCount`
6227
6386
  # @return [Fixnum]
6228
6387
  attr_accessor :conversation_count
6229
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
+
6230
6531
  # Average QA normalized score for all the tags.
6231
6532
  # Corresponds to the JSON property `qaTagScores`
6232
6533
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
6233
6534
  attr_accessor :qa_tag_scores
6234
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
+
6235
6546
  def initialize(**args)
6236
6547
  update!(**args)
6237
6548
  end
6238
6549
 
6239
6550
  # Update properties of this object
6240
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)
6241
6564
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
6242
6565
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
6243
6566
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -6245,9 +6568,42 @@ module Google
6245
6568
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
6246
6569
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
6247
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)
6248
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)
6249
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)
6250
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)
6251
6607
  end
6252
6608
  end
6253
6609
 
@@ -6276,6 +6632,86 @@ module Google
6276
6632
  end
6277
6633
  end
6278
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
+
6279
6715
  # A time series of metric values.
6280
6716
  class GoogleCloudContactcenterinsightsV1QueryMetricsResponseSliceTimeSeries
6281
6717
  include Google::Apis::Core::Hashable
@@ -6949,6 +7385,37 @@ module Google
6949
7385
  end
6950
7386
  end
6951
7387
 
7388
+ # Signed audio URIs for a conversation.
7389
+ class GoogleCloudContactcenterinsightsV1SignedAudioUris
7390
+ include Google::Apis::Core::Hashable
7391
+
7392
+ # The signed URI for the audio from the Dialogflow conversation source.
7393
+ # Corresponds to the JSON property `signedDialogflowAudioUri`
7394
+ # @return [String]
7395
+ attr_accessor :signed_dialogflow_audio_uri
7396
+
7397
+ # The signed URI for the audio from the Cloud Storage conversation source.
7398
+ # Corresponds to the JSON property `signedGcsAudioUri`
7399
+ # @return [String]
7400
+ attr_accessor :signed_gcs_audio_uri
7401
+
7402
+ # The signed URI for the audio corresponding to each turn in the conversation.
7403
+ # Corresponds to the JSON property `signedTurnLevelAudios`
7404
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationDataSourceTurnLevelAudio>]
7405
+ attr_accessor :signed_turn_level_audios
7406
+
7407
+ def initialize(**args)
7408
+ update!(**args)
7409
+ end
7410
+
7411
+ # Update properties of this object
7412
+ def update!(**args)
7413
+ @signed_dialogflow_audio_uri = args[:signed_dialogflow_audio_uri] if args.key?(:signed_dialogflow_audio_uri)
7414
+ @signed_gcs_audio_uri = args[:signed_gcs_audio_uri] if args.key?(:signed_gcs_audio_uri)
7415
+ @signed_turn_level_audios = args[:signed_turn_level_audios] if args.key?(:signed_turn_level_audios)
7416
+ end
7417
+ end
7418
+
6952
7419
  # The data for a silence annotation.
6953
7420
  class GoogleCloudContactcenterinsightsV1SilenceData
6954
7421
  include Google::Apis::Core::Hashable
@@ -7051,6 +7518,13 @@ module Google
7051
7518
  class GoogleCloudContactcenterinsightsV1SpeechConfig
7052
7519
  include Google::Apis::Core::Hashable
7053
7520
 
7521
+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
7522
+ # field in the recognition config will be set to false.
7523
+ # Corresponds to the JSON property `disableWordTimeOffsets`
7524
+ # @return [Boolean]
7525
+ attr_accessor :disable_word_time_offsets
7526
+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
7527
+
7054
7528
  # The fully-qualified Speech Recognizer resource name. Format: `projects/`
7055
7529
  # project_id`/locations/`location`/recognizer/`recognizer``
7056
7530
  # Corresponds to the JSON property `speechRecognizer`
@@ -7063,6 +7537,7 @@ module Google
7063
7537
 
7064
7538
  # Update properties of this object
7065
7539
  def update!(**args)
7540
+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
7066
7541
  @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
7067
7542
  end
7068
7543
  end
@@ -11096,7 +11571,9 @@ module Google
11096
11571
  class GoogleCloudContactcenterinsightsV1alpha1QaAnswer
11097
11572
  include Google::Apis::Core::Hashable
11098
11573
 
11099
- # List of all individual answers given to the question.
11574
+ # Lists all answer sources containing one or more answer values of a specific
11575
+ # source type, e.g., all system-generated answer sources, or all manual edit
11576
+ # answer sources.
11100
11577
  # Corresponds to the JSON property `answerSources`
11101
11578
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QaAnswerAnswerSource>]
11102
11579
  attr_accessor :answer_sources
@@ -11576,6 +12053,11 @@ module Google
11576
12053
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure]
11577
12054
  attr_accessor :conversation_measure
11578
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
+
11579
12061
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
11580
12062
  # Timestamp end (exclusive). The start must be less than or equal to the end.
11581
12063
  # When the start equals the end, the interval is empty (matches no time). When
@@ -11591,6 +12073,7 @@ module Google
11591
12073
  # Update properties of this object
11592
12074
  def update!(**args)
11593
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)
11594
12077
  @interval = args[:interval] if args.key?(:interval)
11595
12078
  end
11596
12079
  end
@@ -11599,6 +12082,70 @@ module Google
11599
12082
  class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasure
11600
12083
  include Google::Apis::Core::Hashable
11601
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
+
11602
12149
  # The average agent's sentiment score.
11603
12150
  # Corresponds to the JSON property `averageAgentSentimentScore`
11604
12151
  # @return [Float]
@@ -11640,27 +12187,234 @@ module Google
11640
12187
  # @return [Float]
11641
12188
  attr_accessor :average_silence_percentage
11642
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
+
11643
12207
  # The average turn count.
11644
12208
  # Corresponds to the JSON property `averageTurnCount`
11645
12209
  # @return [Float]
11646
12210
  attr_accessor :average_turn_count
11647
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
+
11648
12238
  # The conversation count.
11649
12239
  # Corresponds to the JSON property `conversationCount`
11650
12240
  # @return [Fixnum]
11651
12241
  attr_accessor :conversation_count
11652
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
+
11653
12385
  # Average QA normalized score for all the tags.
11654
12386
  # Corresponds to the JSON property `qaTagScores`
11655
12387
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
11656
12388
  attr_accessor :qa_tag_scores
11657
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
+
11658
12400
  def initialize(**args)
11659
12401
  update!(**args)
11660
12402
  end
11661
12403
 
11662
12404
  # Update properties of this object
11663
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)
11664
12418
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
11665
12419
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
11666
12420
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -11668,9 +12422,42 @@ module Google
11668
12422
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
11669
12423
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
11670
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)
11671
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)
11672
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)
11673
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)
11674
12461
  end
11675
12462
  end
11676
12463
 
@@ -11699,6 +12486,86 @@ module Google
11699
12486
  end
11700
12487
  end
11701
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
+
11702
12569
  # A time series of metric values.
11703
12570
  class GoogleCloudContactcenterinsightsV1alpha1QueryMetricsResponseSliceTimeSeries
11704
12571
  include Google::Apis::Core::Hashable
@@ -12189,6 +13056,13 @@ module Google
12189
13056
  class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
12190
13057
  include Google::Apis::Core::Hashable
12191
13058
 
13059
+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
13060
+ # field in the recognition config will be set to false.
13061
+ # Corresponds to the JSON property `disableWordTimeOffsets`
13062
+ # @return [Boolean]
13063
+ attr_accessor :disable_word_time_offsets
13064
+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
13065
+
12192
13066
  # The fully-qualified Speech Recognizer resource name. Format: `projects/`
12193
13067
  # project_id`/locations/`location`/recognizer/`recognizer``
12194
13068
  # Corresponds to the JSON property `speechRecognizer`
@@ -12201,6 +13075,7 @@ module Google
12201
13075
 
12202
13076
  # Update properties of this object
12203
13077
  def update!(**args)
13078
+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
12204
13079
  @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
12205
13080
  end
12206
13081
  end
@@ -16374,7 +17249,9 @@ module Google
16374
17249
  class GoogleCloudContactcenterinsightsV1mainQaAnswer
16375
17250
  include Google::Apis::Core::Hashable
16376
17251
 
16377
- # List of all individual answers given to the question.
17252
+ # Lists all answer sources containing one or more answer values of a specific
17253
+ # source type, e.g., all system-generated answer sources, or all manual edit
17254
+ # answer sources.
16378
17255
  # Corresponds to the JSON property `answerSources`
16379
17256
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQaAnswerAnswerSource>]
16380
17257
  attr_accessor :answer_sources
@@ -16854,6 +17731,11 @@ module Google
16854
17731
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure]
16855
17732
  attr_accessor :conversation_measure
16856
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
+
16857
17739
  # Represents a time interval, encoded as a Timestamp start (inclusive) and a
16858
17740
  # Timestamp end (exclusive). The start must be less than or equal to the end.
16859
17741
  # When the start equals the end, the interval is empty (matches no time). When
@@ -16869,6 +17751,7 @@ module Google
16869
17751
  # Update properties of this object
16870
17752
  def update!(**args)
16871
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)
16872
17755
  @interval = args[:interval] if args.key?(:interval)
16873
17756
  end
16874
17757
  end
@@ -16877,6 +17760,70 @@ module Google
16877
17760
  class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasure
16878
17761
  include Google::Apis::Core::Hashable
16879
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
+
16880
17827
  # The average agent's sentiment score.
16881
17828
  # Corresponds to the JSON property `averageAgentSentimentScore`
16882
17829
  # @return [Float]
@@ -16918,27 +17865,234 @@ module Google
16918
17865
  # @return [Float]
16919
17866
  attr_accessor :average_silence_percentage
16920
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
+
16921
17885
  # The average turn count.
16922
17886
  # Corresponds to the JSON property `averageTurnCount`
16923
17887
  # @return [Float]
16924
17888
  attr_accessor :average_turn_count
16925
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
+
16926
17916
  # The conversation count.
16927
17917
  # Corresponds to the JSON property `conversationCount`
16928
17918
  # @return [Fixnum]
16929
17919
  attr_accessor :conversation_count
16930
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
+
16931
18063
  # Average QA normalized score for all the tags.
16932
18064
  # Corresponds to the JSON property `qaTagScores`
16933
18065
  # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceDataPointConversationMeasureQaTagScore>]
16934
18066
  attr_accessor :qa_tag_scores
16935
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
+
16936
18078
  def initialize(**args)
16937
18079
  update!(**args)
16938
18080
  end
16939
18081
 
16940
18082
  # Update properties of this object
16941
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)
16942
18096
  @average_agent_sentiment_score = args[:average_agent_sentiment_score] if args.key?(:average_agent_sentiment_score)
16943
18097
  @average_client_sentiment_score = args[:average_client_sentiment_score] if args.key?(:average_client_sentiment_score)
16944
18098
  @average_customer_satisfaction_rating = args[:average_customer_satisfaction_rating] if args.key?(:average_customer_satisfaction_rating)
@@ -16946,9 +18100,42 @@ module Google
16946
18100
  @average_qa_normalized_score = args[:average_qa_normalized_score] if args.key?(:average_qa_normalized_score)
16947
18101
  @average_qa_question_normalized_score = args[:average_qa_question_normalized_score] if args.key?(:average_qa_question_normalized_score)
16948
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)
16949
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)
16950
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)
16951
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)
16952
18139
  end
16953
18140
  end
16954
18141
 
@@ -16977,6 +18164,86 @@ module Google
16977
18164
  end
16978
18165
  end
16979
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
+
16980
18247
  # A time series of metric values.
16981
18248
  class GoogleCloudContactcenterinsightsV1mainQueryMetricsResponseSliceTimeSeries
16982
18249
  include Google::Apis::Core::Hashable
@@ -17467,6 +18734,13 @@ module Google
17467
18734
  class GoogleCloudContactcenterinsightsV1mainSpeechConfig
17468
18735
  include Google::Apis::Core::Hashable
17469
18736
 
18737
+ # Whether to disable word time offsets. If true, the `enable_word_time_offsets`
18738
+ # field in the recognition config will be set to false.
18739
+ # Corresponds to the JSON property `disableWordTimeOffsets`
18740
+ # @return [Boolean]
18741
+ attr_accessor :disable_word_time_offsets
18742
+ alias_method :disable_word_time_offsets?, :disable_word_time_offsets
18743
+
17470
18744
  # The fully-qualified Speech Recognizer resource name. Format: `projects/`
17471
18745
  # project_id`/locations/`location`/recognizer/`recognizer``
17472
18746
  # Corresponds to the JSON property `speechRecognizer`
@@ -17479,6 +18753,7 @@ module Google
17479
18753
 
17480
18754
  # Update properties of this object
17481
18755
  def update!(**args)
18756
+ @disable_word_time_offsets = args[:disable_word_time_offsets] if args.key?(:disable_word_time_offsets)
17482
18757
  @speech_recognizer = args[:speech_recognizer] if args.key?(:speech_recognizer)
17483
18758
  end
17484
18759
  end