google-cloud-contact_center_insights-v1 1.0.0 → 1.1.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.
@@ -64,6 +64,11 @@ module Google
64
64
  # @!attribute [rw] quality_metadata
65
65
  # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::QualityMetadata]
66
66
  # Conversation metadata related to quality management.
67
+ # @!attribute [rw] metadata_json
68
+ # @return [::String]
69
+ # Input only. JSON Metadata encoded as a string.
70
+ # This field is primarily used by Insights integrations with various telphony
71
+ # systems and must be in one of Insights' supported formats.
67
72
  # @!attribute [r] transcript
68
73
  # @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript]
69
74
  # Output only. The conversation transcript.
@@ -346,6 +351,9 @@ module Google
346
351
  # @!attribute [rw] sentiments
347
352
  # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::ConversationLevelSentiment>]
348
353
  # Overall conversation-level sentiment for each channel of the call.
354
+ # @!attribute [rw] silence
355
+ # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationLevelSilence]
356
+ # Overall conversation-level silence during the call.
349
357
  # @!attribute [rw] intents
350
358
  # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::Intent}]
351
359
  # All the matched intents in the call.
@@ -413,6 +421,18 @@ module Google
413
421
  extend ::Google::Protobuf::MessageExts::ClassMethods
414
422
  end
415
423
 
424
+ # Conversation-level silence data.
425
+ # @!attribute [rw] silence_duration
426
+ # @return [::Google::Protobuf::Duration]
427
+ # Amount of time calculated to be in silence.
428
+ # @!attribute [rw] silence_percentage
429
+ # @return [::Float]
430
+ # Percentage of the total conversation spent in silence.
431
+ class ConversationLevelSilence
432
+ include ::Google::Protobuf::MessageExts
433
+ extend ::Google::Protobuf::MessageExts::ClassMethods
434
+ end
435
+
416
436
  # Information about the issue.
417
437
  # @!attribute [rw] issue
418
438
  # @return [::String]
@@ -833,6 +853,9 @@ module Google
833
853
  # @return [::Array<::String>]
834
854
  # Output only. Resource names of the sample representative utterances that
835
855
  # match to this issue.
856
+ # @!attribute [rw] display_description
857
+ # @return [::String]
858
+ # Representative description of the issue.
836
859
  class Issue
837
860
  include ::Google::Protobuf::MessageExts
838
861
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1002,7 +1025,12 @@ module Google
1002
1025
  extend ::Google::Protobuf::MessageExts::ClassMethods
1003
1026
  end
1004
1027
 
1005
- # The settings resource.
1028
+ # The CCAI Insights project wide settings.
1029
+ # Use these settings to configure the behavior of Insights.
1030
+ # View these settings with
1031
+ # [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings)
1032
+ # and change the settings with
1033
+ # [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings).
1006
1034
  # @!attribute [rw] name
1007
1035
  # @return [::String]
1008
1036
  # Immutable. The resource name of the settings resource.
@@ -1037,8 +1065,11 @@ module Google
1037
1065
  # * "create-analysis": Notify each time an analysis is created.
1038
1066
  # * "create-conversation": Notify each time a conversation is created.
1039
1067
  # * "export-insights-data": Notify each time an export is complete.
1068
+ # * "ingest-conversations": Notify each time an IngestConversations LRO is
1069
+ # complete.
1040
1070
  # * "update-conversation": Notify each time a conversation is updated via
1041
1071
  # UpdateConversation.
1072
+ # * "upload-conversation": Notify when an UploadConversation LRO is complete.
1042
1073
  #
1043
1074
  # Values are Pub/Sub topics. The format of each Pub/Sub topic is:
1044
1075
  # projects/\\{project}/topics/\\{topic}
@@ -1048,11 +1079,16 @@ module Google
1048
1079
  # @!attribute [rw] redaction_config
1049
1080
  # @return [::Google::Cloud::ContactCenterInsights::V1::RedactionConfig]
1050
1081
  # Default DLP redaction resources to be applied while ingesting
1051
- # conversations.
1082
+ # conversations. This applies to conversations ingested from the
1083
+ # `UploadConversation` and `IngestConversations` endpoints, including
1084
+ # conversations coming from CCAI Platform.
1052
1085
  # @!attribute [rw] speech_config
1053
1086
  # @return [::Google::Cloud::ContactCenterInsights::V1::SpeechConfig]
1054
- # Optional. Default Speech-to-Text resources to be used while ingesting audio
1055
- # files. Optional, CCAI Insights will create a default if not provided.
1087
+ # Optional. Default Speech-to-Text resources to use while ingesting audio
1088
+ # files. Optional, CCAI Insights will create a default if not provided. This
1089
+ # applies to conversations ingested from the `UploadConversation` and
1090
+ # `IngestConversations` endpoints, including conversations coming from CCAI
1091
+ # Platform.
1056
1092
  class Settings
1057
1093
  include ::Google::Protobuf::MessageExts
1058
1094
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1085,7 +1121,32 @@ module Google
1085
1121
  end
1086
1122
  end
1087
1123
 
1124
+ # A customer-managed encryption key specification that can be applied to all
1125
+ # created resources (e.g. Conversation).
1126
+ # @!attribute [rw] name
1127
+ # @return [::String]
1128
+ # Immutable. The resource name of the encryption key specification resource.
1129
+ # Format:
1130
+ # projects/\\{project}/locations/\\{location}/encryptionSpec
1131
+ # @!attribute [rw] kms_key
1132
+ # @return [::String]
1133
+ # Required. The name of customer-managed encryption key that is used to
1134
+ # secure a resource and its sub-resources. If empty, the resource is secured
1135
+ # by the default Google encryption key. Only the key in the same location as
1136
+ # this resource is allowed to be used for encryption. Format:
1137
+ # `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
1138
+ class EncryptionSpec
1139
+ include ::Google::Protobuf::MessageExts
1140
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1141
+ end
1142
+
1088
1143
  # DLP resources used for redaction while ingesting conversations.
1144
+ # DLP settings are applied to conversations ingested from the
1145
+ # `UploadConversation` and `IngestConversations` endpoints, including
1146
+ # conversation coming from CCAI Platform. They are not applied to conversations
1147
+ # ingested from the `CreateConversation` endpoint or the Dialogflow / Agent
1148
+ # Assist runtime integrations. When using Dialogflow / Agent Assist runtime
1149
+ # integrations, redaction should be performed in Dialogflow / Agent Assist.
1089
1150
  # @!attribute [rw] deidentify_template
1090
1151
  # @return [::String]
1091
1152
  # The fully-qualified DLP deidentify template resource name.
@@ -1102,6 +1163,10 @@ module Google
1102
1163
  end
1103
1164
 
1104
1165
  # Speech-to-Text configuration.
1166
+ # Speech-to-Text settings are applied to conversations ingested from the
1167
+ # `UploadConversation` and `IngestConversations` endpoints, including
1168
+ # conversation coming from CCAI Platform. They are not applied to conversations
1169
+ # ingested from the `CreateConversation` endpoint.
1105
1170
  # @!attribute [rw] speech_recognizer
1106
1171
  # @return [::String]
1107
1172
  # The fully-qualified Speech Recognizer resource name.
@@ -1148,9 +1213,42 @@ module Google
1148
1213
  # @!attribute [rw] answer_feedback
1149
1214
  # @return [::Google::Cloud::ContactCenterInsights::V1::AnswerFeedback]
1150
1215
  # The feedback that the customer has about the answer in `data`.
1216
+ # @!attribute [rw] user_input
1217
+ # @return [::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput]
1218
+ # Explicit input used for generating the answer
1151
1219
  class RuntimeAnnotation
1152
1220
  include ::Google::Protobuf::MessageExts
1153
1221
  extend ::Google::Protobuf::MessageExts::ClassMethods
1222
+
1223
+ # Explicit input used for generating the answer
1224
+ # @!attribute [rw] query
1225
+ # @return [::String]
1226
+ # Query text. Article Search uses this to store the input query used
1227
+ # to generate the search results.
1228
+ # @!attribute [rw] generator_name
1229
+ # @return [::String]
1230
+ # The resource name of associated generator. Format:
1231
+ # `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
1232
+ # @!attribute [rw] query_source
1233
+ # @return [::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput::QuerySource]
1234
+ # Query source for the answer.
1235
+ class UserInput
1236
+ include ::Google::Protobuf::MessageExts
1237
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1238
+
1239
+ # The source of the query.
1240
+ module QuerySource
1241
+ # Unknown query source.
1242
+ QUERY_SOURCE_UNSPECIFIED = 0
1243
+
1244
+ # The query is from agents.
1245
+ AGENT_QUERY = 1
1246
+
1247
+ # The query is a query from previous suggestions, e.g. from a preceding
1248
+ # SuggestKnowledgeAssist response.
1249
+ SUGGESTED_QUERY = 2
1250
+ end
1251
+ end
1154
1252
  end
1155
1253
 
1156
1254
  # The feedback that the customer has about a certain answer in the
@@ -1525,6 +1623,9 @@ module Google
1525
1623
 
1526
1624
  # The CCAI baseline model.
1527
1625
  BASELINE_MODEL = 1
1626
+
1627
+ # The CCAI baseline model, V2.0.
1628
+ BASELINE_MODEL_V2_0 = 2
1528
1629
  end
1529
1630
  end
1530
1631
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-contact_center_insights-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-10 00:00:00.000000000 Z
11
+ date: 2024-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.5.6
111
+ rubygems_version: 3.5.21
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: API Client library for the Contact Center AI Insights V1 API