google-cloud-contact_center_insights-v1 0.1.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/client.rb +5 -5
- data/lib/google/cloud/contact_center_insights/v1/version.rb +1 -1
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_pb.rb +2 -2
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_services_pb.rb +1 -1
- data/lib/google/cloud/contactcenterinsights/v1/resources_pb.rb +13 -2
- data/proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb +9 -7
- data/proto_docs/google/cloud/contactcenterinsights/v1/resources.rb +39 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa1635f193c95e787f297e7e430c2caf8ff614c6b5f0a75fe576c42169d4a51
|
4
|
+
data.tar.gz: 8bf6ec96c4e77ea3ee781f2bca46f0207ba8ab8c6f8db37d284bdce590022608
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93475b5ee3090b04f96bc89c4b078ba62acccf02b85e20f4473d2af40a07e1c6839b6ad4dc1b674632530bc6018cd79d1473972bf93f6b45e13e29178144f5a0
|
7
|
+
data.tar.gz: cd865ad9ad8cecaadf3527feec26278fb4f1ba76c976d0aed7b297e5be40e17fed2d5d8130648e668c672585ed0b7fe3ab48c8461e7110d7ada809c8b1e3dcea
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ response = client.create_conversation request
|
|
40
40
|
View the [Client Library Documentation](https://googleapis.dev/ruby/google-cloud-contact_center_insights-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/contact-center/insights/)
|
43
|
+
See also the [Product Documentation](https://cloud.google.com/contact-center/insights/docs)
|
44
44
|
for general usage information.
|
45
45
|
|
46
46
|
## Enabling Logging
|
@@ -399,10 +399,10 @@ module Google
|
|
399
399
|
# @param parent [::String]
|
400
400
|
# Required. The parent resource of the conversation.
|
401
401
|
# @param page_size [::Integer]
|
402
|
-
# The maximum number of conversations to return in the response.
|
403
|
-
#
|
404
|
-
#
|
405
|
-
#
|
402
|
+
# The maximum number of conversations to return in the response. A valid page
|
403
|
+
# size ranges from 0 to 1,000 inclusive. If the page size is zero or
|
404
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call
|
405
|
+
# might return fewer results than the requested page size.
|
406
406
|
# @param page_token [::String]
|
407
407
|
# The value returned by the last `ListConversationsResponse`. This value
|
408
408
|
# indicates that this is a continuation of a prior `ListConversations` call
|
@@ -2108,7 +2108,7 @@ module Google
|
|
2108
2108
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
2109
2109
|
#
|
2110
2110
|
# @param settings [::Google::Cloud::ContactCenterInsights::V1::Settings, ::Hash]
|
2111
|
-
# Required. The new values
|
2111
|
+
# Required. The new settings values.
|
2112
2112
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
2113
2113
|
# Required. The list of fields to be updated.
|
2114
2114
|
#
|
@@ -1,8 +1,6 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/contactcenterinsights/v1/contact_center_insights.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/annotations_pb'
|
7
5
|
require 'google/api/client_pb'
|
8
6
|
require 'google/api/field_behavior_pb'
|
@@ -14,6 +12,8 @@ require 'google/protobuf/empty_pb'
|
|
14
12
|
require 'google/protobuf/field_mask_pb'
|
15
13
|
require 'google/protobuf/timestamp_pb'
|
16
14
|
require 'google/rpc/status_pb'
|
15
|
+
require 'google/protobuf'
|
16
|
+
|
17
17
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
18
|
add_file("google/cloud/contactcenterinsights/v1/contact_center_insights.proto", :syntax => :proto3) do
|
19
19
|
add_message "google.cloud.contactcenterinsights.v1.CalculateStatsRequest" do
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# An API that lets users analyze and explore their business conversation data.
|
28
28
|
class Service
|
29
29
|
|
30
|
-
include GRPC::GenericService
|
30
|
+
include ::GRPC::GenericService
|
31
31
|
|
32
32
|
self.marshal_class_method = :encode
|
33
33
|
self.unmarshal_class_method = :decode
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/contactcenterinsights/v1/resources.proto
|
3
3
|
|
4
|
-
require 'google/protobuf'
|
5
|
-
|
6
4
|
require 'google/api/field_behavior_pb'
|
7
5
|
require 'google/api/resource_pb'
|
8
6
|
require 'google/protobuf/duration_pb'
|
9
7
|
require 'google/protobuf/timestamp_pb'
|
10
8
|
require 'google/api/annotations_pb'
|
9
|
+
require 'google/protobuf'
|
10
|
+
|
11
11
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
12
|
add_file("google/cloud/contactcenterinsights/v1/resources.proto", :syntax => :proto3) do
|
13
13
|
add_message "google.cloud.contactcenterinsights.v1.Conversation" do
|
@@ -42,12 +42,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
42
42
|
repeated :transcript_segments, :message, 1, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment"
|
43
43
|
end
|
44
44
|
add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment" do
|
45
|
+
optional :message_time, :message, 6, "google.protobuf.Timestamp"
|
45
46
|
optional :text, :string, 1
|
46
47
|
optional :confidence, :float, 2
|
47
48
|
repeated :words, :message, 3, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo"
|
48
49
|
optional :language_code, :string, 4
|
49
50
|
optional :channel_tag, :int32, 5
|
50
51
|
optional :segment_participant, :message, 9, "google.cloud.contactcenterinsights.v1.ConversationParticipant"
|
52
|
+
optional :dialogflow_segment_metadata, :message, 10, "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata"
|
53
|
+
optional :sentiment, :message, 11, "google.cloud.contactcenterinsights.v1.SentimentData"
|
51
54
|
end
|
52
55
|
add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo" do
|
53
56
|
optional :start_offset, :message, 1, "google.protobuf.Duration"
|
@@ -55,6 +58,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
55
58
|
optional :word, :string, 3
|
56
59
|
optional :confidence, :float, 4
|
57
60
|
end
|
61
|
+
add_message "google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata" do
|
62
|
+
optional :smart_reply_allowlist_covered, :bool, 1
|
63
|
+
end
|
58
64
|
add_enum "google.cloud.contactcenterinsights.v1.Conversation.Medium" do
|
59
65
|
value :MEDIUM_UNSPECIFIED, 0
|
60
66
|
value :PHONE_CALL, 1
|
@@ -105,6 +111,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
105
111
|
add_message "google.cloud.contactcenterinsights.v1.IssueAssignment" do
|
106
112
|
optional :issue, :string, 1
|
107
113
|
optional :score, :double, 2
|
114
|
+
optional :display_name, :string, 3
|
108
115
|
end
|
109
116
|
add_message "google.cloud.contactcenterinsights.v1.CallAnnotation" do
|
110
117
|
optional :channel_tag, :int32, 1
|
@@ -194,6 +201,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
194
201
|
add_message "google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig" do
|
195
202
|
optional :medium, :enum, 1, "google.cloud.contactcenterinsights.v1.Conversation.Medium"
|
196
203
|
optional :training_conversations_count, :int64, 2
|
204
|
+
optional :filter, :string, 3
|
197
205
|
end
|
198
206
|
add_enum "google.cloud.contactcenterinsights.v1.IssueModel.State" do
|
199
207
|
value :STATE_UNSPECIFIED, 0
|
@@ -229,6 +237,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
229
237
|
repeated :phrase_match_rule_groups, :message, 8, "google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup"
|
230
238
|
optional :activation_update_time, :message, 9, "google.protobuf.Timestamp"
|
231
239
|
optional :role_match, :enum, 10, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
|
240
|
+
optional :update_time, :message, 11, "google.protobuf.Timestamp"
|
232
241
|
end
|
233
242
|
add_enum "google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType" do
|
234
243
|
value :PHRASE_MATCHER_TYPE_UNSPECIFIED, 0
|
@@ -328,6 +337,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
328
337
|
end
|
329
338
|
add_message "google.cloud.contactcenterinsights.v1.ConversationParticipant" do
|
330
339
|
optional :dialogflow_participant, :string, 1
|
340
|
+
optional :obfuscated_external_user_id, :string, 3
|
331
341
|
optional :role, :enum, 2, "google.cloud.contactcenterinsights.v1.ConversationParticipant.Role"
|
332
342
|
oneof :participant do
|
333
343
|
optional :dialogflow_participant_name, :string, 5
|
@@ -353,6 +363,7 @@ module Google
|
|
353
363
|
Conversation::Transcript = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript").msgclass
|
354
364
|
Conversation::Transcript::TranscriptSegment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment").msgclass
|
355
365
|
Conversation::Transcript::TranscriptSegment::WordInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.WordInfo").msgclass
|
366
|
+
Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Transcript.TranscriptSegment.DialogflowSegmentMetadata").msgclass
|
356
367
|
Conversation::Medium = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Conversation.Medium").enummodule
|
357
368
|
Analysis = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.Analysis").msgclass
|
358
369
|
ConversationDataSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationDataSource").msgclass
|
@@ -59,6 +59,7 @@ module Google
|
|
59
59
|
# matches in the set of conversations. Key has the format:
|
60
60
|
# `projects/<Project ID>/locations/<Location ID>/issueModels/<Issue Model
|
61
61
|
# ID>/issues/<Issue ID>`
|
62
|
+
# Deprecated, use `issue_matches_stats` field instead.
|
62
63
|
# @!attribute [rw] conversation_count_time_series
|
63
64
|
# @return [::Google::Cloud::ContactCenterInsights::V1::CalculateStatsResponse::TimeSeries]
|
64
65
|
# A time series representing the count of conversations created over time
|
@@ -162,10 +163,10 @@ module Google
|
|
162
163
|
# Required. The parent resource of the conversation.
|
163
164
|
# @!attribute [rw] page_size
|
164
165
|
# @return [::Integer]
|
165
|
-
# The maximum number of conversations to return in the response.
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
166
|
+
# The maximum number of conversations to return in the response. A valid page
|
167
|
+
# size ranges from 0 to 1,000 inclusive. If the page size is zero or
|
168
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call
|
169
|
+
# might return fewer results than the requested page size.
|
169
170
|
# @!attribute [rw] page_token
|
170
171
|
# @return [::String]
|
171
172
|
# The value returned by the last `ListConversationsResponse`. This value
|
@@ -189,8 +190,9 @@ module Google
|
|
189
190
|
# The conversations that match the request.
|
190
191
|
# @!attribute [rw] next_page_token
|
191
192
|
# @return [::String]
|
192
|
-
# A token
|
193
|
-
#
|
193
|
+
# A token which can be sent as `page_token` to retrieve the next page. If
|
194
|
+
# this field is set, it means there is another page available. If it is not
|
195
|
+
# set, it means no other pages are available.
|
194
196
|
class ListConversationsResponse
|
195
197
|
include ::Google::Protobuf::MessageExts
|
196
198
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -658,7 +660,7 @@ module Google
|
|
658
660
|
# The request to update project-level settings.
|
659
661
|
# @!attribute [rw] settings
|
660
662
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Settings]
|
661
|
-
# Required. The new values
|
663
|
+
# Required. The new settings values.
|
662
664
|
# @!attribute [rw] update_mask
|
663
665
|
# @return [::Google::Protobuf::FieldMask]
|
664
666
|
# Required. The list of fields to be updated.
|
@@ -66,7 +66,7 @@ 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.
|
69
|
+
# Immutable. The conversation medium, if unspecified will default to PHONE_CALL.
|
70
70
|
# @!attribute [r] duration
|
71
71
|
# @return [::Google::Protobuf::Duration]
|
72
72
|
# Output only. The duration of the conversation.
|
@@ -110,6 +110,9 @@ module Google
|
|
110
110
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
111
111
|
|
112
112
|
# A segment of a full transcript.
|
113
|
+
# @!attribute [rw] message_time
|
114
|
+
# @return [::Google::Protobuf::Timestamp]
|
115
|
+
# The time that the message occurred, if provided.
|
113
116
|
# @!attribute [rw] text
|
114
117
|
# @return [::String]
|
115
118
|
# The text of this segment.
|
@@ -134,6 +137,12 @@ module Google
|
|
134
137
|
# @!attribute [rw] segment_participant
|
135
138
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant]
|
136
139
|
# The participant of this segment.
|
140
|
+
# @!attribute [rw] dialogflow_segment_metadata
|
141
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Transcript::TranscriptSegment::DialogflowSegmentMetadata]
|
142
|
+
# CCAI metadata relating to the current transcript segment.
|
143
|
+
# @!attribute [rw] sentiment
|
144
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::SentimentData]
|
145
|
+
# The sentiment for this transcript segment.
|
137
146
|
class TranscriptSegment
|
138
147
|
include ::Google::Protobuf::MessageExts
|
139
148
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -158,6 +167,16 @@ module Google
|
|
158
167
|
include ::Google::Protobuf::MessageExts
|
159
168
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
169
|
end
|
170
|
+
|
171
|
+
# Metadata from Dialogflow relating to the current transcript segment.
|
172
|
+
# @!attribute [rw] smart_reply_allowlist_covered
|
173
|
+
# @return [::Boolean]
|
174
|
+
# Whether the transcript segment was covered under the configured smart
|
175
|
+
# reply allowlist in Agent Assist.
|
176
|
+
class DialogflowSegmentMetadata
|
177
|
+
include ::Google::Protobuf::MessageExts
|
178
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
179
|
+
end
|
161
180
|
end
|
162
181
|
end
|
163
182
|
|
@@ -181,7 +200,7 @@ module Google
|
|
181
200
|
|
182
201
|
# Possible media for the conversation.
|
183
202
|
module Medium
|
184
|
-
# Default value.
|
203
|
+
# Default value, if unspecified will default to PHONE_CALL.
|
185
204
|
MEDIUM_UNSPECIFIED = 0
|
186
205
|
|
187
206
|
# The format for conversations that took place over the phone.
|
@@ -350,6 +369,10 @@ module Google
|
|
350
369
|
# @return [::Float]
|
351
370
|
# Score indicating the likelihood of the issue assignment.
|
352
371
|
# currently bounded on [0,1].
|
372
|
+
# @!attribute [rw] display_name
|
373
|
+
# @return [::String]
|
374
|
+
# Immutable. Display name of the assigned issue. This field is set at time of analyis
|
375
|
+
# and immutable since then.
|
353
376
|
class IssueAssignment
|
354
377
|
include ::Google::Protobuf::MessageExts
|
355
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -666,10 +689,16 @@ module Google
|
|
666
689
|
# Configs for the input data used to create the issue model.
|
667
690
|
# @!attribute [rw] medium
|
668
691
|
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium]
|
669
|
-
#
|
692
|
+
# Medium of conversations used in training data. This field is being
|
693
|
+
# deprecated. To specify the medium to be used in training a new issue
|
694
|
+
# model, set the `medium` field on `filter`.
|
670
695
|
# @!attribute [r] training_conversations_count
|
671
696
|
# @return [::Integer]
|
672
697
|
# Output only. Number of conversations used in training. Output only.
|
698
|
+
# @!attribute [rw] filter
|
699
|
+
# @return [::String]
|
700
|
+
# A filter to reduce the conversations used for training the model to a
|
701
|
+
# specific subset.
|
673
702
|
class InputDataConfig
|
674
703
|
include ::Google::Protobuf::MessageExts
|
675
704
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -797,6 +826,9 @@ module Google
|
|
797
826
|
# The role whose utterances the phrase matcher should be matched
|
798
827
|
# against. If the role is ROLE_UNSPECIFIED it will be matched against any
|
799
828
|
# utterances in the transcript.
|
829
|
+
# @!attribute [r] update_time
|
830
|
+
# @return [::Google::Protobuf::Timestamp]
|
831
|
+
# Output only. The most recent time at which the phrase matcher was updated.
|
800
832
|
class PhraseMatcher
|
801
833
|
include ::Google::Protobuf::MessageExts
|
802
834
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1180,8 +1212,12 @@ module Google
|
|
1180
1212
|
# A user-specified ID representing the participant.
|
1181
1213
|
# @!attribute [rw] dialogflow_participant
|
1182
1214
|
# @return [::String]
|
1215
|
+
# Deprecated. Use `dialogflow_participant_name` instead.
|
1183
1216
|
# The name of the Dialogflow participant. Format:
|
1184
1217
|
# projects/\\{project}/locations/\\{location}/conversations/\\{conversation}/participants/\\{participant}
|
1218
|
+
# @!attribute [rw] obfuscated_external_user_id
|
1219
|
+
# @return [::String]
|
1220
|
+
# Obfuscated user ID from Dialogflow.
|
1185
1221
|
# @!attribute [rw] role
|
1186
1222
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role]
|
1187
1223
|
# The role of the participant.
|
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.4.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: 2021-
|
11
|
+
date: 2021-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|