google-cloud-contact_center_insights-v1 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/contactcenterinsights/v1/resources.proto
3
4
 
@@ -8,384 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/protobuf/duration_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/contactcenterinsights/v1/resources.proto", :syntax => :proto3) do
13
- add_message "google.cloud.contactcenterinsights.v1.Conversation" do
14
- optional :name, :string, 1
15
- optional :data_source, :message, 2, "google.cloud.contactcenterinsights.v1.ConversationDataSource"
16
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
17
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
18
- optional :start_time, :message, 17, "google.protobuf.Timestamp"
19
- optional :language_code, :string, 14
20
- optional :agent_id, :string, 5
21
- map :labels, :string, :string, 6
22
- optional :transcript, :message, 8, "google.cloud.contactcenterinsights.v1.Conversation.Transcript"
23
- optional :medium, :enum, 9, "google.cloud.contactcenterinsights.v1.Conversation.Medium"
24
- optional :duration, :message, 10, "google.protobuf.Duration"
25
- optional :turn_count, :int32, 11
26
- optional :latest_analysis, :message, 12, "google.cloud.contactcenterinsights.v1.Analysis"
27
- repeated :runtime_annotations, :message, 13, "google.cloud.contactcenterinsights.v1.RuntimeAnnotation"
28
- map :dialogflow_intents, :string, :message, 18, "google.cloud.contactcenterinsights.v1.DialogflowIntent"
29
- optional :obfuscated_user_id, :string, 21
30
- oneof :metadata do
31
- optional :call_metadata, :message, 7, "google.cloud.contactcenterinsights.v1.Conversation.CallMetadata"
32
- end
33
- oneof :expiration do
34
- optional :expire_time, :message, 15, "google.protobuf.Timestamp"
35
- optional :ttl, :message, 16, "google.protobuf.Duration"
36
- end
37
- end
38
- add_message "google.cloud.contactcenterinsights.v1.Conversation.CallMetadata" do
39
- optional :customer_channel, :int32, 1
40
- optional :agent_channel, :int32, 2
41
- end
42
- add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript" do
43
- repeated :transcript_segments, :message, 1, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment"
44
- end
45
- add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment" do
46
- optional :message_time, :message, 6, "google.protobuf.Timestamp"
47
- optional :text, :string, 1
48
- optional :confidence, :float, 2
49
- repeated :words, :message, 3, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo"
50
- optional :language_code, :string, 4
51
- optional :channel_tag, :int32, 5
52
- optional :segment_participant, :message, 9, "google.cloud.contactcenterinsights.v1.ConversationParticipant"
53
- optional :dialogflow_segment_metadata, :message, 10, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata"
54
- optional :sentiment, :message, 11, "google.cloud.contactcenterinsights.v1.SentimentData"
55
- end
56
- add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo" do
57
- optional :start_offset, :message, 1, "google.protobuf.Duration"
58
- optional :end_offset, :message, 2, "google.protobuf.Duration"
59
- optional :word, :string, 3
60
- optional :confidence, :float, 4
61
- end
62
- add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata" do
63
- optional :smart_reply_allowlist_covered, :bool, 1
64
- end
65
- add_enum "google.cloud.contactcenterinsights.v1.Conversation.Medium" do
66
- value :MEDIUM_UNSPECIFIED, 0
67
- value :PHONE_CALL, 1
68
- value :CHAT, 2
69
- end
70
- add_message "google.cloud.contactcenterinsights.v1.Analysis" do
71
- optional :name, :string, 1
72
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
73
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
74
- optional :analysis_result, :message, 7, "google.cloud.contactcenterinsights.v1.AnalysisResult"
75
- optional :annotator_selector, :message, 8, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
76
- end
77
- add_message "google.cloud.contactcenterinsights.v1.ConversationDataSource" do
78
- oneof :source do
79
- optional :gcs_source, :message, 1, "google.cloud.contactcenterinsights.v1.GcsSource"
80
- optional :dialogflow_source, :message, 3, "google.cloud.contactcenterinsights.v1.DialogflowSource"
81
- end
82
- end
83
- add_message "google.cloud.contactcenterinsights.v1.GcsSource" do
84
- optional :audio_uri, :string, 1
85
- optional :transcript_uri, :string, 2
86
- end
87
- add_message "google.cloud.contactcenterinsights.v1.DialogflowSource" do
88
- optional :dialogflow_conversation, :string, 1
89
- optional :audio_uri, :string, 3
90
- end
91
- add_message "google.cloud.contactcenterinsights.v1.AnalysisResult" do
92
- optional :end_time, :message, 1, "google.protobuf.Timestamp"
93
- oneof :metadata do
94
- optional :call_analysis_metadata, :message, 2, "google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata"
95
- end
96
- end
97
- add_message "google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata" do
98
- repeated :annotations, :message, 2, "google.cloud.contactcenterinsights.v1.CallAnnotation"
99
- map :entities, :string, :message, 3, "google.cloud.contactcenterinsights.v1.Entity"
100
- repeated :sentiments, :message, 4, "google.cloud.contactcenterinsights.v1.ConversationLevelSentiment"
101
- map :intents, :string, :message, 6, "google.cloud.contactcenterinsights.v1.Intent"
102
- map :phrase_matchers, :string, :message, 7, "google.cloud.contactcenterinsights.v1.PhraseMatchData"
103
- optional :issue_model_result, :message, 8, "google.cloud.contactcenterinsights.v1.IssueModelResult"
104
- end
105
- add_message "google.cloud.contactcenterinsights.v1.IssueModelResult" do
106
- optional :issue_model, :string, 1
107
- repeated :issues, :message, 2, "google.cloud.contactcenterinsights.v1.IssueAssignment"
108
- end
109
- add_message "google.cloud.contactcenterinsights.v1.ConversationLevelSentiment" do
110
- optional :channel_tag, :int32, 1
111
- optional :sentiment_data, :message, 2, "google.cloud.contactcenterinsights.v1.SentimentData"
112
- end
113
- add_message "google.cloud.contactcenterinsights.v1.IssueAssignment" do
114
- optional :issue, :string, 1
115
- optional :score, :double, 2
116
- optional :display_name, :string, 3
117
- end
118
- add_message "google.cloud.contactcenterinsights.v1.CallAnnotation" do
119
- optional :channel_tag, :int32, 1
120
- optional :annotation_start_boundary, :message, 4, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
121
- optional :annotation_end_boundary, :message, 5, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
122
- oneof :data do
123
- optional :interruption_data, :message, 10, "google.cloud.contactcenterinsights.v1.InterruptionData"
124
- optional :sentiment_data, :message, 11, "google.cloud.contactcenterinsights.v1.SentimentData"
125
- optional :silence_data, :message, 12, "google.cloud.contactcenterinsights.v1.SilenceData"
126
- optional :hold_data, :message, 13, "google.cloud.contactcenterinsights.v1.HoldData"
127
- optional :entity_mention_data, :message, 15, "google.cloud.contactcenterinsights.v1.EntityMentionData"
128
- optional :intent_match_data, :message, 16, "google.cloud.contactcenterinsights.v1.IntentMatchData"
129
- optional :phrase_match_data, :message, 17, "google.cloud.contactcenterinsights.v1.PhraseMatchData"
130
- optional :issue_match_data, :message, 18, "google.cloud.contactcenterinsights.v1.IssueMatchData"
131
- end
132
- end
133
- add_message "google.cloud.contactcenterinsights.v1.AnnotationBoundary" do
134
- optional :transcript_index, :int32, 1
135
- oneof :detailed_boundary do
136
- optional :word_index, :int32, 3
137
- end
138
- end
139
- add_message "google.cloud.contactcenterinsights.v1.Entity" do
140
- optional :display_name, :string, 1
141
- optional :type, :enum, 2, "google.cloud.contactcenterinsights.v1.Entity.Type"
142
- map :metadata, :string, :string, 3
143
- optional :salience, :float, 4
144
- optional :sentiment, :message, 5, "google.cloud.contactcenterinsights.v1.SentimentData"
145
- end
146
- add_enum "google.cloud.contactcenterinsights.v1.Entity.Type" do
147
- value :TYPE_UNSPECIFIED, 0
148
- value :PERSON, 1
149
- value :LOCATION, 2
150
- value :ORGANIZATION, 3
151
- value :EVENT, 4
152
- value :WORK_OF_ART, 5
153
- value :CONSUMER_GOOD, 6
154
- value :OTHER, 7
155
- value :PHONE_NUMBER, 9
156
- value :ADDRESS, 10
157
- value :DATE, 11
158
- value :NUMBER, 12
159
- value :PRICE, 13
160
- end
161
- add_message "google.cloud.contactcenterinsights.v1.Intent" do
162
- optional :id, :string, 1
163
- optional :display_name, :string, 2
164
- end
165
- add_message "google.cloud.contactcenterinsights.v1.PhraseMatchData" do
166
- optional :phrase_matcher, :string, 1
167
- optional :display_name, :string, 2
168
- end
169
- add_message "google.cloud.contactcenterinsights.v1.DialogflowIntent" do
170
- optional :display_name, :string, 1
171
- end
172
- add_message "google.cloud.contactcenterinsights.v1.InterruptionData" do
173
- end
174
- add_message "google.cloud.contactcenterinsights.v1.SilenceData" do
175
- end
176
- add_message "google.cloud.contactcenterinsights.v1.HoldData" do
177
- end
178
- add_message "google.cloud.contactcenterinsights.v1.EntityMentionData" do
179
- optional :entity_unique_id, :string, 1
180
- optional :type, :enum, 2, "google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType"
181
- optional :sentiment, :message, 3, "google.cloud.contactcenterinsights.v1.SentimentData"
182
- end
183
- add_enum "google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType" do
184
- value :MENTION_TYPE_UNSPECIFIED, 0
185
- value :PROPER, 1
186
- value :COMMON, 2
187
- end
188
- add_message "google.cloud.contactcenterinsights.v1.IntentMatchData" do
189
- optional :intent_unique_id, :string, 1
190
- end
191
- add_message "google.cloud.contactcenterinsights.v1.SentimentData" do
192
- optional :magnitude, :float, 1
193
- optional :score, :float, 2
194
- end
195
- add_message "google.cloud.contactcenterinsights.v1.IssueMatchData" do
196
- optional :issue_assignment, :message, 1, "google.cloud.contactcenterinsights.v1.IssueAssignment"
197
- end
198
- add_message "google.cloud.contactcenterinsights.v1.IssueModel" do
199
- optional :name, :string, 1
200
- optional :display_name, :string, 2
201
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
202
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
203
- optional :issue_count, :int64, 8
204
- optional :state, :enum, 5, "google.cloud.contactcenterinsights.v1.IssueModel.State"
205
- optional :input_data_config, :message, 6, "google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig"
206
- optional :training_stats, :message, 7, "google.cloud.contactcenterinsights.v1.IssueModelLabelStats"
207
- end
208
- add_message "google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig" do
209
- optional :medium, :enum, 1, "google.cloud.contactcenterinsights.v1.Conversation.Medium"
210
- optional :training_conversations_count, :int64, 2
211
- optional :filter, :string, 3
212
- end
213
- add_enum "google.cloud.contactcenterinsights.v1.IssueModel.State" do
214
- value :STATE_UNSPECIFIED, 0
215
- value :UNDEPLOYED, 1
216
- value :DEPLOYING, 2
217
- value :DEPLOYED, 3
218
- value :UNDEPLOYING, 4
219
- value :DELETING, 5
220
- end
221
- add_message "google.cloud.contactcenterinsights.v1.Issue" do
222
- optional :name, :string, 1
223
- optional :display_name, :string, 2
224
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
225
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
226
- repeated :sample_utterances, :string, 6
227
- end
228
- add_message "google.cloud.contactcenterinsights.v1.IssueModelLabelStats" do
229
- optional :analyzed_conversations_count, :int64, 1
230
- optional :unclassified_conversations_count, :int64, 2
231
- map :issue_stats, :string, :message, 3, "google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats"
232
- end
233
- add_message "google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats" do
234
- optional :issue, :string, 1
235
- optional :labeled_conversations_count, :int64, 2
236
- optional :display_name, :string, 3
237
- end
238
- add_message "google.cloud.contactcenterinsights.v1.PhraseMatcher" do
239
- optional :name, :string, 1
240
- optional :revision_id, :string, 2
241
- optional :version_tag, :string, 3
242
- optional :revision_create_time, :message, 4, "google.protobuf.Timestamp"
243
- optional :display_name, :string, 5
244
- optional :type, :enum, 6, "google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType"
245
- optional :active, :bool, 7
246
- repeated :phrase_match_rule_groups, :message, 8, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup"
247
- optional :activation_update_time, :message, 9, "google.protobuf.Timestamp"
248
- optional :role_match, :enum, 10, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
249
- optional :update_time, :message, 11, "google.protobuf.Timestamp"
250
- end
251
- add_enum "google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType" do
252
- value :PHRASE_MATCHER_TYPE_UNSPECIFIED, 0
253
- value :ALL_OF, 1
254
- value :ANY_OF, 2
255
- end
256
- add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup" do
257
- optional :type, :enum, 1, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType"
258
- repeated :phrase_match_rules, :message, 2, "google.cloud.contactcenterinsights.v1.PhraseMatchRule"
259
- end
260
- add_enum "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType" do
261
- value :PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED, 0
262
- value :ALL_OF, 1
263
- value :ANY_OF, 2
264
- end
265
- add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRule" do
266
- optional :query, :string, 1
267
- optional :negated, :bool, 2
268
- optional :config, :message, 3, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig"
269
- end
270
- add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig" do
271
- oneof :config do
272
- optional :exact_match_config, :message, 1, "google.cloud.contactcenterinsights.v1.ExactMatchConfig"
273
- end
274
- end
275
- add_message "google.cloud.contactcenterinsights.v1.ExactMatchConfig" do
276
- optional :case_sensitive, :bool, 1
277
- end
278
- add_message "google.cloud.contactcenterinsights.v1.Settings" do
279
- optional :name, :string, 1
280
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
281
- optional :update_time, :message, 3, "google.protobuf.Timestamp"
282
- optional :language_code, :string, 4
283
- optional :conversation_ttl, :message, 5, "google.protobuf.Duration"
284
- map :pubsub_notification_settings, :string, :string, 6
285
- optional :analysis_config, :message, 7, "google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig"
286
- optional :redaction_config, :message, 10, "google.cloud.contactcenterinsights.v1.RedactionConfig"
287
- end
288
- add_message "google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig" do
289
- optional :runtime_integration_analysis_percentage, :double, 1
290
- optional :upload_conversation_analysis_percentage, :double, 6
291
- optional :annotator_selector, :message, 5, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
292
- end
293
- add_message "google.cloud.contactcenterinsights.v1.RedactionConfig" do
294
- optional :deidentify_template, :string, 1
295
- optional :inspect_template, :string, 2
296
- end
297
- add_message "google.cloud.contactcenterinsights.v1.RuntimeAnnotation" do
298
- optional :annotation_id, :string, 1
299
- optional :create_time, :message, 2, "google.protobuf.Timestamp"
300
- optional :start_boundary, :message, 3, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
301
- optional :end_boundary, :message, 4, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
302
- optional :answer_feedback, :message, 5, "google.cloud.contactcenterinsights.v1.AnswerFeedback"
303
- oneof :data do
304
- optional :article_suggestion, :message, 6, "google.cloud.contactcenterinsights.v1.ArticleSuggestionData"
305
- optional :faq_answer, :message, 7, "google.cloud.contactcenterinsights.v1.FaqAnswerData"
306
- optional :smart_reply, :message, 8, "google.cloud.contactcenterinsights.v1.SmartReplyData"
307
- optional :smart_compose_suggestion, :message, 9, "google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData"
308
- optional :dialogflow_interaction, :message, 10, "google.cloud.contactcenterinsights.v1.DialogflowInteractionData"
309
- end
310
- end
311
- add_message "google.cloud.contactcenterinsights.v1.AnswerFeedback" do
312
- optional :correctness_level, :enum, 1, "google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel"
313
- optional :clicked, :bool, 2
314
- optional :displayed, :bool, 3
315
- end
316
- add_enum "google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel" do
317
- value :CORRECTNESS_LEVEL_UNSPECIFIED, 0
318
- value :NOT_CORRECT, 1
319
- value :PARTIALLY_CORRECT, 2
320
- value :FULLY_CORRECT, 3
321
- end
322
- add_message "google.cloud.contactcenterinsights.v1.ArticleSuggestionData" do
323
- optional :title, :string, 1
324
- optional :uri, :string, 2
325
- optional :confidence_score, :float, 3
326
- map :metadata, :string, :string, 4
327
- optional :query_record, :string, 5
328
- optional :source, :string, 6
329
- end
330
- add_message "google.cloud.contactcenterinsights.v1.FaqAnswerData" do
331
- optional :answer, :string, 1
332
- optional :confidence_score, :float, 2
333
- optional :question, :string, 3
334
- map :metadata, :string, :string, 4
335
- optional :query_record, :string, 5
336
- optional :source, :string, 6
337
- end
338
- add_message "google.cloud.contactcenterinsights.v1.SmartReplyData" do
339
- optional :reply, :string, 1
340
- optional :confidence_score, :double, 2
341
- map :metadata, :string, :string, 3
342
- optional :query_record, :string, 4
343
- end
344
- add_message "google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData" do
345
- optional :suggestion, :string, 1
346
- optional :confidence_score, :double, 2
347
- map :metadata, :string, :string, 3
348
- optional :query_record, :string, 4
349
- end
350
- add_message "google.cloud.contactcenterinsights.v1.DialogflowInteractionData" do
351
- optional :dialogflow_intent_id, :string, 1
352
- optional :confidence, :float, 2
353
- end
354
- add_message "google.cloud.contactcenterinsights.v1.ConversationParticipant" do
355
- optional :dialogflow_participant, :string, 1
356
- optional :obfuscated_external_user_id, :string, 3
357
- optional :role, :enum, 2, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
358
- oneof :participant do
359
- optional :dialogflow_participant_name, :string, 5
360
- optional :user_id, :string, 6
361
- end
362
- end
363
- add_enum "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role" do
364
- value :ROLE_UNSPECIFIED, 0
365
- value :HUMAN_AGENT, 1
366
- value :AUTOMATED_AGENT, 2
367
- value :END_USER, 3
368
- value :ANY_AGENT, 4
369
- end
370
- add_message "google.cloud.contactcenterinsights.v1.View" do
371
- optional :name, :string, 1
372
- optional :display_name, :string, 2
373
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
374
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
375
- optional :value, :string, 5
376
- end
377
- add_message "google.cloud.contactcenterinsights.v1.AnnotatorSelector" do
378
- optional :run_interruption_annotator, :bool, 1
379
- optional :run_silence_annotator, :bool, 2
380
- optional :run_phrase_matcher_annotator, :bool, 3
381
- repeated :phrase_matchers, :string, 4
382
- optional :run_sentiment_annotator, :bool, 5
383
- optional :run_entity_annotator, :bool, 6
384
- optional :run_intent_annotator, :bool, 7
385
- optional :run_issue_model_annotator, :bool, 8
386
- repeated :issue_models, :string, 10
12
+
13
+ descriptor_data = "\n5google/cloud/contactcenterinsights/v1/resources.proto\x12%google.cloud.contactcenterinsights.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x9e\x14\n\x0c\x43onversation\x12Y\n\rcall_metadata\x18\x07 \x01(\x0b\x32@.google.cloud.contactcenterinsights.v1.Conversation.CallMetadataH\x00\x12\x31\n\x0b\x65xpire_time\x18\x0f \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12-\n\x03ttl\x18\x10 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x04H\x01\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12R\n\x0b\x64\x61ta_source\x18\x02 \x01(\x0b\x32=.google.cloud.contactcenterinsights.v1.ConversationDataSource\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12.\n\nstart_time\x18\x11 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x15\n\rlanguage_code\x18\x0e \x01(\t\x12\x10\n\x08\x61gent_id\x18\x05 \x01(\t\x12O\n\x06labels\x18\x06 \x03(\x0b\x32?.google.cloud.contactcenterinsights.v1.Conversation.LabelsEntry\x12W\n\ntranscript\x18\x08 \x01(\x0b\x32>.google.cloud.contactcenterinsights.v1.Conversation.TranscriptB\x03\xe0\x41\x03\x12O\n\x06medium\x18\t \x01(\x0e\x32:.google.cloud.contactcenterinsights.v1.Conversation.MediumB\x03\xe0\x41\x05\x12\x30\n\x08\x64uration\x18\n \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x03\x12\x17\n\nturn_count\x18\x0b \x01(\x05\x42\x03\xe0\x41\x03\x12M\n\x0flatest_analysis\x18\x0c \x01(\x0b\x32/.google.cloud.contactcenterinsights.v1.AnalysisB\x03\xe0\x41\x03\x12k\n\x0elatest_summary\x18\x14 \x01(\x0b\x32N.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionDataB\x03\xe0\x41\x03\x12Z\n\x13runtime_annotations\x18\r \x03(\x0b\x32\x38.google.cloud.contactcenterinsights.v1.RuntimeAnnotationB\x03\xe0\x41\x03\x12k\n\x12\x64ialogflow_intents\x18\x12 \x03(\x0b\x32J.google.cloud.contactcenterinsights.v1.Conversation.DialogflowIntentsEntryB\x03\xe0\x41\x03\x12\x1a\n\x12obfuscated_user_id\x18\x15 \x01(\t\x1a?\n\x0c\x43\x61llMetadata\x12\x18\n\x10\x63ustomer_channel\x18\x01 \x01(\x05\x12\x15\n\ragent_channel\x18\x02 \x01(\x05\x1a\x86\x07\n\nTranscript\x12m\n\x13transcript_segments\x18\x01 \x03(\x0b\x32P.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment\x1a\x88\x06\n\x11TranscriptSegment\x12\x30\n\x0cmessage_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12h\n\x05words\x18\x03 \x03(\x0b\x32Y.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\x12\x13\n\x0b\x63hannel_tag\x18\x05 \x01(\x05\x12[\n\x13segment_participant\x18\t \x01(\x0b\x32>.google.cloud.contactcenterinsights.v1.ConversationParticipant\x12\x8f\x01\n\x1b\x64ialogflow_segment_metadata\x18\n \x01(\x0b\x32j.google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata\x12G\n\tsentiment\x18\x0b \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.SentimentData\x1a\x8c\x01\n\x08WordInfo\x12/\n\x0cstart_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12-\n\nend_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x0c\n\x04word\x18\x03 \x01(\t\x12\x12\n\nconfidence\x18\x04 \x01(\x02\x1a\x42\n\x19\x44ialogflowSegmentMetadata\x12%\n\x1dsmart_reply_allowlist_covered\x18\x01 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aq\n\x16\x44ialogflowIntentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x46\n\x05value\x18\x02 \x01(\x0b\x32\x37.google.cloud.contactcenterinsights.v1.DialogflowIntent:\x02\x38\x01\":\n\x06Medium\x12\x16\n\x12MEDIUM_UNSPECIFIED\x10\x00\x12\x0e\n\nPHONE_CALL\x10\x01\x12\x08\n\x04\x43HAT\x10\x02:|\xea\x41y\n1contactcenterinsights.googleapis.com/Conversation\x12\x44projects/{project}/locations/{location}/conversations/{conversation}B\n\n\x08metadataB\x0c\n\nexpiration\"\xc5\x03\n\x08\x41nalysis\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x35\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12S\n\x0f\x61nalysis_result\x18\x07 \x01(\x0b\x32\x35.google.cloud.contactcenterinsights.v1.AnalysisResultB\x03\xe0\x41\x03\x12T\n\x12\x61nnotator_selector\x18\x08 \x01(\x0b\x32\x38.google.cloud.contactcenterinsights.v1.AnnotatorSelector:\x8d\x01\xea\x41\x89\x01\n-contactcenterinsights.googleapis.com/Analysis\x12Xprojects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis}\"\xc0\x01\n\x16\x43onversationDataSource\x12\x46\n\ngcs_source\x18\x01 \x01(\x0b\x32\x30.google.cloud.contactcenterinsights.v1.GcsSourceH\x00\x12T\n\x11\x64ialogflow_source\x18\x03 \x01(\x0b\x32\x37.google.cloud.contactcenterinsights.v1.DialogflowSourceH\x00\x42\x08\n\x06source\";\n\tGcsSource\x12\x11\n\taudio_uri\x18\x01 \x01(\t\x12\x1b\n\x0etranscript_uri\x18\x02 \x01(\tB\x03\xe0\x41\x05\"K\n\x10\x44ialogflowSource\x12$\n\x17\x64ialogflow_conversation\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\taudio_uri\x18\x03 \x01(\t\"\xc6\x08\n\x0e\x41nalysisResult\x12l\n\x16\x63\x61ll_analysis_metadata\x18\x02 \x01(\x0b\x32J.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadataH\x00\x12,\n\x08\x65nd_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a\x8b\x07\n\x14\x43\x61llAnalysisMetadata\x12J\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32\x35.google.cloud.contactcenterinsights.v1.CallAnnotation\x12j\n\x08\x65ntities\x18\x03 \x03(\x0b\x32X.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.EntitiesEntry\x12U\n\nsentiments\x18\x04 \x03(\x0b\x32\x41.google.cloud.contactcenterinsights.v1.ConversationLevelSentiment\x12h\n\x07intents\x18\x06 \x03(\x0b\x32W.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.IntentsEntry\x12w\n\x0fphrase_matchers\x18\x07 \x03(\x0b\x32^.google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata.PhraseMatchersEntry\x12S\n\x12issue_model_result\x18\x08 \x01(\x0b\x32\x37.google.cloud.contactcenterinsights.v1.IssueModelResult\x1a^\n\rEntitiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.contactcenterinsights.v1.Entity:\x02\x38\x01\x1a]\n\x0cIntentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.google.cloud.contactcenterinsights.v1.Intent:\x02\x38\x01\x1am\n\x13PhraseMatchersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x45\n\x05value\x18\x02 \x01(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.PhraseMatchData:\x02\x38\x01\x42\n\n\x08metadata\"\xa5\x01\n\x10IssueModelResult\x12I\n\x0bissue_model\x18\x01 \x01(\tB4\xfa\x41\x31\n/contactcenterinsights.googleapis.com/IssueModel\x12\x46\n\x06issues\x18\x02 \x03(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.IssueAssignment\"\x7f\n\x1a\x43onversationLevelSentiment\x12\x13\n\x0b\x63hannel_tag\x18\x01 \x01(\x05\x12L\n\x0esentiment_data\x18\x02 \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.SentimentData\"J\n\x0fIssueAssignment\x12\r\n\x05issue\x18\x01 \x01(\t\x12\r\n\x05score\x18\x02 \x01(\x01\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x05\"\xf5\x06\n\x0e\x43\x61llAnnotation\x12T\n\x11interruption_data\x18\n \x01(\x0b\x32\x37.google.cloud.contactcenterinsights.v1.InterruptionDataH\x00\x12N\n\x0esentiment_data\x18\x0b \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.SentimentDataH\x00\x12J\n\x0csilence_data\x18\x0c \x01(\x0b\x32\x32.google.cloud.contactcenterinsights.v1.SilenceDataH\x00\x12\x44\n\thold_data\x18\r \x01(\x0b\x32/.google.cloud.contactcenterinsights.v1.HoldDataH\x00\x12W\n\x13\x65ntity_mention_data\x18\x0f \x01(\x0b\x32\x38.google.cloud.contactcenterinsights.v1.EntityMentionDataH\x00\x12S\n\x11intent_match_data\x18\x10 \x01(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.IntentMatchDataH\x00\x12S\n\x11phrase_match_data\x18\x11 \x01(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.PhraseMatchDataH\x00\x12Q\n\x10issue_match_data\x18\x12 \x01(\x0b\x32\x35.google.cloud.contactcenterinsights.v1.IssueMatchDataH\x00\x12\x13\n\x0b\x63hannel_tag\x18\x01 \x01(\x05\x12\\\n\x19\x61nnotation_start_boundary\x18\x04 \x01(\x0b\x32\x39.google.cloud.contactcenterinsights.v1.AnnotationBoundary\x12Z\n\x17\x61nnotation_end_boundary\x18\x05 \x01(\x0b\x32\x39.google.cloud.contactcenterinsights.v1.AnnotationBoundaryB\x06\n\x04\x64\x61ta\"Y\n\x12\x41nnotationBoundary\x12\x14\n\nword_index\x18\x03 \x01(\x05H\x00\x12\x18\n\x10transcript_index\x18\x01 \x01(\x05\x42\x13\n\x11\x64\x65tailed_boundary\"\x80\x04\n\x06\x45ntity\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12@\n\x04type\x18\x02 \x01(\x0e\x32\x32.google.cloud.contactcenterinsights.v1.Entity.Type\x12M\n\x08metadata\x18\x03 \x03(\x0b\x32;.google.cloud.contactcenterinsights.v1.Entity.MetadataEntry\x12\x10\n\x08salience\x18\x04 \x01(\x02\x12G\n\tsentiment\x18\x05 \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.SentimentData\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc2\x01\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PERSON\x10\x01\x12\x0c\n\x08LOCATION\x10\x02\x12\x10\n\x0cORGANIZATION\x10\x03\x12\t\n\x05\x45VENT\x10\x04\x12\x0f\n\x0bWORK_OF_ART\x10\x05\x12\x11\n\rCONSUMER_GOOD\x10\x06\x12\t\n\x05OTHER\x10\x07\x12\x10\n\x0cPHONE_NUMBER\x10\t\x12\x0b\n\x07\x41\x44\x44RESS\x10\n\x12\x08\n\x04\x44\x41TE\x10\x0b\x12\n\n\x06NUMBER\x10\x0c\x12\t\n\x05PRICE\x10\r\"*\n\x06Intent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"?\n\x0fPhraseMatchData\x12\x16\n\x0ephrase_matcher\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\"(\n\x10\x44ialogflowIntent\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\"\x12\n\x10InterruptionData\"\r\n\x0bSilenceData\"\n\n\x08HoldData\"\x8f\x02\n\x11\x45ntityMentionData\x12\x18\n\x10\x65ntity_unique_id\x18\x01 \x01(\t\x12R\n\x04type\x18\x02 \x01(\x0e\x32\x44.google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType\x12G\n\tsentiment\x18\x03 \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.SentimentData\"C\n\x0bMentionType\x12\x1c\n\x18MENTION_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PROPER\x10\x01\x12\n\n\x06\x43OMMON\x10\x02\"+\n\x0fIntentMatchData\x12\x18\n\x10intent_unique_id\x18\x01 \x01(\t\"1\n\rSentimentData\x12\x11\n\tmagnitude\x18\x01 \x01(\x02\x12\r\n\x05score\x18\x02 \x01(\x02\"b\n\x0eIssueMatchData\x12P\n\x10issue_assignment\x18\x01 \x01(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.IssueAssignment\"\xc7\x06\n\nIssueModel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x18\n\x0bissue_count\x18\x08 \x01(\x03\x42\x03\xe0\x41\x03\x12K\n\x05state\x18\x05 \x01(\x0e\x32\x37.google.cloud.contactcenterinsights.v1.IssueModel.StateB\x03\xe0\x41\x03\x12\\\n\x11input_data_config\x18\x06 \x01(\x0b\x32\x41.google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig\x12[\n\x0etraining_stats\x18\x07 \x01(\x0b\x32;.google.cloud.contactcenterinsights.v1.IssueModelLabelStatsB\x06\xe0\x41\x03\xe0\x41\x05\x1a\x9c\x01\n\x0fInputDataConfig\x12N\n\x06medium\x18\x01 \x01(\x0e\x32:.google.cloud.contactcenterinsights.v1.Conversation.MediumB\x02\x18\x01\x12)\n\x1ctraining_conversations_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x03\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\"j\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0e\n\nUNDEPLOYED\x10\x01\x12\r\n\tDEPLOYING\x10\x02\x12\x0c\n\x08\x44\x45PLOYED\x10\x03\x12\x0f\n\x0bUNDEPLOYING\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05:w\xea\x41t\n/contactcenterinsights.googleapis.com/IssueModel\x12\x41projects/{project}/locations/{location}/issueModels/{issue_model}\"\xc0\x02\n\x05Issue\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1e\n\x11sample_utterances\x18\x06 \x03(\tB\x03\xe0\x41\x03:\x81\x01\xea\x41~\n*contactcenterinsights.googleapis.com/Issue\x12Pprojects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}\"\x9b\x03\n\x14IssueModelLabelStats\x12$\n\x1c\x61nalyzed_conversations_count\x18\x01 \x01(\x03\x12(\n unclassified_conversations_count\x18\x02 \x01(\x03\x12`\n\x0bissue_stats\x18\x03 \x03(\x0b\x32K.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStatsEntry\x1aV\n\nIssueStats\x12\r\n\x05issue\x18\x01 \x01(\t\x12#\n\x1blabeled_conversations_count\x18\x02 \x01(\x03\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x1ay\n\x0fIssueStatsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12U\n\x05value\x18\x02 \x01(\x0b\x32\x46.google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats:\x02\x38\x01\"\x93\x06\n\rPhraseMatcher\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1b\n\x0brevision_id\x18\x02 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x13\n\x0bversion_tag\x18\x03 \x01(\t\x12=\n\x14revision_create_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12Y\n\x04type\x18\x06 \x01(\x0e\x32\x46.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherTypeB\x03\xe0\x41\x02\x12\x0e\n\x06\x61\x63tive\x18\x07 \x01(\x08\x12]\n\x18phrase_match_rule_groups\x18\x08 \x03(\x0b\x32;.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup\x12?\n\x16\x61\x63tivation_update_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12W\n\nrole_match\x18\n \x01(\x0e\x32\x43.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"P\n\x11PhraseMatcherType\x12#\n\x1fPHRASE_MATCHER_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LL_OF\x10\x01\x12\n\n\x06\x41NY_OF\x10\x02:\x80\x01\xea\x41}\n2contactcenterinsights.googleapis.com/PhraseMatcher\x12Gprojects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}\"\xb5\x02\n\x14PhraseMatchRuleGroup\x12g\n\x04type\x18\x01 \x01(\x0e\x32T.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupTypeB\x03\xe0\x41\x02\x12R\n\x12phrase_match_rules\x18\x02 \x03(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.PhraseMatchRule\"`\n\x18PhraseMatchRuleGroupType\x12,\n(PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41LL_OF\x10\x01\x12\n\n\x06\x41NY_OF\x10\x02\"\x84\x01\n\x0fPhraseMatchRule\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07negated\x18\x02 \x01(\x08\x12L\n\x06\x63onfig\x18\x03 \x01(\x0b\x32<.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig\"x\n\x15PhraseMatchRuleConfig\x12U\n\x12\x65xact_match_config\x18\x01 \x01(\x0b\x32\x37.google.cloud.contactcenterinsights.v1.ExactMatchConfigH\x00\x42\x08\n\x06\x63onfig\"*\n\x10\x45xactMatchConfig\x12\x16\n\x0e\x63\x61se_sensitive\x18\x01 \x01(\x08\"\xeb\x06\n\x08Settings\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x15\n\rlanguage_code\x18\x04 \x01(\t\x12\x33\n\x10\x63onversation_ttl\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12u\n\x1cpubsub_notification_settings\x18\x06 \x03(\x0b\x32O.google.cloud.contactcenterinsights.v1.Settings.PubsubNotificationSettingsEntry\x12W\n\x0f\x61nalysis_config\x18\x07 \x01(\x0b\x32>.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig\x12P\n\x10redaction_config\x18\n \x01(\x0b\x32\x36.google.cloud.contactcenterinsights.v1.RedactionConfig\x1a\xc8\x01\n\x0e\x41nalysisConfig\x12/\n\'runtime_integration_analysis_percentage\x18\x01 \x01(\x01\x12/\n\'upload_conversation_analysis_percentage\x18\x06 \x01(\x01\x12T\n\x12\x61nnotator_selector\x18\x05 \x01(\x0b\x32\x38.google.cloud.contactcenterinsights.v1.AnnotatorSelector\x1a\x41\n\x1fPubsubNotificationSettingsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:d\xea\x41\x61\n-contactcenterinsights.googleapis.com/Settings\x12\x30projects/{project}/locations/{location}/settings\"H\n\x0fRedactionConfig\x12\x1b\n\x13\x64\x65identify_template\x18\x01 \x01(\t\x12\x18\n\x10inspect_template\x18\x02 \x01(\t\"\x99\x07\n\x11RuntimeAnnotation\x12Z\n\x12\x61rticle_suggestion\x18\x06 \x01(\x0b\x32<.google.cloud.contactcenterinsights.v1.ArticleSuggestionDataH\x00\x12J\n\nfaq_answer\x18\x07 \x01(\x0b\x32\x34.google.cloud.contactcenterinsights.v1.FaqAnswerDataH\x00\x12L\n\x0bsmart_reply\x18\x08 \x01(\x0b\x32\x35.google.cloud.contactcenterinsights.v1.SmartReplyDataH\x00\x12\x65\n\x18smart_compose_suggestion\x18\t \x01(\x0b\x32\x41.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionDataH\x00\x12\x62\n\x16\x64ialogflow_interaction\x18\n \x01(\x0b\x32@.google.cloud.contactcenterinsights.v1.DialogflowInteractionDataH\x00\x12\x7f\n%conversation_summarization_suggestion\x18\x0c \x01(\x0b\x32N.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionDataH\x00\x12\x15\n\rannotation_id\x18\x01 \x01(\t\x12/\n\x0b\x63reate_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12Q\n\x0estart_boundary\x18\x03 \x01(\x0b\x32\x39.google.cloud.contactcenterinsights.v1.AnnotationBoundary\x12O\n\x0c\x65nd_boundary\x18\x04 \x01(\x0b\x32\x39.google.cloud.contactcenterinsights.v1.AnnotationBoundary\x12N\n\x0f\x61nswer_feedback\x18\x05 \x01(\x0b\x32\x35.google.cloud.contactcenterinsights.v1.AnswerFeedbackB\x06\n\x04\x64\x61ta\"\x89\x02\n\x0e\x41nswerFeedback\x12\x61\n\x11\x63orrectness_level\x18\x01 \x01(\x0e\x32\x46.google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel\x12\x0f\n\x07\x63licked\x18\x02 \x01(\x08\x12\x11\n\tdisplayed\x18\x03 \x01(\x08\"p\n\x10\x43orrectnessLevel\x12!\n\x1d\x43ORRECTNESS_LEVEL_UNSPECIFIED\x10\x00\x12\x0f\n\x0bNOT_CORRECT\x10\x01\x12\x15\n\x11PARTIALLY_CORRECT\x10\x02\x12\x11\n\rFULLY_CORRECT\x10\x03\"\x82\x02\n\x15\x41rticleSuggestionData\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0b\n\x03uri\x18\x02 \x01(\t\x12\x18\n\x10\x63onfidence_score\x18\x03 \x01(\x02\x12\\\n\x08metadata\x18\x04 \x03(\x0b\x32J.google.cloud.contactcenterinsights.v1.ArticleSuggestionData.MetadataEntry\x12\x14\n\x0cquery_record\x18\x05 \x01(\t\x12\x0e\n\x06source\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf8\x01\n\rFaqAnswerData\x12\x0e\n\x06\x61nswer\x18\x01 \x01(\t\x12\x18\n\x10\x63onfidence_score\x18\x02 \x01(\x02\x12\x10\n\x08question\x18\x03 \x01(\t\x12T\n\x08metadata\x18\x04 \x03(\x0b\x32\x42.google.cloud.contactcenterinsights.v1.FaqAnswerData.MetadataEntry\x12\x14\n\x0cquery_record\x18\x05 \x01(\t\x12\x0e\n\x06source\x18\x06 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd7\x01\n\x0eSmartReplyData\x12\r\n\x05reply\x18\x01 \x01(\t\x12\x18\n\x10\x63onfidence_score\x18\x02 \x01(\x01\x12U\n\x08metadata\x18\x03 \x03(\x0b\x32\x43.google.cloud.contactcenterinsights.v1.SmartReplyData.MetadataEntry\x12\x14\n\x0cquery_record\x18\x04 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf4\x01\n\x1aSmartComposeSuggestionData\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12\x18\n\x10\x63onfidence_score\x18\x02 \x01(\x01\x12\x61\n\x08metadata\x18\x03 \x03(\x0b\x32O.google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData.MetadataEntry\x12\x14\n\x0cquery_record\x18\x04 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"M\n\x19\x44ialogflowInteractionData\x12\x1c\n\x14\x64ialogflow_intent_id\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\"\xcd\x03\n\'ConversationSummarizationSuggestionData\x12\x0c\n\x04text\x18\x01 \x01(\t\x12w\n\rtext_sections\x18\x05 \x03(\x0b\x32`.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData.TextSectionsEntry\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12n\n\x08metadata\x18\x03 \x03(\x0b\x32\\.google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData.MetadataEntry\x12\x15\n\ranswer_record\x18\x04 \x01(\t\x12\x1a\n\x12\x63onversation_model\x18\x06 \x01(\t\x1a\x33\n\x11TextSectionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x03\n\x17\x43onversationParticipant\x12Q\n\x1b\x64ialogflow_participant_name\x18\x05 \x01(\tB*\xfa\x41\'\n%dialogflow.googleapis.com/ParticipantH\x00\x12\x11\n\x07user_id\x18\x06 \x01(\tH\x00\x12\"\n\x16\x64ialogflow_participant\x18\x01 \x01(\tB\x02\x18\x01\x12#\n\x1bobfuscated_external_user_id\x18\x03 \x01(\t\x12Q\n\x04role\x18\x02 \x01(\x0e\x32\x43.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role\"_\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bHUMAN_AGENT\x10\x01\x12\x13\n\x0f\x41UTOMATED_AGENT\x10\x02\x12\x0c\n\x08\x45ND_USER\x10\x03\x12\r\n\tANY_AGENT\x10\x04\x42\r\n\x0bparticipant\"\x90\x02\n\x04View\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\r\n\x05value\x18\x05 \x01(\t:d\xea\x41\x61\n)contactcenterinsights.googleapis.com/View\x12\x34projects/{project}/locations/{location}/views/{view}\"\xf6\x06\n\x11\x41nnotatorSelector\x12\"\n\x1arun_interruption_annotator\x18\x01 \x01(\x08\x12\x1d\n\x15run_silence_annotator\x18\x02 \x01(\x08\x12$\n\x1crun_phrase_matcher_annotator\x18\x03 \x01(\x08\x12P\n\x0fphrase_matchers\x18\x04 \x03(\tB7\xfa\x41\x34\n2contactcenterinsights.googleapis.com/PhraseMatcher\x12\x1f\n\x17run_sentiment_annotator\x18\x05 \x01(\x08\x12\x1c\n\x14run_entity_annotator\x18\x06 \x01(\x08\x12\x1c\n\x14run_intent_annotator\x18\x07 \x01(\x08\x12!\n\x19run_issue_model_annotator\x18\x08 \x01(\x08\x12J\n\x0cissue_models\x18\n \x03(\tB4\xfa\x41\x31\n/contactcenterinsights.googleapis.com/IssueModel\x12#\n\x1brun_summarization_annotator\x18\t \x01(\x08\x12j\n\x14summarization_config\x18\x0b \x01(\x0b\x32L.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig\x1a\xc8\x02\n\x13SummarizationConfig\x12R\n\x14\x63onversation_profile\x18\x01 \x01(\tB2\xfa\x41/\n-dialogflow.googleapis.com/ConversationProfileH\x00\x12~\n\x13summarization_model\x18\x02 \x01(\x0e\x32_.google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModelH\x00\"M\n\x12SummarizationModel\x12#\n\x1fSUMMARIZATION_MODEL_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x42\x41SELINE_MODEL\x10\x01\x42\x0e\n\x0cmodel_sourceB\xe0\x05\n)com.google.cloud.contactcenterinsights.v1B\x0eResourcesProtoP\x01Z_cloud.google.com/go/contactcenterinsights/apiv1/contactcenterinsightspb;contactcenterinsightspb\xaa\x02%Google.Cloud.ContactCenterInsights.V1\xca\x02%Google\\Cloud\\ContactCenterInsights\\V1\xea\x02(Google::Cloud::ContactCenterInsights::V1\xea\x41\x84\x01\n-dialogflow.googleapis.com/ConversationProfile\x12Sprojects/{project}/locations/{location}/conversationProfiles/{conversation_profile}\xea\x41\xd4\x01\n%dialogflow.googleapis.com/Participant\x12Jprojects/{project}/conversations/{conversation}/participants/{participant}\x12_projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}\xea\x41\x64\n speech.googleapis.com/Recognizer\x12@projects/{project}/locations/{location}/recognizers/{recognizer}b\x06proto3"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
387
35
  end
388
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
389
39
  end
390
40
 
391
41
  module Google
@@ -447,10 +97,13 @@ module Google
447
97
  SmartReplyData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SmartReplyData").msgclass
448
98
  SmartComposeSuggestionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData").msgclass
449
99
  DialogflowInteractionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DialogflowInteractionData").msgclass
100
+ ConversationSummarizationSuggestionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationSummarizationSuggestionData").msgclass
450
101
  ConversationParticipant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant").msgclass
451
102
  ConversationParticipant::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant.Role").enummodule
452
103
  View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.View").msgclass
453
104
  AnnotatorSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnnotatorSelector").msgclass
105
+ AnnotatorSelector::SummarizationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig").msgclass
106
+ AnnotatorSelector::SummarizationConfig::SummarizationModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnnotatorSelector.SummarizationConfig.SummarizationModel").enummodule
454
107
  end
455
108
  end
456
109
  end
@@ -83,7 +83,7 @@ module Google
83
83
  # long-running operation pattern.
84
84
  # @!attribute [rw] new_issue_uri
85
85
  # @return [::String]
86
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
87
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
88
88
  # @!attribute [rw] documentation_uri
89
89
  # @return [::String]
@@ -353,6 +353,15 @@ module Google
353
353
 
354
354
  # Street View Org.
355
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
356
365
  end
357
366
 
358
367
  # To where should client libraries be published?
@@ -77,6 +77,9 @@ module Google
77
77
  # @!attribute [r] latest_analysis
78
78
  # @return [::Google::Cloud::ContactCenterInsights::V1::Analysis]
79
79
  # Output only. The conversation's latest analysis, if one exists.
80
+ # @!attribute [r] latest_summary
81
+ # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationSummarizationSuggestionData]
82
+ # Output only. Latest summary of the conversation.
80
83
  # @!attribute [r] runtime_annotations
81
84
  # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation>]
82
85
  # Output only. The annotations that were generated during the customer and
@@ -886,7 +889,7 @@ module Google
886
889
  # Required. The type of this phrase match rule group.
887
890
  # @!attribute [rw] phrase_match_rules
888
891
  # @return [::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRule>]
889
- # A list of phase match rules that are included in this group.
892
+ # A list of phrase match rules that are included in this group.
890
893
  class PhraseMatchRuleGroup
891
894
  include ::Google::Protobuf::MessageExts
892
895
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1051,6 +1054,9 @@ module Google
1051
1054
  # @!attribute [rw] dialogflow_interaction
1052
1055
  # @return [::Google::Cloud::ContactCenterInsights::V1::DialogflowInteractionData]
1053
1056
  # Dialogflow interaction data.
1057
+ # @!attribute [rw] conversation_summarization_suggestion
1058
+ # @return [::Google::Cloud::ContactCenterInsights::V1::ConversationSummarizationSuggestionData]
1059
+ # Conversation summarization suggestion data.
1054
1060
  # @!attribute [rw] annotation_id
1055
1061
  # @return [::String]
1056
1062
  # The unique identifier of the annotation.
@@ -1263,6 +1269,55 @@ module Google
1263
1269
  extend ::Google::Protobuf::MessageExts::ClassMethods
1264
1270
  end
1265
1271
 
1272
+ # Conversation summarization suggestion data.
1273
+ # @!attribute [rw] text
1274
+ # @return [::String]
1275
+ # The summarization content that is concatenated into one string.
1276
+ # @!attribute [rw] text_sections
1277
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1278
+ # The summarization content that is divided into sections. The key is the
1279
+ # section's name and the value is the section's content. There is no
1280
+ # specific format for the key or value.
1281
+ # @!attribute [rw] confidence
1282
+ # @return [::Float]
1283
+ # The confidence score of the summarization.
1284
+ # @!attribute [rw] metadata
1285
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1286
+ # A map that contains metadata about the summarization and the document
1287
+ # from which it originates.
1288
+ # @!attribute [rw] answer_record
1289
+ # @return [::String]
1290
+ # The name of the answer record.
1291
+ # Format:
1292
+ # projects/\\{project}/locations/\\{location}/answerRecords/\\{answer_record}
1293
+ # @!attribute [rw] conversation_model
1294
+ # @return [::String]
1295
+ # The name of the model that generates this summary.
1296
+ # Format:
1297
+ # projects/\\{project}/locations/\\{location}/conversationModels/\\{conversation_model}
1298
+ class ConversationSummarizationSuggestionData
1299
+ include ::Google::Protobuf::MessageExts
1300
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1301
+
1302
+ # @!attribute [rw] key
1303
+ # @return [::String]
1304
+ # @!attribute [rw] value
1305
+ # @return [::String]
1306
+ class TextSectionsEntry
1307
+ include ::Google::Protobuf::MessageExts
1308
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1309
+ end
1310
+
1311
+ # @!attribute [rw] key
1312
+ # @return [::String]
1313
+ # @!attribute [rw] value
1314
+ # @return [::String]
1315
+ class MetadataEntry
1316
+ include ::Google::Protobuf::MessageExts
1317
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1318
+ end
1319
+ end
1320
+
1266
1321
  # The call participant speaking for a given utterance.
1267
1322
  # @!attribute [rw] dialogflow_participant_name
1268
1323
  # @return [::String]
@@ -1365,9 +1420,38 @@ module Google
1365
1420
  # inference if the issue model is deployed and if run_issue_model_annotator
1366
1421
  # is set to true. If more than one issue model is provided, only the first
1367
1422
  # provided issue model will be used for inference.
1423
+ # @!attribute [rw] run_summarization_annotator
1424
+ # @return [::Boolean]
1425
+ # Whether to run the summarization annotator.
1426
+ # @!attribute [rw] summarization_config
1427
+ # @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig]
1428
+ # Configuration for the summarization annotator.
1368
1429
  class AnnotatorSelector
1369
1430
  include ::Google::Protobuf::MessageExts
1370
1431
  extend ::Google::Protobuf::MessageExts::ClassMethods
1432
+
1433
+ # Configuration for summarization.
1434
+ # @!attribute [rw] conversation_profile
1435
+ # @return [::String]
1436
+ # Resource name of the Dialogflow conversation profile.
1437
+ # Format:
1438
+ # projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
1439
+ # @!attribute [rw] summarization_model
1440
+ # @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
1441
+ # Default summarization model to be used.
1442
+ class SummarizationConfig
1443
+ include ::Google::Protobuf::MessageExts
1444
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1445
+
1446
+ # Summarization model to use, if `conversation_profile` is not used.
1447
+ module SummarizationModel
1448
+ # Unspecified summarization model.
1449
+ SUMMARIZATION_MODEL_UNSPECIFIED = 0
1450
+
1451
+ # The Insights baseline model.
1452
+ BASELINE_MODEL = 1
1453
+ end
1454
+ end
1371
1455
  end
1372
1456
  end
1373
1457
  end