google-cloud-contact_center_insights-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +167 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google-cloud-contact_center_insights-v1.rb +21 -0
  7. data/lib/google/cloud/contact_center_insights/v1.rb +38 -0
  8. data/lib/google/cloud/contact_center_insights/v1/contact_center_insights.rb +50 -0
  9. data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/client.rb +2506 -0
  10. data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/credentials.rb +47 -0
  11. data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/operations.rb +664 -0
  12. data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/paths.rb +211 -0
  13. data/lib/google/cloud/contact_center_insights/v1/version.rb +28 -0
  14. data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_pb.rb +273 -0
  15. data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_services_pb.rb +102 -0
  16. data/lib/google/cloud/contactcenterinsights/v1/resources_pb.rb +408 -0
  17. data/proto_docs/README.md +4 -0
  18. data/proto_docs/google/api/field_behavior.rb +71 -0
  19. data/proto_docs/google/api/resource.rb +283 -0
  20. data/proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb +685 -0
  21. data/proto_docs/google/cloud/contactcenterinsights/v1/resources.rb +1213 -0
  22. data/proto_docs/google/longrunning/operations.rb +164 -0
  23. data/proto_docs/google/protobuf/any.rb +141 -0
  24. data/proto_docs/google/protobuf/duration.rb +98 -0
  25. data/proto_docs/google/protobuf/empty.rb +36 -0
  26. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  27. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  28. data/proto_docs/google/rpc/status.rb +46 -0
  29. metadata +220 -0
@@ -0,0 +1,102 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto for package 'Google.Cloud.ContactCenterInsights.V1'
3
+ # Original file comments:
4
+ # Copyright 2021 Google LLC
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require 'grpc'
20
+ require 'google/cloud/contactcenterinsights/v1/contact_center_insights_pb'
21
+
22
+ module Google
23
+ module Cloud
24
+ module ContactCenterInsights
25
+ module V1
26
+ module ContactCenterInsights
27
+ # An API that lets users analyze and explore their business conversation data.
28
+ class Service
29
+
30
+ include GRPC::GenericService
31
+
32
+ self.marshal_class_method = :encode
33
+ self.unmarshal_class_method = :decode
34
+ self.service_name = 'google.cloud.contactcenterinsights.v1.ContactCenterInsights'
35
+
36
+ # Creates a conversation.
37
+ rpc :CreateConversation, ::Google::Cloud::ContactCenterInsights::V1::CreateConversationRequest, ::Google::Cloud::ContactCenterInsights::V1::Conversation
38
+ # Updates a conversation.
39
+ rpc :UpdateConversation, ::Google::Cloud::ContactCenterInsights::V1::UpdateConversationRequest, ::Google::Cloud::ContactCenterInsights::V1::Conversation
40
+ # Gets a conversation.
41
+ rpc :GetConversation, ::Google::Cloud::ContactCenterInsights::V1::GetConversationRequest, ::Google::Cloud::ContactCenterInsights::V1::Conversation
42
+ # Lists conversations.
43
+ rpc :ListConversations, ::Google::Cloud::ContactCenterInsights::V1::ListConversationsRequest, ::Google::Cloud::ContactCenterInsights::V1::ListConversationsResponse
44
+ # Deletes a conversation.
45
+ rpc :DeleteConversation, ::Google::Cloud::ContactCenterInsights::V1::DeleteConversationRequest, ::Google::Protobuf::Empty
46
+ # Creates an analysis. The long running operation is done when the analysis
47
+ # has completed.
48
+ rpc :CreateAnalysis, ::Google::Cloud::ContactCenterInsights::V1::CreateAnalysisRequest, ::Google::Longrunning::Operation
49
+ # Gets an analysis.
50
+ rpc :GetAnalysis, ::Google::Cloud::ContactCenterInsights::V1::GetAnalysisRequest, ::Google::Cloud::ContactCenterInsights::V1::Analysis
51
+ # Lists analyses.
52
+ rpc :ListAnalyses, ::Google::Cloud::ContactCenterInsights::V1::ListAnalysesRequest, ::Google::Cloud::ContactCenterInsights::V1::ListAnalysesResponse
53
+ # Deletes an analysis.
54
+ rpc :DeleteAnalysis, ::Google::Cloud::ContactCenterInsights::V1::DeleteAnalysisRequest, ::Google::Protobuf::Empty
55
+ # Export insights data to a destination defined in the request body.
56
+ rpc :ExportInsightsData, ::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest, ::Google::Longrunning::Operation
57
+ # Creates an issue model.
58
+ rpc :CreateIssueModel, ::Google::Cloud::ContactCenterInsights::V1::CreateIssueModelRequest, ::Google::Longrunning::Operation
59
+ # Updates an issue model.
60
+ rpc :UpdateIssueModel, ::Google::Cloud::ContactCenterInsights::V1::UpdateIssueModelRequest, ::Google::Cloud::ContactCenterInsights::V1::IssueModel
61
+ # Gets an issue model.
62
+ rpc :GetIssueModel, ::Google::Cloud::ContactCenterInsights::V1::GetIssueModelRequest, ::Google::Cloud::ContactCenterInsights::V1::IssueModel
63
+ # Lists issue models.
64
+ rpc :ListIssueModels, ::Google::Cloud::ContactCenterInsights::V1::ListIssueModelsRequest, ::Google::Cloud::ContactCenterInsights::V1::ListIssueModelsResponse
65
+ # Deletes an issue model.
66
+ rpc :DeleteIssueModel, ::Google::Cloud::ContactCenterInsights::V1::DeleteIssueModelRequest, ::Google::Longrunning::Operation
67
+ # Deploys an issue model. Returns an error if a model is already deployed.
68
+ # An issue model can only be used in analysis after it has been deployed.
69
+ rpc :DeployIssueModel, ::Google::Cloud::ContactCenterInsights::V1::DeployIssueModelRequest, ::Google::Longrunning::Operation
70
+ # Undeploys an issue model.
71
+ # An issue model can not be used in analysis after it has been undeployed.
72
+ rpc :UndeployIssueModel, ::Google::Cloud::ContactCenterInsights::V1::UndeployIssueModelRequest, ::Google::Longrunning::Operation
73
+ # Gets an issue.
74
+ rpc :GetIssue, ::Google::Cloud::ContactCenterInsights::V1::GetIssueRequest, ::Google::Cloud::ContactCenterInsights::V1::Issue
75
+ # Lists issues.
76
+ rpc :ListIssues, ::Google::Cloud::ContactCenterInsights::V1::ListIssuesRequest, ::Google::Cloud::ContactCenterInsights::V1::ListIssuesResponse
77
+ # Updates an issue.
78
+ rpc :UpdateIssue, ::Google::Cloud::ContactCenterInsights::V1::UpdateIssueRequest, ::Google::Cloud::ContactCenterInsights::V1::Issue
79
+ # Gets an issue model's statistics.
80
+ rpc :CalculateIssueModelStats, ::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsRequest, ::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsResponse
81
+ # Creates a phrase matcher.
82
+ rpc :CreatePhraseMatcher, ::Google::Cloud::ContactCenterInsights::V1::CreatePhraseMatcherRequest, ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher
83
+ # Gets a phrase matcher.
84
+ rpc :GetPhraseMatcher, ::Google::Cloud::ContactCenterInsights::V1::GetPhraseMatcherRequest, ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher
85
+ # Lists phrase matchers.
86
+ rpc :ListPhraseMatchers, ::Google::Cloud::ContactCenterInsights::V1::ListPhraseMatchersRequest, ::Google::Cloud::ContactCenterInsights::V1::ListPhraseMatchersResponse
87
+ # Deletes a phrase matcher.
88
+ rpc :DeletePhraseMatcher, ::Google::Cloud::ContactCenterInsights::V1::DeletePhraseMatcherRequest, ::Google::Protobuf::Empty
89
+ # Gets conversation statistics.
90
+ rpc :CalculateStats, ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsRequest, ::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse
91
+ # Gets project-level settings.
92
+ rpc :GetSettings, ::Google::Cloud::ContactCenterInsights::V1::GetSettingsRequest, ::Google::Cloud::ContactCenterInsights::V1::Settings
93
+ # Updates project-level settings.
94
+ rpc :UpdateSettings, ::Google::Cloud::ContactCenterInsights::V1::UpdateSettingsRequest, ::Google::Cloud::ContactCenterInsights::V1::Settings
95
+ end
96
+
97
+ Stub = Service.rpc_stub_class
98
+ end
99
+ end
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,408 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/contactcenterinsights/v1/resources.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/duration_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+ require 'google/api/annotations_pb'
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
+ oneof :metadata do
30
+ optional :call_metadata, :message, 7, "google.cloud.contactcenterinsights.v1.Conversation.CallMetadata"
31
+ end
32
+ oneof :expiration do
33
+ optional :expire_time, :message, 15, "google.protobuf.Timestamp"
34
+ optional :ttl, :message, 16, "google.protobuf.Duration"
35
+ end
36
+ end
37
+ add_message "google.cloud.contactcenterinsights.v1.Conversation.CallMetadata" do
38
+ optional :customer_channel, :int32, 1
39
+ optional :agent_channel, :int32, 2
40
+ end
41
+ add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript" do
42
+ repeated :transcript_segments, :message, 1, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment"
43
+ end
44
+ add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment" do
45
+ optional :text, :string, 1
46
+ optional :confidence, :float, 2
47
+ repeated :words, :message, 3, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo"
48
+ optional :language_code, :string, 4
49
+ optional :channel_tag, :int32, 5
50
+ optional :segment_participant, :message, 9, "google.cloud.contactcenterinsights.v1.ConversationParticipant"
51
+ end
52
+ add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo" do
53
+ optional :start_offset, :message, 1, "google.protobuf.Duration"
54
+ optional :end_offset, :message, 2, "google.protobuf.Duration"
55
+ optional :word, :string, 3
56
+ optional :confidence, :float, 4
57
+ end
58
+ add_enum "google.cloud.contactcenterinsights.v1.Conversation.Medium" do
59
+ value :MEDIUM_UNSPECIFIED, 0
60
+ value :PHONE_CALL, 1
61
+ value :CHAT, 2
62
+ end
63
+ add_message "google.cloud.contactcenterinsights.v1.Analysis" do
64
+ optional :name, :string, 1
65
+ optional :request_time, :message, 2, "google.protobuf.Timestamp"
66
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
67
+ optional :analysis_result, :message, 7, "google.cloud.contactcenterinsights.v1.AnalysisResult"
68
+ end
69
+ add_message "google.cloud.contactcenterinsights.v1.ConversationDataSource" do
70
+ oneof :source do
71
+ optional :gcs_source, :message, 1, "google.cloud.contactcenterinsights.v1.GcsSource"
72
+ optional :dialogflow_source, :message, 3, "google.cloud.contactcenterinsights.v1.DialogflowSource"
73
+ end
74
+ end
75
+ add_message "google.cloud.contactcenterinsights.v1.GcsSource" do
76
+ optional :audio_uri, :string, 1
77
+ optional :transcript_uri, :string, 2
78
+ end
79
+ add_message "google.cloud.contactcenterinsights.v1.DialogflowSource" do
80
+ optional :dialogflow_conversation, :string, 1
81
+ optional :audio_uri, :string, 3
82
+ end
83
+ add_message "google.cloud.contactcenterinsights.v1.AnalysisResult" do
84
+ optional :end_time, :message, 1, "google.protobuf.Timestamp"
85
+ oneof :metadata do
86
+ optional :call_analysis_metadata, :message, 2, "google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata"
87
+ end
88
+ end
89
+ add_message "google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata" do
90
+ repeated :annotations, :message, 2, "google.cloud.contactcenterinsights.v1.CallAnnotation"
91
+ map :entities, :string, :message, 3, "google.cloud.contactcenterinsights.v1.Entity"
92
+ repeated :sentiments, :message, 4, "google.cloud.contactcenterinsights.v1.ConversationLevelSentiment"
93
+ map :intents, :string, :message, 6, "google.cloud.contactcenterinsights.v1.Intent"
94
+ map :phrase_matchers, :string, :message, 7, "google.cloud.contactcenterinsights.v1.PhraseMatchData"
95
+ optional :issue_model_result, :message, 8, "google.cloud.contactcenterinsights.v1.IssueModelResult"
96
+ end
97
+ add_message "google.cloud.contactcenterinsights.v1.IssueModelResult" do
98
+ optional :issue_model, :string, 1
99
+ repeated :issues, :message, 2, "google.cloud.contactcenterinsights.v1.IssueAssignment"
100
+ end
101
+ add_message "google.cloud.contactcenterinsights.v1.ConversationLevelSentiment" do
102
+ optional :channel_tag, :int32, 1
103
+ optional :sentiment_data, :message, 2, "google.cloud.contactcenterinsights.v1.SentimentData"
104
+ end
105
+ add_message "google.cloud.contactcenterinsights.v1.IssueAssignment" do
106
+ optional :issue, :string, 1
107
+ optional :score, :double, 2
108
+ end
109
+ add_message "google.cloud.contactcenterinsights.v1.CallAnnotation" do
110
+ optional :channel_tag, :int32, 1
111
+ optional :annotation_start_boundary, :message, 4, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
112
+ optional :annotation_end_boundary, :message, 5, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
113
+ oneof :data do
114
+ optional :interruption_data, :message, 10, "google.cloud.contactcenterinsights.v1.InterruptionData"
115
+ optional :sentiment_data, :message, 11, "google.cloud.contactcenterinsights.v1.SentimentData"
116
+ optional :silence_data, :message, 12, "google.cloud.contactcenterinsights.v1.SilenceData"
117
+ optional :hold_data, :message, 13, "google.cloud.contactcenterinsights.v1.HoldData"
118
+ optional :entity_mention_data, :message, 15, "google.cloud.contactcenterinsights.v1.EntityMentionData"
119
+ optional :intent_match_data, :message, 16, "google.cloud.contactcenterinsights.v1.IntentMatchData"
120
+ optional :phrase_match_data, :message, 17, "google.cloud.contactcenterinsights.v1.PhraseMatchData"
121
+ end
122
+ end
123
+ add_message "google.cloud.contactcenterinsights.v1.AnnotationBoundary" do
124
+ optional :transcript_index, :int32, 1
125
+ oneof :detailed_boundary do
126
+ optional :word_index, :int32, 3
127
+ end
128
+ end
129
+ add_message "google.cloud.contactcenterinsights.v1.Entity" do
130
+ optional :display_name, :string, 1
131
+ optional :type, :enum, 2, "google.cloud.contactcenterinsights.v1.Entity.Type"
132
+ map :metadata, :string, :string, 3
133
+ optional :salience, :float, 4
134
+ optional :sentiment, :message, 5, "google.cloud.contactcenterinsights.v1.SentimentData"
135
+ end
136
+ add_enum "google.cloud.contactcenterinsights.v1.Entity.Type" do
137
+ value :TYPE_UNSPECIFIED, 0
138
+ value :PERSON, 1
139
+ value :LOCATION, 2
140
+ value :ORGANIZATION, 3
141
+ value :EVENT, 4
142
+ value :WORK_OF_ART, 5
143
+ value :CONSUMER_GOOD, 6
144
+ value :OTHER, 7
145
+ value :PHONE_NUMBER, 9
146
+ value :ADDRESS, 10
147
+ value :DATE, 11
148
+ value :NUMBER, 12
149
+ value :PRICE, 13
150
+ end
151
+ add_message "google.cloud.contactcenterinsights.v1.Intent" do
152
+ optional :id, :string, 1
153
+ optional :display_name, :string, 2
154
+ end
155
+ add_message "google.cloud.contactcenterinsights.v1.PhraseMatchData" do
156
+ optional :phrase_matcher, :string, 1
157
+ optional :display_name, :string, 2
158
+ end
159
+ add_message "google.cloud.contactcenterinsights.v1.DialogflowIntent" do
160
+ optional :display_name, :string, 1
161
+ end
162
+ add_message "google.cloud.contactcenterinsights.v1.InterruptionData" do
163
+ end
164
+ add_message "google.cloud.contactcenterinsights.v1.SilenceData" do
165
+ end
166
+ add_message "google.cloud.contactcenterinsights.v1.HoldData" do
167
+ end
168
+ add_message "google.cloud.contactcenterinsights.v1.EntityMentionData" do
169
+ optional :entity_unique_id, :string, 1
170
+ optional :type, :enum, 2, "google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType"
171
+ optional :sentiment, :message, 3, "google.cloud.contactcenterinsights.v1.SentimentData"
172
+ end
173
+ add_enum "google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType" do
174
+ value :MENTION_TYPE_UNSPECIFIED, 0
175
+ value :PROPER, 1
176
+ value :COMMON, 2
177
+ end
178
+ add_message "google.cloud.contactcenterinsights.v1.IntentMatchData" do
179
+ optional :intent_unique_id, :string, 1
180
+ end
181
+ add_message "google.cloud.contactcenterinsights.v1.SentimentData" do
182
+ optional :magnitude, :float, 1
183
+ optional :score, :float, 2
184
+ end
185
+ add_message "google.cloud.contactcenterinsights.v1.IssueModel" do
186
+ optional :name, :string, 1
187
+ optional :display_name, :string, 2
188
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
189
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
190
+ optional :state, :enum, 5, "google.cloud.contactcenterinsights.v1.IssueModel.State"
191
+ optional :input_data_config, :message, 6, "google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig"
192
+ optional :training_stats, :message, 7, "google.cloud.contactcenterinsights.v1.IssueModelLabelStats"
193
+ end
194
+ add_message "google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig" do
195
+ optional :medium, :enum, 1, "google.cloud.contactcenterinsights.v1.Conversation.Medium"
196
+ optional :training_conversations_count, :int64, 2
197
+ end
198
+ add_enum "google.cloud.contactcenterinsights.v1.IssueModel.State" do
199
+ value :STATE_UNSPECIFIED, 0
200
+ value :UNDEPLOYED, 1
201
+ value :DEPLOYING, 2
202
+ value :DEPLOYED, 3
203
+ value :UNDEPLOYING, 4
204
+ value :DELETING, 5
205
+ end
206
+ add_message "google.cloud.contactcenterinsights.v1.Issue" do
207
+ optional :name, :string, 1
208
+ optional :display_name, :string, 2
209
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
210
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
211
+ end
212
+ add_message "google.cloud.contactcenterinsights.v1.IssueModelLabelStats" do
213
+ optional :analyzed_conversations_count, :int64, 1
214
+ optional :unclassified_conversations_count, :int64, 2
215
+ map :issue_stats, :string, :message, 3, "google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats"
216
+ end
217
+ add_message "google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats" do
218
+ optional :issue, :string, 1
219
+ optional :labeled_conversations_count, :int64, 2
220
+ end
221
+ add_message "google.cloud.contactcenterinsights.v1.PhraseMatcher" do
222
+ optional :name, :string, 1
223
+ optional :revision_id, :string, 2
224
+ optional :version_tag, :string, 3
225
+ optional :revision_create_time, :message, 4, "google.protobuf.Timestamp"
226
+ optional :display_name, :string, 5
227
+ optional :type, :enum, 6, "google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType"
228
+ optional :active, :bool, 7
229
+ repeated :phrase_match_rule_groups, :message, 8, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup"
230
+ optional :activation_update_time, :message, 9, "google.protobuf.Timestamp"
231
+ optional :role_match, :enum, 10, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
232
+ end
233
+ add_enum "google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType" do
234
+ value :PHRASE_MATCHER_TYPE_UNSPECIFIED, 0
235
+ value :ALL_OF, 1
236
+ value :ANY_OF, 2
237
+ end
238
+ add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup" do
239
+ optional :type, :enum, 1, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType"
240
+ repeated :phrase_match_rules, :message, 2, "google.cloud.contactcenterinsights.v1.PhraseMatchRule"
241
+ end
242
+ add_enum "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType" do
243
+ value :PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED, 0
244
+ value :ALL_OF, 1
245
+ value :ANY_OF, 2
246
+ end
247
+ add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRule" do
248
+ optional :query, :string, 1
249
+ optional :negated, :bool, 2
250
+ optional :config, :message, 3, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig"
251
+ end
252
+ add_message "google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig" do
253
+ oneof :config do
254
+ optional :exact_match_config, :message, 1, "google.cloud.contactcenterinsights.v1.ExactMatchConfig"
255
+ end
256
+ end
257
+ add_message "google.cloud.contactcenterinsights.v1.ExactMatchConfig" do
258
+ optional :case_sensitive, :bool, 1
259
+ end
260
+ add_message "google.cloud.contactcenterinsights.v1.Settings" do
261
+ optional :name, :string, 1
262
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
263
+ optional :update_time, :message, 3, "google.protobuf.Timestamp"
264
+ optional :language_code, :string, 4
265
+ optional :conversation_ttl, :message, 5, "google.protobuf.Duration"
266
+ map :pubsub_notification_settings, :string, :string, 6
267
+ optional :analysis_config, :message, 7, "google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig"
268
+ end
269
+ add_message "google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig" do
270
+ optional :runtime_integration_analysis_percentage, :double, 1
271
+ end
272
+ add_message "google.cloud.contactcenterinsights.v1.RuntimeAnnotation" do
273
+ optional :annotation_id, :string, 1
274
+ optional :create_time, :message, 2, "google.protobuf.Timestamp"
275
+ optional :start_boundary, :message, 3, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
276
+ optional :end_boundary, :message, 4, "google.cloud.contactcenterinsights.v1.AnnotationBoundary"
277
+ optional :answer_feedback, :message, 5, "google.cloud.contactcenterinsights.v1.AnswerFeedback"
278
+ oneof :data do
279
+ optional :article_suggestion, :message, 6, "google.cloud.contactcenterinsights.v1.ArticleSuggestionData"
280
+ optional :faq_answer, :message, 7, "google.cloud.contactcenterinsights.v1.FaqAnswerData"
281
+ optional :smart_reply, :message, 8, "google.cloud.contactcenterinsights.v1.SmartReplyData"
282
+ optional :smart_compose_suggestion, :message, 9, "google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData"
283
+ optional :dialogflow_interaction, :message, 10, "google.cloud.contactcenterinsights.v1.DialogflowInteractionData"
284
+ end
285
+ end
286
+ add_message "google.cloud.contactcenterinsights.v1.AnswerFeedback" do
287
+ optional :correctness_level, :enum, 1, "google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel"
288
+ optional :clicked, :bool, 2
289
+ optional :displayed, :bool, 3
290
+ end
291
+ add_enum "google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel" do
292
+ value :CORRECTNESS_LEVEL_UNSPECIFIED, 0
293
+ value :NOT_CORRECT, 1
294
+ value :PARTIALLY_CORRECT, 2
295
+ value :FULLY_CORRECT, 3
296
+ end
297
+ add_message "google.cloud.contactcenterinsights.v1.ArticleSuggestionData" do
298
+ optional :title, :string, 1
299
+ optional :uri, :string, 2
300
+ optional :confidence_score, :float, 3
301
+ map :metadata, :string, :string, 4
302
+ optional :query_record, :string, 5
303
+ optional :source, :string, 6
304
+ end
305
+ add_message "google.cloud.contactcenterinsights.v1.FaqAnswerData" do
306
+ optional :answer, :string, 1
307
+ optional :confidence_score, :float, 2
308
+ optional :question, :string, 3
309
+ map :metadata, :string, :string, 4
310
+ optional :query_record, :string, 5
311
+ optional :source, :string, 6
312
+ end
313
+ add_message "google.cloud.contactcenterinsights.v1.SmartReplyData" do
314
+ optional :reply, :string, 1
315
+ optional :confidence_score, :double, 2
316
+ map :metadata, :string, :string, 3
317
+ optional :query_record, :string, 4
318
+ end
319
+ add_message "google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData" do
320
+ optional :suggestion, :string, 1
321
+ optional :confidence_score, :double, 2
322
+ map :metadata, :string, :string, 3
323
+ optional :query_record, :string, 4
324
+ end
325
+ add_message "google.cloud.contactcenterinsights.v1.DialogflowInteractionData" do
326
+ optional :dialogflow_intent_id, :string, 1
327
+ optional :confidence, :float, 2
328
+ end
329
+ add_message "google.cloud.contactcenterinsights.v1.ConversationParticipant" do
330
+ optional :dialogflow_participant, :string, 1
331
+ optional :role, :enum, 2, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
332
+ oneof :participant do
333
+ optional :dialogflow_participant_name, :string, 5
334
+ optional :user_id, :string, 6
335
+ end
336
+ end
337
+ add_enum "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role" do
338
+ value :ROLE_UNSPECIFIED, 0
339
+ value :HUMAN_AGENT, 1
340
+ value :AUTOMATED_AGENT, 2
341
+ value :END_USER, 3
342
+ value :ANY_AGENT, 4
343
+ end
344
+ end
345
+ end
346
+
347
+ module Google
348
+ module Cloud
349
+ module ContactCenterInsights
350
+ module V1
351
+ Conversation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation").msgclass
352
+ Conversation::CallMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.CallMetadata").msgclass
353
+ Conversation::Transcript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript").msgclass
354
+ Conversation::Transcript::TranscriptSegment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment").msgclass
355
+ Conversation::Transcript::TranscriptSegment::WordInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo").msgclass
356
+ Conversation::Medium = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Medium").enummodule
357
+ Analysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Analysis").msgclass
358
+ ConversationDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationDataSource").msgclass
359
+ GcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.GcsSource").msgclass
360
+ DialogflowSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DialogflowSource").msgclass
361
+ AnalysisResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnalysisResult").msgclass
362
+ AnalysisResult::CallAnalysisMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnalysisResult.CallAnalysisMetadata").msgclass
363
+ IssueModelResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModelResult").msgclass
364
+ ConversationLevelSentiment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationLevelSentiment").msgclass
365
+ IssueAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueAssignment").msgclass
366
+ CallAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CallAnnotation").msgclass
367
+ AnnotationBoundary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnnotationBoundary").msgclass
368
+ Entity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Entity").msgclass
369
+ Entity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Entity.Type").enummodule
370
+ Intent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Intent").msgclass
371
+ PhraseMatchData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatchData").msgclass
372
+ DialogflowIntent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DialogflowIntent").msgclass
373
+ InterruptionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.InterruptionData").msgclass
374
+ SilenceData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SilenceData").msgclass
375
+ HoldData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.HoldData").msgclass
376
+ EntityMentionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.EntityMentionData").msgclass
377
+ EntityMentionData::MentionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType").enummodule
378
+ IntentMatchData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IntentMatchData").msgclass
379
+ SentimentData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SentimentData").msgclass
380
+ IssueModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel").msgclass
381
+ IssueModel::InputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig").msgclass
382
+ IssueModel::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel.State").enummodule
383
+ Issue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Issue").msgclass
384
+ IssueModelLabelStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModelLabelStats").msgclass
385
+ IssueModelLabelStats::IssueStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModelLabelStats.IssueStats").msgclass
386
+ PhraseMatcher = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatcher").msgclass
387
+ PhraseMatcher::PhraseMatcherType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType").enummodule
388
+ PhraseMatchRuleGroup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup").msgclass
389
+ PhraseMatchRuleGroup::PhraseMatchRuleGroupType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType").enummodule
390
+ PhraseMatchRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatchRule").msgclass
391
+ PhraseMatchRuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig").msgclass
392
+ ExactMatchConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExactMatchConfig").msgclass
393
+ Settings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Settings").msgclass
394
+ Settings::AnalysisConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig").msgclass
395
+ RuntimeAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.RuntimeAnnotation").msgclass
396
+ AnswerFeedback = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnswerFeedback").msgclass
397
+ AnswerFeedback::CorrectnessLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnswerFeedback.CorrectnessLevel").enummodule
398
+ ArticleSuggestionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ArticleSuggestionData").msgclass
399
+ FaqAnswerData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.FaqAnswerData").msgclass
400
+ SmartReplyData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SmartReplyData").msgclass
401
+ SmartComposeSuggestionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SmartComposeSuggestionData").msgclass
402
+ DialogflowInteractionData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DialogflowInteractionData").msgclass
403
+ ConversationParticipant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant").msgclass
404
+ ConversationParticipant::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant.Role").enummodule
405
+ end
406
+ end
407
+ end
408
+ end