google-cloud-contact_center_insights-v1 0.8.2 → 0.9.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 +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 +66 -0
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfb43cdf370e3fb52ba7c1313893c092420b67fcb1edf75006b043992f5894a4
|
4
|
+
data.tar.gz: f6eb715985210b02dad55cefc83d30f366cf39d7340dbc292257e13964a1082c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fff0a86aa1b7dc7c34fc93256d322c7a27f02508eae365047c803bf90bea0f6189782cecbebdf7f8751a3ace419c9064e3d9353a74e13ce894dd1ab5f83d6c8
|
7
|
+
data.tar.gz: 27c50d4b1e48b5f7bc1c23571d01bf40c5ab2caf37c0d72293447e583a47b95d6198aee907147db56730e4800491e2afe79050c9e246a284883a7d41d12ac641
|
data/AUTHENTICATION.md
CHANGED
@@ -112,7 +112,7 @@ credentials are discovered.
|
|
112
112
|
To configure your system for this, simply:
|
113
113
|
|
114
114
|
1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
|
115
|
-
2. Authenticate using OAuth 2.0 `$ gcloud auth login`
|
115
|
+
2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
|
116
116
|
3. Write code as if already authenticated.
|
117
117
|
|
118
118
|
**NOTE:** This is _not_ recommended for running in production. The Cloud SDK
|
data/README.md
CHANGED
@@ -46,7 +46,7 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
50
|
or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
@@ -995,6 +995,207 @@ module Google
|
|
995
995
|
raise ::Google::Cloud::Error.from_error(e)
|
996
996
|
end
|
997
997
|
|
998
|
+
##
|
999
|
+
# Analyzes multiple conversations in a single request.
|
1000
|
+
#
|
1001
|
+
# @overload bulk_analyze_conversations(request, options = nil)
|
1002
|
+
# Pass arguments to `bulk_analyze_conversations` via a request object, either of type
|
1003
|
+
# {::Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest} or an equivalent Hash.
|
1004
|
+
#
|
1005
|
+
# @param request [::Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest, ::Hash]
|
1006
|
+
# A request object representing the call parameters. Required. To specify no
|
1007
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1008
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1009
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1010
|
+
#
|
1011
|
+
# @overload bulk_analyze_conversations(parent: nil, filter: nil, analysis_percentage: nil, annotator_selector: nil)
|
1012
|
+
# Pass arguments to `bulk_analyze_conversations` via keyword arguments. Note that at
|
1013
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1014
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1015
|
+
#
|
1016
|
+
# @param parent [::String]
|
1017
|
+
# Required. The parent resource to create analyses in.
|
1018
|
+
# @param filter [::String]
|
1019
|
+
# Required. Filter used to select the subset of conversations to analyze.
|
1020
|
+
# @param analysis_percentage [::Float]
|
1021
|
+
# Required. Percentage of selected conversation to analyze, between
|
1022
|
+
# [0, 100].
|
1023
|
+
# @param annotator_selector [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector, ::Hash]
|
1024
|
+
# To select the annotators to run and the phrase matchers to use
|
1025
|
+
# (if any). If not specified, all annotators will be run.
|
1026
|
+
#
|
1027
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1028
|
+
# @yieldparam response [::Gapic::Operation]
|
1029
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1030
|
+
#
|
1031
|
+
# @return [::Gapic::Operation]
|
1032
|
+
#
|
1033
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1034
|
+
#
|
1035
|
+
# @example Basic example
|
1036
|
+
# require "google/cloud/contact_center_insights/v1"
|
1037
|
+
#
|
1038
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1039
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Client.new
|
1040
|
+
#
|
1041
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1042
|
+
# request = Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest.new
|
1043
|
+
#
|
1044
|
+
# # Call the bulk_analyze_conversations method.
|
1045
|
+
# result = client.bulk_analyze_conversations request
|
1046
|
+
#
|
1047
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
1048
|
+
# # object to check the status of an operation, cancel it, or wait
|
1049
|
+
# # for results. Here is how to block until completion:
|
1050
|
+
# result.wait_until_done! timeout: 60
|
1051
|
+
# if result.response?
|
1052
|
+
# p result.response
|
1053
|
+
# else
|
1054
|
+
# puts "Error!"
|
1055
|
+
# end
|
1056
|
+
#
|
1057
|
+
def bulk_analyze_conversations request, options = nil
|
1058
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1059
|
+
|
1060
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest
|
1061
|
+
|
1062
|
+
# Converts hash and nil to an options object
|
1063
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1064
|
+
|
1065
|
+
# Customize the options with defaults
|
1066
|
+
metadata = @config.rpcs.bulk_analyze_conversations.metadata.to_h
|
1067
|
+
|
1068
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
1069
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1070
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1071
|
+
gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
|
1072
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1073
|
+
|
1074
|
+
header_params = {}
|
1075
|
+
if request.parent
|
1076
|
+
header_params["parent"] = request.parent
|
1077
|
+
end
|
1078
|
+
|
1079
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1080
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1081
|
+
|
1082
|
+
options.apply_defaults timeout: @config.rpcs.bulk_analyze_conversations.timeout,
|
1083
|
+
metadata: metadata,
|
1084
|
+
retry_policy: @config.rpcs.bulk_analyze_conversations.retry_policy
|
1085
|
+
|
1086
|
+
options.apply_defaults timeout: @config.timeout,
|
1087
|
+
metadata: @config.metadata,
|
1088
|
+
retry_policy: @config.retry_policy
|
1089
|
+
|
1090
|
+
@contact_center_insights_stub.call_rpc :bulk_analyze_conversations, request, options: options do |response, operation|
|
1091
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1092
|
+
yield response, operation if block_given?
|
1093
|
+
return response
|
1094
|
+
end
|
1095
|
+
rescue ::GRPC::BadStatus => e
|
1096
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
##
|
1100
|
+
# Imports conversations and processes them according to the user's
|
1101
|
+
# configuration.
|
1102
|
+
#
|
1103
|
+
# @overload ingest_conversations(request, options = nil)
|
1104
|
+
# Pass arguments to `ingest_conversations` via a request object, either of type
|
1105
|
+
# {::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest} or an equivalent Hash.
|
1106
|
+
#
|
1107
|
+
# @param request [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest, ::Hash]
|
1108
|
+
# A request object representing the call parameters. Required. To specify no
|
1109
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
1110
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
1111
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1112
|
+
#
|
1113
|
+
# @overload ingest_conversations(gcs_source: nil, transcript_object_config: nil, parent: nil, conversation_config: nil)
|
1114
|
+
# Pass arguments to `ingest_conversations` via keyword arguments. Note that at
|
1115
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
1116
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
1117
|
+
#
|
1118
|
+
# @param gcs_source [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource, ::Hash]
|
1119
|
+
# A cloud storage bucket source.
|
1120
|
+
# @param transcript_object_config [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig, ::Hash]
|
1121
|
+
# Configuration for when `source` contains conversation transcripts.
|
1122
|
+
# @param parent [::String]
|
1123
|
+
# Required. The parent resource for new conversations.
|
1124
|
+
# @param conversation_config [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig, ::Hash]
|
1125
|
+
# Configuration that applies to all conversations.
|
1126
|
+
#
|
1127
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
1128
|
+
# @yieldparam response [::Gapic::Operation]
|
1129
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
1130
|
+
#
|
1131
|
+
# @return [::Gapic::Operation]
|
1132
|
+
#
|
1133
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
1134
|
+
#
|
1135
|
+
# @example Basic example
|
1136
|
+
# require "google/cloud/contact_center_insights/v1"
|
1137
|
+
#
|
1138
|
+
# # Create a client object. The client can be reused for multiple calls.
|
1139
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Client.new
|
1140
|
+
#
|
1141
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
1142
|
+
# request = Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest.new
|
1143
|
+
#
|
1144
|
+
# # Call the ingest_conversations method.
|
1145
|
+
# result = client.ingest_conversations request
|
1146
|
+
#
|
1147
|
+
# # The returned object is of type Gapic::Operation. You can use this
|
1148
|
+
# # object to check the status of an operation, cancel it, or wait
|
1149
|
+
# # for results. Here is how to block until completion:
|
1150
|
+
# result.wait_until_done! timeout: 60
|
1151
|
+
# if result.response?
|
1152
|
+
# p result.response
|
1153
|
+
# else
|
1154
|
+
# puts "Error!"
|
1155
|
+
# end
|
1156
|
+
#
|
1157
|
+
def ingest_conversations request, options = nil
|
1158
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
1159
|
+
|
1160
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest
|
1161
|
+
|
1162
|
+
# Converts hash and nil to an options object
|
1163
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
1164
|
+
|
1165
|
+
# Customize the options with defaults
|
1166
|
+
metadata = @config.rpcs.ingest_conversations.metadata.to_h
|
1167
|
+
|
1168
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
1169
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1170
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1171
|
+
gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
|
1172
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1173
|
+
|
1174
|
+
header_params = {}
|
1175
|
+
if request.parent
|
1176
|
+
header_params["parent"] = request.parent
|
1177
|
+
end
|
1178
|
+
|
1179
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
1180
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
1181
|
+
|
1182
|
+
options.apply_defaults timeout: @config.rpcs.ingest_conversations.timeout,
|
1183
|
+
metadata: metadata,
|
1184
|
+
retry_policy: @config.rpcs.ingest_conversations.retry_policy
|
1185
|
+
|
1186
|
+
options.apply_defaults timeout: @config.timeout,
|
1187
|
+
metadata: @config.metadata,
|
1188
|
+
retry_policy: @config.retry_policy
|
1189
|
+
|
1190
|
+
@contact_center_insights_stub.call_rpc :ingest_conversations, request, options: options do |response, operation|
|
1191
|
+
response = ::Gapic::Operation.new response, @operations_client, options: options
|
1192
|
+
yield response, operation if block_given?
|
1193
|
+
return response
|
1194
|
+
end
|
1195
|
+
rescue ::GRPC::BadStatus => e
|
1196
|
+
raise ::Google::Cloud::Error.from_error(e)
|
1197
|
+
end
|
1198
|
+
|
998
1199
|
##
|
999
1200
|
# Export insights data to a destination defined in the request body.
|
1000
1201
|
#
|
@@ -1989,6 +2190,91 @@ module Google
|
|
1989
2190
|
raise ::Google::Cloud::Error.from_error(e)
|
1990
2191
|
end
|
1991
2192
|
|
2193
|
+
##
|
2194
|
+
# Deletes an issue.
|
2195
|
+
#
|
2196
|
+
# @overload delete_issue(request, options = nil)
|
2197
|
+
# Pass arguments to `delete_issue` via a request object, either of type
|
2198
|
+
# {::Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest} or an equivalent Hash.
|
2199
|
+
#
|
2200
|
+
# @param request [::Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest, ::Hash]
|
2201
|
+
# A request object representing the call parameters. Required. To specify no
|
2202
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
2203
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
2204
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
2205
|
+
#
|
2206
|
+
# @overload delete_issue(name: nil)
|
2207
|
+
# Pass arguments to `delete_issue` via keyword arguments. Note that at
|
2208
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
2209
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
2210
|
+
#
|
2211
|
+
# @param name [::String]
|
2212
|
+
# Required. The name of the issue to delete.
|
2213
|
+
#
|
2214
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
2215
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
2216
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
2217
|
+
#
|
2218
|
+
# @return [::Google::Protobuf::Empty]
|
2219
|
+
#
|
2220
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
2221
|
+
#
|
2222
|
+
# @example Basic example
|
2223
|
+
# require "google/cloud/contact_center_insights/v1"
|
2224
|
+
#
|
2225
|
+
# # Create a client object. The client can be reused for multiple calls.
|
2226
|
+
# client = Google::Cloud::ContactCenterInsights::V1::ContactCenterInsights::Client.new
|
2227
|
+
#
|
2228
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
2229
|
+
# request = Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest.new
|
2230
|
+
#
|
2231
|
+
# # Call the delete_issue method.
|
2232
|
+
# result = client.delete_issue request
|
2233
|
+
#
|
2234
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
2235
|
+
# p result
|
2236
|
+
#
|
2237
|
+
def delete_issue request, options = nil
|
2238
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
2239
|
+
|
2240
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest
|
2241
|
+
|
2242
|
+
# Converts hash and nil to an options object
|
2243
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
2244
|
+
|
2245
|
+
# Customize the options with defaults
|
2246
|
+
metadata = @config.rpcs.delete_issue.metadata.to_h
|
2247
|
+
|
2248
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
2249
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2250
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2251
|
+
gapic_version: ::Google::Cloud::ContactCenterInsights::V1::VERSION
|
2252
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2253
|
+
|
2254
|
+
header_params = {}
|
2255
|
+
if request.name
|
2256
|
+
header_params["name"] = request.name
|
2257
|
+
end
|
2258
|
+
|
2259
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
2260
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
2261
|
+
|
2262
|
+
options.apply_defaults timeout: @config.rpcs.delete_issue.timeout,
|
2263
|
+
metadata: metadata,
|
2264
|
+
retry_policy: @config.rpcs.delete_issue.retry_policy
|
2265
|
+
|
2266
|
+
options.apply_defaults timeout: @config.timeout,
|
2267
|
+
metadata: @config.metadata,
|
2268
|
+
retry_policy: @config.retry_policy
|
2269
|
+
|
2270
|
+
@contact_center_insights_stub.call_rpc :delete_issue, request, options: options do |response, operation|
|
2271
|
+
yield response, operation if block_given?
|
2272
|
+
return response
|
2273
|
+
end
|
2274
|
+
rescue ::GRPC::BadStatus => e
|
2275
|
+
raise ::Google::Cloud::Error.from_error(e)
|
2276
|
+
end
|
2277
|
+
|
1992
2278
|
##
|
1993
2279
|
# Gets an issue model's statistics.
|
1994
2280
|
#
|
@@ -3414,6 +3700,16 @@ module Google
|
|
3414
3700
|
#
|
3415
3701
|
attr_reader :delete_analysis
|
3416
3702
|
##
|
3703
|
+
# RPC-specific configuration for `bulk_analyze_conversations`
|
3704
|
+
# @return [::Gapic::Config::Method]
|
3705
|
+
#
|
3706
|
+
attr_reader :bulk_analyze_conversations
|
3707
|
+
##
|
3708
|
+
# RPC-specific configuration for `ingest_conversations`
|
3709
|
+
# @return [::Gapic::Config::Method]
|
3710
|
+
#
|
3711
|
+
attr_reader :ingest_conversations
|
3712
|
+
##
|
3417
3713
|
# RPC-specific configuration for `export_insights_data`
|
3418
3714
|
# @return [::Gapic::Config::Method]
|
3419
3715
|
#
|
@@ -3469,6 +3765,11 @@ module Google
|
|
3469
3765
|
#
|
3470
3766
|
attr_reader :update_issue
|
3471
3767
|
##
|
3768
|
+
# RPC-specific configuration for `delete_issue`
|
3769
|
+
# @return [::Gapic::Config::Method]
|
3770
|
+
#
|
3771
|
+
attr_reader :delete_issue
|
3772
|
+
##
|
3472
3773
|
# RPC-specific configuration for `calculate_issue_model_stats`
|
3473
3774
|
# @return [::Gapic::Config::Method]
|
3474
3775
|
#
|
@@ -3559,6 +3860,10 @@ module Google
|
|
3559
3860
|
@list_analyses = ::Gapic::Config::Method.new list_analyses_config
|
3560
3861
|
delete_analysis_config = parent_rpcs.delete_analysis if parent_rpcs.respond_to? :delete_analysis
|
3561
3862
|
@delete_analysis = ::Gapic::Config::Method.new delete_analysis_config
|
3863
|
+
bulk_analyze_conversations_config = parent_rpcs.bulk_analyze_conversations if parent_rpcs.respond_to? :bulk_analyze_conversations
|
3864
|
+
@bulk_analyze_conversations = ::Gapic::Config::Method.new bulk_analyze_conversations_config
|
3865
|
+
ingest_conversations_config = parent_rpcs.ingest_conversations if parent_rpcs.respond_to? :ingest_conversations
|
3866
|
+
@ingest_conversations = ::Gapic::Config::Method.new ingest_conversations_config
|
3562
3867
|
export_insights_data_config = parent_rpcs.export_insights_data if parent_rpcs.respond_to? :export_insights_data
|
3563
3868
|
@export_insights_data = ::Gapic::Config::Method.new export_insights_data_config
|
3564
3869
|
create_issue_model_config = parent_rpcs.create_issue_model if parent_rpcs.respond_to? :create_issue_model
|
@@ -3581,6 +3886,8 @@ module Google
|
|
3581
3886
|
@list_issues = ::Gapic::Config::Method.new list_issues_config
|
3582
3887
|
update_issue_config = parent_rpcs.update_issue if parent_rpcs.respond_to? :update_issue
|
3583
3888
|
@update_issue = ::Gapic::Config::Method.new update_issue_config
|
3889
|
+
delete_issue_config = parent_rpcs.delete_issue if parent_rpcs.respond_to? :delete_issue
|
3890
|
+
@delete_issue = ::Gapic::Config::Method.new delete_issue_config
|
3584
3891
|
calculate_issue_model_stats_config = parent_rpcs.calculate_issue_model_stats if parent_rpcs.respond_to? :calculate_issue_model_stats
|
3585
3892
|
@calculate_issue_model_stats = ::Gapic::Config::Method.new calculate_issue_model_stats_config
|
3586
3893
|
create_phrase_matcher_config = parent_rpcs.create_phrase_matcher if parent_rpcs.respond_to? :create_phrase_matcher
|
@@ -43,6 +43,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
43
|
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
44
44
|
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
45
45
|
optional :conversation, :string, 3
|
46
|
+
optional :annotator_selector, :message, 4, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
|
46
47
|
end
|
47
48
|
add_message "google.cloud.contactcenterinsights.v1.CreateConversationRequest" do
|
48
49
|
optional :parent, :string, 1
|
@@ -72,6 +73,33 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
73
|
optional :name, :string, 1
|
73
74
|
optional :force, :bool, 2
|
74
75
|
end
|
76
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsRequest" do
|
77
|
+
optional :parent, :string, 1
|
78
|
+
optional :conversation_config, :message, 4, "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig"
|
79
|
+
oneof :source do
|
80
|
+
optional :gcs_source, :message, 2, "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource"
|
81
|
+
end
|
82
|
+
oneof :object_config do
|
83
|
+
optional :transcript_object_config, :message, 3, "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig"
|
84
|
+
end
|
85
|
+
end
|
86
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource" do
|
87
|
+
optional :bucket_uri, :string, 1
|
88
|
+
end
|
89
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig" do
|
90
|
+
optional :medium, :enum, 1, "google.cloud.contactcenterinsights.v1.Conversation.Medium"
|
91
|
+
end
|
92
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig" do
|
93
|
+
optional :agent_id, :string, 1
|
94
|
+
end
|
95
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsMetadata" do
|
96
|
+
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
97
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
98
|
+
optional :request, :message, 3, "google.cloud.contactcenterinsights.v1.IngestConversationsRequest"
|
99
|
+
repeated :partial_errors, :message, 4, "google.rpc.Status"
|
100
|
+
end
|
101
|
+
add_message "google.cloud.contactcenterinsights.v1.IngestConversationsResponse" do
|
102
|
+
end
|
75
103
|
add_message "google.cloud.contactcenterinsights.v1.CreateAnalysisRequest" do
|
76
104
|
optional :parent, :string, 1
|
77
105
|
optional :analysis, :message, 2, "google.cloud.contactcenterinsights.v1.Analysis"
|
@@ -92,6 +120,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
92
120
|
add_message "google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest" do
|
93
121
|
optional :name, :string, 1
|
94
122
|
end
|
123
|
+
add_message "google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest" do
|
124
|
+
optional :parent, :string, 1
|
125
|
+
optional :filter, :string, 2
|
126
|
+
optional :analysis_percentage, :float, 3
|
127
|
+
optional :annotator_selector, :message, 8, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
|
128
|
+
end
|
129
|
+
add_message "google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata" do
|
130
|
+
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
131
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
132
|
+
optional :request, :message, 3, "google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest"
|
133
|
+
optional :completed_analyses_count, :int32, 4
|
134
|
+
optional :failed_analyses_count, :int32, 5
|
135
|
+
optional :total_requested_analyses_count, :int32, 6
|
136
|
+
end
|
137
|
+
add_message "google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse" do
|
138
|
+
optional :successful_analysis_count, :int32, 1
|
139
|
+
optional :failed_analysis_count, :int32, 2
|
140
|
+
end
|
95
141
|
add_message "google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest" do
|
96
142
|
optional :parent, :string, 1
|
97
143
|
optional :filter, :string, 3
|
@@ -182,6 +228,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
182
228
|
optional :issue, :message, 1, "google.cloud.contactcenterinsights.v1.Issue"
|
183
229
|
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
184
230
|
end
|
231
|
+
add_message "google.cloud.contactcenterinsights.v1.DeleteIssueRequest" do
|
232
|
+
optional :name, :string, 1
|
233
|
+
end
|
185
234
|
add_message "google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest" do
|
186
235
|
optional :issue_model, :string, 1
|
187
236
|
end
|
@@ -265,11 +314,20 @@ module Google
|
|
265
314
|
GetConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.GetConversationRequest").msgclass
|
266
315
|
UpdateConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.UpdateConversationRequest").msgclass
|
267
316
|
DeleteConversationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DeleteConversationRequest").msgclass
|
317
|
+
IngestConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsRequest").msgclass
|
318
|
+
IngestConversationsRequest::GcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource").msgclass
|
319
|
+
IngestConversationsRequest::TranscriptObjectConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsRequest.TranscriptObjectConfig").msgclass
|
320
|
+
IngestConversationsRequest::ConversationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig").msgclass
|
321
|
+
IngestConversationsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsMetadata").msgclass
|
322
|
+
IngestConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IngestConversationsResponse").msgclass
|
268
323
|
CreateAnalysisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CreateAnalysisRequest").msgclass
|
269
324
|
ListAnalysesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ListAnalysesRequest").msgclass
|
270
325
|
ListAnalysesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ListAnalysesResponse").msgclass
|
271
326
|
GetAnalysisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.GetAnalysisRequest").msgclass
|
272
327
|
DeleteAnalysisRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DeleteAnalysisRequest").msgclass
|
328
|
+
BulkAnalyzeConversationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsRequest").msgclass
|
329
|
+
BulkAnalyzeConversationsMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsMetadata").msgclass
|
330
|
+
BulkAnalyzeConversationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.BulkAnalyzeConversationsResponse").msgclass
|
273
331
|
ExportInsightsDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest").msgclass
|
274
332
|
ExportInsightsDataRequest::BigQueryDestination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.BigQueryDestination").msgclass
|
275
333
|
ExportInsightsDataRequest::WriteDisposition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ExportInsightsDataRequest.WriteDisposition").enummodule
|
@@ -293,6 +351,7 @@ module Google
|
|
293
351
|
ListIssuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ListIssuesRequest").msgclass
|
294
352
|
ListIssuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ListIssuesResponse").msgclass
|
295
353
|
UpdateIssueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.UpdateIssueRequest").msgclass
|
354
|
+
DeleteIssueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.DeleteIssueRequest").msgclass
|
296
355
|
CalculateIssueModelStatsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsRequest").msgclass
|
297
356
|
CalculateIssueModelStatsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CalculateIssueModelStatsResponse").msgclass
|
298
357
|
CreatePhraseMatcherRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest").msgclass
|
@@ -52,6 +52,11 @@ module Google
|
|
52
52
|
rpc :ListAnalyses, ::Google::Cloud::ContactCenterInsights::V1::ListAnalysesRequest, ::Google::Cloud::ContactCenterInsights::V1::ListAnalysesResponse
|
53
53
|
# Deletes an analysis.
|
54
54
|
rpc :DeleteAnalysis, ::Google::Cloud::ContactCenterInsights::V1::DeleteAnalysisRequest, ::Google::Protobuf::Empty
|
55
|
+
# Analyzes multiple conversations in a single request.
|
56
|
+
rpc :BulkAnalyzeConversations, ::Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest, ::Google::Longrunning::Operation
|
57
|
+
# Imports conversations and processes them according to the user's
|
58
|
+
# configuration.
|
59
|
+
rpc :IngestConversations, ::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest, ::Google::Longrunning::Operation
|
55
60
|
# Export insights data to a destination defined in the request body.
|
56
61
|
rpc :ExportInsightsData, ::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest, ::Google::Longrunning::Operation
|
57
62
|
# Creates an issue model.
|
@@ -76,6 +81,8 @@ module Google
|
|
76
81
|
rpc :ListIssues, ::Google::Cloud::ContactCenterInsights::V1::ListIssuesRequest, ::Google::Cloud::ContactCenterInsights::V1::ListIssuesResponse
|
77
82
|
# Updates an issue.
|
78
83
|
rpc :UpdateIssue, ::Google::Cloud::ContactCenterInsights::V1::UpdateIssueRequest, ::Google::Cloud::ContactCenterInsights::V1::Issue
|
84
|
+
# Deletes an issue.
|
85
|
+
rpc :DeleteIssue, ::Google::Cloud::ContactCenterInsights::V1::DeleteIssueRequest, ::Google::Protobuf::Empty
|
79
86
|
# Gets an issue model's statistics.
|
80
87
|
rpc :CalculateIssueModelStats, ::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsRequest, ::Google::Cloud::ContactCenterInsights::V1::CalculateIssueModelStatsResponse
|
81
88
|
# Creates a phrase matcher.
|
@@ -72,6 +72,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
72
72
|
optional :request_time, :message, 2, "google.protobuf.Timestamp"
|
73
73
|
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
74
74
|
optional :analysis_result, :message, 7, "google.cloud.contactcenterinsights.v1.AnalysisResult"
|
75
|
+
optional :annotator_selector, :message, 8, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
|
75
76
|
end
|
76
77
|
add_message "google.cloud.contactcenterinsights.v1.ConversationDataSource" do
|
77
78
|
oneof :source do
|
@@ -126,6 +127,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
126
127
|
optional :entity_mention_data, :message, 15, "google.cloud.contactcenterinsights.v1.EntityMentionData"
|
127
128
|
optional :intent_match_data, :message, 16, "google.cloud.contactcenterinsights.v1.IntentMatchData"
|
128
129
|
optional :phrase_match_data, :message, 17, "google.cloud.contactcenterinsights.v1.PhraseMatchData"
|
130
|
+
optional :issue_match_data, :message, 18, "google.cloud.contactcenterinsights.v1.IssueMatchData"
|
129
131
|
end
|
130
132
|
end
|
131
133
|
add_message "google.cloud.contactcenterinsights.v1.AnnotationBoundary" do
|
@@ -190,6 +192,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
190
192
|
optional :magnitude, :float, 1
|
191
193
|
optional :score, :float, 2
|
192
194
|
end
|
195
|
+
add_message "google.cloud.contactcenterinsights.v1.IssueMatchData" do
|
196
|
+
optional :issue_assignment, :message, 1, "google.cloud.contactcenterinsights.v1.IssueAssignment"
|
197
|
+
end
|
193
198
|
add_message "google.cloud.contactcenterinsights.v1.IssueModel" do
|
194
199
|
optional :name, :string, 1
|
195
200
|
optional :display_name, :string, 2
|
@@ -217,6 +222,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
217
222
|
optional :display_name, :string, 2
|
218
223
|
optional :create_time, :message, 3, "google.protobuf.Timestamp"
|
219
224
|
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
225
|
+
repeated :sample_utterances, :string, 6
|
220
226
|
end
|
221
227
|
add_message "google.cloud.contactcenterinsights.v1.IssueModelLabelStats" do
|
222
228
|
optional :analyzed_conversations_count, :int64, 1
|
@@ -279,6 +285,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
279
285
|
end
|
280
286
|
add_message "google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig" do
|
281
287
|
optional :runtime_integration_analysis_percentage, :double, 1
|
288
|
+
optional :annotator_selector, :message, 5, "google.cloud.contactcenterinsights.v1.AnnotatorSelector"
|
282
289
|
end
|
283
290
|
add_message "google.cloud.contactcenterinsights.v1.RuntimeAnnotation" do
|
284
291
|
optional :annotation_id, :string, 1
|
@@ -360,6 +367,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
360
367
|
optional :update_time, :message, 4, "google.protobuf.Timestamp"
|
361
368
|
optional :value, :string, 5
|
362
369
|
end
|
370
|
+
add_message "google.cloud.contactcenterinsights.v1.AnnotatorSelector" do
|
371
|
+
optional :run_interruption_annotator, :bool, 1
|
372
|
+
optional :run_silence_annotator, :bool, 2
|
373
|
+
optional :run_phrase_matcher_annotator, :bool, 3
|
374
|
+
repeated :phrase_matchers, :string, 4
|
375
|
+
optional :run_sentiment_annotator, :bool, 5
|
376
|
+
optional :run_entity_annotator, :bool, 6
|
377
|
+
optional :run_intent_annotator, :bool, 7
|
378
|
+
optional :run_issue_model_annotator, :bool, 8
|
379
|
+
repeated :issue_models, :string, 10
|
380
|
+
end
|
363
381
|
end
|
364
382
|
end
|
365
383
|
|
@@ -397,6 +415,7 @@ module Google
|
|
397
415
|
EntityMentionData::MentionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.EntityMentionData.MentionType").enummodule
|
398
416
|
IntentMatchData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IntentMatchData").msgclass
|
399
417
|
SentimentData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.SentimentData").msgclass
|
418
|
+
IssueMatchData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueMatchData").msgclass
|
400
419
|
IssueModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel").msgclass
|
401
420
|
IssueModel::InputDataConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel.InputDataConfig").msgclass
|
402
421
|
IssueModel::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.IssueModel.State").enummodule
|
@@ -423,6 +442,7 @@ module Google
|
|
423
442
|
ConversationParticipant = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant").msgclass
|
424
443
|
ConversationParticipant::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.ConversationParticipant.Role").enummodule
|
425
444
|
View = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.View").msgclass
|
445
|
+
AnnotatorSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.contactcenterinsights.v1.AnnotatorSelector").msgclass
|
426
446
|
end
|
427
447
|
end
|
428
448
|
end
|
@@ -0,0 +1,318 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# Required information for every language.
|
23
|
+
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @return [::String]
|
25
|
+
# Link to automatically generated reference documentation. Example:
|
26
|
+
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
27
|
+
# @!attribute [rw] destinations
|
28
|
+
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
29
|
+
# The destination where API teams want this client library to be published.
|
30
|
+
class CommonLanguageSettings
|
31
|
+
include ::Google::Protobuf::MessageExts
|
32
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
33
|
+
end
|
34
|
+
|
35
|
+
# Details about how and where to publish client libraries.
|
36
|
+
# @!attribute [rw] version
|
37
|
+
# @return [::String]
|
38
|
+
# Version of the API to apply these settings to.
|
39
|
+
# @!attribute [rw] launch_stage
|
40
|
+
# @return [::Google::Api::LaunchStage]
|
41
|
+
# Launch stage of this version of the API.
|
42
|
+
# @!attribute [rw] rest_numeric_enums
|
43
|
+
# @return [::Boolean]
|
44
|
+
# When using transport=rest, the client request will encode enums as
|
45
|
+
# numbers rather than strings.
|
46
|
+
# @!attribute [rw] java_settings
|
47
|
+
# @return [::Google::Api::JavaSettings]
|
48
|
+
# Settings for legacy Java features, supported in the Service YAML.
|
49
|
+
# @!attribute [rw] cpp_settings
|
50
|
+
# @return [::Google::Api::CppSettings]
|
51
|
+
# Settings for C++ client libraries.
|
52
|
+
# @!attribute [rw] php_settings
|
53
|
+
# @return [::Google::Api::PhpSettings]
|
54
|
+
# Settings for PHP client libraries.
|
55
|
+
# @!attribute [rw] python_settings
|
56
|
+
# @return [::Google::Api::PythonSettings]
|
57
|
+
# Settings for Python client libraries.
|
58
|
+
# @!attribute [rw] node_settings
|
59
|
+
# @return [::Google::Api::NodeSettings]
|
60
|
+
# Settings for Node client libraries.
|
61
|
+
# @!attribute [rw] dotnet_settings
|
62
|
+
# @return [::Google::Api::DotnetSettings]
|
63
|
+
# Settings for .NET client libraries.
|
64
|
+
# @!attribute [rw] ruby_settings
|
65
|
+
# @return [::Google::Api::RubySettings]
|
66
|
+
# Settings for Ruby client libraries.
|
67
|
+
# @!attribute [rw] go_settings
|
68
|
+
# @return [::Google::Api::GoSettings]
|
69
|
+
# Settings for Go client libraries.
|
70
|
+
class ClientLibrarySettings
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
|
75
|
+
# This message configures the settings for publishing [Google Cloud Client
|
76
|
+
# libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
|
77
|
+
# generated from the service config.
|
78
|
+
# @!attribute [rw] method_settings
|
79
|
+
# @return [::Array<::Google::Api::MethodSettings>]
|
80
|
+
# A list of API method settings, e.g. the behavior for methods that use the
|
81
|
+
# long-running operation pattern.
|
82
|
+
# @!attribute [rw] new_issue_uri
|
83
|
+
# @return [::String]
|
84
|
+
# Link to a place that API users can report issues. Example:
|
85
|
+
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
|
+
# @!attribute [rw] documentation_uri
|
87
|
+
# @return [::String]
|
88
|
+
# Link to product home page. Example:
|
89
|
+
# https://cloud.google.com/asset-inventory/docs/overview
|
90
|
+
# @!attribute [rw] api_short_name
|
91
|
+
# @return [::String]
|
92
|
+
# Used as a tracking tag when collecting data about the APIs developer
|
93
|
+
# relations artifacts like docs, packages delivered to package managers,
|
94
|
+
# etc. Example: "speech".
|
95
|
+
# @!attribute [rw] github_label
|
96
|
+
# @return [::String]
|
97
|
+
# GitHub label to apply to issues and pull requests opened for this API.
|
98
|
+
# @!attribute [rw] codeowner_github_teams
|
99
|
+
# @return [::Array<::String>]
|
100
|
+
# GitHub teams to be added to CODEOWNERS in the directory in GitHub
|
101
|
+
# containing source code for the client libraries for this API.
|
102
|
+
# @!attribute [rw] doc_tag_prefix
|
103
|
+
# @return [::String]
|
104
|
+
# A prefix used in sample code when demarking regions to be included in
|
105
|
+
# documentation.
|
106
|
+
# @!attribute [rw] organization
|
107
|
+
# @return [::Google::Api::ClientLibraryOrganization]
|
108
|
+
# For whom the client library is being published.
|
109
|
+
# @!attribute [rw] library_settings
|
110
|
+
# @return [::Array<::Google::Api::ClientLibrarySettings>]
|
111
|
+
# Client library settings. If the same version string appears multiple
|
112
|
+
# times in this list, then the last one wins. Settings from earlier
|
113
|
+
# settings with the same version string are discarded.
|
114
|
+
class Publishing
|
115
|
+
include ::Google::Protobuf::MessageExts
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
end
|
118
|
+
|
119
|
+
# Settings for Java client libraries.
|
120
|
+
# @!attribute [rw] library_package
|
121
|
+
# @return [::String]
|
122
|
+
# The package name to use in Java. Clobbers the java_package option
|
123
|
+
# set in the protobuf. This should be used **only** by APIs
|
124
|
+
# who have already set the language_settings.java.package_name" field
|
125
|
+
# in gapic.yaml. API teams should use the protobuf java_package option
|
126
|
+
# where possible.
|
127
|
+
#
|
128
|
+
# Example of a YAML configuration::
|
129
|
+
#
|
130
|
+
# publishing:
|
131
|
+
# java_settings:
|
132
|
+
# library_package: com.google.cloud.pubsub.v1
|
133
|
+
# @!attribute [rw] service_class_names
|
134
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
135
|
+
# Configure the Java class name to use instead of the service's for its
|
136
|
+
# corresponding generated GAPIC client. Keys are fully-qualified
|
137
|
+
# service names as they appear in the protobuf (including the full
|
138
|
+
# the language_settings.java.interface_names" field in gapic.yaml. API
|
139
|
+
# teams should otherwise use the service name as it appears in the
|
140
|
+
# protobuf.
|
141
|
+
#
|
142
|
+
# Example of a YAML configuration::
|
143
|
+
#
|
144
|
+
# publishing:
|
145
|
+
# java_settings:
|
146
|
+
# service_class_names:
|
147
|
+
# - google.pubsub.v1.Publisher: TopicAdmin
|
148
|
+
# - google.pubsub.v1.Subscriber: SubscriptionAdmin
|
149
|
+
# @!attribute [rw] common
|
150
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
151
|
+
# Some settings.
|
152
|
+
class JavaSettings
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
|
156
|
+
# @!attribute [rw] key
|
157
|
+
# @return [::String]
|
158
|
+
# @!attribute [rw] value
|
159
|
+
# @return [::String]
|
160
|
+
class ServiceClassNamesEntry
|
161
|
+
include ::Google::Protobuf::MessageExts
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
# Settings for C++ client libraries.
|
167
|
+
# @!attribute [rw] common
|
168
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
169
|
+
# Some settings.
|
170
|
+
class CppSettings
|
171
|
+
include ::Google::Protobuf::MessageExts
|
172
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
173
|
+
end
|
174
|
+
|
175
|
+
# Settings for Php client libraries.
|
176
|
+
# @!attribute [rw] common
|
177
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
178
|
+
# Some settings.
|
179
|
+
class PhpSettings
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
|
184
|
+
# Settings for Python client libraries.
|
185
|
+
# @!attribute [rw] common
|
186
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
187
|
+
# Some settings.
|
188
|
+
class PythonSettings
|
189
|
+
include ::Google::Protobuf::MessageExts
|
190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
191
|
+
end
|
192
|
+
|
193
|
+
# Settings for Node client libraries.
|
194
|
+
# @!attribute [rw] common
|
195
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
196
|
+
# Some settings.
|
197
|
+
class NodeSettings
|
198
|
+
include ::Google::Protobuf::MessageExts
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
200
|
+
end
|
201
|
+
|
202
|
+
# Settings for Dotnet client libraries.
|
203
|
+
# @!attribute [rw] common
|
204
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
205
|
+
# Some settings.
|
206
|
+
class DotnetSettings
|
207
|
+
include ::Google::Protobuf::MessageExts
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
209
|
+
end
|
210
|
+
|
211
|
+
# Settings for Ruby client libraries.
|
212
|
+
# @!attribute [rw] common
|
213
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
214
|
+
# Some settings.
|
215
|
+
class RubySettings
|
216
|
+
include ::Google::Protobuf::MessageExts
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
218
|
+
end
|
219
|
+
|
220
|
+
# Settings for Go client libraries.
|
221
|
+
# @!attribute [rw] common
|
222
|
+
# @return [::Google::Api::CommonLanguageSettings]
|
223
|
+
# Some settings.
|
224
|
+
class GoSettings
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
228
|
+
|
229
|
+
# Describes the generator configuration for a method.
|
230
|
+
# @!attribute [rw] selector
|
231
|
+
# @return [::String]
|
232
|
+
# The fully qualified name of the method, for which the options below apply.
|
233
|
+
# This is used to find the method to apply the options.
|
234
|
+
# @!attribute [rw] long_running
|
235
|
+
# @return [::Google::Api::MethodSettings::LongRunning]
|
236
|
+
# Describes settings to use for long-running operations when generating
|
237
|
+
# API methods for RPCs. Complements RPCs that use the annotations in
|
238
|
+
# google/longrunning/operations.proto.
|
239
|
+
#
|
240
|
+
# Example of a YAML configuration::
|
241
|
+
#
|
242
|
+
# publishing:
|
243
|
+
# method_behavior:
|
244
|
+
# - selector: CreateAdDomain
|
245
|
+
# long_running:
|
246
|
+
# initial_poll_delay:
|
247
|
+
# seconds: 60 # 1 minute
|
248
|
+
# poll_delay_multiplier: 1.5
|
249
|
+
# max_poll_delay:
|
250
|
+
# seconds: 360 # 6 minutes
|
251
|
+
# total_poll_timeout:
|
252
|
+
# seconds: 54000 # 90 minutes
|
253
|
+
class MethodSettings
|
254
|
+
include ::Google::Protobuf::MessageExts
|
255
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
256
|
+
|
257
|
+
# Describes settings to use when generating API methods that use the
|
258
|
+
# long-running operation pattern.
|
259
|
+
# All default values below are from those used in the client library
|
260
|
+
# generators (e.g.
|
261
|
+
# [Java](https://github.com/googleapis/gapic-generator-java/blob/04c2faa191a9b5a10b92392fe8482279c4404803/src/main/java/com/google/api/generator/gapic/composer/common/RetrySettingsComposer.java)).
|
262
|
+
# @!attribute [rw] initial_poll_delay
|
263
|
+
# @return [::Google::Protobuf::Duration]
|
264
|
+
# Initial delay after which the first poll request will be made.
|
265
|
+
# Default value: 5 seconds.
|
266
|
+
# @!attribute [rw] poll_delay_multiplier
|
267
|
+
# @return [::Float]
|
268
|
+
# Multiplier to gradually increase delay between subsequent polls until it
|
269
|
+
# reaches max_poll_delay.
|
270
|
+
# Default value: 1.5.
|
271
|
+
# @!attribute [rw] max_poll_delay
|
272
|
+
# @return [::Google::Protobuf::Duration]
|
273
|
+
# Maximum time between two subsequent poll requests.
|
274
|
+
# Default value: 45 seconds.
|
275
|
+
# @!attribute [rw] total_poll_timeout
|
276
|
+
# @return [::Google::Protobuf::Duration]
|
277
|
+
# Total polling timeout.
|
278
|
+
# Default value: 5 minutes.
|
279
|
+
class LongRunning
|
280
|
+
include ::Google::Protobuf::MessageExts
|
281
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# The organization for which the client libraries are being published.
|
286
|
+
# Affects the url where generated docs are published, etc.
|
287
|
+
module ClientLibraryOrganization
|
288
|
+
# Not useful.
|
289
|
+
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0
|
290
|
+
|
291
|
+
# Google Cloud Platform Org.
|
292
|
+
CLOUD = 1
|
293
|
+
|
294
|
+
# Ads (Advertising) Org.
|
295
|
+
ADS = 2
|
296
|
+
|
297
|
+
# Photos Org.
|
298
|
+
PHOTOS = 3
|
299
|
+
|
300
|
+
# Street View Org.
|
301
|
+
STREET_VIEW = 4
|
302
|
+
end
|
303
|
+
|
304
|
+
# To where should client libraries be published?
|
305
|
+
module ClientLibraryDestination
|
306
|
+
# Client libraries will neither be generated nor published to package
|
307
|
+
# managers.
|
308
|
+
CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0
|
309
|
+
|
310
|
+
# Generate the client library in a repo under github.com/googleapis,
|
311
|
+
# but don't publish it to package managers.
|
312
|
+
GITHUB = 10
|
313
|
+
|
314
|
+
# Publish the library to package managers like nuget.org and npmjs.com.
|
315
|
+
PACKAGE_MANAGER = 20
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Api
|
22
|
+
# The launch stage as defined by [Google Cloud Platform
|
23
|
+
# Launch Stages](https://cloud.google.com/terms/launch-stages).
|
24
|
+
module LaunchStage
|
25
|
+
# Do not use this default value.
|
26
|
+
LAUNCH_STAGE_UNSPECIFIED = 0
|
27
|
+
|
28
|
+
# The feature is not yet implemented. Users can not use it.
|
29
|
+
UNIMPLEMENTED = 6
|
30
|
+
|
31
|
+
# Prelaunch features are hidden from users and are only visible internally.
|
32
|
+
PRELAUNCH = 7
|
33
|
+
|
34
|
+
# Early Access features are limited to a closed group of testers. To use
|
35
|
+
# these features, you must sign up in advance and sign a Trusted Tester
|
36
|
+
# agreement (which includes confidentiality provisions). These features may
|
37
|
+
# be unstable, changed in backward-incompatible ways, and are not
|
38
|
+
# guaranteed to be released.
|
39
|
+
EARLY_ACCESS = 1
|
40
|
+
|
41
|
+
# Alpha is a limited availability test for releases before they are cleared
|
42
|
+
# for widespread use. By Alpha, all significant design issues are resolved
|
43
|
+
# and we are in the process of verifying functionality. Alpha customers
|
44
|
+
# need to apply for access, agree to applicable terms, and have their
|
45
|
+
# projects allowlisted. Alpha releases don't have to be feature complete,
|
46
|
+
# no SLAs are provided, and there are no technical support obligations, but
|
47
|
+
# they will be far enough along that customers can actually use them in
|
48
|
+
# test environments or for limited-use tests -- just like they would in
|
49
|
+
# normal production cases.
|
50
|
+
ALPHA = 2
|
51
|
+
|
52
|
+
# Beta is the point at which we are ready to open a release for any
|
53
|
+
# customer to use. There are no SLA or technical support obligations in a
|
54
|
+
# Beta release. Products will be complete from a feature perspective, but
|
55
|
+
# may have some open outstanding issues. Beta releases are suitable for
|
56
|
+
# limited production use cases.
|
57
|
+
BETA = 3
|
58
|
+
|
59
|
+
# GA features are open to all developers and are considered stable and
|
60
|
+
# fully qualified for production use.
|
61
|
+
GA = 4
|
62
|
+
|
63
|
+
# Deprecated features are scheduled to be shut down and removed. For more
|
64
|
+
# information, see the "Deprecation Policy" section of our [Terms of
|
65
|
+
# Service](https://cloud.google.com/terms/)
|
66
|
+
# and the [Google Cloud Platform Subject to the Deprecation
|
67
|
+
# Policy](https://cloud.google.com/terms/deprecation) documentation.
|
68
|
+
DEPRECATED = 5
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
@@ -145,6 +145,9 @@ module Google
|
|
145
145
|
# @!attribute [r] conversation
|
146
146
|
# @return [::String]
|
147
147
|
# Output only. The Conversation that this Analysis Operation belongs to.
|
148
|
+
# @!attribute [r] annotator_selector
|
149
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
150
|
+
# Output only. The annotator selector used for the analysis (if any).
|
148
151
|
class CreateAnalysisOperationMetadata
|
149
152
|
include ::Google::Protobuf::MessageExts
|
150
153
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -249,6 +252,77 @@ module Google
|
|
249
252
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
253
|
end
|
251
254
|
|
255
|
+
# The request to ingest conversations.
|
256
|
+
# @!attribute [rw] gcs_source
|
257
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::GcsSource]
|
258
|
+
# A cloud storage bucket source.
|
259
|
+
# @!attribute [rw] transcript_object_config
|
260
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::TranscriptObjectConfig]
|
261
|
+
# Configuration for when `source` contains conversation transcripts.
|
262
|
+
# @!attribute [rw] parent
|
263
|
+
# @return [::String]
|
264
|
+
# Required. The parent resource for new conversations.
|
265
|
+
# @!attribute [rw] conversation_config
|
266
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest::ConversationConfig]
|
267
|
+
# Configuration that applies to all conversations.
|
268
|
+
class IngestConversationsRequest
|
269
|
+
include ::Google::Protobuf::MessageExts
|
270
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
271
|
+
|
272
|
+
# Configuration for Cloud Storage bucket sources.
|
273
|
+
# @!attribute [rw] bucket_uri
|
274
|
+
# @return [::String]
|
275
|
+
# Required. The Cloud Storage bucket containing source objects.
|
276
|
+
class GcsSource
|
277
|
+
include ::Google::Protobuf::MessageExts
|
278
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
279
|
+
end
|
280
|
+
|
281
|
+
# Configuration for processing transcript objects.
|
282
|
+
# @!attribute [rw] medium
|
283
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::Conversation::Medium]
|
284
|
+
# Required. The medium transcript objects represent.
|
285
|
+
class TranscriptObjectConfig
|
286
|
+
include ::Google::Protobuf::MessageExts
|
287
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
288
|
+
end
|
289
|
+
|
290
|
+
# Configuration that applies to all conversations.
|
291
|
+
# @!attribute [rw] agent_id
|
292
|
+
# @return [::String]
|
293
|
+
# An opaque, user-specified string representing the human agent who handled
|
294
|
+
# the conversations.
|
295
|
+
class ConversationConfig
|
296
|
+
include ::Google::Protobuf::MessageExts
|
297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# The metadata for an IngestConversations operation.
|
302
|
+
# @!attribute [r] create_time
|
303
|
+
# @return [::Google::Protobuf::Timestamp]
|
304
|
+
# Output only. The time the operation was created.
|
305
|
+
# @!attribute [r] end_time
|
306
|
+
# @return [::Google::Protobuf::Timestamp]
|
307
|
+
# Output only. The time the operation finished running.
|
308
|
+
# @!attribute [r] request
|
309
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::IngestConversationsRequest]
|
310
|
+
# Output only. The original request for ingest.
|
311
|
+
# @!attribute [r] partial_errors
|
312
|
+
# @return [::Array<::Google::Rpc::Status>]
|
313
|
+
# Output only. Partial errors during ingest operation that might cause the operation
|
314
|
+
# output to be incomplete.
|
315
|
+
class IngestConversationsMetadata
|
316
|
+
include ::Google::Protobuf::MessageExts
|
317
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
318
|
+
end
|
319
|
+
|
320
|
+
# The response to an IngestConversations operation.
|
321
|
+
class IngestConversationsResponse
|
322
|
+
include ::Google::Protobuf::MessageExts
|
323
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
324
|
+
end
|
325
|
+
|
252
326
|
# The request to create an analysis.
|
253
327
|
# @!attribute [rw] parent
|
254
328
|
# @return [::String]
|
@@ -316,6 +390,63 @@ module Google
|
|
316
390
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
317
391
|
end
|
318
392
|
|
393
|
+
# The request to analyze conversations in bulk.
|
394
|
+
# @!attribute [rw] parent
|
395
|
+
# @return [::String]
|
396
|
+
# Required. The parent resource to create analyses in.
|
397
|
+
# @!attribute [rw] filter
|
398
|
+
# @return [::String]
|
399
|
+
# Required. Filter used to select the subset of conversations to analyze.
|
400
|
+
# @!attribute [rw] analysis_percentage
|
401
|
+
# @return [::Float]
|
402
|
+
# Required. Percentage of selected conversation to analyze, between
|
403
|
+
# [0, 100].
|
404
|
+
# @!attribute [rw] annotator_selector
|
405
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector]
|
406
|
+
# To select the annotators to run and the phrase matchers to use
|
407
|
+
# (if any). If not specified, all annotators will be run.
|
408
|
+
class BulkAnalyzeConversationsRequest
|
409
|
+
include ::Google::Protobuf::MessageExts
|
410
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
411
|
+
end
|
412
|
+
|
413
|
+
# The metadata for a bulk analyze conversations operation.
|
414
|
+
# @!attribute [rw] create_time
|
415
|
+
# @return [::Google::Protobuf::Timestamp]
|
416
|
+
# The time the operation was created.
|
417
|
+
# @!attribute [rw] end_time
|
418
|
+
# @return [::Google::Protobuf::Timestamp]
|
419
|
+
# The time the operation finished running.
|
420
|
+
# @!attribute [rw] request
|
421
|
+
# @return [::Google::Cloud::ContactCenterInsights::V1::BulkAnalyzeConversationsRequest]
|
422
|
+
# The original request for bulk analyze.
|
423
|
+
# @!attribute [rw] completed_analyses_count
|
424
|
+
# @return [::Integer]
|
425
|
+
# The number of requested analyses that have completed successfully so far.
|
426
|
+
# @!attribute [rw] failed_analyses_count
|
427
|
+
# @return [::Integer]
|
428
|
+
# The number of requested analyses that have failed so far.
|
429
|
+
# @!attribute [rw] total_requested_analyses_count
|
430
|
+
# @return [::Integer]
|
431
|
+
# Total number of analyses requested. Computed by the number of conversations
|
432
|
+
# returned by `filter` multiplied by `analysis_percentage` in the request.
|
433
|
+
class BulkAnalyzeConversationsMetadata
|
434
|
+
include ::Google::Protobuf::MessageExts
|
435
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
436
|
+
end
|
437
|
+
|
438
|
+
# The response for a bulk analyze conversations operation.
|
439
|
+
# @!attribute [rw] successful_analysis_count
|
440
|
+
# @return [::Integer]
|
441
|
+
# Count of successful analyses.
|
442
|
+
# @!attribute [rw] failed_analysis_count
|
443
|
+
# @return [::Integer]
|
444
|
+
# Count of failed analyses.
|
445
|
+
class BulkAnalyzeConversationsResponse
|
446
|
+
include ::Google::Protobuf::MessageExts
|
447
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
448
|
+
end
|
449
|
+
|
319
450
|
# The request to export insights.
|
320
451
|
# @!attribute [rw] big_query_destination
|
321
452
|
# @return [::Google::Cloud::ContactCenterInsights::V1::ExportInsightsDataRequest::BigQueryDestination]
|
@@ -588,6 +719,15 @@ module Google
|
|
588
719
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
589
720
|
end
|
590
721
|
|
722
|
+
# The request to delete an issue.
|
723
|
+
# @!attribute [rw] name
|
724
|
+
# @return [::String]
|
725
|
+
# Required. The name of the issue to delete.
|
726
|
+
class DeleteIssueRequest
|
727
|
+
include ::Google::Protobuf::MessageExts
|
728
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
729
|
+
end
|
730
|
+
|
591
731
|
# Request to get statistics of an issue model.
|
592
732
|
# @!attribute [rw] issue_model
|
593
733
|
# @return [::String]
|
@@ -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
|
@@ -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
|