google-cloud-contact_center_insights-v1 0.8.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +311 -4
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights.rb +1 -1
- data/lib/google/cloud/contact_center_insights/v1/version.rb +1 -1
- data/lib/google/cloud/contact_center_insights/v1.rb +2 -2
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_pb.rb +67 -0
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_services_pb.rb +7 -0
- data/lib/google/cloud/contactcenterinsights/v1/resources_pb.rb +21 -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 +171 -7
- data/proto_docs/google/cloud/contactcenterinsights/v1/resources.rb +90 -18
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +7 -5
@@ -66,7 +66,8 @@ module Google
|
|
66
66
|
# Output only. The conversation transcript.
|
67
67
|
# @!attribute [rw] medium
|
68
68
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium]
|
69
|
-
# Immutable. The conversation medium, if unspecified will default to
|
69
|
+
# Immutable. The conversation medium, if unspecified will default to
|
70
|
+
# PHONE_CALL.
|
70
71
|
# @!attribute [r] duration
|
71
72
|
# @return [::Google::Protobuf::Duration]
|
72
73
|
# Output only. The duration of the conversation.
|
@@ -78,12 +79,12 @@ module Google
|
|
78
79
|
# Output only. The conversation's latest analysis, if one exists.
|
79
80
|
# @!attribute [r] runtime_annotations
|
80
81
|
# @return [::Array<::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation>]
|
81
|
-
# Output only. The annotations that were generated during the customer and
|
82
|
-
# interaction.
|
82
|
+
# Output only. The annotations that were generated during the customer and
|
83
|
+
# agent interaction.
|
83
84
|
# @!attribute [r] dialogflow_intents
|
84
85
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::ContactCenterInsights::V1::DialogflowIntent}]
|
85
|
-
# Output only. All the matched Dialogflow intents in the call. The key
|
86
|
-
# Dialogflow intent, format:
|
86
|
+
# Output only. All the matched Dialogflow intents in the call. The key
|
87
|
+
# corresponds to a Dialogflow intent, format:
|
87
88
|
# projects/\\{project}/agent/\\{agent}/intents/\\{intent}
|
88
89
|
# @!attribute [rw] obfuscated_user_id
|
89
90
|
# @return [::String]
|
@@ -225,12 +226,16 @@ module Google
|
|
225
226
|
# Output only. The time at which the analysis was requested.
|
226
227
|
# @!attribute [r] create_time
|
227
228
|
# @return [::Google::Protobuf::Timestamp]
|
228
|
-
# Output only. The time at which the analysis was created, which occurs when
|
229
|
-
# long-running operation completes.
|
229
|
+
# Output only. The time at which the analysis was created, which occurs when
|
230
|
+
# the long-running operation completes.
|
230
231
|
# @!attribute [r] analysis_result
|
231
232
|
# @return [::Google::Cloud::ContactCenterInsights::V1::AnalysisResult]
|
232
|
-
# Output only. The result of the analysis, which is populated when the
|
233
|
-
# finishes.
|
233
|
+
# Output only. The result of the analysis, which is populated when the
|
234
|
+
# analysis finishes.
|
235
|
+
# @!attribute [rw] annotator_selector
|
236
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
237
|
+
# To select the annotators to run and the phrase matchers to use
|
238
|
+
# (if any). If not specified, all annotators will be run.
|
234
239
|
class Analysis
|
235
240
|
include ::Google::Protobuf::MessageExts
|
236
241
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -255,8 +260,8 @@ module Google
|
|
255
260
|
# audio.
|
256
261
|
# @!attribute [rw] transcript_uri
|
257
262
|
# @return [::String]
|
258
|
-
# Immutable. Cloud Storage URI that points to a file that contains the
|
259
|
-
# transcript.
|
263
|
+
# Immutable. Cloud Storage URI that points to a file that contains the
|
264
|
+
# conversation transcript.
|
260
265
|
class GcsSource
|
261
266
|
include ::Google::Protobuf::MessageExts
|
262
267
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -375,8 +380,8 @@ module Google
|
|
375
380
|
# currently bounded on [0,1].
|
376
381
|
# @!attribute [rw] display_name
|
377
382
|
# @return [::String]
|
378
|
-
# Immutable. Display name of the assigned issue. This field is set at time of
|
379
|
-
# and immutable since then.
|
383
|
+
# Immutable. Display name of the assigned issue. This field is set at time of
|
384
|
+
# analyis and immutable since then.
|
380
385
|
class IssueAssignment
|
381
386
|
include ::Google::Protobuf::MessageExts
|
382
387
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -404,6 +409,9 @@ module Google
|
|
404
409
|
# @!attribute [rw] phrase_match_data
|
405
410
|
# @return [::Google::Cloud::ContactCenterInsights::V1::PhraseMatchData]
|
406
411
|
# Data specifying a phrase match.
|
412
|
+
# @!attribute [rw] issue_match_data
|
413
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueMatchData]
|
414
|
+
# Data specifying an issue match.
|
407
415
|
# @!attribute [rw] channel_tag
|
408
416
|
# @return [::Integer]
|
409
417
|
# The channel of the audio where the annotation occurs. For single-channel
|
@@ -662,6 +670,15 @@ module Google
|
|
662
670
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
663
671
|
end
|
664
672
|
|
673
|
+
# The data for an issue match annotation.
|
674
|
+
# @!attribute [rw] issue_assignment
|
675
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueAssignment]
|
676
|
+
# Information about the issue's assignment.
|
677
|
+
class IssueMatchData
|
678
|
+
include ::Google::Protobuf::MessageExts
|
679
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
680
|
+
end
|
681
|
+
|
665
682
|
# The issue model resource.
|
666
683
|
# @!attribute [rw] name
|
667
684
|
# @return [::String]
|
@@ -677,6 +694,9 @@ module Google
|
|
677
694
|
# @!attribute [r] update_time
|
678
695
|
# @return [::Google::Protobuf::Timestamp]
|
679
696
|
# Output only. The most recent time at which the issue model was updated.
|
697
|
+
# @!attribute [r] issue_count
|
698
|
+
# @return [::Integer]
|
699
|
+
# Output only. Number of issues in this issue model.
|
680
700
|
# @!attribute [r] state
|
681
701
|
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueModel::State]
|
682
702
|
# Output only. State of the model.
|
@@ -685,7 +705,8 @@ module Google
|
|
685
705
|
# Configs for the input data that used to create the issue model.
|
686
706
|
# @!attribute [r] training_stats
|
687
707
|
# @return [::Google::Cloud::ContactCenterInsights::V1::IssueModelLabelStats]
|
688
|
-
# Output only. Immutable. The issue model's label statistics on its training
|
708
|
+
# Output only. Immutable. The issue model's label statistics on its training
|
709
|
+
# data.
|
689
710
|
class IssueModel
|
690
711
|
include ::Google::Protobuf::MessageExts
|
691
712
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -746,6 +767,10 @@ module Google
|
|
746
767
|
# @!attribute [r] update_time
|
747
768
|
# @return [::Google::Protobuf::Timestamp]
|
748
769
|
# Output only. The most recent time that this issue was updated.
|
770
|
+
# @!attribute [r] sample_utterances
|
771
|
+
# @return [::Array<::String>]
|
772
|
+
# Output only. Resource names of the sample representative utterances that
|
773
|
+
# match to this issue.
|
749
774
|
class Issue
|
750
775
|
include ::Google::Protobuf::MessageExts
|
751
776
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -811,8 +836,8 @@ module Google
|
|
811
836
|
# it will default to `revision_id`.
|
812
837
|
# @!attribute [r] revision_create_time
|
813
838
|
# @return [::Google::Protobuf::Timestamp]
|
814
|
-
# Output only. The timestamp of when the revision was created. It is also the
|
815
|
-
# when a new matcher is added.
|
839
|
+
# Output only. The timestamp of when the revision was created. It is also the
|
840
|
+
# create time when a new matcher is added.
|
816
841
|
# @!attribute [rw] display_name
|
817
842
|
# @return [::String]
|
818
843
|
# The human-readable name of the phrase matcher.
|
@@ -827,7 +852,8 @@ module Google
|
|
827
852
|
# A list of phase match rule groups that are included in this matcher.
|
828
853
|
# @!attribute [r] activation_update_time
|
829
854
|
# @return [::Google::Protobuf::Timestamp]
|
830
|
-
# Output only. The most recent time at which the activation status was
|
855
|
+
# Output only. The most recent time at which the activation status was
|
856
|
+
# updated.
|
831
857
|
# @!attribute [rw] role_match
|
832
858
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role]
|
833
859
|
# The role whose utterances the phrase matcher should be matched
|
@@ -966,6 +992,10 @@ module Google
|
|
966
992
|
# @return [::Float]
|
967
993
|
# Percentage of conversations created using Dialogflow runtime integration
|
968
994
|
# to analyze automatically, between [0, 100].
|
995
|
+
# @!attribute [rw] annotator_selector
|
996
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
997
|
+
# To select the annotators to run and the phrase matchers to use
|
998
|
+
# (if any). If not specified, all annotators will be run.
|
969
999
|
class AnalysisConfig
|
970
1000
|
include ::Google::Protobuf::MessageExts
|
971
1001
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1268,11 +1298,53 @@ module Google
|
|
1268
1298
|
# Output only. The most recent time at which the view was updated.
|
1269
1299
|
# @!attribute [rw] value
|
1270
1300
|
# @return [::String]
|
1271
|
-
# String with specific view properties.
|
1301
|
+
# String with specific view properties, must be non-empty.
|
1272
1302
|
class View
|
1273
1303
|
include ::Google::Protobuf::MessageExts
|
1274
1304
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1275
1305
|
end
|
1306
|
+
|
1307
|
+
# Selector of all available annotators and phrase matchers to run.
|
1308
|
+
# @!attribute [rw] run_interruption_annotator
|
1309
|
+
# @return [::Boolean]
|
1310
|
+
# Whether to run the interruption annotator.
|
1311
|
+
# @!attribute [rw] run_silence_annotator
|
1312
|
+
# @return [::Boolean]
|
1313
|
+
# Whether to run the silence annotator.
|
1314
|
+
# @!attribute [rw] run_phrase_matcher_annotator
|
1315
|
+
# @return [::Boolean]
|
1316
|
+
# Whether to run the active phrase matcher annotator(s).
|
1317
|
+
# @!attribute [rw] phrase_matchers
|
1318
|
+
# @return [::Array<::String>]
|
1319
|
+
# The list of phrase matchers to run. If not provided, all active phrase
|
1320
|
+
# matchers will be used. If inactive phrase matchers are provided, they will
|
1321
|
+
# not be used. Phrase matchers will be run only if
|
1322
|
+
# run_phrase_matcher_annotator is set to true. Format:
|
1323
|
+
# projects/\\{project}/locations/\\{location}/phraseMatchers/\\{phrase_matcher}
|
1324
|
+
# @!attribute [rw] run_sentiment_annotator
|
1325
|
+
# @return [::Boolean]
|
1326
|
+
# Whether to run the sentiment annotator.
|
1327
|
+
# @!attribute [rw] run_entity_annotator
|
1328
|
+
# @return [::Boolean]
|
1329
|
+
# Whether to run the entity annotator.
|
1330
|
+
# @!attribute [rw] run_intent_annotator
|
1331
|
+
# @return [::Boolean]
|
1332
|
+
# Whether to run the intent annotator.
|
1333
|
+
# @!attribute [rw] run_issue_model_annotator
|
1334
|
+
# @return [::Boolean]
|
1335
|
+
# Whether to run the issue model annotator. A model should have already been
|
1336
|
+
# deployed for this to take effect.
|
1337
|
+
# @!attribute [rw] issue_models
|
1338
|
+
# @return [::Array<::String>]
|
1339
|
+
# The issue model to run. If not provided, the most recently deployed topic
|
1340
|
+
# model will be used. The provided issue model will only be used for
|
1341
|
+
# inference if the issue model is deployed and if run_issue_model_annotator
|
1342
|
+
# is set to true. If more than one issue model is provided, only the first
|
1343
|
+
# provided issue model will be used for inference.
|
1344
|
+
class AnnotatorSelector
|
1345
|
+
include ::Google::Protobuf::MessageExts
|
1346
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1347
|
+
end
|
1276
1348
|
end
|
1277
1349
|
end
|
1278
1350
|
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.10.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:
|
11
|
+
date: 2023-02-13 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:
|
19
|
+
version: 0.16.0
|
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:
|
29
|
+
version: 0.16.0
|
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
|
@@ -213,7 +215,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
215
|
- !ruby/object:Gem::Version
|
214
216
|
version: '0'
|
215
217
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
218
|
+
rubygems_version: 3.4.2
|
217
219
|
signing_key:
|
218
220
|
specification_version: 4
|
219
221
|
summary: API Client library for the Contact Center AI Insights V1 API
|