google-cloud-contact_center_insights-v1 0.8.1 → 0.9.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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +1 -1
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/client.rb +307 -0
- data/lib/google/cloud/contact_center_insights/v1/version.rb +1 -1
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_pb.rb +59 -0
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_services_pb.rb +7 -0
- data/lib/google/cloud/contactcenterinsights/v1/resources_pb.rb +20 -0
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb +140 -0
- data/proto_docs/google/cloud/contactcenterinsights/v1/resources.rb +74 -8
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +6 -4
@@ -231,6 +231,10 @@ module Google
|
|
231
231
|
# @return [::Google::Cloud::ContactCenterInsights::V1::AnalysisResult]
|
232
232
|
# Output only. The result of the analysis, which is populated when the analysis
|
233
233
|
# finishes.
|
234
|
+
# @!attribute [rw] annotator_selector
|
235
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
236
|
+
# To select the annotators to run and the phrase matchers to use
|
237
|
+
# (if any). If not specified, all annotators will be run.
|
234
238
|
class Analysis
|
235
239
|
include ::Google::Protobuf::MessageExts
|
236
240
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -404,6 +408,9 @@ module Google
|
|
404
408
|
# @!attribute [rw] phrase_match_data
|
405
409
|
# @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatchData]
|
406
410
|
# Data specifying a phrase match.
|
411
|
+
# @!attribute [rw] issue_match_data
|
412
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueMatchData]
|
413
|
+
# Data specifying an issue match.
|
407
414
|
# @!attribute [rw] channel_tag
|
408
415
|
# @return [::Integer]
|
409
416
|
# The channel of the audio where the annotation occurs. For single-channel
|
@@ -662,6 +669,15 @@ module Google
|
|
662
669
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
663
670
|
end
|
664
671
|
|
672
|
+
# The data for an issue match annotation.
|
673
|
+
# @!attribute [rw] issue_assignment
|
674
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueAssignment]
|
675
|
+
# Information about the issue's assignment.
|
676
|
+
class IssueMatchData
|
677
|
+
include ::Google::Protobuf::MessageExts
|
678
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
679
|
+
end
|
680
|
+
|
665
681
|
# The issue model resource.
|
666
682
|
# @!attribute [rw] name
|
667
683
|
# @return [::String]
|
@@ -746,6 +762,10 @@ module Google
|
|
746
762
|
# @!attribute [r] update_time
|
747
763
|
# @return [::Google::Protobuf::Timestamp]
|
748
764
|
# Output only. The most recent time that this issue was updated.
|
765
|
+
# @!attribute [r] sample_utterances
|
766
|
+
# @return [::Array<::String>]
|
767
|
+
# Output only. Resource names of the sample representative utterances that match to this
|
768
|
+
# issue.
|
749
769
|
class Issue
|
750
770
|
include ::Google::Protobuf::MessageExts
|
751
771
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -966,6 +986,10 @@ module Google
|
|
966
986
|
# @return [::Float]
|
967
987
|
# Percentage of conversations created using Dialogflow runtime integration
|
968
988
|
# to analyze automatically, between [0, 100].
|
989
|
+
# @!attribute [rw] annotator_selector
|
990
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
991
|
+
# To select the annotators to run and the phrase matchers to use
|
992
|
+
# (if any). If not specified, all annotators will be run.
|
969
993
|
class AnalysisConfig
|
970
994
|
include ::Google::Protobuf::MessageExts
|
971
995
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1069,9 +1093,9 @@ module Google
|
|
1069
1093
|
# that it originates from.
|
1070
1094
|
# @!attribute [rw] query_record
|
1071
1095
|
# @return [::String]
|
1072
|
-
#
|
1096
|
+
# The name of the answer record.
|
1073
1097
|
# Format:
|
1074
|
-
# projects/\\{project}/locations/\\{location}/
|
1098
|
+
# projects/\\{project}/locations/\\{location}/answerRecords/\\{answer_record}
|
1075
1099
|
# @!attribute [rw] source
|
1076
1100
|
# @return [::String]
|
1077
1101
|
# The knowledge document that this answer was extracted from.
|
@@ -1109,9 +1133,9 @@ module Google
|
|
1109
1133
|
# it originates from.
|
1110
1134
|
# @!attribute [rw] query_record
|
1111
1135
|
# @return [::String]
|
1112
|
-
#
|
1136
|
+
# The name of the answer record.
|
1113
1137
|
# Format:
|
1114
|
-
# projects/\\{project}/locations/\\{location}/
|
1138
|
+
# projects/\\{project}/locations/\\{location}/answerRecords/\\{answer_record}
|
1115
1139
|
# @!attribute [rw] source
|
1116
1140
|
# @return [::String]
|
1117
1141
|
# The knowledge document that this answer was extracted from.
|
@@ -1146,9 +1170,9 @@ module Google
|
|
1146
1170
|
# which it originates.
|
1147
1171
|
# @!attribute [rw] query_record
|
1148
1172
|
# @return [::String]
|
1149
|
-
#
|
1173
|
+
# The name of the answer record.
|
1150
1174
|
# Format:
|
1151
|
-
# projects/\\{project}/locations/\\{location}/
|
1175
|
+
# projects/\\{project}/locations/\\{location}/answerRecords/\\{answer_record}
|
1152
1176
|
class SmartReplyData
|
1153
1177
|
include ::Google::Protobuf::MessageExts
|
1154
1178
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1178,9 +1202,9 @@ module Google
|
|
1178
1202
|
# document from which it originates.
|
1179
1203
|
# @!attribute [rw] query_record
|
1180
1204
|
# @return [::String]
|
1181
|
-
#
|
1205
|
+
# The name of the answer record.
|
1182
1206
|
# Format:
|
1183
|
-
# projects/\\{project}/locations/\\{location}/
|
1207
|
+
# projects/\\{project}/locations/\\{location}/answerRecords/\\{answer_record}
|
1184
1208
|
class SmartComposeSuggestionData
|
1185
1209
|
include ::Google::Protobuf::MessageExts
|
1186
1210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1273,6 +1297,48 @@ module Google
|
|
1273
1297
|
include ::Google::Protobuf::MessageExts
|
1274
1298
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1275
1299
|
end
|
1300
|
+
|
1301
|
+
# Selector of all available annotators and phrase matchers to run.
|
1302
|
+
# @!attribute [rw] run_interruption_annotator
|
1303
|
+
# @return [::Boolean]
|
1304
|
+
# Whether to run the interruption annotator.
|
1305
|
+
# @!attribute [rw] run_silence_annotator
|
1306
|
+
# @return [::Boolean]
|
1307
|
+
# Whether to run the silence annotator.
|
1308
|
+
# @!attribute [rw] run_phrase_matcher_annotator
|
1309
|
+
# @return [::Boolean]
|
1310
|
+
# Whether to run the active phrase matcher annotator(s).
|
1311
|
+
# @!attribute [rw] phrase_matchers
|
1312
|
+
# @return [::Array<::String>]
|
1313
|
+
# The list of phrase matchers to run. If not provided, all active phrase
|
1314
|
+
# matchers will be used. If inactive phrase matchers are provided, they will
|
1315
|
+
# not be used. Phrase matchers will be run only if
|
1316
|
+
# run_phrase_matcher_annotator is set to true. Format:
|
1317
|
+
# projects/\\{project}/locations/\\{location}/phraseMatchers/\\{phrase_matcher}
|
1318
|
+
# @!attribute [rw] run_sentiment_annotator
|
1319
|
+
# @return [::Boolean]
|
1320
|
+
# Whether to run the sentiment annotator.
|
1321
|
+
# @!attribute [rw] run_entity_annotator
|
1322
|
+
# @return [::Boolean]
|
1323
|
+
# Whether to run the entity annotator.
|
1324
|
+
# @!attribute [rw] run_intent_annotator
|
1325
|
+
# @return [::Boolean]
|
1326
|
+
# Whether to run the intent annotator.
|
1327
|
+
# @!attribute [rw] run_issue_model_annotator
|
1328
|
+
# @return [::Boolean]
|
1329
|
+
# Whether to run the issue model annotator. A model should have already been
|
1330
|
+
# deployed for this to take effect.
|
1331
|
+
# @!attribute [rw] issue_models
|
1332
|
+
# @return [::Array<::String>]
|
1333
|
+
# The issue model to run. If not provided, the most recently deployed topic
|
1334
|
+
# model will be used. The provided issue model will only be used for
|
1335
|
+
# inference if the issue model is deployed and if run_issue_model_annotator
|
1336
|
+
# is set to true. If more than one issue model is provided, only the first
|
1337
|
+
# provided issue model will be used for inference.
|
1338
|
+
class AnnotatorSelector
|
1339
|
+
include ::Google::Protobuf::MessageExts
|
1340
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1341
|
+
end
|
1276
1342
|
end
|
1277
1343
|
end
|
1278
1344
|
end
|
@@ -28,12 +28,14 @@ module Google
|
|
28
28
|
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
29
|
# @!attribute [rw] code
|
30
30
|
# @return [::Integer]
|
31
|
-
# The status code, which should be an enum value of
|
31
|
+
# The status code, which should be an enum value of
|
32
|
+
# [google.rpc.Code][google.rpc.Code].
|
32
33
|
# @!attribute [rw] message
|
33
34
|
# @return [::String]
|
34
35
|
# A developer-facing error message, which should be in English. Any
|
35
36
|
# user-facing error message should be localized and sent in the
|
36
|
-
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
37
|
+
# {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
|
38
|
+
# by the client.
|
37
39
|
# @!attribute [rw] details
|
38
40
|
# @return [::Array<::Google::Protobuf::Any>]
|
39
41
|
# A list of messages that carry the error details. There is a common set of
|
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: 0.
|
4
|
+
version: 0.9.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: 2022-
|
11
|
+
date: 2022-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.12'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.12'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -183,7 +183,9 @@ files:
|
|
183
183
|
- lib/google/cloud/contactcenterinsights/v1/contact_center_insights_services_pb.rb
|
184
184
|
- lib/google/cloud/contactcenterinsights/v1/resources_pb.rb
|
185
185
|
- proto_docs/README.md
|
186
|
+
- proto_docs/google/api/client.rb
|
186
187
|
- proto_docs/google/api/field_behavior.rb
|
188
|
+
- proto_docs/google/api/launch_stage.rb
|
187
189
|
- proto_docs/google/api/resource.rb
|
188
190
|
- proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb
|
189
191
|
- proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
|