google-apis-contactcenterinsights_v1 0.71.0 → 0.73.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 +64 -0
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +20 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +264 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ccaa4c3402464cdf44ec77d85880f00d7cdc32802f2169361cb2ad78fb8efe7
|
4
|
+
data.tar.gz: cda84bef059c0665285b2df636095b7ea66bf9141490aa1b0cd39ec470817b2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec7c1a23966c34be8e3d1a71aca0c0b349aca41eb72e9896062ca2046041c10ae18dc8afb1d945bb5d37e353254ae572c2921ecd6a2d6cd8b408ab6d67ebb99
|
7
|
+
data.tar.gz: 335ee6140e9303943ce9c1124e7147a18b058c3985e6491ef6b6b2501b676afc67a210727671d13deb9f283db469497ba63acbed9b983639cbbb36a7c3da9de5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-contactcenterinsights_v1
|
2
2
|
|
3
|
+
### v0.73.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250825
|
6
|
+
|
7
|
+
### v0.72.0 (2025-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250821
|
10
|
+
|
3
11
|
### v0.71.0 (2025-08-17)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250811
|
@@ -3503,6 +3503,12 @@ module Google
|
|
3503
3503
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest]
|
3504
3504
|
attr_accessor :request
|
3505
3505
|
|
3506
|
+
# Output only. Stores the conversation resources produced by ingest sampling
|
3507
|
+
# operations.
|
3508
|
+
# Corresponds to the JSON property `sampledConversations`
|
3509
|
+
# @return [Array<String>]
|
3510
|
+
attr_accessor :sampled_conversations
|
3511
|
+
|
3506
3512
|
def initialize(**args)
|
3507
3513
|
update!(**args)
|
3508
3514
|
end
|
@@ -3514,6 +3520,7 @@ module Google
|
|
3514
3520
|
@ingest_conversations_stats = args[:ingest_conversations_stats] if args.key?(:ingest_conversations_stats)
|
3515
3521
|
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
|
3516
3522
|
@request = args[:request] if args.key?(:request)
|
3523
|
+
@sampled_conversations = args[:sampled_conversations] if args.key?(:sampled_conversations)
|
3517
3524
|
end
|
3518
3525
|
end
|
3519
3526
|
|
@@ -4402,6 +4409,32 @@ module Google
|
|
4402
4409
|
end
|
4403
4410
|
end
|
4404
4411
|
|
4412
|
+
# The response to list datasets.
|
4413
|
+
class GoogleCloudContactcenterinsightsV1ListDatasetsResponse
|
4414
|
+
include Google::Apis::Core::Hashable
|
4415
|
+
|
4416
|
+
# The datasets that match the request.
|
4417
|
+
# Corresponds to the JSON property `datasets`
|
4418
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset>]
|
4419
|
+
attr_accessor :datasets
|
4420
|
+
|
4421
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4422
|
+
# field is omitted, there are no subsequent pages.
|
4423
|
+
# Corresponds to the JSON property `nextPageToken`
|
4424
|
+
# @return [String]
|
4425
|
+
attr_accessor :next_page_token
|
4426
|
+
|
4427
|
+
def initialize(**args)
|
4428
|
+
update!(**args)
|
4429
|
+
end
|
4430
|
+
|
4431
|
+
# Update properties of this object
|
4432
|
+
def update!(**args)
|
4433
|
+
@datasets = args[:datasets] if args.key?(:datasets)
|
4434
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4435
|
+
end
|
4436
|
+
end
|
4437
|
+
|
4405
4438
|
# The response for listing feedback labels.
|
4406
4439
|
class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
4407
4440
|
include Google::Apis::Core::Hashable
|
@@ -5091,6 +5124,14 @@ module Google
|
|
5091
5124
|
# @return [Float]
|
5092
5125
|
attr_accessor :score
|
5093
5126
|
|
5127
|
+
# Output only. A value of "Skip". If provided, this field may only be set to `
|
5128
|
+
# true`. If a question receives this answer, it will be excluded from any score
|
5129
|
+
# calculations. This would mean that the question was not evaluated.
|
5130
|
+
# Corresponds to the JSON property `skipValue`
|
5131
|
+
# @return [Boolean]
|
5132
|
+
attr_accessor :skip_value
|
5133
|
+
alias_method :skip_value?, :skip_value
|
5134
|
+
|
5094
5135
|
# String value.
|
5095
5136
|
# Corresponds to the JSON property `strValue`
|
5096
5137
|
# @return [String]
|
@@ -5109,6 +5150,7 @@ module Google
|
|
5109
5150
|
@num_value = args[:num_value] if args.key?(:num_value)
|
5110
5151
|
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
5111
5152
|
@score = args[:score] if args.key?(:score)
|
5153
|
+
@skip_value = args[:skip_value] if args.key?(:skip_value)
|
5112
5154
|
@str_value = args[:str_value] if args.key?(:str_value)
|
5113
5155
|
end
|
5114
5156
|
end
|
@@ -5428,6 +5470,11 @@ module Google
|
|
5428
5470
|
# @return [String]
|
5429
5471
|
attr_accessor :name
|
5430
5472
|
|
5473
|
+
# Output only. The source of the scorecard.
|
5474
|
+
# Corresponds to the JSON property `source`
|
5475
|
+
# @return [String]
|
5476
|
+
attr_accessor :source
|
5477
|
+
|
5431
5478
|
# Output only. The most recent time at which the scorecard was updated.
|
5432
5479
|
# Corresponds to the JSON property `updateTime`
|
5433
5480
|
# @return [String]
|
@@ -5444,6 +5491,7 @@ module Google
|
|
5444
5491
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5445
5492
|
@is_default = args[:is_default] if args.key?(:is_default)
|
5446
5493
|
@name = args[:name] if args.key?(:name)
|
5494
|
+
@source = args[:source] if args.key?(:source)
|
5447
5495
|
@update_time = args[:update_time] if args.key?(:update_time)
|
5448
5496
|
end
|
5449
5497
|
end
|
@@ -9736,6 +9784,12 @@ module Google
|
|
9736
9784
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest]
|
9737
9785
|
attr_accessor :request
|
9738
9786
|
|
9787
|
+
# Output only. Stores the conversation resources produced by ingest sampling
|
9788
|
+
# operations.
|
9789
|
+
# Corresponds to the JSON property `sampledConversations`
|
9790
|
+
# @return [Array<String>]
|
9791
|
+
attr_accessor :sampled_conversations
|
9792
|
+
|
9739
9793
|
def initialize(**args)
|
9740
9794
|
update!(**args)
|
9741
9795
|
end
|
@@ -9747,6 +9801,7 @@ module Google
|
|
9747
9801
|
@ingest_conversations_stats = args[:ingest_conversations_stats] if args.key?(:ingest_conversations_stats)
|
9748
9802
|
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
|
9749
9803
|
@request = args[:request] if args.key?(:request)
|
9804
|
+
@sampled_conversations = args[:sampled_conversations] if args.key?(:sampled_conversations)
|
9750
9805
|
end
|
9751
9806
|
end
|
9752
9807
|
|
@@ -10627,6 +10682,14 @@ module Google
|
|
10627
10682
|
# @return [Float]
|
10628
10683
|
attr_accessor :score
|
10629
10684
|
|
10685
|
+
# Output only. A value of "Skip". If provided, this field may only be set to `
|
10686
|
+
# true`. If a question receives this answer, it will be excluded from any score
|
10687
|
+
# calculations. This would mean that the question was not evaluated.
|
10688
|
+
# Corresponds to the JSON property `skipValue`
|
10689
|
+
# @return [Boolean]
|
10690
|
+
attr_accessor :skip_value
|
10691
|
+
alias_method :skip_value?, :skip_value
|
10692
|
+
|
10630
10693
|
# String value.
|
10631
10694
|
# Corresponds to the JSON property `strValue`
|
10632
10695
|
# @return [String]
|
@@ -10645,6 +10708,7 @@ module Google
|
|
10645
10708
|
@num_value = args[:num_value] if args.key?(:num_value)
|
10646
10709
|
@potential_score = args[:potential_score] if args.key?(:potential_score)
|
10647
10710
|
@score = args[:score] if args.key?(:score)
|
10711
|
+
@skip_value = args[:skip_value] if args.key?(:skip_value)
|
10648
10712
|
@str_value = args[:str_value] if args.key?(:str_value)
|
10649
10713
|
end
|
10650
10714
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContactcenterinsightsV1
|
18
18
|
# Version of the google-apis-contactcenterinsights_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.73.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250825"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -772,6 +772,12 @@ module Google
|
|
772
772
|
include Google::Apis::Core::JsonObjectSupport
|
773
773
|
end
|
774
774
|
|
775
|
+
class GoogleCloudContactcenterinsightsV1ListDatasetsResponse
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
|
+
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
779
|
+
end
|
780
|
+
|
775
781
|
class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
776
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
783
|
|
@@ -3105,6 +3111,7 @@ module Google
|
|
3105
3111
|
|
3106
3112
|
property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
3107
3113
|
|
3114
|
+
collection :sampled_conversations, as: 'sampledConversations'
|
3108
3115
|
end
|
3109
3116
|
end
|
3110
3117
|
|
@@ -3373,6 +3380,15 @@ module Google
|
|
3373
3380
|
end
|
3374
3381
|
end
|
3375
3382
|
|
3383
|
+
class GoogleCloudContactcenterinsightsV1ListDatasetsResponse
|
3384
|
+
# @private
|
3385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3386
|
+
collection :datasets, as: 'datasets', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3387
|
+
|
3388
|
+
property :next_page_token, as: 'nextPageToken'
|
3389
|
+
end
|
3390
|
+
end
|
3391
|
+
|
3376
3392
|
class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
3377
3393
|
# @private
|
3378
3394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3591,6 +3607,7 @@ module Google
|
|
3591
3607
|
property :num_value, as: 'numValue'
|
3592
3608
|
property :potential_score, as: 'potentialScore'
|
3593
3609
|
property :score, as: 'score'
|
3610
|
+
property :skip_value, as: 'skipValue'
|
3594
3611
|
property :str_value, as: 'strValue'
|
3595
3612
|
end
|
3596
3613
|
end
|
@@ -3672,6 +3689,7 @@ module Google
|
|
3672
3689
|
property :display_name, as: 'displayName'
|
3673
3690
|
property :is_default, as: 'isDefault'
|
3674
3691
|
property :name, as: 'name'
|
3692
|
+
property :source, as: 'source'
|
3675
3693
|
property :update_time, as: 'updateTime'
|
3676
3694
|
end
|
3677
3695
|
end
|
@@ -4919,6 +4937,7 @@ module Google
|
|
4919
4937
|
|
4920
4938
|
property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest::Representation
|
4921
4939
|
|
4940
|
+
collection :sampled_conversations, as: 'sampledConversations'
|
4922
4941
|
end
|
4923
4942
|
end
|
4924
4943
|
|
@@ -5174,6 +5193,7 @@ module Google
|
|
5174
5193
|
property :num_value, as: 'numValue'
|
5175
5194
|
property :potential_score, as: 'potentialScore'
|
5176
5195
|
property :score, as: 'score'
|
5196
|
+
property :skip_value, as: 'skipValue'
|
5177
5197
|
property :str_value, as: 'strValue'
|
5178
5198
|
end
|
5179
5199
|
end
|
@@ -2698,6 +2698,40 @@ module Google
|
|
2698
2698
|
execute_or_queue_command(command, &block)
|
2699
2699
|
end
|
2700
2700
|
|
2701
|
+
# Samples conversations based on user configuration and handles the sampled
|
2702
|
+
# conversations for different use cases.
|
2703
|
+
# @param [String] parent
|
2704
|
+
# Required. The parent resource of the dataset.
|
2705
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest] google_cloud_contactcenterinsights_v1_sample_conversations_request_object
|
2706
|
+
# @param [String] fields
|
2707
|
+
# Selector specifying which fields to include in a partial response.
|
2708
|
+
# @param [String] quota_user
|
2709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2711
|
+
# @param [Google::Apis::RequestOptions] options
|
2712
|
+
# Request-specific options
|
2713
|
+
#
|
2714
|
+
# @yield [result, err] Result & error if block supplied
|
2715
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2716
|
+
# @yieldparam err [StandardError] error object if request failed
|
2717
|
+
#
|
2718
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2719
|
+
#
|
2720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2723
|
+
def sample_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_sample_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2724
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:sample', options)
|
2725
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest::Representation
|
2726
|
+
command.request_object = google_cloud_contactcenterinsights_v1_sample_conversations_request_object
|
2727
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2728
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2729
|
+
command.params['parent'] = parent unless parent.nil?
|
2730
|
+
command.query['fields'] = fields unless fields.nil?
|
2731
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2732
|
+
execute_or_queue_command(command, &block)
|
2733
|
+
end
|
2734
|
+
|
2701
2735
|
# Create a long-running conversation upload operation. This method differs from `
|
2702
2736
|
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
2703
2737
|
# @param [String] parent
|
@@ -3542,6 +3576,148 @@ module Google
|
|
3542
3576
|
execute_or_queue_command(command, &block)
|
3543
3577
|
end
|
3544
3578
|
|
3579
|
+
# Creates a dataset.
|
3580
|
+
# @param [String] parent
|
3581
|
+
# Required. The parent resource of the dataset.
|
3582
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset] google_cloud_contactcenterinsights_v1_dataset_object
|
3583
|
+
# @param [String] dataset_id
|
3584
|
+
# Optional. The ID to use for the dataset.
|
3585
|
+
# @param [String] fields
|
3586
|
+
# Selector specifying which fields to include in a partial response.
|
3587
|
+
# @param [String] quota_user
|
3588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3590
|
+
# @param [Google::Apis::RequestOptions] options
|
3591
|
+
# Request-specific options
|
3592
|
+
#
|
3593
|
+
# @yield [result, err] Result & error if block supplied
|
3594
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset] parsed result object
|
3595
|
+
# @yieldparam err [StandardError] error object if request failed
|
3596
|
+
#
|
3597
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset]
|
3598
|
+
#
|
3599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3602
|
+
def create_project_location_dataset(parent, google_cloud_contactcenterinsights_v1_dataset_object = nil, dataset_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3603
|
+
command = make_simple_command(:post, 'v1/{+parent}/datasets', options)
|
3604
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3605
|
+
command.request_object = google_cloud_contactcenterinsights_v1_dataset_object
|
3606
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3607
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset
|
3608
|
+
command.params['parent'] = parent unless parent.nil?
|
3609
|
+
command.query['datasetId'] = dataset_id unless dataset_id.nil?
|
3610
|
+
command.query['fields'] = fields unless fields.nil?
|
3611
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3612
|
+
execute_or_queue_command(command, &block)
|
3613
|
+
end
|
3614
|
+
|
3615
|
+
# Delete a dataset.
|
3616
|
+
# @param [String] name
|
3617
|
+
# Required. The name of the dataset to delete.
|
3618
|
+
# @param [String] fields
|
3619
|
+
# Selector specifying which fields to include in a partial response.
|
3620
|
+
# @param [String] quota_user
|
3621
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3622
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3623
|
+
# @param [Google::Apis::RequestOptions] options
|
3624
|
+
# Request-specific options
|
3625
|
+
#
|
3626
|
+
# @yield [result, err] Result & error if block supplied
|
3627
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
3628
|
+
# @yieldparam err [StandardError] error object if request failed
|
3629
|
+
#
|
3630
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
3631
|
+
#
|
3632
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3633
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3634
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3635
|
+
def delete_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
3636
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
3637
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
3638
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
3639
|
+
command.params['name'] = name unless name.nil?
|
3640
|
+
command.query['fields'] = fields unless fields.nil?
|
3641
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3642
|
+
execute_or_queue_command(command, &block)
|
3643
|
+
end
|
3644
|
+
|
3645
|
+
# Gets a dataset.
|
3646
|
+
# @param [String] name
|
3647
|
+
# Required. The name of the dataset to get.
|
3648
|
+
# @param [String] fields
|
3649
|
+
# Selector specifying which fields to include in a partial response.
|
3650
|
+
# @param [String] quota_user
|
3651
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3652
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3653
|
+
# @param [Google::Apis::RequestOptions] options
|
3654
|
+
# Request-specific options
|
3655
|
+
#
|
3656
|
+
# @yield [result, err] Result & error if block supplied
|
3657
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset] parsed result object
|
3658
|
+
# @yieldparam err [StandardError] error object if request failed
|
3659
|
+
#
|
3660
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset]
|
3661
|
+
#
|
3662
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3663
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3664
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3665
|
+
def get_project_location_dataset(name, fields: nil, quota_user: nil, options: nil, &block)
|
3666
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
3667
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3668
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset
|
3669
|
+
command.params['name'] = name unless name.nil?
|
3670
|
+
command.query['fields'] = fields unless fields.nil?
|
3671
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3672
|
+
execute_or_queue_command(command, &block)
|
3673
|
+
end
|
3674
|
+
|
3675
|
+
# List datasets matching the input.
|
3676
|
+
# @param [String] parent
|
3677
|
+
# Required. The parent resource of the dataset.
|
3678
|
+
# @param [String] filter
|
3679
|
+
# Optional. A filter to reduce results to a specific subset. Useful for querying
|
3680
|
+
# datasets with specific properties. Supported fields include, for Q2 though we
|
3681
|
+
# only support list by project: - `type` - `description` - `project_number`
|
3682
|
+
# @param [Fixnum] page_size
|
3683
|
+
# Optional. The maximum number of datasets to return in the response. If this
|
3684
|
+
# value is zero, the service will select a default size. A call might return
|
3685
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
3686
|
+
# indicates that more data is available.
|
3687
|
+
# @param [String] page_token
|
3688
|
+
# Optional. The value returned by the last `ListDatasetsResponse`; indicates
|
3689
|
+
# that this is a continuation of a prior `ListDatasets` call and the system
|
3690
|
+
# should return the next page of data.
|
3691
|
+
# @param [String] fields
|
3692
|
+
# Selector specifying which fields to include in a partial response.
|
3693
|
+
# @param [String] quota_user
|
3694
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3695
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3696
|
+
# @param [Google::Apis::RequestOptions] options
|
3697
|
+
# Request-specific options
|
3698
|
+
#
|
3699
|
+
# @yield [result, err] Result & error if block supplied
|
3700
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDatasetsResponse] parsed result object
|
3701
|
+
# @yieldparam err [StandardError] error object if request failed
|
3702
|
+
#
|
3703
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDatasetsResponse]
|
3704
|
+
#
|
3705
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3706
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3707
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3708
|
+
def list_project_location_datasets(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3709
|
+
command = make_simple_command(:get, 'v1/{+parent}/datasets', options)
|
3710
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDatasetsResponse::Representation
|
3711
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListDatasetsResponse
|
3712
|
+
command.params['parent'] = parent unless parent.nil?
|
3713
|
+
command.query['filter'] = filter unless filter.nil?
|
3714
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3715
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3716
|
+
command.query['fields'] = fields unless fields.nil?
|
3717
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3718
|
+
execute_or_queue_command(command, &block)
|
3719
|
+
end
|
3720
|
+
|
3545
3721
|
# List all feedback labels by project number.
|
3546
3722
|
# @param [String] parent
|
3547
3723
|
# Required. The parent resource of all feedback labels per project.
|
@@ -3590,6 +3766,43 @@ module Google
|
|
3590
3766
|
execute_or_queue_command(command, &block)
|
3591
3767
|
end
|
3592
3768
|
|
3769
|
+
# Updates a dataset.
|
3770
|
+
# @param [String] name
|
3771
|
+
# Immutable. Identifier. Resource name of the dataset. Format: projects/`project`
|
3772
|
+
# /locations/`location`/datasets/`dataset`
|
3773
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset] google_cloud_contactcenterinsights_v1_dataset_object
|
3774
|
+
# @param [String] update_mask
|
3775
|
+
# Optional. The list of fields to update.
|
3776
|
+
# @param [String] fields
|
3777
|
+
# Selector specifying which fields to include in a partial response.
|
3778
|
+
# @param [String] quota_user
|
3779
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3780
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3781
|
+
# @param [Google::Apis::RequestOptions] options
|
3782
|
+
# Request-specific options
|
3783
|
+
#
|
3784
|
+
# @yield [result, err] Result & error if block supplied
|
3785
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset] parsed result object
|
3786
|
+
# @yieldparam err [StandardError] error object if request failed
|
3787
|
+
#
|
3788
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset]
|
3789
|
+
#
|
3790
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3791
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3792
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3793
|
+
def patch_project_location_dataset(name, google_cloud_contactcenterinsights_v1_dataset_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3794
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3795
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3796
|
+
command.request_object = google_cloud_contactcenterinsights_v1_dataset_object
|
3797
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset::Representation
|
3798
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset
|
3799
|
+
command.params['name'] = name unless name.nil?
|
3800
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3801
|
+
command.query['fields'] = fields unless fields.nil?
|
3802
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3803
|
+
execute_or_queue_command(command, &block)
|
3804
|
+
end
|
3805
|
+
|
3593
3806
|
# Analyzes multiple conversations in a single request.
|
3594
3807
|
# @param [String] parent
|
3595
3808
|
# Required. The parent resource to create analyses in.
|
@@ -3847,6 +4060,40 @@ module Google
|
|
3847
4060
|
execute_or_queue_command(command, &block)
|
3848
4061
|
end
|
3849
4062
|
|
4063
|
+
# Samples conversations based on user configuration and handles the sampled
|
4064
|
+
# conversations for different use cases.
|
4065
|
+
# @param [String] parent
|
4066
|
+
# Required. The parent resource of the dataset.
|
4067
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest] google_cloud_contactcenterinsights_v1_sample_conversations_request_object
|
4068
|
+
# @param [String] fields
|
4069
|
+
# Selector specifying which fields to include in a partial response.
|
4070
|
+
# @param [String] quota_user
|
4071
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4072
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4073
|
+
# @param [Google::Apis::RequestOptions] options
|
4074
|
+
# Request-specific options
|
4075
|
+
#
|
4076
|
+
# @yield [result, err] Result & error if block supplied
|
4077
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
4078
|
+
# @yieldparam err [StandardError] error object if request failed
|
4079
|
+
#
|
4080
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
4081
|
+
#
|
4082
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4083
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4084
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4085
|
+
def sample_project_location_dataset_conversation(parent, google_cloud_contactcenterinsights_v1_sample_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4086
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:sample', options)
|
4087
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest::Representation
|
4088
|
+
command.request_object = google_cloud_contactcenterinsights_v1_sample_conversations_request_object
|
4089
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
4090
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
4091
|
+
command.params['parent'] = parent unless parent.nil?
|
4092
|
+
command.query['fields'] = fields unless fields.nil?
|
4093
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4094
|
+
execute_or_queue_command(command, &block)
|
4095
|
+
end
|
4096
|
+
|
3850
4097
|
# Creates an analysis. The long running operation is done when the analysis has
|
3851
4098
|
# completed.
|
3852
4099
|
# @param [String] parent
|
@@ -5148,10 +5395,10 @@ module Google
|
|
5148
5395
|
# Required. The parent resource of the QaQuestionTags.
|
5149
5396
|
# @param [String] filter
|
5150
5397
|
# Optional. A filter to reduce results to a specific subset. Supports
|
5151
|
-
#
|
5152
|
-
#
|
5153
|
-
#
|
5154
|
-
# qa_question_id - id of the question to list tags for`
|
5398
|
+
# conjunctions (ie. AND operators). Supported fields include the following: * `
|
5399
|
+
# project_id` - id of the project to list tags for * `qa_scorecard_id` - id of
|
5400
|
+
# the scorecard to list tags for * `revision_id` - id of the scorecard revision
|
5401
|
+
# to list tags for` * `qa_question_id - id of the question to list tags for`
|
5155
5402
|
# @param [String] fields
|
5156
5403
|
# Selector specifying which fields to include in a partial response.
|
5157
5404
|
# @param [String] quota_user
|
@@ -5337,6 +5584,10 @@ module Google
|
|
5337
5584
|
# Optional. The value returned by the last `ListQaScorecardsResponse`. This
|
5338
5585
|
# value indicates that this is a continuation of a prior `ListQaScorecards` call
|
5339
5586
|
# and that the system should return the next page of data.
|
5587
|
+
# @param [Array<String>, String] qa_scorecard_sources
|
5588
|
+
# Optional. The source of scorecards are based on how those Scorecards were
|
5589
|
+
# created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This
|
5590
|
+
# field is used to retrieve Scorecards of one or more sources.
|
5340
5591
|
# @param [String] fields
|
5341
5592
|
# Selector specifying which fields to include in a partial response.
|
5342
5593
|
# @param [String] quota_user
|
@@ -5354,13 +5605,14 @@ module Google
|
|
5354
5605
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5355
5606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5356
5607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5357
|
-
def list_project_location_qa_scorecards(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5608
|
+
def list_project_location_qa_scorecards(parent, page_size: nil, page_token: nil, qa_scorecard_sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5358
5609
|
command = make_simple_command(:get, 'v1/{+parent}/qaScorecards', options)
|
5359
5610
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse::Representation
|
5360
5611
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardsResponse
|
5361
5612
|
command.params['parent'] = parent unless parent.nil?
|
5362
5613
|
command.query['pageSize'] = page_size unless page_size.nil?
|
5363
5614
|
command.query['pageToken'] = page_token unless page_token.nil?
|
5615
|
+
command.query['qaScorecardSources'] = qa_scorecard_sources unless qa_scorecard_sources.nil?
|
5364
5616
|
command.query['fields'] = fields unless fields.nil?
|
5365
5617
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5366
5618
|
execute_or_queue_command(command, &block)
|
@@ -5560,6 +5812,11 @@ module Google
|
|
5560
5812
|
# This value indicates that this is a continuation of a prior `
|
5561
5813
|
# ListQaScorecardRevisions` call and that the system should return the next page
|
5562
5814
|
# of data.
|
5815
|
+
# @param [Array<String>, String] qa_scorecard_sources
|
5816
|
+
# Optional. The source of scorecards are based on how those Scorecards were
|
5817
|
+
# created, e.g., a customer-defined scorecard, a predefined scorecard, etc. This
|
5818
|
+
# field is used to retrieve Scorecards Revisions from Scorecards of one or more
|
5819
|
+
# sources.
|
5563
5820
|
# @param [String] fields
|
5564
5821
|
# Selector specifying which fields to include in a partial response.
|
5565
5822
|
# @param [String] quota_user
|
@@ -5577,7 +5834,7 @@ module Google
|
|
5577
5834
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5578
5835
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5579
5836
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5580
|
-
def list_project_location_qa_scorecard_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5837
|
+
def list_project_location_qa_scorecard_revisions(parent, filter: nil, page_size: nil, page_token: nil, qa_scorecard_sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5581
5838
|
command = make_simple_command(:get, 'v1/{+parent}/revisions', options)
|
5582
5839
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse::Representation
|
5583
5840
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListQaScorecardRevisionsResponse
|
@@ -5585,6 +5842,7 @@ module Google
|
|
5585
5842
|
command.query['filter'] = filter unless filter.nil?
|
5586
5843
|
command.query['pageSize'] = page_size unless page_size.nil?
|
5587
5844
|
command.query['pageToken'] = page_token unless page_token.nil?
|
5845
|
+
command.query['qaScorecardSources'] = qa_scorecard_sources unless qa_scorecard_sources.nil?
|
5588
5846
|
command.query['fields'] = fields unless fields.nil?
|
5589
5847
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5590
5848
|
execute_or_queue_command(command, &block)
|
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.73.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.73.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:
|