google-apis-contactcenterinsights_v1 0.80.0 → 0.82.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 +2624 -88
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +926 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +318 -1
- metadata +2 -2
|
@@ -153,6 +153,37 @@ module Google
|
|
|
153
153
|
execute_or_queue_command(command, &block)
|
|
154
154
|
end
|
|
155
155
|
|
|
156
|
+
# Gets correlation config.
|
|
157
|
+
# @param [String] name
|
|
158
|
+
# Required. The name of the correlation config resource to get. Format: projects/
|
|
159
|
+
# `project`/locations/`location`/correlationConfig
|
|
160
|
+
# @param [String] fields
|
|
161
|
+
# Selector specifying which fields to include in a partial response.
|
|
162
|
+
# @param [String] quota_user
|
|
163
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
164
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
165
|
+
# @param [Google::Apis::RequestOptions] options
|
|
166
|
+
# Request-specific options
|
|
167
|
+
#
|
|
168
|
+
# @yield [result, err] Result & error if block supplied
|
|
169
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig] parsed result object
|
|
170
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
171
|
+
#
|
|
172
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig]
|
|
173
|
+
#
|
|
174
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
175
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
176
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
177
|
+
def get_project_location_correlation_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
178
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
179
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig::Representation
|
|
180
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig
|
|
181
|
+
command.params['name'] = name unless name.nil?
|
|
182
|
+
command.query['fields'] = fields unless fields.nil?
|
|
183
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
184
|
+
execute_or_queue_command(command, &block)
|
|
185
|
+
end
|
|
186
|
+
|
|
156
187
|
# Gets location-level encryption key specification.
|
|
157
188
|
# @param [String] name
|
|
158
189
|
# Required. The name of the encryption spec resource to get.
|
|
@@ -332,6 +363,77 @@ module Google
|
|
|
332
363
|
execute_or_queue_command(command, &block)
|
|
333
364
|
end
|
|
334
365
|
|
|
366
|
+
# Tests correlation config on a conversation.
|
|
367
|
+
# @param [String] location
|
|
368
|
+
# Required. The location to test correlation config. Format: projects/`project`/
|
|
369
|
+
# locations/`location`
|
|
370
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest] google_cloud_contactcenterinsights_v1_test_correlation_config_request_object
|
|
371
|
+
# @param [String] fields
|
|
372
|
+
# Selector specifying which fields to include in a partial response.
|
|
373
|
+
# @param [String] quota_user
|
|
374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
376
|
+
# @param [Google::Apis::RequestOptions] options
|
|
377
|
+
# Request-specific options
|
|
378
|
+
#
|
|
379
|
+
# @yield [result, err] Result & error if block supplied
|
|
380
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
|
381
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
382
|
+
#
|
|
383
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
|
384
|
+
#
|
|
385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
388
|
+
def test_project_location_correlation_config(location, google_cloud_contactcenterinsights_v1_test_correlation_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
389
|
+
command = make_simple_command(:post, 'v1/{+location}:testCorrelationConfig', options)
|
|
390
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestCorrelationConfigRequest::Representation
|
|
391
|
+
command.request_object = google_cloud_contactcenterinsights_v1_test_correlation_config_request_object
|
|
392
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
|
393
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
|
394
|
+
command.params['location'] = location unless location.nil?
|
|
395
|
+
command.query['fields'] = fields unless fields.nil?
|
|
396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
397
|
+
execute_or_queue_command(command, &block)
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
# Updates correlation config.
|
|
401
|
+
# @param [String] name
|
|
402
|
+
# Immutable. Identifier. The resource name of the correlation config. Format:
|
|
403
|
+
# projects/`project`/locations/`location`/correlationConfig
|
|
404
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig] google_cloud_contactcenterinsights_v1_correlation_config_object
|
|
405
|
+
# @param [String] update_mask
|
|
406
|
+
# Optional. The list of fields to be updated.
|
|
407
|
+
# @param [String] fields
|
|
408
|
+
# Selector specifying which fields to include in a partial response.
|
|
409
|
+
# @param [String] quota_user
|
|
410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
412
|
+
# @param [Google::Apis::RequestOptions] options
|
|
413
|
+
# Request-specific options
|
|
414
|
+
#
|
|
415
|
+
# @yield [result, err] Result & error if block supplied
|
|
416
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig] parsed result object
|
|
417
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
418
|
+
#
|
|
419
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig]
|
|
420
|
+
#
|
|
421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
424
|
+
def update_project_location_correlation_config(name, google_cloud_contactcenterinsights_v1_correlation_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
425
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
426
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig::Representation
|
|
427
|
+
command.request_object = google_cloud_contactcenterinsights_v1_correlation_config_object
|
|
428
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig::Representation
|
|
429
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CorrelationConfig
|
|
430
|
+
command.params['name'] = name unless name.nil?
|
|
431
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
432
|
+
command.query['fields'] = fields unless fields.nil?
|
|
433
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
434
|
+
execute_or_queue_command(command, &block)
|
|
435
|
+
end
|
|
436
|
+
|
|
335
437
|
# Updates project-level settings.
|
|
336
438
|
# @param [String] name
|
|
337
439
|
# Immutable. The resource name of the settings resource. Format: projects/`
|
|
@@ -2221,6 +2323,217 @@ module Google
|
|
|
2221
2323
|
execute_or_queue_command(command, &block)
|
|
2222
2324
|
end
|
|
2223
2325
|
|
|
2326
|
+
# Creates an auto labeling rule.
|
|
2327
|
+
# @param [String] parent
|
|
2328
|
+
# Required. The project and location to create the auto labeling rule in. Format:
|
|
2329
|
+
# projects/`project`/locations/`location`
|
|
2330
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule] google_cloud_contactcenterinsights_v1_auto_labeling_rule_object
|
|
2331
|
+
# @param [String] auto_labeling_rule_id
|
|
2332
|
+
# Required. The ID to use for the auto labeling rule, which will become the
|
|
2333
|
+
# final component of the auto labeling rule's resource name.
|
|
2334
|
+
# @param [String] fields
|
|
2335
|
+
# Selector specifying which fields to include in a partial response.
|
|
2336
|
+
# @param [String] quota_user
|
|
2337
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2338
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2339
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2340
|
+
# Request-specific options
|
|
2341
|
+
#
|
|
2342
|
+
# @yield [result, err] Result & error if block supplied
|
|
2343
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule] parsed result object
|
|
2344
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2345
|
+
#
|
|
2346
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule]
|
|
2347
|
+
#
|
|
2348
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2349
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2350
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2351
|
+
def create_project_location_auto_labeling_rule(parent, google_cloud_contactcenterinsights_v1_auto_labeling_rule_object = nil, auto_labeling_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2352
|
+
command = make_simple_command(:post, 'v1/{+parent}/autoLabelingRules', options)
|
|
2353
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule::Representation
|
|
2354
|
+
command.request_object = google_cloud_contactcenterinsights_v1_auto_labeling_rule_object
|
|
2355
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule::Representation
|
|
2356
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule
|
|
2357
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2358
|
+
command.query['autoLabelingRuleId'] = auto_labeling_rule_id unless auto_labeling_rule_id.nil?
|
|
2359
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2360
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2361
|
+
execute_or_queue_command(command, &block)
|
|
2362
|
+
end
|
|
2363
|
+
|
|
2364
|
+
# Deletes an auto labeling rule.
|
|
2365
|
+
# @param [String] name
|
|
2366
|
+
# Required. The name of the auto labeling rule to delete. Format: projects/`
|
|
2367
|
+
# project`/locations/`location`/autoLabelingRules/`auto_labeling_rule`
|
|
2368
|
+
# @param [String] fields
|
|
2369
|
+
# Selector specifying which fields to include in a partial response.
|
|
2370
|
+
# @param [String] quota_user
|
|
2371
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2372
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2373
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2374
|
+
# Request-specific options
|
|
2375
|
+
#
|
|
2376
|
+
# @yield [result, err] Result & error if block supplied
|
|
2377
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
|
2378
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2379
|
+
#
|
|
2380
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
|
2381
|
+
#
|
|
2382
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2383
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2384
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2385
|
+
def delete_project_location_auto_labeling_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2386
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
2387
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
|
2388
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
|
2389
|
+
command.params['name'] = name unless name.nil?
|
|
2390
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2391
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2392
|
+
execute_or_queue_command(command, &block)
|
|
2393
|
+
end
|
|
2394
|
+
|
|
2395
|
+
# Gets an auto labeling rule.
|
|
2396
|
+
# @param [String] name
|
|
2397
|
+
# Required. The name of the auto labeling rule to get. Format: projects/`project`
|
|
2398
|
+
# /locations/`location`/autoLabelingRules/`auto_labeling_rule`
|
|
2399
|
+
# @param [String] fields
|
|
2400
|
+
# Selector specifying which fields to include in a partial response.
|
|
2401
|
+
# @param [String] quota_user
|
|
2402
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2403
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2404
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2405
|
+
# Request-specific options
|
|
2406
|
+
#
|
|
2407
|
+
# @yield [result, err] Result & error if block supplied
|
|
2408
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule] parsed result object
|
|
2409
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2410
|
+
#
|
|
2411
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule]
|
|
2412
|
+
#
|
|
2413
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2414
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2415
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2416
|
+
def get_project_location_auto_labeling_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
2417
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2418
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule::Representation
|
|
2419
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule
|
|
2420
|
+
command.params['name'] = name unless name.nil?
|
|
2421
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2423
|
+
execute_or_queue_command(command, &block)
|
|
2424
|
+
end
|
|
2425
|
+
|
|
2426
|
+
# Lists auto labeling rules.
|
|
2427
|
+
# @param [String] parent
|
|
2428
|
+
# Required. The project and location to list auto labeling rules from. Format:
|
|
2429
|
+
# projects/`project`/locations/`location`
|
|
2430
|
+
# @param [Fixnum] page_size
|
|
2431
|
+
# Optional. The maximum number of auto labeling rules to return in a single
|
|
2432
|
+
# response. If unspecified, at most 100 rules will be returned. The maximum
|
|
2433
|
+
# value is 1000; values above 1000 will be coerced to 1000.
|
|
2434
|
+
# @param [String] page_token
|
|
2435
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
|
2436
|
+
# any.
|
|
2437
|
+
# @param [String] fields
|
|
2438
|
+
# Selector specifying which fields to include in a partial response.
|
|
2439
|
+
# @param [String] quota_user
|
|
2440
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2441
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2442
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2443
|
+
# Request-specific options
|
|
2444
|
+
#
|
|
2445
|
+
# @yield [result, err] Result & error if block supplied
|
|
2446
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse] parsed result object
|
|
2447
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2448
|
+
#
|
|
2449
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse]
|
|
2450
|
+
#
|
|
2451
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2452
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2453
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2454
|
+
def list_project_location_auto_labeling_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2455
|
+
command = make_simple_command(:get, 'v1/{+parent}/autoLabelingRules', options)
|
|
2456
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse::Representation
|
|
2457
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAutoLabelingRulesResponse
|
|
2458
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2459
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2460
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2461
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2462
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2463
|
+
execute_or_queue_command(command, &block)
|
|
2464
|
+
end
|
|
2465
|
+
|
|
2466
|
+
# Updates an auto labeling rule.
|
|
2467
|
+
# @param [String] name
|
|
2468
|
+
# Identifier. The resource name of the auto-labeling rule. Format: projects/`
|
|
2469
|
+
# project`/locations/`location`/autoLabelingRules/`auto_labeling_rule`
|
|
2470
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule] google_cloud_contactcenterinsights_v1_auto_labeling_rule_object
|
|
2471
|
+
# @param [String] update_mask
|
|
2472
|
+
# Optional. The list of fields to be updated.
|
|
2473
|
+
# @param [String] fields
|
|
2474
|
+
# Selector specifying which fields to include in a partial response.
|
|
2475
|
+
# @param [String] quota_user
|
|
2476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2478
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2479
|
+
# Request-specific options
|
|
2480
|
+
#
|
|
2481
|
+
# @yield [result, err] Result & error if block supplied
|
|
2482
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule] parsed result object
|
|
2483
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2484
|
+
#
|
|
2485
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule]
|
|
2486
|
+
#
|
|
2487
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2488
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2489
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2490
|
+
def patch_project_location_auto_labeling_rule(name, google_cloud_contactcenterinsights_v1_auto_labeling_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2491
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2492
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule::Representation
|
|
2493
|
+
command.request_object = google_cloud_contactcenterinsights_v1_auto_labeling_rule_object
|
|
2494
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule::Representation
|
|
2495
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AutoLabelingRule
|
|
2496
|
+
command.params['name'] = name unless name.nil?
|
|
2497
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2498
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2499
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2500
|
+
execute_or_queue_command(command, &block)
|
|
2501
|
+
end
|
|
2502
|
+
|
|
2503
|
+
# Tests auto labeling rules against a conversation.
|
|
2504
|
+
# @param [String] parent
|
|
2505
|
+
# Required. The parent project and location. Format: projects/`project`/
|
|
2506
|
+
# locations/`location`
|
|
2507
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest] google_cloud_contactcenterinsights_v1_test_auto_labeling_rule_request_object
|
|
2508
|
+
# @param [String] fields
|
|
2509
|
+
# Selector specifying which fields to include in a partial response.
|
|
2510
|
+
# @param [String] quota_user
|
|
2511
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2512
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2513
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2514
|
+
# Request-specific options
|
|
2515
|
+
#
|
|
2516
|
+
# @yield [result, err] Result & error if block supplied
|
|
2517
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse] parsed result object
|
|
2518
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2519
|
+
#
|
|
2520
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse]
|
|
2521
|
+
#
|
|
2522
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2523
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2524
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2525
|
+
def test_project_location_auto_labeling_rule(parent, google_cloud_contactcenterinsights_v1_test_auto_labeling_rule_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2526
|
+
command = make_simple_command(:post, 'v1/{+parent}/autoLabelingRules:test', options)
|
|
2527
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleRequest::Representation
|
|
2528
|
+
command.request_object = google_cloud_contactcenterinsights_v1_test_auto_labeling_rule_request_object
|
|
2529
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse::Representation
|
|
2530
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1TestAutoLabelingRuleResponse
|
|
2531
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2532
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2533
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2534
|
+
execute_or_queue_command(command, &block)
|
|
2535
|
+
end
|
|
2536
|
+
|
|
2224
2537
|
# Analyzes multiple conversations in a single request.
|
|
2225
2538
|
# @param [String] parent
|
|
2226
2539
|
# Required. The parent resource to create analyses in.
|
|
@@ -2558,6 +2871,9 @@ module Google
|
|
|
2558
2871
|
# Optional. Defaults to false. If set to true, and the conversation is not found,
|
|
2559
2872
|
# a new conversation will be created. In this situation, `update_mask` is
|
|
2560
2873
|
# ignored.
|
|
2874
|
+
# @param [Boolean] conversation_auto_labeling_update_config_allow_auto_labeling_update
|
|
2875
|
+
# Optional. If set to true, the conversation will be updated with auto labeling
|
|
2876
|
+
# results.
|
|
2561
2877
|
# @param [String] update_mask
|
|
2562
2878
|
# The list of fields to be updated. All possible fields can be updated by
|
|
2563
2879
|
# passing `*`, or a subset of the following updateable fields can be provided: *
|
|
@@ -2582,7 +2898,7 @@ module Google
|
|
|
2582
2898
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2583
2899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2584
2900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2585
|
-
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, allow_missing: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2901
|
+
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, allow_missing: nil, conversation_auto_labeling_update_config_allow_auto_labeling_update: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2586
2902
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
2587
2903
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
|
2588
2904
|
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
|
@@ -2590,6 +2906,7 @@ module Google
|
|
|
2590
2906
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
|
2591
2907
|
command.params['name'] = name unless name.nil?
|
|
2592
2908
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
|
2909
|
+
command.query['conversationAutoLabelingUpdateConfig.allowAutoLabelingUpdate'] = conversation_auto_labeling_update_config_allow_auto_labeling_update unless conversation_auto_labeling_update_config_allow_auto_labeling_update.nil?
|
|
2593
2910
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
2594
2911
|
command.query['fields'] = fields unless fields.nil?
|
|
2595
2912
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-contactcenterinsights_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.82.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.82.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contactcenterinsights_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|