google-cloud-contact_center_insights-v1 0.16.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/client.rb +16 -3
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/operations.rb +10 -1
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/paths.rb +19 -0
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/client.rb +693 -2
- data/lib/google/cloud/contact_center_insights/v1/contact_center_insights/rest/operations.rb +75 -0
- data/lib/google/cloud/contact_center_insights/v1/version.rb +1 -1
- data/lib/google/cloud/contactcenterinsights/v1/contact_center_insights_pb.rb +1 -1
- data/lib/google/cloud/contactcenterinsights/v1/resources_pb.rb +2 -1
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/cloud/contactcenterinsights/v1/contact_center_insights.rb +6 -1
- data/proto_docs/google/cloud/contactcenterinsights/v1/resources.rb +15 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648ca1323ca88fcbbbe9e3efae42083a507aacf3bcd365294d51d4444e7d0185
|
4
|
+
data.tar.gz: 43dec5c6f36011d5cb6eebad39a9630877dd58f581c594805bb0ba1041e26add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46cf53baa050f50f2095591831ea5e685de9ca4482383195df04a09c2d0be8e0f0a26569dc92ea623f78dd4f23163c373479d4495f75777204d19b57f715483e
|
7
|
+
data.tar.gz: d15f5e1a4df97a8ed5f481e206376b00e4f4cc1138fc3564a0fcdb6bda1446808d2c1506926fb5cce1fb6ab38db0d428288d81e79152f3e197644f62eb0cc1fa
|
@@ -149,7 +149,8 @@ module Google
|
|
149
149
|
credentials: credentials,
|
150
150
|
endpoint: @config.endpoint,
|
151
151
|
channel_args: @config.channel_args,
|
152
|
-
interceptors: @config.interceptors
|
152
|
+
interceptors: @config.interceptors,
|
153
|
+
channel_pool_config: @config.channel_pool
|
153
154
|
)
|
154
155
|
end
|
155
156
|
|
@@ -271,7 +272,7 @@ module Google
|
|
271
272
|
# @param options [::Gapic::CallOptions, ::Hash]
|
272
273
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
273
274
|
#
|
274
|
-
# @overload upload_conversation(parent: nil, conversation: nil, conversation_id: nil, redaction_config: nil)
|
275
|
+
# @overload upload_conversation(parent: nil, conversation: nil, conversation_id: nil, redaction_config: nil, speech_config: nil)
|
275
276
|
# Pass arguments to `upload_conversation` via keyword arguments. Note that at
|
276
277
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
277
278
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -290,6 +291,9 @@ module Google
|
|
290
291
|
# @param redaction_config [::Google::Cloud::ContactCenterInsights::V1::RedactionConfig, ::Hash]
|
291
292
|
# Optional. DLP settings for transcript redaction. Optional, will default to
|
292
293
|
# the config specified in Settings.
|
294
|
+
# @param speech_config [::Google::Cloud::ContactCenterInsights::V1::SpeechConfig, ::Hash]
|
295
|
+
# Optional. Default Speech-to-Text configuration. Optional, will default to
|
296
|
+
# the config specified in Settings.
|
293
297
|
#
|
294
298
|
# @yield [response, operation] Access the result along with the RPC operation
|
295
299
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1219,7 +1223,8 @@ module Google
|
|
1219
1223
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1220
1224
|
#
|
1221
1225
|
# @param gcs_source [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource, ::Hash]
|
1222
|
-
# A cloud storage bucket source.
|
1226
|
+
# A cloud storage bucket source. Note that any previously ingested objects
|
1227
|
+
# from the source will be skipped to avoid duplication.
|
1223
1228
|
# @param transcript_object_config [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig, ::Hash]
|
1224
1229
|
# Configuration for when `source` contains conversation transcripts.
|
1225
1230
|
# @param parent [::String]
|
@@ -3737,6 +3742,14 @@ module Google
|
|
3737
3742
|
end
|
3738
3743
|
end
|
3739
3744
|
|
3745
|
+
##
|
3746
|
+
# Configuration for the channel pool
|
3747
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
3748
|
+
#
|
3749
|
+
def channel_pool
|
3750
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
3751
|
+
end
|
3752
|
+
|
3740
3753
|
##
|
3741
3754
|
# Configuration RPC class for the ContactCenterInsights API.
|
3742
3755
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -701,6 +702,14 @@ module Google
|
|
701
702
|
end
|
702
703
|
end
|
703
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
704
713
|
##
|
705
714
|
# Configuration RPC class for the Operations API.
|
706
715
|
#
|
@@ -204,6 +204,25 @@ module Google
|
|
204
204
|
"projects/#{project}/locations/#{location}/phraseMatchers/#{phrase_matcher}"
|
205
205
|
end
|
206
206
|
|
207
|
+
##
|
208
|
+
# Create a fully-qualified Recognizer resource string.
|
209
|
+
#
|
210
|
+
# The resource will be in the following format:
|
211
|
+
#
|
212
|
+
# `projects/{project}/locations/{location}/recognizers/{recognizer}`
|
213
|
+
#
|
214
|
+
# @param project [String]
|
215
|
+
# @param location [String]
|
216
|
+
# @param recognizer [String]
|
217
|
+
#
|
218
|
+
# @return [::String]
|
219
|
+
def recognizer_path project:, location:, recognizer:
|
220
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
221
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
222
|
+
|
223
|
+
"projects/#{project}/locations/#{location}/recognizers/#{recognizer}"
|
224
|
+
end
|
225
|
+
|
207
226
|
##
|
208
227
|
# Create a fully-qualified Settings resource string.
|
209
228
|
#
|