google-apis-contactcenterinsights_v1 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +4677 -2016
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +1333 -174
- data/lib/google/apis/contactcenterinsights_v1/service.rb +1706 -519
- metadata +4 -4
@@ -51,9 +51,10 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
#
|
55
|
-
# @param [String]
|
56
|
-
# Required. The
|
54
|
+
# Download feedback labels in bulk.
|
55
|
+
# @param [String] parent
|
56
|
+
# Required. The parent resource for new feedback labels.
|
57
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
57
58
|
# @param [String] fields
|
58
59
|
# Selector specifying which fields to include in a partial response.
|
59
60
|
# @param [String] quota_user
|
@@ -63,27 +64,62 @@ module Google
|
|
63
64
|
# Request-specific options
|
64
65
|
#
|
65
66
|
# @yield [result, err] Result & error if block supplied
|
66
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
67
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
67
68
|
# @yieldparam err [StandardError] error object if request failed
|
68
69
|
#
|
69
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
70
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
70
71
|
#
|
71
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
-
def
|
75
|
-
command = make_simple_command(:
|
76
|
-
command.
|
77
|
-
command.
|
78
|
-
command.
|
75
|
+
def bulk_project_location_download_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkDownloadFeedbackLabels', options)
|
77
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest::Representation
|
78
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
79
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
80
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
81
|
+
command.params['parent'] = parent unless parent.nil?
|
79
82
|
command.query['fields'] = fields unless fields.nil?
|
80
83
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
81
84
|
execute_or_queue_command(command, &block)
|
82
85
|
end
|
83
86
|
|
84
|
-
#
|
87
|
+
# Upload feedback labels in bulk.
|
88
|
+
# @param [String] parent
|
89
|
+
# Required. The parent resource for new feedback labels.
|
90
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
91
|
+
# @param [String] fields
|
92
|
+
# Selector specifying which fields to include in a partial response.
|
93
|
+
# @param [String] quota_user
|
94
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
95
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
96
|
+
# @param [Google::Apis::RequestOptions] options
|
97
|
+
# Request-specific options
|
98
|
+
#
|
99
|
+
# @yield [result, err] Result & error if block supplied
|
100
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
102
|
+
#
|
103
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
104
|
+
#
|
105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
+
def bulk_project_location_upload_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkUploadFeedbackLabels', options)
|
110
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest::Representation
|
111
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
112
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
113
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
114
|
+
command.params['parent'] = parent unless parent.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Gets location-level encryption key specification.
|
85
121
|
# @param [String] name
|
86
|
-
# Required. The name of the
|
122
|
+
# Required. The name of the encryption spec resource to get.
|
87
123
|
# @param [String] fields
|
88
124
|
# Selector specifying which fields to include in a partial response.
|
89
125
|
# @param [String] quota_user
|
@@ -93,31 +129,27 @@ module Google
|
|
93
129
|
# Request-specific options
|
94
130
|
#
|
95
131
|
# @yield [result, err] Result & error if block supplied
|
96
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
132
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec] parsed result object
|
97
133
|
# @yieldparam err [StandardError] error object if request failed
|
98
134
|
#
|
99
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
135
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec]
|
100
136
|
#
|
101
137
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
-
def
|
140
|
+
def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, options: nil, &block)
|
105
141
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
106
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
107
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
142
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec::Representation
|
143
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1EncryptionSpec
|
108
144
|
command.params['name'] = name unless name.nil?
|
109
145
|
command.query['fields'] = fields unless fields.nil?
|
110
146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
111
147
|
execute_or_queue_command(command, &block)
|
112
148
|
end
|
113
149
|
|
114
|
-
#
|
150
|
+
# Gets project-level settings.
|
115
151
|
# @param [String] name
|
116
|
-
#
|
117
|
-
# project`/locations/`location`/settings
|
118
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings] google_cloud_contactcenterinsights_v1_settings_object
|
119
|
-
# @param [String] update_mask
|
120
|
-
# Required. The list of fields to be updated.
|
152
|
+
# Required. The name of the settings resource to get.
|
121
153
|
# @param [String] fields
|
122
154
|
# Selector specifying which fields to include in a partial response.
|
123
155
|
# @param [String] quota_user
|
@@ -135,23 +167,34 @@ module Google
|
|
135
167
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
136
168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
|
-
def
|
139
|
-
command = make_simple_command(:
|
140
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings::Representation
|
141
|
-
command.request_object = google_cloud_contactcenterinsights_v1_settings_object
|
170
|
+
def get_project_location_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
171
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
142
172
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings::Representation
|
143
173
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings
|
144
174
|
command.params['name'] = name unless name.nil?
|
145
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
146
175
|
command.query['fields'] = fields unless fields.nil?
|
147
176
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
148
177
|
execute_or_queue_command(command, &block)
|
149
178
|
end
|
150
179
|
|
151
|
-
#
|
180
|
+
# List all feedback labels by project number.
|
152
181
|
# @param [String] parent
|
153
|
-
# Required. The parent resource
|
154
|
-
# @param [
|
182
|
+
# Required. The parent resource of all feedback labels per project.
|
183
|
+
# @param [String] filter
|
184
|
+
# Optional. A filter to reduce results to a specific subset in the entire
|
185
|
+
# project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: *
|
186
|
+
# `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` *
|
187
|
+
# `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI,
|
188
|
+
# TOPIC_MODELING
|
189
|
+
# @param [Fixnum] page_size
|
190
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
191
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
192
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
193
|
+
# might return fewer results than the requested page size.
|
194
|
+
# @param [String] page_token
|
195
|
+
# Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This
|
196
|
+
# value indicates that this is a continuation of a prior `ListAllFeedbackLabels`
|
197
|
+
# call and that the system should return the next page of data.
|
155
198
|
# @param [String] fields
|
156
199
|
# Selector specifying which fields to include in a partial response.
|
157
200
|
# @param [String] quota_user
|
@@ -161,31 +204,31 @@ module Google
|
|
161
204
|
# Request-specific options
|
162
205
|
#
|
163
206
|
# @yield [result, err] Result & error if block supplied
|
164
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
207
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse] parsed result object
|
165
208
|
# @yieldparam err [StandardError] error object if request failed
|
166
209
|
#
|
167
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
210
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse]
|
168
211
|
#
|
169
212
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
170
213
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
171
214
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
172
|
-
def
|
173
|
-
command = make_simple_command(:
|
174
|
-
command.
|
175
|
-
command.
|
176
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
177
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
215
|
+
def list_project_location_all_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
216
|
+
command = make_simple_command(:get, 'v1/{+parent}:listAllFeedbackLabels', options)
|
217
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse::Representation
|
218
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse
|
178
219
|
command.params['parent'] = parent unless parent.nil?
|
220
|
+
command.query['filter'] = filter unless filter.nil?
|
221
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
222
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
179
223
|
command.query['fields'] = fields unless fields.nil?
|
180
224
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
225
|
execute_or_queue_command(command, &block)
|
182
226
|
end
|
183
227
|
|
184
|
-
#
|
185
|
-
# @param [String]
|
186
|
-
# Required. The
|
187
|
-
#
|
188
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
228
|
+
# Query metrics.
|
229
|
+
# @param [String] location
|
230
|
+
# Required. The location of the data. "projects/`project`/locations/`location`"
|
231
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
189
232
|
# @param [String] fields
|
190
233
|
# Selector specifying which fields to include in a partial response.
|
191
234
|
# @param [String] quota_user
|
@@ -203,24 +246,25 @@ module Google
|
|
203
246
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
204
247
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
205
248
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
206
|
-
def
|
207
|
-
command = make_simple_command(:post, 'v1/{+
|
208
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
209
|
-
command.request_object =
|
249
|
+
def query_project_location_metrics(location, google_cloud_contactcenterinsights_v1_query_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
250
|
+
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
|
251
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
|
252
|
+
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
210
253
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
211
254
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
212
|
-
command.params['
|
255
|
+
command.params['location'] = location unless location.nil?
|
213
256
|
command.query['fields'] = fields unless fields.nil?
|
214
257
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
215
258
|
execute_or_queue_command(command, &block)
|
216
259
|
end
|
217
260
|
|
218
|
-
#
|
219
|
-
# @param [String]
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
261
|
+
# Updates project-level settings.
|
262
|
+
# @param [String] name
|
263
|
+
# Immutable. The resource name of the settings resource. Format: projects/`
|
264
|
+
# project`/locations/`location`/settings
|
265
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings] google_cloud_contactcenterinsights_v1_settings_object
|
266
|
+
# @param [String] update_mask
|
267
|
+
# Required. The list of fields to be updated.
|
224
268
|
# @param [String] fields
|
225
269
|
# Selector specifying which fields to include in a partial response.
|
226
270
|
# @param [String] quota_user
|
@@ -230,35 +274,33 @@ module Google
|
|
230
274
|
# Request-specific options
|
231
275
|
#
|
232
276
|
# @yield [result, err] Result & error if block supplied
|
233
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
277
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings] parsed result object
|
234
278
|
# @yieldparam err [StandardError] error object if request failed
|
235
279
|
#
|
236
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
280
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings]
|
237
281
|
#
|
238
282
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
239
283
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
240
284
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
241
|
-
def
|
242
|
-
command = make_simple_command(:
|
243
|
-
command.
|
244
|
-
command.
|
245
|
-
command.
|
246
|
-
command.
|
285
|
+
def update_project_location_settings(name, google_cloud_contactcenterinsights_v1_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
286
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
287
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings::Representation
|
288
|
+
command.request_object = google_cloud_contactcenterinsights_v1_settings_object
|
289
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings::Representation
|
290
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Settings
|
291
|
+
command.params['name'] = name unless name.nil?
|
292
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
247
293
|
command.query['fields'] = fields unless fields.nil?
|
248
294
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
249
295
|
execute_or_queue_command(command, &block)
|
250
296
|
end
|
251
297
|
|
252
|
-
# Creates a
|
253
|
-
# transcription or redaction. Use `conversations.upload` instead.
|
298
|
+
# Creates a analysis rule.
|
254
299
|
# @param [String] parent
|
255
|
-
# Required. The parent resource of the
|
256
|
-
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
# of the conversation's resource name. If no ID is specified, a server-generated
|
260
|
-
# ID will be used. This value should be 4-64 characters and must match the
|
261
|
-
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
300
|
+
# Required. The parent resource of the analysis rule. Required. The location to
|
301
|
+
# create a analysis rule for. Format: `projects//locations/` or `projects//
|
302
|
+
# locations/`
|
303
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule] google_cloud_contactcenterinsights_v1_analysis_rule_object
|
262
304
|
# @param [String] fields
|
263
305
|
# Selector specifying which fields to include in a partial response.
|
264
306
|
# @param [String] quota_user
|
@@ -268,33 +310,29 @@ module Google
|
|
268
310
|
# Request-specific options
|
269
311
|
#
|
270
312
|
# @yield [result, err] Result & error if block supplied
|
271
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
313
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule] parsed result object
|
272
314
|
# @yieldparam err [StandardError] error object if request failed
|
273
315
|
#
|
274
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
316
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule]
|
275
317
|
#
|
276
318
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
277
319
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
278
320
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
279
|
-
def
|
280
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
281
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
282
|
-
command.request_object =
|
283
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
284
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
321
|
+
def create_project_location_analysis_rule(parent, google_cloud_contactcenterinsights_v1_analysis_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
322
|
+
command = make_simple_command(:post, 'v1/{+parent}/analysisRules', options)
|
323
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule::Representation
|
324
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_rule_object
|
325
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule::Representation
|
326
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule
|
285
327
|
command.params['parent'] = parent unless parent.nil?
|
286
|
-
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
287
328
|
command.query['fields'] = fields unless fields.nil?
|
288
329
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
330
|
execute_or_queue_command(command, &block)
|
290
331
|
end
|
291
332
|
|
292
|
-
# Deletes a
|
333
|
+
# Deletes a analysis rule.
|
293
334
|
# @param [String] name
|
294
|
-
# Required. The name of the
|
295
|
-
# @param [Boolean] force
|
296
|
-
# If set to true, all of this conversation's analyses will also be deleted.
|
297
|
-
# Otherwise, the request will only succeed if the conversation has no analyses.
|
335
|
+
# Required. The name of the analysis rule to delete.
|
298
336
|
# @param [String] fields
|
299
337
|
# Selector specifying which fields to include in a partial response.
|
300
338
|
# @param [String] quota_user
|
@@ -312,22 +350,19 @@ module Google
|
|
312
350
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
313
351
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
352
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
|
-
def
|
353
|
+
def delete_project_location_analysis_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
316
354
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
317
355
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
318
356
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
319
357
|
command.params['name'] = name unless name.nil?
|
320
|
-
command.query['force'] = force unless force.nil?
|
321
358
|
command.query['fields'] = fields unless fields.nil?
|
322
359
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
323
360
|
execute_or_queue_command(command, &block)
|
324
361
|
end
|
325
362
|
|
326
|
-
#
|
363
|
+
# Get a analysis rule.
|
327
364
|
# @param [String] name
|
328
|
-
# Required. The name of the
|
329
|
-
# @param [String] view
|
330
|
-
# The level of details of the conversation. Default is `FULL`.
|
365
|
+
# Required. The name of the AnalysisRule to get.
|
331
366
|
# @param [String] fields
|
332
367
|
# Selector specifying which fields to include in a partial response.
|
333
368
|
# @param [String] quota_user
|
@@ -337,29 +372,36 @@ module Google
|
|
337
372
|
# Request-specific options
|
338
373
|
#
|
339
374
|
# @yield [result, err] Result & error if block supplied
|
340
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
375
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule] parsed result object
|
341
376
|
# @yieldparam err [StandardError] error object if request failed
|
342
377
|
#
|
343
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
378
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule]
|
344
379
|
#
|
345
380
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
346
381
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
347
382
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
348
|
-
def
|
383
|
+
def get_project_location_analysis_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
349
384
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
350
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
351
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
385
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule::Representation
|
386
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule
|
352
387
|
command.params['name'] = name unless name.nil?
|
353
|
-
command.query['view'] = view unless view.nil?
|
354
388
|
command.query['fields'] = fields unless fields.nil?
|
355
389
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
356
390
|
execute_or_queue_command(command, &block)
|
357
391
|
end
|
358
392
|
|
359
|
-
#
|
393
|
+
# Lists analysis rules.
|
360
394
|
# @param [String] parent
|
361
|
-
# Required. The parent resource
|
362
|
-
# @param [
|
395
|
+
# Required. The parent resource of the analysis rules.
|
396
|
+
# @param [Fixnum] page_size
|
397
|
+
# Optional. The maximum number of analysis rule to return in the response. If
|
398
|
+
# this value is zero, the service will select a default size. A call may return
|
399
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
400
|
+
# indicates that more data is available.
|
401
|
+
# @param [String] page_token
|
402
|
+
# Optional. The value returned by the last `ListAnalysisRulesResponse`;
|
403
|
+
# indicates that this is a continuation of a prior `ListAnalysisRules` call and
|
404
|
+
# the system should return the next page of data.
|
363
405
|
# @param [String] fields
|
364
406
|
# Selector specifying which fields to include in a partial response.
|
365
407
|
# @param [String] quota_user
|
@@ -369,51 +411,34 @@ module Google
|
|
369
411
|
# Request-specific options
|
370
412
|
#
|
371
413
|
# @yield [result, err] Result & error if block supplied
|
372
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
414
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse] parsed result object
|
373
415
|
# @yieldparam err [StandardError] error object if request failed
|
374
416
|
#
|
375
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
417
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse]
|
376
418
|
#
|
377
419
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
378
420
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
379
421
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
380
|
-
def
|
381
|
-
command = make_simple_command(:
|
382
|
-
command.
|
383
|
-
command.
|
384
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
385
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
422
|
+
def list_project_location_analysis_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
423
|
+
command = make_simple_command(:get, 'v1/{+parent}/analysisRules', options)
|
424
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse::Representation
|
425
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysisRulesResponse
|
386
426
|
command.params['parent'] = parent unless parent.nil?
|
427
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
428
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
387
429
|
command.query['fields'] = fields unless fields.nil?
|
388
430
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
431
|
execute_or_queue_command(command, &block)
|
390
432
|
end
|
391
433
|
|
392
|
-
#
|
393
|
-
# @param [String]
|
394
|
-
#
|
395
|
-
#
|
396
|
-
#
|
397
|
-
#
|
398
|
-
#
|
399
|
-
#
|
400
|
-
# empty, conversations will be ordered by descending creation time. Supported
|
401
|
-
# values are one of the following: * create_time * customer_satisfaction_rating *
|
402
|
-
# duration * latest_analysis * start_time * turn_count The default sort order
|
403
|
-
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
404
|
-
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
405
|
-
# ordering).
|
406
|
-
# @param [Fixnum] page_size
|
407
|
-
# The maximum number of conversations to return in the response. A valid page
|
408
|
-
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
409
|
-
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
410
|
-
# return fewer results than the requested page size.
|
411
|
-
# @param [String] page_token
|
412
|
-
# The value returned by the last `ListConversationsResponse`. This value
|
413
|
-
# indicates that this is a continuation of a prior `ListConversations` call and
|
414
|
-
# that the system should return the next page of data.
|
415
|
-
# @param [String] view
|
416
|
-
# The level of details of the conversation. Default is `BASIC`.
|
434
|
+
# Updates a analysis rule.
|
435
|
+
# @param [String] name
|
436
|
+
# Identifier. The resource name of the analysis rule. Format: projects/`project`/
|
437
|
+
# locations/`location`/analysisRules/`analysis_rule`
|
438
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule] google_cloud_contactcenterinsights_v1_analysis_rule_object
|
439
|
+
# @param [String] update_mask
|
440
|
+
# Optional. The list of fields to be updated. If the update_mask is not provided,
|
441
|
+
# the update will be applied to all fields.
|
417
442
|
# @param [String] fields
|
418
443
|
# Selector specifying which fields to include in a partial response.
|
419
444
|
# @param [String] quota_user
|
@@ -423,40 +448,33 @@ module Google
|
|
423
448
|
# Request-specific options
|
424
449
|
#
|
425
450
|
# @yield [result, err] Result & error if block supplied
|
426
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
451
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule] parsed result object
|
427
452
|
# @yieldparam err [StandardError] error object if request failed
|
428
453
|
#
|
429
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
454
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule]
|
430
455
|
#
|
431
456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
432
457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
433
458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
434
|
-
def
|
435
|
-
command = make_simple_command(:
|
436
|
-
command.
|
437
|
-
command.
|
438
|
-
command.
|
439
|
-
command.
|
440
|
-
command.
|
441
|
-
command.query['
|
442
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
443
|
-
command.query['view'] = view unless view.nil?
|
459
|
+
def patch_project_location_analysis_rule(name, google_cloud_contactcenterinsights_v1_analysis_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
460
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
461
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule::Representation
|
462
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_rule_object
|
463
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule::Representation
|
464
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnalysisRule
|
465
|
+
command.params['name'] = name unless name.nil?
|
466
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
444
467
|
command.query['fields'] = fields unless fields.nil?
|
445
468
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
446
469
|
execute_or_queue_command(command, &block)
|
447
470
|
end
|
448
471
|
|
449
|
-
#
|
450
|
-
# @param [String]
|
451
|
-
#
|
452
|
-
#
|
453
|
-
#
|
454
|
-
#
|
455
|
-
# The list of fields to be updated. All possible fields can be updated by
|
456
|
-
# passing `*`, or a subset of the following updateable fields can be provided: *
|
457
|
-
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
458
|
-
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
459
|
-
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
472
|
+
# Gets conversation statistics.
|
473
|
+
# @param [String] location
|
474
|
+
# Required. The location of the conversations.
|
475
|
+
# @param [String] filter
|
476
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
477
|
+
# getting statistics about conversations with specific properties.
|
460
478
|
# @param [String] fields
|
461
479
|
# Selector specifying which fields to include in a partial response.
|
462
480
|
# @param [String] quota_user
|
@@ -466,32 +484,270 @@ module Google
|
|
466
484
|
# Request-specific options
|
467
485
|
#
|
468
486
|
# @yield [result, err] Result & error if block supplied
|
469
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
487
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
470
488
|
# @yieldparam err [StandardError] error object if request failed
|
471
489
|
#
|
472
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
490
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
473
491
|
#
|
474
492
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
475
493
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
476
494
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
477
|
-
def
|
478
|
-
command = make_simple_command(:
|
479
|
-
command.
|
480
|
-
command.
|
481
|
-
command.
|
482
|
-
command.
|
483
|
-
command.
|
484
|
-
command.query['
|
485
|
-
command.query['fields'] = fields unless fields.nil?
|
486
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
495
|
+
def calculate_project_location_authorized_view_set_authorized_view_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
496
|
+
command = make_simple_command(:get, 'v1/{+location}:calculateStats', options)
|
497
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
498
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
499
|
+
command.params['location'] = location unless location.nil?
|
500
|
+
command.query['filter'] = filter unless filter.nil?
|
501
|
+
command.query['fields'] = fields unless fields.nil?
|
502
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
487
503
|
execute_or_queue_command(command, &block)
|
488
504
|
end
|
489
505
|
|
490
|
-
#
|
491
|
-
#
|
506
|
+
# Query metrics.
|
507
|
+
# @param [String] location
|
508
|
+
# Required. The location of the data. "projects/`project`/locations/`location`"
|
509
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
510
|
+
# @param [String] fields
|
511
|
+
# Selector specifying which fields to include in a partial response.
|
512
|
+
# @param [String] quota_user
|
513
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
514
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
515
|
+
# @param [Google::Apis::RequestOptions] options
|
516
|
+
# Request-specific options
|
517
|
+
#
|
518
|
+
# @yield [result, err] Result & error if block supplied
|
519
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
520
|
+
# @yieldparam err [StandardError] error object if request failed
|
521
|
+
#
|
522
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
523
|
+
#
|
524
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
525
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
526
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
527
|
+
def query_project_location_authorized_view_set_authorized_view_metrics(location, google_cloud_contactcenterinsights_v1_query_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
528
|
+
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
|
529
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
|
530
|
+
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
531
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
532
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
533
|
+
command.params['location'] = location unless location.nil?
|
534
|
+
command.query['fields'] = fields unless fields.nil?
|
535
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
536
|
+
execute_or_queue_command(command, &block)
|
537
|
+
end
|
538
|
+
|
539
|
+
# Analyzes multiple conversations in a single request.
|
540
|
+
# @param [String] parent
|
541
|
+
# Required. The parent resource to create analyses in.
|
542
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
543
|
+
# @param [String] fields
|
544
|
+
# Selector specifying which fields to include in a partial response.
|
545
|
+
# @param [String] quota_user
|
546
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
547
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
548
|
+
# @param [Google::Apis::RequestOptions] options
|
549
|
+
# Request-specific options
|
550
|
+
#
|
551
|
+
# @yield [result, err] Result & error if block supplied
|
552
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
553
|
+
# @yieldparam err [StandardError] error object if request failed
|
554
|
+
#
|
555
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
556
|
+
#
|
557
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
558
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
559
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
560
|
+
def bulk_project_location_conversation_analyze(parent, google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
561
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
562
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
563
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
564
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
565
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
566
|
+
command.params['parent'] = parent unless parent.nil?
|
567
|
+
command.query['fields'] = fields unless fields.nil?
|
568
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
569
|
+
execute_or_queue_command(command, &block)
|
570
|
+
end
|
571
|
+
|
572
|
+
# Deletes multiple conversations in a single request.
|
573
|
+
# @param [String] parent
|
574
|
+
# Required. The parent resource to delete conversations from. Format: projects/`
|
575
|
+
# project`/locations/`location`
|
576
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
577
|
+
# @param [String] fields
|
578
|
+
# Selector specifying which fields to include in a partial response.
|
579
|
+
# @param [String] quota_user
|
580
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
581
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
582
|
+
# @param [Google::Apis::RequestOptions] options
|
583
|
+
# Request-specific options
|
584
|
+
#
|
585
|
+
# @yield [result, err] Result & error if block supplied
|
586
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
587
|
+
# @yieldparam err [StandardError] error object if request failed
|
588
|
+
#
|
589
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
590
|
+
#
|
591
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
592
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
593
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
594
|
+
def bulk_project_location_conversation_delete(parent, google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
595
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
596
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
597
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
598
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
599
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
600
|
+
command.params['parent'] = parent unless parent.nil?
|
601
|
+
command.query['fields'] = fields unless fields.nil?
|
602
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
603
|
+
execute_or_queue_command(command, &block)
|
604
|
+
end
|
605
|
+
|
606
|
+
# Gets conversation statistics.
|
607
|
+
# @param [String] location
|
608
|
+
# Required. The location of the conversations.
|
609
|
+
# @param [String] filter
|
610
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
611
|
+
# getting statistics about conversations with specific properties.
|
612
|
+
# @param [String] fields
|
613
|
+
# Selector specifying which fields to include in a partial response.
|
614
|
+
# @param [String] quota_user
|
615
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
616
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
617
|
+
# @param [Google::Apis::RequestOptions] options
|
618
|
+
# Request-specific options
|
619
|
+
#
|
620
|
+
# @yield [result, err] Result & error if block supplied
|
621
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
622
|
+
# @yieldparam err [StandardError] error object if request failed
|
623
|
+
#
|
624
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
625
|
+
#
|
626
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
627
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
628
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
629
|
+
def calculate_project_location_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
630
|
+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
631
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
632
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
633
|
+
command.params['location'] = location unless location.nil?
|
634
|
+
command.query['filter'] = filter unless filter.nil?
|
635
|
+
command.query['fields'] = fields unless fields.nil?
|
636
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
637
|
+
execute_or_queue_command(command, &block)
|
638
|
+
end
|
639
|
+
|
640
|
+
# Creates a conversation. Note that this method does not support audio
|
641
|
+
# transcription or redaction. Use `conversations.upload` instead.
|
492
642
|
# @param [String] parent
|
493
643
|
# Required. The parent resource of the conversation.
|
494
|
-
# @param [Google::Apis::ContactcenterinsightsV1::
|
644
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
645
|
+
# @param [String] conversation_id
|
646
|
+
# A unique ID for the new conversation. This ID will become the final component
|
647
|
+
# of the conversation's resource name. If no ID is specified, a server-generated
|
648
|
+
# ID will be used. This value should be 4-64 characters and must match the
|
649
|
+
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
650
|
+
# @param [String] fields
|
651
|
+
# Selector specifying which fields to include in a partial response.
|
652
|
+
# @param [String] quota_user
|
653
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
654
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
655
|
+
# @param [Google::Apis::RequestOptions] options
|
656
|
+
# Request-specific options
|
657
|
+
#
|
658
|
+
# @yield [result, err] Result & error if block supplied
|
659
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
660
|
+
# @yieldparam err [StandardError] error object if request failed
|
661
|
+
#
|
662
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
663
|
+
#
|
664
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
665
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
666
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
667
|
+
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
668
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
669
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
670
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
671
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
672
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
673
|
+
command.params['parent'] = parent unless parent.nil?
|
674
|
+
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
675
|
+
command.query['fields'] = fields unless fields.nil?
|
676
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
677
|
+
execute_or_queue_command(command, &block)
|
678
|
+
end
|
679
|
+
|
680
|
+
# Deletes a conversation.
|
681
|
+
# @param [String] name
|
682
|
+
# Required. The name of the conversation to delete.
|
683
|
+
# @param [Boolean] force
|
684
|
+
# If set to true, all of this conversation's analyses will also be deleted.
|
685
|
+
# Otherwise, the request will only succeed if the conversation has no analyses.
|
686
|
+
# @param [String] fields
|
687
|
+
# Selector specifying which fields to include in a partial response.
|
688
|
+
# @param [String] quota_user
|
689
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
690
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
691
|
+
# @param [Google::Apis::RequestOptions] options
|
692
|
+
# Request-specific options
|
693
|
+
#
|
694
|
+
# @yield [result, err] Result & error if block supplied
|
695
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
696
|
+
# @yieldparam err [StandardError] error object if request failed
|
697
|
+
#
|
698
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
699
|
+
#
|
700
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
701
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
702
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
703
|
+
def delete_project_location_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
704
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
705
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
706
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
707
|
+
command.params['name'] = name unless name.nil?
|
708
|
+
command.query['force'] = force unless force.nil?
|
709
|
+
command.query['fields'] = fields unless fields.nil?
|
710
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
711
|
+
execute_or_queue_command(command, &block)
|
712
|
+
end
|
713
|
+
|
714
|
+
# Gets a conversation.
|
715
|
+
# @param [String] name
|
716
|
+
# Required. The name of the conversation to get.
|
717
|
+
# @param [String] view
|
718
|
+
# The level of details of the conversation. Default is `FULL`.
|
719
|
+
# @param [String] fields
|
720
|
+
# Selector specifying which fields to include in a partial response.
|
721
|
+
# @param [String] quota_user
|
722
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
723
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
724
|
+
# @param [Google::Apis::RequestOptions] options
|
725
|
+
# Request-specific options
|
726
|
+
#
|
727
|
+
# @yield [result, err] Result & error if block supplied
|
728
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
729
|
+
# @yieldparam err [StandardError] error object if request failed
|
730
|
+
#
|
731
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
732
|
+
#
|
733
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
734
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
735
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
736
|
+
def get_project_location_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
737
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
738
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
739
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
740
|
+
command.params['name'] = name unless name.nil?
|
741
|
+
command.query['view'] = view unless view.nil?
|
742
|
+
command.query['fields'] = fields unless fields.nil?
|
743
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
744
|
+
execute_or_queue_command(command, &block)
|
745
|
+
end
|
746
|
+
|
747
|
+
# Imports conversations and processes them according to the user's configuration.
|
748
|
+
# @param [String] parent
|
749
|
+
# Required. The parent resource for new conversations.
|
750
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest] google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
495
751
|
# @param [String] fields
|
496
752
|
# Selector specifying which fields to include in a partial response.
|
497
753
|
# @param [String] quota_user
|
@@ -509,10 +765,10 @@ module Google
|
|
509
765
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
510
766
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
511
767
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
512
|
-
def
|
513
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations:
|
514
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
515
|
-
command.request_object =
|
768
|
+
def ingest_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
769
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
770
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
771
|
+
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
516
772
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
517
773
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
518
774
|
command.params['parent'] = parent unless parent.nil?
|
@@ -521,11 +777,919 @@ module Google
|
|
521
777
|
execute_or_queue_command(command, &block)
|
522
778
|
end
|
523
779
|
|
524
|
-
#
|
525
|
-
#
|
780
|
+
# Lists conversations.
|
781
|
+
# @param [String] parent
|
782
|
+
# Required. The parent resource of the conversation.
|
783
|
+
# @param [String] filter
|
784
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
785
|
+
# conversations with specific properties.
|
786
|
+
# @param [String] order_by
|
787
|
+
# Optional. The attribute by which to order conversations in the response. If
|
788
|
+
# empty, conversations will be ordered by descending creation time. Supported
|
789
|
+
# values are one of the following: * create_time * customer_satisfaction_rating *
|
790
|
+
# duration * latest_analysis * start_time * turn_count The default sort order
|
791
|
+
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
792
|
+
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
793
|
+
# ordering).
|
794
|
+
# @param [Fixnum] page_size
|
795
|
+
# The maximum number of conversations to return in the response. A valid page
|
796
|
+
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
797
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
798
|
+
# return fewer results than the requested page size.
|
799
|
+
# @param [String] page_token
|
800
|
+
# The value returned by the last `ListConversationsResponse`. This value
|
801
|
+
# indicates that this is a continuation of a prior `ListConversations` call and
|
802
|
+
# that the system should return the next page of data.
|
803
|
+
# @param [String] view
|
804
|
+
# The level of details of the conversation. Default is `BASIC`.
|
805
|
+
# @param [String] fields
|
806
|
+
# Selector specifying which fields to include in a partial response.
|
807
|
+
# @param [String] quota_user
|
808
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
809
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
810
|
+
# @param [Google::Apis::RequestOptions] options
|
811
|
+
# Request-specific options
|
812
|
+
#
|
813
|
+
# @yield [result, err] Result & error if block supplied
|
814
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
|
815
|
+
# @yieldparam err [StandardError] error object if request failed
|
816
|
+
#
|
817
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
|
818
|
+
#
|
819
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
820
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
821
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
822
|
+
def list_project_location_conversations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
823
|
+
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
824
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
825
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
826
|
+
command.params['parent'] = parent unless parent.nil?
|
827
|
+
command.query['filter'] = filter unless filter.nil?
|
828
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
829
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
830
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
831
|
+
command.query['view'] = view unless view.nil?
|
832
|
+
command.query['fields'] = fields unless fields.nil?
|
833
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
834
|
+
execute_or_queue_command(command, &block)
|
835
|
+
end
|
836
|
+
|
837
|
+
# Updates a conversation.
|
838
|
+
# @param [String] name
|
839
|
+
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
840
|
+
# locations/`location`/conversations/`conversation`
|
841
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
842
|
+
# @param [String] update_mask
|
843
|
+
# The list of fields to be updated. All possible fields can be updated by
|
844
|
+
# passing `*`, or a subset of the following updateable fields can be provided: *
|
845
|
+
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
846
|
+
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
847
|
+
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
848
|
+
# @param [String] fields
|
849
|
+
# Selector specifying which fields to include in a partial response.
|
850
|
+
# @param [String] quota_user
|
851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
853
|
+
# @param [Google::Apis::RequestOptions] options
|
854
|
+
# Request-specific options
|
855
|
+
#
|
856
|
+
# @yield [result, err] Result & error if block supplied
|
857
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
858
|
+
# @yieldparam err [StandardError] error object if request failed
|
859
|
+
#
|
860
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
861
|
+
#
|
862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
+
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
867
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
868
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
869
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
870
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
871
|
+
command.params['name'] = name unless name.nil?
|
872
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
873
|
+
command.query['fields'] = fields unless fields.nil?
|
874
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
875
|
+
execute_or_queue_command(command, &block)
|
876
|
+
end
|
877
|
+
|
878
|
+
# Create a long-running conversation upload operation. This method differs from `
|
879
|
+
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
880
|
+
# @param [String] parent
|
881
|
+
# Required. The parent resource of the conversation.
|
882
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
883
|
+
# @param [String] fields
|
884
|
+
# Selector specifying which fields to include in a partial response.
|
885
|
+
# @param [String] quota_user
|
886
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
887
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
888
|
+
# @param [Google::Apis::RequestOptions] options
|
889
|
+
# Request-specific options
|
890
|
+
#
|
891
|
+
# @yield [result, err] Result & error if block supplied
|
892
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
893
|
+
# @yieldparam err [StandardError] error object if request failed
|
894
|
+
#
|
895
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
896
|
+
#
|
897
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
898
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
899
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
900
|
+
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
901
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
902
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
903
|
+
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
904
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
905
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
906
|
+
command.params['parent'] = parent unless parent.nil?
|
907
|
+
command.query['fields'] = fields unless fields.nil?
|
908
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
909
|
+
execute_or_queue_command(command, &block)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Creates an analysis. The long running operation is done when the analysis has
|
913
|
+
# completed.
|
914
|
+
# @param [String] parent
|
915
|
+
# Required. The parent resource of the analysis.
|
916
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
917
|
+
# @param [String] fields
|
918
|
+
# Selector specifying which fields to include in a partial response.
|
919
|
+
# @param [String] quota_user
|
920
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
921
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
922
|
+
# @param [Google::Apis::RequestOptions] options
|
923
|
+
# Request-specific options
|
924
|
+
#
|
925
|
+
# @yield [result, err] Result & error if block supplied
|
926
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
927
|
+
# @yieldparam err [StandardError] error object if request failed
|
928
|
+
#
|
929
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
930
|
+
#
|
931
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
932
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
|
+
def create_project_location_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
935
|
+
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
936
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
937
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
938
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
939
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
940
|
+
command.params['parent'] = parent unless parent.nil?
|
941
|
+
command.query['fields'] = fields unless fields.nil?
|
942
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
943
|
+
execute_or_queue_command(command, &block)
|
944
|
+
end
|
945
|
+
|
946
|
+
# Deletes an analysis.
|
947
|
+
# @param [String] name
|
948
|
+
# Required. The name of the analysis to delete.
|
949
|
+
# @param [String] fields
|
950
|
+
# Selector specifying which fields to include in a partial response.
|
951
|
+
# @param [String] quota_user
|
952
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
953
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
954
|
+
# @param [Google::Apis::RequestOptions] options
|
955
|
+
# Request-specific options
|
956
|
+
#
|
957
|
+
# @yield [result, err] Result & error if block supplied
|
958
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
959
|
+
# @yieldparam err [StandardError] error object if request failed
|
960
|
+
#
|
961
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
962
|
+
#
|
963
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
964
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
965
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
966
|
+
def delete_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
967
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
968
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
969
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
970
|
+
command.params['name'] = name unless name.nil?
|
971
|
+
command.query['fields'] = fields unless fields.nil?
|
972
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
973
|
+
execute_or_queue_command(command, &block)
|
974
|
+
end
|
975
|
+
|
976
|
+
# Gets an analysis.
|
977
|
+
# @param [String] name
|
978
|
+
# Required. The name of the analysis to get.
|
979
|
+
# @param [String] fields
|
980
|
+
# Selector specifying which fields to include in a partial response.
|
981
|
+
# @param [String] quota_user
|
982
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
983
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
984
|
+
# @param [Google::Apis::RequestOptions] options
|
985
|
+
# Request-specific options
|
986
|
+
#
|
987
|
+
# @yield [result, err] Result & error if block supplied
|
988
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
|
989
|
+
# @yieldparam err [StandardError] error object if request failed
|
990
|
+
#
|
991
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
|
992
|
+
#
|
993
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
994
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
995
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
996
|
+
def get_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
997
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
998
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
999
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
1000
|
+
command.params['name'] = name unless name.nil?
|
1001
|
+
command.query['fields'] = fields unless fields.nil?
|
1002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1003
|
+
execute_or_queue_command(command, &block)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Lists analyses.
|
1007
|
+
# @param [String] parent
|
1008
|
+
# Required. The parent resource of the analyses.
|
1009
|
+
# @param [String] filter
|
1010
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1011
|
+
# conversations with specific properties.
|
1012
|
+
# @param [Fixnum] page_size
|
1013
|
+
# The maximum number of analyses to return in the response. If this value is
|
1014
|
+
# zero, the service will select a default size. A call might return fewer
|
1015
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
1016
|
+
# indicates that more data is available.
|
1017
|
+
# @param [String] page_token
|
1018
|
+
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
1019
|
+
# a continuation of a prior `ListAnalyses` call and the system should return the
|
1020
|
+
# next page of data.
|
1021
|
+
# @param [String] fields
|
1022
|
+
# Selector specifying which fields to include in a partial response.
|
1023
|
+
# @param [String] quota_user
|
1024
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1025
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1026
|
+
# @param [Google::Apis::RequestOptions] options
|
1027
|
+
# Request-specific options
|
1028
|
+
#
|
1029
|
+
# @yield [result, err] Result & error if block supplied
|
1030
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
|
1031
|
+
# @yieldparam err [StandardError] error object if request failed
|
1032
|
+
#
|
1033
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
|
1034
|
+
#
|
1035
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
+
def list_project_location_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1039
|
+
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1040
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1041
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
1042
|
+
command.params['parent'] = parent unless parent.nil?
|
1043
|
+
command.query['filter'] = filter unless filter.nil?
|
1044
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1045
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1046
|
+
command.query['fields'] = fields unless fields.nil?
|
1047
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1048
|
+
execute_or_queue_command(command, &block)
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# Create feedback label.
|
1052
|
+
# @param [String] parent
|
1053
|
+
# Required. The parent resource of the feedback label.
|
1054
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
1055
|
+
# @param [String] feedback_label_id
|
1056
|
+
# Optional. The ID of the feedback label to create. If one is not specified it
|
1057
|
+
# will be generated by the server.
|
1058
|
+
# @param [String] fields
|
1059
|
+
# Selector specifying which fields to include in a partial response.
|
1060
|
+
# @param [String] quota_user
|
1061
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1062
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1063
|
+
# @param [Google::Apis::RequestOptions] options
|
1064
|
+
# Request-specific options
|
1065
|
+
#
|
1066
|
+
# @yield [result, err] Result & error if block supplied
|
1067
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1068
|
+
# @yieldparam err [StandardError] error object if request failed
|
1069
|
+
#
|
1070
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1071
|
+
#
|
1072
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1073
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1074
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1075
|
+
def create_project_location_conversation_feedback_label(parent, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, feedback_label_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1076
|
+
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1077
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1078
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
1079
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1080
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1081
|
+
command.params['parent'] = parent unless parent.nil?
|
1082
|
+
command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
|
1083
|
+
command.query['fields'] = fields unless fields.nil?
|
1084
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1085
|
+
execute_or_queue_command(command, &block)
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
# Delete feedback label.
|
1089
|
+
# @param [String] name
|
1090
|
+
# Required. The name of the feedback label to delete.
|
1091
|
+
# @param [String] fields
|
1092
|
+
# Selector specifying which fields to include in a partial response.
|
1093
|
+
# @param [String] quota_user
|
1094
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1095
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1096
|
+
# @param [Google::Apis::RequestOptions] options
|
1097
|
+
# Request-specific options
|
1098
|
+
#
|
1099
|
+
# @yield [result, err] Result & error if block supplied
|
1100
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1101
|
+
# @yieldparam err [StandardError] error object if request failed
|
1102
|
+
#
|
1103
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1104
|
+
#
|
1105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1108
|
+
def delete_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1109
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1110
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1111
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1112
|
+
command.params['name'] = name unless name.nil?
|
1113
|
+
command.query['fields'] = fields unless fields.nil?
|
1114
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1115
|
+
execute_or_queue_command(command, &block)
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# Get feedback label.
|
1119
|
+
# @param [String] name
|
1120
|
+
# Required. The name of the feedback label to get.
|
1121
|
+
# @param [String] fields
|
1122
|
+
# Selector specifying which fields to include in a partial response.
|
1123
|
+
# @param [String] quota_user
|
1124
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1125
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1126
|
+
# @param [Google::Apis::RequestOptions] options
|
1127
|
+
# Request-specific options
|
1128
|
+
#
|
1129
|
+
# @yield [result, err] Result & error if block supplied
|
1130
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1131
|
+
# @yieldparam err [StandardError] error object if request failed
|
1132
|
+
#
|
1133
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1134
|
+
#
|
1135
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1136
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1137
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1138
|
+
def get_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1139
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1140
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1141
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1142
|
+
command.params['name'] = name unless name.nil?
|
1143
|
+
command.query['fields'] = fields unless fields.nil?
|
1144
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1145
|
+
execute_or_queue_command(command, &block)
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
# List feedback labels.
|
1149
|
+
# @param [String] parent
|
1150
|
+
# Required. The parent resource of the feedback labels.
|
1151
|
+
# @param [String] filter
|
1152
|
+
# Optional. A filter to reduce results to a specific subset. Supports
|
1153
|
+
# disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
|
1154
|
+
# ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
|
1155
|
+
# Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
|
1156
|
+
# min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
|
1157
|
+
# `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
|
1158
|
+
# @param [Fixnum] page_size
|
1159
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
1160
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
1161
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
1162
|
+
# might return fewer results than the requested page size.
|
1163
|
+
# @param [String] page_token
|
1164
|
+
# Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
|
1165
|
+
# value indicates that this is a continuation of a prior `ListFeedbackLabels`
|
1166
|
+
# call and that the system should return the next page of data.
|
1167
|
+
# @param [String] fields
|
1168
|
+
# Selector specifying which fields to include in a partial response.
|
1169
|
+
# @param [String] quota_user
|
1170
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1171
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1172
|
+
# @param [Google::Apis::RequestOptions] options
|
1173
|
+
# Request-specific options
|
1174
|
+
#
|
1175
|
+
# @yield [result, err] Result & error if block supplied
|
1176
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
|
1177
|
+
# @yieldparam err [StandardError] error object if request failed
|
1178
|
+
#
|
1179
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
|
1180
|
+
#
|
1181
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1182
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1183
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
|
+
def list_project_location_conversation_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1185
|
+
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1186
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1187
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
1188
|
+
command.params['parent'] = parent unless parent.nil?
|
1189
|
+
command.query['filter'] = filter unless filter.nil?
|
1190
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1191
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1192
|
+
command.query['fields'] = fields unless fields.nil?
|
1193
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1194
|
+
execute_or_queue_command(command, &block)
|
1195
|
+
end
|
1196
|
+
|
1197
|
+
# Update feedback label.
|
1198
|
+
# @param [String] name
|
1199
|
+
# Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
|
1200
|
+
# locations/`location`/conversations/`conversation`/feedbackLabels/`
|
1201
|
+
# feedback_label`
|
1202
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
1203
|
+
# @param [String] update_mask
|
1204
|
+
# Required. The list of fields to be updated.
|
1205
|
+
# @param [String] fields
|
1206
|
+
# Selector specifying which fields to include in a partial response.
|
1207
|
+
# @param [String] quota_user
|
1208
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1209
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1210
|
+
# @param [Google::Apis::RequestOptions] options
|
1211
|
+
# Request-specific options
|
1212
|
+
#
|
1213
|
+
# @yield [result, err] Result & error if block supplied
|
1214
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1215
|
+
# @yieldparam err [StandardError] error object if request failed
|
1216
|
+
#
|
1217
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1218
|
+
#
|
1219
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1220
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1221
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1222
|
+
def patch_project_location_conversation_feedback_label(name, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1223
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1224
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1225
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
1226
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1227
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1228
|
+
command.params['name'] = name unless name.nil?
|
1229
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1230
|
+
command.query['fields'] = fields unless fields.nil?
|
1231
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1232
|
+
execute_or_queue_command(command, &block)
|
1233
|
+
end
|
1234
|
+
|
1235
|
+
# Initializes a location-level encryption key specification. An error will
|
1236
|
+
# result if the location has resources already created before the initialization.
|
1237
|
+
# After the encryption specification is initialized at a location, it is
|
1238
|
+
# immutable and all newly created resources under the location will be encrypted
|
1239
|
+
# with the existing specification.
|
1240
|
+
# @param [String] name
|
1241
|
+
# Immutable. The resource name of the encryption key specification resource.
|
1242
|
+
# Format: projects/`project`/locations/`location`/encryptionSpec
|
1243
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest] google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object
|
1244
|
+
# @param [String] fields
|
1245
|
+
# Selector specifying which fields to include in a partial response.
|
1246
|
+
# @param [String] quota_user
|
1247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1249
|
+
# @param [Google::Apis::RequestOptions] options
|
1250
|
+
# Request-specific options
|
1251
|
+
#
|
1252
|
+
# @yield [result, err] Result & error if block supplied
|
1253
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1254
|
+
# @yieldparam err [StandardError] error object if request failed
|
1255
|
+
#
|
1256
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1257
|
+
#
|
1258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1261
|
+
def initialize_project_location_encryption_spec(name, google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1262
|
+
command = make_simple_command(:post, 'v1/{+name}:initialize', options)
|
1263
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1InitializeEncryptionSpecRequest::Representation
|
1264
|
+
command.request_object = google_cloud_contactcenterinsights_v1_initialize_encryption_spec_request_object
|
1265
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1266
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1267
|
+
command.params['name'] = name unless name.nil?
|
1268
|
+
command.query['fields'] = fields unless fields.nil?
|
1269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1270
|
+
execute_or_queue_command(command, &block)
|
1271
|
+
end
|
1272
|
+
|
1273
|
+
# Export insights data to a destination defined in the request body.
|
1274
|
+
# @param [String] parent
|
1275
|
+
# Required. The parent resource to export data from.
|
1276
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest] google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
1277
|
+
# @param [String] fields
|
1278
|
+
# Selector specifying which fields to include in a partial response.
|
1279
|
+
# @param [String] quota_user
|
1280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1282
|
+
# @param [Google::Apis::RequestOptions] options
|
1283
|
+
# Request-specific options
|
1284
|
+
#
|
1285
|
+
# @yield [result, err] Result & error if block supplied
|
1286
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1287
|
+
# @yieldparam err [StandardError] error object if request failed
|
1288
|
+
#
|
1289
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1290
|
+
#
|
1291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1294
|
+
def export_project_location_insightsdatum(parent, google_cloud_contactcenterinsights_v1_export_insights_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1295
|
+
command = make_simple_command(:post, 'v1/{+parent}/insightsdata:export', options)
|
1296
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest::Representation
|
1297
|
+
command.request_object = google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
1298
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1299
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1300
|
+
command.params['parent'] = parent unless parent.nil?
|
1301
|
+
command.query['fields'] = fields unless fields.nil?
|
1302
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1303
|
+
execute_or_queue_command(command, &block)
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# Gets an issue model's statistics.
|
1307
|
+
# @param [String] issue_model
|
1308
|
+
# Required. The resource name of the issue model to query against.
|
1309
|
+
# @param [String] fields
|
1310
|
+
# Selector specifying which fields to include in a partial response.
|
1311
|
+
# @param [String] quota_user
|
1312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1314
|
+
# @param [Google::Apis::RequestOptions] options
|
1315
|
+
# Request-specific options
|
1316
|
+
#
|
1317
|
+
# @yield [result, err] Result & error if block supplied
|
1318
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse] parsed result object
|
1319
|
+
# @yieldparam err [StandardError] error object if request failed
|
1320
|
+
#
|
1321
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse]
|
1322
|
+
#
|
1323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1326
|
+
def calculate_project_location_issue_model_issue_model_stats(issue_model, fields: nil, quota_user: nil, options: nil, &block)
|
1327
|
+
command = make_simple_command(:get, 'v1/{+issueModel}:calculateIssueModelStats', options)
|
1328
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse::Representation
|
1329
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
|
1330
|
+
command.params['issueModel'] = issue_model unless issue_model.nil?
|
1331
|
+
command.query['fields'] = fields unless fields.nil?
|
1332
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1333
|
+
execute_or_queue_command(command, &block)
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# Creates an issue model.
|
1337
|
+
# @param [String] parent
|
1338
|
+
# Required. The parent resource of the issue model.
|
1339
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel] google_cloud_contactcenterinsights_v1_issue_model_object
|
1340
|
+
# @param [String] fields
|
1341
|
+
# Selector specifying which fields to include in a partial response.
|
1342
|
+
# @param [String] quota_user
|
1343
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1344
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1345
|
+
# @param [Google::Apis::RequestOptions] options
|
1346
|
+
# Request-specific options
|
1347
|
+
#
|
1348
|
+
# @yield [result, err] Result & error if block supplied
|
1349
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1350
|
+
# @yieldparam err [StandardError] error object if request failed
|
1351
|
+
#
|
1352
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1353
|
+
#
|
1354
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1355
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1356
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1357
|
+
def create_project_location_issue_model(parent, google_cloud_contactcenterinsights_v1_issue_model_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1358
|
+
command = make_simple_command(:post, 'v1/{+parent}/issueModels', options)
|
1359
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
|
1360
|
+
command.request_object = google_cloud_contactcenterinsights_v1_issue_model_object
|
1361
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1362
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1363
|
+
command.params['parent'] = parent unless parent.nil?
|
1364
|
+
command.query['fields'] = fields unless fields.nil?
|
1365
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1366
|
+
execute_or_queue_command(command, &block)
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
# Deletes an issue model.
|
1370
|
+
# @param [String] name
|
1371
|
+
# Required. The name of the issue model to delete.
|
1372
|
+
# @param [String] fields
|
1373
|
+
# Selector specifying which fields to include in a partial response.
|
1374
|
+
# @param [String] quota_user
|
1375
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1376
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1377
|
+
# @param [Google::Apis::RequestOptions] options
|
1378
|
+
# Request-specific options
|
1379
|
+
#
|
1380
|
+
# @yield [result, err] Result & error if block supplied
|
1381
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1382
|
+
# @yieldparam err [StandardError] error object if request failed
|
1383
|
+
#
|
1384
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1385
|
+
#
|
1386
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1387
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1388
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1389
|
+
def delete_project_location_issue_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
1390
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1391
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1392
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1393
|
+
command.params['name'] = name unless name.nil?
|
1394
|
+
command.query['fields'] = fields unless fields.nil?
|
1395
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1396
|
+
execute_or_queue_command(command, &block)
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# Deploys an issue model. Returns an error if a model is already deployed. An
|
1400
|
+
# issue model can only be used in analysis after it has been deployed.
|
1401
|
+
# @param [String] name
|
1402
|
+
# Required. The issue model to deploy.
|
1403
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DeployIssueModelRequest] google_cloud_contactcenterinsights_v1_deploy_issue_model_request_object
|
1404
|
+
# @param [String] fields
|
1405
|
+
# Selector specifying which fields to include in a partial response.
|
1406
|
+
# @param [String] quota_user
|
1407
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1408
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1409
|
+
# @param [Google::Apis::RequestOptions] options
|
1410
|
+
# Request-specific options
|
1411
|
+
#
|
1412
|
+
# @yield [result, err] Result & error if block supplied
|
1413
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1414
|
+
# @yieldparam err [StandardError] error object if request failed
|
1415
|
+
#
|
1416
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1417
|
+
#
|
1418
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1419
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1420
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1421
|
+
def deploy_project_location_issue_model(name, google_cloud_contactcenterinsights_v1_deploy_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1422
|
+
command = make_simple_command(:post, 'v1/{+name}:deploy', options)
|
1423
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DeployIssueModelRequest::Representation
|
1424
|
+
command.request_object = google_cloud_contactcenterinsights_v1_deploy_issue_model_request_object
|
1425
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1426
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1427
|
+
command.params['name'] = name unless name.nil?
|
1428
|
+
command.query['fields'] = fields unless fields.nil?
|
1429
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1430
|
+
execute_or_queue_command(command, &block)
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# Exports an issue model to the provided destination.
|
1434
|
+
# @param [String] name
|
1435
|
+
# Required. The issue model to export.
|
1436
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest] google_cloud_contactcenterinsights_v1_export_issue_model_request_object
|
1437
|
+
# @param [String] fields
|
1438
|
+
# Selector specifying which fields to include in a partial response.
|
1439
|
+
# @param [String] quota_user
|
1440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1442
|
+
# @param [Google::Apis::RequestOptions] options
|
1443
|
+
# Request-specific options
|
1444
|
+
#
|
1445
|
+
# @yield [result, err] Result & error if block supplied
|
1446
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1447
|
+
# @yieldparam err [StandardError] error object if request failed
|
1448
|
+
#
|
1449
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1450
|
+
#
|
1451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1454
|
+
def export_project_location_issue_model(name, google_cloud_contactcenterinsights_v1_export_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1455
|
+
command = make_simple_command(:post, 'v1/{+name}:export', options)
|
1456
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequest::Representation
|
1457
|
+
command.request_object = google_cloud_contactcenterinsights_v1_export_issue_model_request_object
|
1458
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1459
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1460
|
+
command.params['name'] = name unless name.nil?
|
1461
|
+
command.query['fields'] = fields unless fields.nil?
|
1462
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1463
|
+
execute_or_queue_command(command, &block)
|
1464
|
+
end
|
1465
|
+
|
1466
|
+
# Gets an issue model.
|
1467
|
+
# @param [String] name
|
1468
|
+
# Required. The name of the issue model to get.
|
1469
|
+
# @param [String] fields
|
1470
|
+
# Selector specifying which fields to include in a partial response.
|
1471
|
+
# @param [String] quota_user
|
1472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1474
|
+
# @param [Google::Apis::RequestOptions] options
|
1475
|
+
# Request-specific options
|
1476
|
+
#
|
1477
|
+
# @yield [result, err] Result & error if block supplied
|
1478
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel] parsed result object
|
1479
|
+
# @yieldparam err [StandardError] error object if request failed
|
1480
|
+
#
|
1481
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel]
|
1482
|
+
#
|
1483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1486
|
+
def get_project_location_issue_model(name, fields: nil, quota_user: nil, options: nil, &block)
|
1487
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1488
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
|
1489
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel
|
1490
|
+
command.params['name'] = name unless name.nil?
|
1491
|
+
command.query['fields'] = fields unless fields.nil?
|
1492
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1493
|
+
execute_or_queue_command(command, &block)
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
# Imports an issue model from a Cloud Storage bucket.
|
1497
|
+
# @param [String] parent
|
1498
|
+
# Required. The parent resource of the issue model.
|
1499
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest] google_cloud_contactcenterinsights_v1_import_issue_model_request_object
|
1500
|
+
# @param [String] fields
|
1501
|
+
# Selector specifying which fields to include in a partial response.
|
1502
|
+
# @param [String] quota_user
|
1503
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1504
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1505
|
+
# @param [Google::Apis::RequestOptions] options
|
1506
|
+
# Request-specific options
|
1507
|
+
#
|
1508
|
+
# @yield [result, err] Result & error if block supplied
|
1509
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1510
|
+
# @yieldparam err [StandardError] error object if request failed
|
1511
|
+
#
|
1512
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1513
|
+
#
|
1514
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1515
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1516
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1517
|
+
def import_project_location_issue_model(parent, google_cloud_contactcenterinsights_v1_import_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1518
|
+
command = make_simple_command(:post, 'v1/{+parent}/issueModels:import', options)
|
1519
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest::Representation
|
1520
|
+
command.request_object = google_cloud_contactcenterinsights_v1_import_issue_model_request_object
|
1521
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1522
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1523
|
+
command.params['parent'] = parent unless parent.nil?
|
1524
|
+
command.query['fields'] = fields unless fields.nil?
|
1525
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1526
|
+
execute_or_queue_command(command, &block)
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
# Lists issue models.
|
1530
|
+
# @param [String] parent
|
1531
|
+
# Required. The parent resource of the issue model.
|
1532
|
+
# @param [String] fields
|
1533
|
+
# Selector specifying which fields to include in a partial response.
|
1534
|
+
# @param [String] quota_user
|
1535
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1536
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1537
|
+
# @param [Google::Apis::RequestOptions] options
|
1538
|
+
# Request-specific options
|
1539
|
+
#
|
1540
|
+
# @yield [result, err] Result & error if block supplied
|
1541
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssueModelsResponse] parsed result object
|
1542
|
+
# @yieldparam err [StandardError] error object if request failed
|
1543
|
+
#
|
1544
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssueModelsResponse]
|
1545
|
+
#
|
1546
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1547
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1548
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1549
|
+
def list_project_location_issue_models(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1550
|
+
command = make_simple_command(:get, 'v1/{+parent}/issueModels', options)
|
1551
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssueModelsResponse::Representation
|
1552
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssueModelsResponse
|
1553
|
+
command.params['parent'] = parent unless parent.nil?
|
1554
|
+
command.query['fields'] = fields unless fields.nil?
|
1555
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1556
|
+
execute_or_queue_command(command, &block)
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# Updates an issue model.
|
1560
|
+
# @param [String] name
|
1561
|
+
# Immutable. The resource name of the issue model. Format: projects/`project`/
|
1562
|
+
# locations/`location`/issueModels/`issue_model`
|
1563
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel] google_cloud_contactcenterinsights_v1_issue_model_object
|
1564
|
+
# @param [String] update_mask
|
1565
|
+
# The list of fields to be updated.
|
1566
|
+
# @param [String] fields
|
1567
|
+
# Selector specifying which fields to include in a partial response.
|
1568
|
+
# @param [String] quota_user
|
1569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1571
|
+
# @param [Google::Apis::RequestOptions] options
|
1572
|
+
# Request-specific options
|
1573
|
+
#
|
1574
|
+
# @yield [result, err] Result & error if block supplied
|
1575
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel] parsed result object
|
1576
|
+
# @yieldparam err [StandardError] error object if request failed
|
1577
|
+
#
|
1578
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel]
|
1579
|
+
#
|
1580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1583
|
+
def patch_project_location_issue_model(name, google_cloud_contactcenterinsights_v1_issue_model_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1584
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1585
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
|
1586
|
+
command.request_object = google_cloud_contactcenterinsights_v1_issue_model_object
|
1587
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel::Representation
|
1588
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel
|
1589
|
+
command.params['name'] = name unless name.nil?
|
1590
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1591
|
+
command.query['fields'] = fields unless fields.nil?
|
1592
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1593
|
+
execute_or_queue_command(command, &block)
|
1594
|
+
end
|
1595
|
+
|
1596
|
+
# Undeploys an issue model. An issue model can not be used in analysis after it
|
1597
|
+
# has been undeployed.
|
1598
|
+
# @param [String] name
|
1599
|
+
# Required. The issue model to undeploy.
|
1600
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest] google_cloud_contactcenterinsights_v1_undeploy_issue_model_request_object
|
1601
|
+
# @param [String] fields
|
1602
|
+
# Selector specifying which fields to include in a partial response.
|
1603
|
+
# @param [String] quota_user
|
1604
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1605
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1606
|
+
# @param [Google::Apis::RequestOptions] options
|
1607
|
+
# Request-specific options
|
1608
|
+
#
|
1609
|
+
# @yield [result, err] Result & error if block supplied
|
1610
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1611
|
+
# @yieldparam err [StandardError] error object if request failed
|
1612
|
+
#
|
1613
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1614
|
+
#
|
1615
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1616
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1617
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1618
|
+
def undeploy_project_location_issue_model(name, google_cloud_contactcenterinsights_v1_undeploy_issue_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1619
|
+
command = make_simple_command(:post, 'v1/{+name}:undeploy', options)
|
1620
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest::Representation
|
1621
|
+
command.request_object = google_cloud_contactcenterinsights_v1_undeploy_issue_model_request_object
|
1622
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1623
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1624
|
+
command.params['name'] = name unless name.nil?
|
1625
|
+
command.query['fields'] = fields unless fields.nil?
|
1626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1627
|
+
execute_or_queue_command(command, &block)
|
1628
|
+
end
|
1629
|
+
|
1630
|
+
# Deletes an issue.
|
1631
|
+
# @param [String] name
|
1632
|
+
# Required. The name of the issue to delete.
|
1633
|
+
# @param [String] fields
|
1634
|
+
# Selector specifying which fields to include in a partial response.
|
1635
|
+
# @param [String] quota_user
|
1636
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1637
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1638
|
+
# @param [Google::Apis::RequestOptions] options
|
1639
|
+
# Request-specific options
|
1640
|
+
#
|
1641
|
+
# @yield [result, err] Result & error if block supplied
|
1642
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1643
|
+
# @yieldparam err [StandardError] error object if request failed
|
1644
|
+
#
|
1645
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1646
|
+
#
|
1647
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1648
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1649
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1650
|
+
def delete_project_location_issue_model_issue(name, fields: nil, quota_user: nil, options: nil, &block)
|
1651
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1652
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1653
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1654
|
+
command.params['name'] = name unless name.nil?
|
1655
|
+
command.query['fields'] = fields unless fields.nil?
|
1656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1657
|
+
execute_or_queue_command(command, &block)
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
# Gets an issue.
|
1661
|
+
# @param [String] name
|
1662
|
+
# Required. The name of the issue to get.
|
1663
|
+
# @param [String] fields
|
1664
|
+
# Selector specifying which fields to include in a partial response.
|
1665
|
+
# @param [String] quota_user
|
1666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1668
|
+
# @param [Google::Apis::RequestOptions] options
|
1669
|
+
# Request-specific options
|
1670
|
+
#
|
1671
|
+
# @yield [result, err] Result & error if block supplied
|
1672
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue] parsed result object
|
1673
|
+
# @yieldparam err [StandardError] error object if request failed
|
1674
|
+
#
|
1675
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue]
|
1676
|
+
#
|
1677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1680
|
+
def get_project_location_issue_model_issue(name, fields: nil, quota_user: nil, options: nil, &block)
|
1681
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1682
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
|
1683
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue
|
1684
|
+
command.params['name'] = name unless name.nil?
|
1685
|
+
command.query['fields'] = fields unless fields.nil?
|
1686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1687
|
+
execute_or_queue_command(command, &block)
|
1688
|
+
end
|
1689
|
+
|
1690
|
+
# Lists issues.
|
526
1691
|
# @param [String] parent
|
527
|
-
# Required. The parent resource of the
|
528
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
1692
|
+
# Required. The parent resource of the issue.
|
529
1693
|
# @param [String] fields
|
530
1694
|
# Selector specifying which fields to include in a partial response.
|
531
1695
|
# @param [String] quota_user
|
@@ -535,29 +1699,31 @@ module Google
|
|
535
1699
|
# Request-specific options
|
536
1700
|
#
|
537
1701
|
# @yield [result, err] Result & error if block supplied
|
538
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1702
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse] parsed result object
|
539
1703
|
# @yieldparam err [StandardError] error object if request failed
|
540
1704
|
#
|
541
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1705
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse]
|
542
1706
|
#
|
543
1707
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
544
1708
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
545
1709
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
546
|
-
def
|
547
|
-
command = make_simple_command(:
|
548
|
-
command.
|
549
|
-
command.
|
550
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
551
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1710
|
+
def list_project_location_issue_model_issues(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1711
|
+
command = make_simple_command(:get, 'v1/{+parent}/issues', options)
|
1712
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse::Representation
|
1713
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse
|
552
1714
|
command.params['parent'] = parent unless parent.nil?
|
553
1715
|
command.query['fields'] = fields unless fields.nil?
|
554
1716
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
555
1717
|
execute_or_queue_command(command, &block)
|
556
1718
|
end
|
557
1719
|
|
558
|
-
#
|
1720
|
+
# Updates an issue.
|
559
1721
|
# @param [String] name
|
560
|
-
#
|
1722
|
+
# Immutable. The resource name of the issue. Format: projects/`project`/
|
1723
|
+
# locations/`location`/issueModels/`issue_model`/issues/`issue`
|
1724
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue] google_cloud_contactcenterinsights_v1_issue_object
|
1725
|
+
# @param [String] update_mask
|
1726
|
+
# The list of fields to be updated.
|
561
1727
|
# @param [String] fields
|
562
1728
|
# Selector specifying which fields to include in a partial response.
|
563
1729
|
# @param [String] quota_user
|
@@ -567,27 +1733,37 @@ module Google
|
|
567
1733
|
# Request-specific options
|
568
1734
|
#
|
569
1735
|
# @yield [result, err] Result & error if block supplied
|
570
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1736
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue] parsed result object
|
571
1737
|
# @yieldparam err [StandardError] error object if request failed
|
572
1738
|
#
|
573
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1739
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue]
|
574
1740
|
#
|
575
1741
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
576
1742
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
577
1743
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
578
|
-
def
|
579
|
-
command = make_simple_command(:
|
580
|
-
command.
|
581
|
-
command.
|
1744
|
+
def patch_project_location_issue_model_issue(name, google_cloud_contactcenterinsights_v1_issue_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1745
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1746
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
|
1747
|
+
command.request_object = google_cloud_contactcenterinsights_v1_issue_object
|
1748
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
|
1749
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue
|
582
1750
|
command.params['name'] = name unless name.nil?
|
1751
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
583
1752
|
command.query['fields'] = fields unless fields.nil?
|
584
1753
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
585
1754
|
execute_or_queue_command(command, &block)
|
586
1755
|
end
|
587
1756
|
|
588
|
-
#
|
1757
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1758
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1759
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1760
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1761
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1762
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1763
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1764
|
+
# , corresponding to `Code.CANCELLED`.
|
589
1765
|
# @param [String] name
|
590
|
-
#
|
1766
|
+
# The name of the operation resource to be cancelled.
|
591
1767
|
# @param [String] fields
|
592
1768
|
# Selector specifying which fields to include in a partial response.
|
593
1769
|
# @param [String] quota_user
|
@@ -597,39 +1773,28 @@ module Google
|
|
597
1773
|
# Request-specific options
|
598
1774
|
#
|
599
1775
|
# @yield [result, err] Result & error if block supplied
|
600
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1776
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
601
1777
|
# @yieldparam err [StandardError] error object if request failed
|
602
1778
|
#
|
603
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1779
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
604
1780
|
#
|
605
1781
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
606
1782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
607
1783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
608
|
-
def
|
609
|
-
command = make_simple_command(:
|
610
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
611
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1784
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1785
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1786
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1787
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
612
1788
|
command.params['name'] = name unless name.nil?
|
613
1789
|
command.query['fields'] = fields unless fields.nil?
|
614
1790
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
615
1791
|
execute_or_queue_command(command, &block)
|
616
1792
|
end
|
617
1793
|
|
618
|
-
#
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
# A filter to reduce results to a specific subset. Useful for querying
|
623
|
-
# conversations with specific properties.
|
624
|
-
# @param [Fixnum] page_size
|
625
|
-
# The maximum number of analyses to return in the response. If this value is
|
626
|
-
# zero, the service will select a default size. A call might return fewer
|
627
|
-
# objects than requested. A non-empty `next_page_token` in the response
|
628
|
-
# indicates that more data is available.
|
629
|
-
# @param [String] page_token
|
630
|
-
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
631
|
-
# a continuation of a prior `ListAnalyses` call and the system should return the
|
632
|
-
# next page of data.
|
1794
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1795
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1796
|
+
# @param [String] name
|
1797
|
+
# The name of the operation resource.
|
633
1798
|
# @param [String] fields
|
634
1799
|
# Selector specifying which fields to include in a partial response.
|
635
1800
|
# @param [String] quota_user
|
@@ -639,36 +1804,34 @@ module Google
|
|
639
1804
|
# Request-specific options
|
640
1805
|
#
|
641
1806
|
# @yield [result, err] Result & error if block supplied
|
642
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1807
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
643
1808
|
# @yieldparam err [StandardError] error object if request failed
|
644
1809
|
#
|
645
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1810
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
646
1811
|
#
|
647
1812
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
648
1813
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
649
1814
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
650
|
-
def
|
651
|
-
command = make_simple_command(:get, 'v1/{+
|
652
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
653
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
654
|
-
command.params['
|
655
|
-
command.query['filter'] = filter unless filter.nil?
|
656
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
657
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1815
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1816
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1817
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1818
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1819
|
+
command.params['name'] = name unless name.nil?
|
658
1820
|
command.query['fields'] = fields unless fields.nil?
|
659
1821
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
660
1822
|
execute_or_queue_command(command, &block)
|
661
1823
|
end
|
662
1824
|
|
663
|
-
#
|
664
|
-
#
|
665
|
-
# After the encryption specification is initialized at a location, it is
|
666
|
-
# immutable and all newly created resources under the location will be encrypted
|
667
|
-
# with the existing specification.
|
1825
|
+
# Lists operations that match the specified filter in the request. If the server
|
1826
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
668
1827
|
# @param [String] name
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
1828
|
+
# The name of the operation's parent resource.
|
1829
|
+
# @param [String] filter
|
1830
|
+
# The standard list filter.
|
1831
|
+
# @param [Fixnum] page_size
|
1832
|
+
# The standard list page size.
|
1833
|
+
# @param [String] page_token
|
1834
|
+
# The standard list page token.
|
672
1835
|
# @param [String] fields
|
673
1836
|
# Selector specifying which fields to include in a partial response.
|
674
1837
|
# @param [String] quota_user
|
@@ -678,30 +1841,33 @@ module Google
|
|
678
1841
|
# Request-specific options
|
679
1842
|
#
|
680
1843
|
# @yield [result, err] Result & error if block supplied
|
681
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1844
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse] parsed result object
|
682
1845
|
# @yieldparam err [StandardError] error object if request failed
|
683
1846
|
#
|
684
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1847
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
|
685
1848
|
#
|
686
1849
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
687
1850
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
688
1851
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
689
|
-
def
|
690
|
-
command = make_simple_command(:
|
691
|
-
command.
|
692
|
-
command.
|
693
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
694
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1852
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1853
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1854
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse::Representation
|
1855
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse
|
695
1856
|
command.params['name'] = name unless name.nil?
|
1857
|
+
command.query['filter'] = filter unless filter.nil?
|
1858
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1859
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
696
1860
|
command.query['fields'] = fields unless fields.nil?
|
697
1861
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
698
1862
|
execute_or_queue_command(command, &block)
|
699
1863
|
end
|
700
1864
|
|
701
|
-
#
|
1865
|
+
# Creates a phrase matcher.
|
702
1866
|
# @param [String] parent
|
703
|
-
# Required. The parent resource
|
704
|
-
#
|
1867
|
+
# Required. The parent resource of the phrase matcher. Required. The location to
|
1868
|
+
# create a phrase matcher for. Format: `projects//locations/` or `projects//
|
1869
|
+
# locations/`
|
1870
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
705
1871
|
# @param [String] fields
|
706
1872
|
# Selector specifying which fields to include in a partial response.
|
707
1873
|
# @param [String] quota_user
|
@@ -711,29 +1877,29 @@ module Google
|
|
711
1877
|
# Request-specific options
|
712
1878
|
#
|
713
1879
|
# @yield [result, err] Result & error if block supplied
|
714
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1880
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] parsed result object
|
715
1881
|
# @yieldparam err [StandardError] error object if request failed
|
716
1882
|
#
|
717
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1883
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher]
|
718
1884
|
#
|
719
1885
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
720
1886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
721
1887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
722
|
-
def
|
723
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
724
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
725
|
-
command.request_object =
|
726
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
727
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1888
|
+
def create_project_location_phrase_matcher(parent, google_cloud_contactcenterinsights_v1_phrase_matcher_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1889
|
+
command = make_simple_command(:post, 'v1/{+parent}/phraseMatchers', options)
|
1890
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
1891
|
+
command.request_object = google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
1892
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
1893
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher
|
728
1894
|
command.params['parent'] = parent unless parent.nil?
|
729
1895
|
command.query['fields'] = fields unless fields.nil?
|
730
1896
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
731
1897
|
execute_or_queue_command(command, &block)
|
732
1898
|
end
|
733
1899
|
|
734
|
-
#
|
735
|
-
# @param [String]
|
736
|
-
# Required. The
|
1900
|
+
# Deletes a phrase matcher.
|
1901
|
+
# @param [String] name
|
1902
|
+
# Required. The name of the phrase matcher to delete.
|
737
1903
|
# @param [String] fields
|
738
1904
|
# Selector specifying which fields to include in a partial response.
|
739
1905
|
# @param [String] quota_user
|
@@ -743,28 +1909,27 @@ module Google
|
|
743
1909
|
# Request-specific options
|
744
1910
|
#
|
745
1911
|
# @yield [result, err] Result & error if block supplied
|
746
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1912
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
747
1913
|
# @yieldparam err [StandardError] error object if request failed
|
748
1914
|
#
|
749
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1915
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
750
1916
|
#
|
751
1917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
1918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
1919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
-
def
|
755
|
-
command = make_simple_command(:
|
756
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
757
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
758
|
-
command.params['
|
1920
|
+
def delete_project_location_phrase_matcher(name, fields: nil, quota_user: nil, options: nil, &block)
|
1921
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1922
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1923
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1924
|
+
command.params['name'] = name unless name.nil?
|
759
1925
|
command.query['fields'] = fields unless fields.nil?
|
760
1926
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
761
1927
|
execute_or_queue_command(command, &block)
|
762
1928
|
end
|
763
1929
|
|
764
|
-
#
|
765
|
-
# @param [String]
|
766
|
-
# Required. The
|
767
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel] google_cloud_contactcenterinsights_v1_issue_model_object
|
1930
|
+
# Gets a phrase matcher.
|
1931
|
+
# @param [String] name
|
1932
|
+
# Required. The name of the phrase matcher to get.
|
768
1933
|
# @param [String] fields
|
769
1934
|
# Selector specifying which fields to include in a partial response.
|
770
1935
|
# @param [String] quota_user
|
@@ -774,29 +1939,39 @@ module Google
|
|
774
1939
|
# Request-specific options
|
775
1940
|
#
|
776
1941
|
# @yield [result, err] Result & error if block supplied
|
777
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1942
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] parsed result object
|
778
1943
|
# @yieldparam err [StandardError] error object if request failed
|
779
1944
|
#
|
780
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1945
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher]
|
781
1946
|
#
|
782
1947
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
783
1948
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
784
1949
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
785
|
-
def
|
786
|
-
command = make_simple_command(:
|
787
|
-
command.
|
788
|
-
command.
|
789
|
-
command.
|
790
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
791
|
-
command.params['parent'] = parent unless parent.nil?
|
1950
|
+
def get_project_location_phrase_matcher(name, fields: nil, quota_user: nil, options: nil, &block)
|
1951
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1952
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
1953
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher
|
1954
|
+
command.params['name'] = name unless name.nil?
|
792
1955
|
command.query['fields'] = fields unless fields.nil?
|
793
1956
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
794
1957
|
execute_or_queue_command(command, &block)
|
795
1958
|
end
|
796
1959
|
|
797
|
-
#
|
798
|
-
# @param [String]
|
799
|
-
# Required. The
|
1960
|
+
# Lists phrase matchers.
|
1961
|
+
# @param [String] parent
|
1962
|
+
# Required. The parent resource of the phrase matcher.
|
1963
|
+
# @param [String] filter
|
1964
|
+
# A filter to reduce results to a specific subset. Useful for querying phrase
|
1965
|
+
# matchers with specific properties.
|
1966
|
+
# @param [Fixnum] page_size
|
1967
|
+
# The maximum number of phrase matchers to return in the response. If this value
|
1968
|
+
# is zero, the service will select a default size. A call might return fewer
|
1969
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
1970
|
+
# indicates that more data is available.
|
1971
|
+
# @param [String] page_token
|
1972
|
+
# The value returned by the last `ListPhraseMatchersResponse`. This value
|
1973
|
+
# indicates that this is a continuation of a prior `ListPhraseMatchers` call and
|
1974
|
+
# that the system should return the next page of data.
|
800
1975
|
# @param [String] fields
|
801
1976
|
# Selector specifying which fields to include in a partial response.
|
802
1977
|
# @param [String] quota_user
|
@@ -806,29 +1981,34 @@ module Google
|
|
806
1981
|
# Request-specific options
|
807
1982
|
#
|
808
1983
|
# @yield [result, err] Result & error if block supplied
|
809
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
1984
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse] parsed result object
|
810
1985
|
# @yieldparam err [StandardError] error object if request failed
|
811
1986
|
#
|
812
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1987
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse]
|
813
1988
|
#
|
814
1989
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
815
1990
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
816
1991
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
817
|
-
def
|
818
|
-
command = make_simple_command(:
|
819
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
820
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
821
|
-
command.params['
|
1992
|
+
def list_project_location_phrase_matchers(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1993
|
+
command = make_simple_command(:get, 'v1/{+parent}/phraseMatchers', options)
|
1994
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse::Representation
|
1995
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse
|
1996
|
+
command.params['parent'] = parent unless parent.nil?
|
1997
|
+
command.query['filter'] = filter unless filter.nil?
|
1998
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1999
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
822
2000
|
command.query['fields'] = fields unless fields.nil?
|
823
2001
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
824
2002
|
execute_or_queue_command(command, &block)
|
825
2003
|
end
|
826
2004
|
|
827
|
-
#
|
828
|
-
# issue model can only be used in analysis after it has been deployed.
|
2005
|
+
# Updates a phrase matcher.
|
829
2006
|
# @param [String] name
|
830
|
-
#
|
831
|
-
#
|
2007
|
+
# The resource name of the phrase matcher. Format: projects/`project`/locations/`
|
2008
|
+
# location`/phraseMatchers/`phrase_matcher`
|
2009
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
2010
|
+
# @param [String] update_mask
|
2011
|
+
# The list of fields to be updated.
|
832
2012
|
# @param [String] fields
|
833
2013
|
# Selector specifying which fields to include in a partial response.
|
834
2014
|
# @param [String] quota_user
|
@@ -838,30 +2018,36 @@ module Google
|
|
838
2018
|
# Request-specific options
|
839
2019
|
#
|
840
2020
|
# @yield [result, err] Result & error if block supplied
|
841
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2021
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher] parsed result object
|
842
2022
|
# @yieldparam err [StandardError] error object if request failed
|
843
2023
|
#
|
844
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2024
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher]
|
845
2025
|
#
|
846
2026
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
847
2027
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
848
2028
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
849
|
-
def
|
850
|
-
command = make_simple_command(:
|
851
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
852
|
-
command.request_object =
|
853
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
854
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2029
|
+
def patch_project_location_phrase_matcher(name, google_cloud_contactcenterinsights_v1_phrase_matcher_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2030
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2031
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
2032
|
+
command.request_object = google_cloud_contactcenterinsights_v1_phrase_matcher_object
|
2033
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher::Representation
|
2034
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher
|
855
2035
|
command.params['name'] = name unless name.nil?
|
2036
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
856
2037
|
command.query['fields'] = fields unless fields.nil?
|
857
2038
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
858
2039
|
execute_or_queue_command(command, &block)
|
859
2040
|
end
|
860
2041
|
|
861
|
-
#
|
862
|
-
# @param [String]
|
863
|
-
# Required. The
|
864
|
-
# @param [Google::Apis::ContactcenterinsightsV1::
|
2042
|
+
# Create a QaScorecard.
|
2043
|
+
# @param [String] parent
|
2044
|
+
# Required. The parent resource of the QaScorecard.
|
2045
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard] google_cloud_contactcenterinsights_v1_qa_scorecard_object
|
2046
|
+
# @param [String] qa_scorecard_id
|
2047
|
+
# Optional. A unique ID for the new QaScorecard. This ID will become the final
|
2048
|
+
# component of the QaScorecard's resource name. If no ID is specified, a server-
|
2049
|
+
# generated ID will be used. This value should be 4-64 characters and must match
|
2050
|
+
# the regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`.
|
865
2051
|
# @param [String] fields
|
866
2052
|
# Selector specifying which fields to include in a partial response.
|
867
2053
|
# @param [String] quota_user
|
@@ -871,29 +2057,33 @@ module Google
|
|
871
2057
|
# Request-specific options
|
872
2058
|
#
|
873
2059
|
# @yield [result, err] Result & error if block supplied
|
874
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2060
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard] parsed result object
|
875
2061
|
# @yieldparam err [StandardError] error object if request failed
|
876
2062
|
#
|
877
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2063
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard]
|
878
2064
|
#
|
879
2065
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
2066
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
2067
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
-
def
|
883
|
-
command = make_simple_command(:post, 'v1/{+
|
884
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
885
|
-
command.request_object =
|
886
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
887
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
888
|
-
command.params['
|
2068
|
+
def create_project_location_qa_scorecard(parent, google_cloud_contactcenterinsights_v1_qa_scorecard_object = nil, qa_scorecard_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2069
|
+
command = make_simple_command(:post, 'v1/{+parent}/qaScorecards', options)
|
2070
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard::Representation
|
2071
|
+
command.request_object = google_cloud_contactcenterinsights_v1_qa_scorecard_object
|
2072
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard::Representation
|
2073
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard
|
2074
|
+
command.params['parent'] = parent unless parent.nil?
|
2075
|
+
command.query['qaScorecardId'] = qa_scorecard_id unless qa_scorecard_id.nil?
|
889
2076
|
command.query['fields'] = fields unless fields.nil?
|
890
2077
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
891
2078
|
execute_or_queue_command(command, &block)
|
892
2079
|
end
|
893
2080
|
|
894
|
-
#
|
2081
|
+
# Deletes a QaScorecard.
|
895
2082
|
# @param [String] name
|
896
|
-
# Required. The name of the
|
2083
|
+
# Required. The name of the QaScorecard to delete.
|
2084
|
+
# @param [Boolean] force
|
2085
|
+
# Optional. If set to true, all of this QaScorecard's child resources will also
|
2086
|
+
# be deleted. Otherwise, the request will only succeed if it has none.
|
897
2087
|
# @param [String] fields
|
898
2088
|
# Selector specifying which fields to include in a partial response.
|
899
2089
|
# @param [String] quota_user
|
@@ -903,28 +2093,28 @@ module Google
|
|
903
2093
|
# Request-specific options
|
904
2094
|
#
|
905
2095
|
# @yield [result, err] Result & error if block supplied
|
906
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2096
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
907
2097
|
# @yieldparam err [StandardError] error object if request failed
|
908
2098
|
#
|
909
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2099
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
910
2100
|
#
|
911
2101
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
912
2102
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
913
2103
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
914
|
-
def
|
915
|
-
command = make_simple_command(:
|
916
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
917
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2104
|
+
def delete_project_location_qa_scorecard(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2105
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2106
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2107
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
918
2108
|
command.params['name'] = name unless name.nil?
|
2109
|
+
command.query['force'] = force unless force.nil?
|
919
2110
|
command.query['fields'] = fields unless fields.nil?
|
920
2111
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
921
2112
|
execute_or_queue_command(command, &block)
|
922
2113
|
end
|
923
2114
|
|
924
|
-
#
|
925
|
-
# @param [String]
|
926
|
-
# Required. The
|
927
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ImportIssueModelRequest] google_cloud_contactcenterinsights_v1_import_issue_model_request_object
|
2115
|
+
# Gets a QaScorecard.
|
2116
|
+
# @param [String] name
|
2117
|
+
# Required. The name of the QaScorecard to get.
|
928
2118
|
# @param [String] fields
|
929
2119
|
# Selector specifying which fields to include in a partial response.
|
930
2120
|
# @param [String] quota_user
|
@@ -934,29 +2124,36 @@ module Google
|
|
934
2124
|
# Request-specific options
|
935
2125
|
#
|
936
2126
|
# @yield [result, err] Result & error if block supplied
|
937
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2127
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard] parsed result object
|
938
2128
|
# @yieldparam err [StandardError] error object if request failed
|
939
2129
|
#
|
940
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2130
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard]
|
941
2131
|
#
|
942
2132
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
943
2133
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
944
2134
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
945
|
-
def
|
946
|
-
command = make_simple_command(:
|
947
|
-
command.
|
948
|
-
command.
|
949
|
-
command.
|
950
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
951
|
-
command.params['parent'] = parent unless parent.nil?
|
2135
|
+
def get_project_location_qa_scorecard(name, fields: nil, quota_user: nil, options: nil, &block)
|
2136
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2137
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard::Representation
|
2138
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard
|
2139
|
+
command.params['name'] = name unless name.nil?
|
952
2140
|
command.query['fields'] = fields unless fields.nil?
|
953
2141
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
954
2142
|
execute_or_queue_command(command, &block)
|
955
2143
|
end
|
956
2144
|
|
957
|
-
# Lists
|
2145
|
+
# Lists QaScorecards.
|
958
2146
|
# @param [String] parent
|
959
|
-
# Required. The parent resource of the
|
2147
|
+
# Required. The parent resource of the scorecards.
|
2148
|
+
# @param [Fixnum] page_size
|
2149
|
+
# Optional. The maximum number of scorecards to return in the response. If the
|
2150
|
+
# value is zero, the service will select a default size. A call might return
|
2151
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
2152
|
+
# indicates that more data is available.
|
2153
|
+
# @param [String] page_token
|
2154
|
+
# Optional. The value returned by the last `ListQaScorecardsResponse`. This
|
2155
|
+
# value indicates that this is a continuation of a prior `ListQaScorecards` call
|
2156
|
+
# and that the system should return the next page of data.
|
960
2157
|
# @param [String] fields
|
961
2158
|
# Selector specifying which fields to include in a partial response.
|
962
2159
|
# @param [String] quota_user
|
@@ -966,31 +2163,35 @@ module Google
|
|
966
2163
|
# Request-specific options
|
967
2164
|
#
|
968
2165
|
# @yield [result, err] Result & error if block supplied
|
969
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2166
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse] parsed result object
|
970
2167
|
# @yieldparam err [StandardError] error object if request failed
|
971
2168
|
#
|
972
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2169
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse]
|
973
2170
|
#
|
974
2171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
975
2172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
976
2173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
977
|
-
def
|
978
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
979
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
980
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2174
|
+
def list_project_location_qa_scorecards(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2175
|
+
command = make_simple_command(:get, 'v1/{+parent}/qaScorecards', options)
|
2176
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse::Representation
|
2177
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse
|
981
2178
|
command.params['parent'] = parent unless parent.nil?
|
2179
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2180
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
982
2181
|
command.query['fields'] = fields unless fields.nil?
|
983
2182
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
984
2183
|
execute_or_queue_command(command, &block)
|
985
2184
|
end
|
986
2185
|
|
987
|
-
# Updates
|
2186
|
+
# Updates a QaScorecard.
|
988
2187
|
# @param [String] name
|
989
|
-
#
|
990
|
-
#
|
991
|
-
# @param [Google::Apis::ContactcenterinsightsV1::
|
2188
|
+
# Identifier. The scorecard name. Format: projects/`project`/locations/`location`
|
2189
|
+
# /qaScorecards/`qa_scorecard`
|
2190
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard] google_cloud_contactcenterinsights_v1_qa_scorecard_object
|
992
2191
|
# @param [String] update_mask
|
993
|
-
# The list of fields to be updated.
|
2192
|
+
# Required. The list of fields to be updated. All possible fields can be updated
|
2193
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
2194
|
+
# * `description` * `display_name`
|
994
2195
|
# @param [String] fields
|
995
2196
|
# Selector specifying which fields to include in a partial response.
|
996
2197
|
# @param [String] quota_user
|
@@ -1000,20 +2201,20 @@ module Google
|
|
1000
2201
|
# Request-specific options
|
1001
2202
|
#
|
1002
2203
|
# @yield [result, err] Result & error if block supplied
|
1003
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2204
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard] parsed result object
|
1004
2205
|
# @yieldparam err [StandardError] error object if request failed
|
1005
2206
|
#
|
1006
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2207
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard]
|
1007
2208
|
#
|
1008
2209
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1009
2210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1010
2211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1011
|
-
def
|
2212
|
+
def patch_project_location_qa_scorecard(name, google_cloud_contactcenterinsights_v1_qa_scorecard_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1012
2213
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1013
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
1014
|
-
command.request_object =
|
1015
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1016
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2214
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard::Representation
|
2215
|
+
command.request_object = google_cloud_contactcenterinsights_v1_qa_scorecard_object
|
2216
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard::Representation
|
2217
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecard
|
1017
2218
|
command.params['name'] = name unless name.nil?
|
1018
2219
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1019
2220
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1021,11 +2222,16 @@ module Google
|
|
1021
2222
|
execute_or_queue_command(command, &block)
|
1022
2223
|
end
|
1023
2224
|
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
#
|
1028
|
-
# @param [
|
2225
|
+
# Creates a QaScorecardRevision.
|
2226
|
+
# @param [String] parent
|
2227
|
+
# Required. The parent resource of the QaScorecardRevision.
|
2228
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision] google_cloud_contactcenterinsights_v1_qa_scorecard_revision_object
|
2229
|
+
# @param [String] qa_scorecard_revision_id
|
2230
|
+
# Optional. A unique ID for the new QaScorecardRevision. This ID will become the
|
2231
|
+
# final component of the QaScorecardRevision's resource name. If no ID is
|
2232
|
+
# specified, a server-generated ID will be used. This value should be 4-64
|
2233
|
+
# characters and must match the regular expression `^[a-z0-9-]`4,64`$`. Valid
|
2234
|
+
# characters are `a-z-`.
|
1029
2235
|
# @param [String] fields
|
1030
2236
|
# Selector specifying which fields to include in a partial response.
|
1031
2237
|
# @param [String] quota_user
|
@@ -1035,29 +2241,33 @@ module Google
|
|
1035
2241
|
# Request-specific options
|
1036
2242
|
#
|
1037
2243
|
# @yield [result, err] Result & error if block supplied
|
1038
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2244
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision] parsed result object
|
1039
2245
|
# @yieldparam err [StandardError] error object if request failed
|
1040
2246
|
#
|
1041
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2247
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision]
|
1042
2248
|
#
|
1043
2249
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1044
2250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1045
2251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1046
|
-
def
|
1047
|
-
command = make_simple_command(:post, 'v1/{+
|
1048
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
1049
|
-
command.request_object =
|
1050
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1051
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1052
|
-
command.params['
|
2252
|
+
def create_project_location_qa_scorecard_revision(parent, google_cloud_contactcenterinsights_v1_qa_scorecard_revision_object = nil, qa_scorecard_revision_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2253
|
+
command = make_simple_command(:post, 'v1/{+parent}/revisions', options)
|
2254
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision::Representation
|
2255
|
+
command.request_object = google_cloud_contactcenterinsights_v1_qa_scorecard_revision_object
|
2256
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision::Representation
|
2257
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision
|
2258
|
+
command.params['parent'] = parent unless parent.nil?
|
2259
|
+
command.query['qaScorecardRevisionId'] = qa_scorecard_revision_id unless qa_scorecard_revision_id.nil?
|
1053
2260
|
command.query['fields'] = fields unless fields.nil?
|
1054
2261
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1055
2262
|
execute_or_queue_command(command, &block)
|
1056
2263
|
end
|
1057
2264
|
|
1058
|
-
# Deletes
|
2265
|
+
# Deletes a QaScorecardRevision.
|
1059
2266
|
# @param [String] name
|
1060
|
-
# Required. The name of the
|
2267
|
+
# Required. The name of the QaScorecardRevision to delete.
|
2268
|
+
# @param [Boolean] force
|
2269
|
+
# Optional. If set to true, all of this QaScorecardRevision's child resources
|
2270
|
+
# will also be deleted. Otherwise, the request will only succeed if it has none.
|
1061
2271
|
# @param [String] fields
|
1062
2272
|
# Selector specifying which fields to include in a partial response.
|
1063
2273
|
# @param [String] quota_user
|
@@ -1075,19 +2285,21 @@ module Google
|
|
1075
2285
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1076
2286
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1077
2287
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1078
|
-
def
|
2288
|
+
def delete_project_location_qa_scorecard_revision(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1079
2289
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1080
2290
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1081
2291
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1082
2292
|
command.params['name'] = name unless name.nil?
|
2293
|
+
command.query['force'] = force unless force.nil?
|
1083
2294
|
command.query['fields'] = fields unless fields.nil?
|
1084
2295
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1085
2296
|
execute_or_queue_command(command, &block)
|
1086
2297
|
end
|
1087
2298
|
|
1088
|
-
#
|
2299
|
+
# Deploy a QaScorecardRevision.
|
1089
2300
|
# @param [String] name
|
1090
|
-
# Required. The name of the
|
2301
|
+
# Required. The name of the QaScorecardRevision to deploy.
|
2302
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest] google_cloud_contactcenterinsights_v1_deploy_qa_scorecard_revision_request_object
|
1091
2303
|
# @param [String] fields
|
1092
2304
|
# Selector specifying which fields to include in a partial response.
|
1093
2305
|
# @param [String] quota_user
|
@@ -1097,61 +2309,29 @@ module Google
|
|
1097
2309
|
# Request-specific options
|
1098
2310
|
#
|
1099
2311
|
# @yield [result, err] Result & error if block supplied
|
1100
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2312
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision] parsed result object
|
1101
2313
|
# @yieldparam err [StandardError] error object if request failed
|
1102
2314
|
#
|
1103
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2315
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision]
|
1104
2316
|
#
|
1105
2317
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1106
2318
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1107
2319
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1108
|
-
def
|
1109
|
-
command = make_simple_command(:
|
1110
|
-
command.
|
1111
|
-
command.
|
2320
|
+
def deploy_project_location_qa_scorecard_revision(name, google_cloud_contactcenterinsights_v1_deploy_qa_scorecard_revision_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2321
|
+
command = make_simple_command(:post, 'v1/{+name}:deploy', options)
|
2322
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DeployQaScorecardRevisionRequest::Representation
|
2323
|
+
command.request_object = google_cloud_contactcenterinsights_v1_deploy_qa_scorecard_revision_request_object
|
2324
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision::Representation
|
2325
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision
|
1112
2326
|
command.params['name'] = name unless name.nil?
|
1113
2327
|
command.query['fields'] = fields unless fields.nil?
|
1114
2328
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1115
2329
|
execute_or_queue_command(command, &block)
|
1116
2330
|
end
|
1117
2331
|
|
1118
|
-
#
|
1119
|
-
# @param [String] parent
|
1120
|
-
# Required. The parent resource of the issue.
|
1121
|
-
# @param [String] fields
|
1122
|
-
# Selector specifying which fields to include in a partial response.
|
1123
|
-
# @param [String] quota_user
|
1124
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1125
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1126
|
-
# @param [Google::Apis::RequestOptions] options
|
1127
|
-
# Request-specific options
|
1128
|
-
#
|
1129
|
-
# @yield [result, err] Result & error if block supplied
|
1130
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse] parsed result object
|
1131
|
-
# @yieldparam err [StandardError] error object if request failed
|
1132
|
-
#
|
1133
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse]
|
1134
|
-
#
|
1135
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1136
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1137
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1138
|
-
def list_project_location_issue_model_issues(parent, fields: nil, quota_user: nil, options: nil, &block)
|
1139
|
-
command = make_simple_command(:get, 'v1/{+parent}/issues', options)
|
1140
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse::Representation
|
1141
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListIssuesResponse
|
1142
|
-
command.params['parent'] = parent unless parent.nil?
|
1143
|
-
command.query['fields'] = fields unless fields.nil?
|
1144
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1145
|
-
execute_or_queue_command(command, &block)
|
1146
|
-
end
|
1147
|
-
|
1148
|
-
# Updates an issue.
|
2332
|
+
# Gets a QaScorecardRevision.
|
1149
2333
|
# @param [String] name
|
1150
|
-
#
|
1151
|
-
# locations/`location`/issueModels/`issue_model`/issues/`issue`
|
1152
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue] google_cloud_contactcenterinsights_v1_issue_object
|
1153
|
-
# @param [String] update_mask
|
1154
|
-
# The list of fields to be updated.
|
2334
|
+
# Required. The name of the QaScorecardRevision to get.
|
1155
2335
|
# @param [String] fields
|
1156
2336
|
# Selector specifying which fields to include in a partial response.
|
1157
2337
|
# @param [String] quota_user
|
@@ -1161,37 +2341,42 @@ module Google
|
|
1161
2341
|
# Request-specific options
|
1162
2342
|
#
|
1163
2343
|
# @yield [result, err] Result & error if block supplied
|
1164
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2344
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision] parsed result object
|
1165
2345
|
# @yieldparam err [StandardError] error object if request failed
|
1166
2346
|
#
|
1167
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2347
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision]
|
1168
2348
|
#
|
1169
2349
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1170
2350
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1171
2351
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1172
|
-
def
|
1173
|
-
command = make_simple_command(:
|
1174
|
-
command.
|
1175
|
-
command.
|
1176
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue::Representation
|
1177
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Issue
|
2352
|
+
def get_project_location_qa_scorecard_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
2353
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2354
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision::Representation
|
2355
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision
|
1178
2356
|
command.params['name'] = name unless name.nil?
|
1179
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1180
2357
|
command.query['fields'] = fields unless fields.nil?
|
1181
2358
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1182
2359
|
execute_or_queue_command(command, &block)
|
1183
2360
|
end
|
1184
2361
|
|
1185
|
-
#
|
1186
|
-
#
|
1187
|
-
#
|
1188
|
-
#
|
1189
|
-
#
|
1190
|
-
#
|
1191
|
-
#
|
1192
|
-
#
|
1193
|
-
# @param [
|
1194
|
-
# The
|
2362
|
+
# Lists all revisions under the parent QaScorecard.
|
2363
|
+
# @param [String] parent
|
2364
|
+
# Required. The parent resource of the scorecard revisions. To list all
|
2365
|
+
# revisions of all scorecards, substitute the QaScorecard ID with a '-'
|
2366
|
+
# character.
|
2367
|
+
# @param [String] filter
|
2368
|
+
# Optional. A filter to reduce results to a specific subset. Useful for querying
|
2369
|
+
# scorecard revisions with specific properties.
|
2370
|
+
# @param [Fixnum] page_size
|
2371
|
+
# Optional. The maximum number of scorecard revisions to return in the response.
|
2372
|
+
# If the value is zero, the service will select a default size. A call might
|
2373
|
+
# return fewer objects than requested. A non-empty `next_page_token` in the
|
2374
|
+
# response indicates that more data is available.
|
2375
|
+
# @param [String] page_token
|
2376
|
+
# Optional. The value returned by the last `ListQaScorecardRevisionsResponse`.
|
2377
|
+
# This value indicates that this is a continuation of a prior `
|
2378
|
+
# ListQaScorecardRevisions` call and that the system should return the next page
|
2379
|
+
# of data.
|
1195
2380
|
# @param [String] fields
|
1196
2381
|
# Selector specifying which fields to include in a partial response.
|
1197
2382
|
# @param [String] quota_user
|
@@ -1201,28 +2386,31 @@ module Google
|
|
1201
2386
|
# Request-specific options
|
1202
2387
|
#
|
1203
2388
|
# @yield [result, err] Result & error if block supplied
|
1204
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2389
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse] parsed result object
|
1205
2390
|
# @yieldparam err [StandardError] error object if request failed
|
1206
2391
|
#
|
1207
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2392
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse]
|
1208
2393
|
#
|
1209
2394
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1210
2395
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1211
2396
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1212
|
-
def
|
1213
|
-
command = make_simple_command(:
|
1214
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1215
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1216
|
-
command.params['
|
2397
|
+
def list_project_location_qa_scorecard_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2398
|
+
command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
|
2399
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse::Representation
|
2400
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse
|
2401
|
+
command.params['parent'] = parent unless parent.nil?
|
2402
|
+
command.query['filter'] = filter unless filter.nil?
|
2403
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2404
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1217
2405
|
command.query['fields'] = fields unless fields.nil?
|
1218
2406
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1219
2407
|
execute_or_queue_command(command, &block)
|
1220
2408
|
end
|
1221
2409
|
|
1222
|
-
#
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
#
|
2410
|
+
# Fine tune one or more QaModels.
|
2411
|
+
# @param [String] parent
|
2412
|
+
# Required. The parent resource for new fine tuning job instance.
|
2413
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest] google_cloud_contactcenterinsights_v1_tune_qa_scorecard_revision_request_object
|
1226
2414
|
# @param [String] fields
|
1227
2415
|
# Selector specifying which fields to include in a partial response.
|
1228
2416
|
# @param [String] quota_user
|
@@ -1240,26 +2428,22 @@ module Google
|
|
1240
2428
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1241
2429
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1242
2430
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1243
|
-
def
|
1244
|
-
command = make_simple_command(:
|
2431
|
+
def tune_project_location_qa_scorecard_revision_qa_scorecard_revision(parent, google_cloud_contactcenterinsights_v1_tune_qa_scorecard_revision_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2432
|
+
command = make_simple_command(:post, 'v1/{+parent}:tuneQaScorecardRevision', options)
|
2433
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TuneQaScorecardRevisionRequest::Representation
|
2434
|
+
command.request_object = google_cloud_contactcenterinsights_v1_tune_qa_scorecard_revision_request_object
|
1245
2435
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1246
2436
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1247
|
-
command.params['
|
2437
|
+
command.params['parent'] = parent unless parent.nil?
|
1248
2438
|
command.query['fields'] = fields unless fields.nil?
|
1249
2439
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1250
2440
|
execute_or_queue_command(command, &block)
|
1251
2441
|
end
|
1252
2442
|
|
1253
|
-
#
|
1254
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2443
|
+
# Undeploy a QaScorecardRevision.
|
1255
2444
|
# @param [String] name
|
1256
|
-
# The name of the
|
1257
|
-
# @param [
|
1258
|
-
# The standard list filter.
|
1259
|
-
# @param [Fixnum] page_size
|
1260
|
-
# The standard list page size.
|
1261
|
-
# @param [String] page_token
|
1262
|
-
# The standard list page token.
|
2445
|
+
# Required. The name of the QaScorecardRevision to undeploy.
|
2446
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest] google_cloud_contactcenterinsights_v1_undeploy_qa_scorecard_revision_request_object
|
1263
2447
|
# @param [String] fields
|
1264
2448
|
# Selector specifying which fields to include in a partial response.
|
1265
2449
|
# @param [String] quota_user
|
@@ -1269,33 +2453,35 @@ module Google
|
|
1269
2453
|
# Request-specific options
|
1270
2454
|
#
|
1271
2455
|
# @yield [result, err] Result & error if block supplied
|
1272
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2456
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision] parsed result object
|
1273
2457
|
# @yieldparam err [StandardError] error object if request failed
|
1274
2458
|
#
|
1275
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2459
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision]
|
1276
2460
|
#
|
1277
2461
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1278
2462
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1279
2463
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1280
|
-
def
|
1281
|
-
command = make_simple_command(:
|
1282
|
-
command.
|
1283
|
-
command.
|
2464
|
+
def undeploy_project_location_qa_scorecard_revision(name, google_cloud_contactcenterinsights_v1_undeploy_qa_scorecard_revision_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2465
|
+
command = make_simple_command(:post, 'v1/{+name}:undeploy', options)
|
2466
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UndeployQaScorecardRevisionRequest::Representation
|
2467
|
+
command.request_object = google_cloud_contactcenterinsights_v1_undeploy_qa_scorecard_revision_request_object
|
2468
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision::Representation
|
2469
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaScorecardRevision
|
1284
2470
|
command.params['name'] = name unless name.nil?
|
1285
|
-
command.query['filter'] = filter unless filter.nil?
|
1286
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1287
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1288
2471
|
command.query['fields'] = fields unless fields.nil?
|
1289
2472
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1290
2473
|
execute_or_queue_command(command, &block)
|
1291
2474
|
end
|
1292
2475
|
|
1293
|
-
#
|
2476
|
+
# Create a QaQuestion.
|
1294
2477
|
# @param [String] parent
|
1295
|
-
# Required. The parent resource of the
|
1296
|
-
#
|
1297
|
-
#
|
1298
|
-
#
|
2478
|
+
# Required. The parent resource of the QaQuestion.
|
2479
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion] google_cloud_contactcenterinsights_v1_qa_question_object
|
2480
|
+
# @param [String] qa_question_id
|
2481
|
+
# Optional. A unique ID for the new question. This ID will become the final
|
2482
|
+
# component of the question's resource name. If no ID is specified, a server-
|
2483
|
+
# generated ID will be used. This value should be 4-64 characters and must match
|
2484
|
+
# the regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`.
|
1299
2485
|
# @param [String] fields
|
1300
2486
|
# Selector specifying which fields to include in a partial response.
|
1301
2487
|
# @param [String] quota_user
|
@@ -1305,29 +2491,30 @@ module Google
|
|
1305
2491
|
# Request-specific options
|
1306
2492
|
#
|
1307
2493
|
# @yield [result, err] Result & error if block supplied
|
1308
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2494
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion] parsed result object
|
1309
2495
|
# @yieldparam err [StandardError] error object if request failed
|
1310
2496
|
#
|
1311
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2497
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion]
|
1312
2498
|
#
|
1313
2499
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1314
2500
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1315
2501
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1316
|
-
def
|
1317
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
1318
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
1319
|
-
command.request_object =
|
1320
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1321
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2502
|
+
def create_project_location_qa_scorecard_revision_qa_question(parent, google_cloud_contactcenterinsights_v1_qa_question_object = nil, qa_question_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2503
|
+
command = make_simple_command(:post, 'v1/{+parent}/qaQuestions', options)
|
2504
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion::Representation
|
2505
|
+
command.request_object = google_cloud_contactcenterinsights_v1_qa_question_object
|
2506
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion::Representation
|
2507
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion
|
1322
2508
|
command.params['parent'] = parent unless parent.nil?
|
2509
|
+
command.query['qaQuestionId'] = qa_question_id unless qa_question_id.nil?
|
1323
2510
|
command.query['fields'] = fields unless fields.nil?
|
1324
2511
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1325
2512
|
execute_or_queue_command(command, &block)
|
1326
2513
|
end
|
1327
2514
|
|
1328
|
-
# Deletes a
|
2515
|
+
# Deletes a QaQuestion.
|
1329
2516
|
# @param [String] name
|
1330
|
-
# Required. The name of the
|
2517
|
+
# Required. The name of the QaQuestion to delete.
|
1331
2518
|
# @param [String] fields
|
1332
2519
|
# Selector specifying which fields to include in a partial response.
|
1333
2520
|
# @param [String] quota_user
|
@@ -1345,7 +2532,7 @@ module Google
|
|
1345
2532
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1346
2533
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1347
2534
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1348
|
-
def
|
2535
|
+
def delete_project_location_qa_scorecard_revision_qa_question(name, fields: nil, quota_user: nil, options: nil, &block)
|
1349
2536
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1350
2537
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1351
2538
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1355,9 +2542,9 @@ module Google
|
|
1355
2542
|
execute_or_queue_command(command, &block)
|
1356
2543
|
end
|
1357
2544
|
|
1358
|
-
# Gets a
|
2545
|
+
# Gets a QaQuestion.
|
1359
2546
|
# @param [String] name
|
1360
|
-
# Required. The name of the
|
2547
|
+
# Required. The name of the QaQuestion to get.
|
1361
2548
|
# @param [String] fields
|
1362
2549
|
# Selector specifying which fields to include in a partial response.
|
1363
2550
|
# @param [String] quota_user
|
@@ -1367,38 +2554,35 @@ module Google
|
|
1367
2554
|
# Request-specific options
|
1368
2555
|
#
|
1369
2556
|
# @yield [result, err] Result & error if block supplied
|
1370
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2557
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion] parsed result object
|
1371
2558
|
# @yieldparam err [StandardError] error object if request failed
|
1372
2559
|
#
|
1373
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2560
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion]
|
1374
2561
|
#
|
1375
2562
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1376
2563
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1377
2564
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1378
|
-
def
|
2565
|
+
def get_project_location_qa_scorecard_revision_qa_question(name, fields: nil, quota_user: nil, options: nil, &block)
|
1379
2566
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1380
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1381
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2567
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion::Representation
|
2568
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion
|
1382
2569
|
command.params['name'] = name unless name.nil?
|
1383
2570
|
command.query['fields'] = fields unless fields.nil?
|
1384
2571
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1385
2572
|
execute_or_queue_command(command, &block)
|
1386
2573
|
end
|
1387
2574
|
|
1388
|
-
# Lists
|
2575
|
+
# Lists QaQuestions.
|
1389
2576
|
# @param [String] parent
|
1390
|
-
# Required. The parent resource of the
|
1391
|
-
# @param [String] filter
|
1392
|
-
# A filter to reduce results to a specific subset. Useful for querying phrase
|
1393
|
-
# matchers with specific properties.
|
2577
|
+
# Required. The parent resource of the questions.
|
1394
2578
|
# @param [Fixnum] page_size
|
1395
|
-
# The maximum number of
|
1396
|
-
# is zero, the service will select a default size. A call might return
|
1397
|
-
# objects than requested. A non-empty `next_page_token` in the response
|
2579
|
+
# Optional. The maximum number of questions to return in the response. If the
|
2580
|
+
# value is zero, the service will select a default size. A call might return
|
2581
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
1398
2582
|
# indicates that more data is available.
|
1399
2583
|
# @param [String] page_token
|
1400
|
-
# The value returned by the last `
|
1401
|
-
# indicates that this is a continuation of a prior `
|
2584
|
+
# Optional. The value returned by the last `ListQaQuestionsResponse`. This value
|
2585
|
+
# indicates that this is a continuation of a prior `ListQaQuestions` call and
|
1402
2586
|
# that the system should return the next page of data.
|
1403
2587
|
# @param [String] fields
|
1404
2588
|
# Selector specifying which fields to include in a partial response.
|
@@ -1409,20 +2593,19 @@ module Google
|
|
1409
2593
|
# Request-specific options
|
1410
2594
|
#
|
1411
2595
|
# @yield [result, err] Result & error if block supplied
|
1412
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2596
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse] parsed result object
|
1413
2597
|
# @yieldparam err [StandardError] error object if request failed
|
1414
2598
|
#
|
1415
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2599
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse]
|
1416
2600
|
#
|
1417
2601
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1418
2602
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1419
2603
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1420
|
-
def
|
1421
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
1422
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1423
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2604
|
+
def list_project_location_qa_scorecard_revision_qa_questions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2605
|
+
command = make_simple_command(:get, 'v1/{+parent}/qaQuestions', options)
|
2606
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse::Representation
|
2607
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaQuestionsResponse
|
1424
2608
|
command.params['parent'] = parent unless parent.nil?
|
1425
|
-
command.query['filter'] = filter unless filter.nil?
|
1426
2609
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1427
2610
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1428
2611
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1430,13 +2613,17 @@ module Google
|
|
1430
2613
|
execute_or_queue_command(command, &block)
|
1431
2614
|
end
|
1432
2615
|
|
1433
|
-
# Updates a
|
2616
|
+
# Updates a QaQuestion.
|
1434
2617
|
# @param [String] name
|
1435
|
-
# The resource name of the
|
1436
|
-
# location`/
|
1437
|
-
#
|
2618
|
+
# Identifier. The resource name of the question. Format: projects/`project`/
|
2619
|
+
# locations/`location`/qaScorecards/`qa_scorecard`/revisions/`revision`/
|
2620
|
+
# qaQuestions/`qa_question`
|
2621
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion] google_cloud_contactcenterinsights_v1_qa_question_object
|
1438
2622
|
# @param [String] update_mask
|
1439
|
-
# The list of fields to be updated.
|
2623
|
+
# Required. The list of fields to be updated. All possible fields can be updated
|
2624
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
2625
|
+
# * `abbreviation` * `answer_choices` * `answer_instructions` * `order` * `
|
2626
|
+
# question_body` * `tags`
|
1440
2627
|
# @param [String] fields
|
1441
2628
|
# Selector specifying which fields to include in a partial response.
|
1442
2629
|
# @param [String] quota_user
|
@@ -1446,20 +2633,20 @@ module Google
|
|
1446
2633
|
# Request-specific options
|
1447
2634
|
#
|
1448
2635
|
# @yield [result, err] Result & error if block supplied
|
1449
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2636
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion] parsed result object
|
1450
2637
|
# @yieldparam err [StandardError] error object if request failed
|
1451
2638
|
#
|
1452
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2639
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion]
|
1453
2640
|
#
|
1454
2641
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1455
2642
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1456
2643
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1457
|
-
def
|
2644
|
+
def patch_project_location_qa_scorecard_revision_qa_question(name, google_cloud_contactcenterinsights_v1_qa_question_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1458
2645
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1459
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
1460
|
-
command.request_object =
|
1461
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1462
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2646
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion::Representation
|
2647
|
+
command.request_object = google_cloud_contactcenterinsights_v1_qa_question_object
|
2648
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion::Representation
|
2649
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QaQuestion
|
1463
2650
|
command.params['name'] = name unless name.nil?
|
1464
2651
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1465
2652
|
command.query['fields'] = fields unless fields.nil?
|