google-apis-contactcenterinsights_v1 0.72.0 → 0.74.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 +45 -2
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +2 -2
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +17 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +250 -3
- 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: bf0cfe9b29ce4cef851fa1703bc8b43118f2f553643da0450e7c13dca6c61b19
|
4
|
+
data.tar.gz: 85b9ab5e78cef4712399bea64022cbda45c1e3e591684d12c45b303898c8eac7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78f028cf04084a1657fa14d76fd87206d2d38ba0b3b0016faab22d1e3dadac90e68dd8d5c37f62584bf549c05c663f7422a635c09b91a84ac13f5d92c94e3d5d
|
7
|
+
data.tar.gz: 9dbb4dbdc72c64104013b870b014ffebb8c75b40d0fd816850242e0eff2b1a82ccf7fc12519989f73bed308c7d925141182a54dec56606a0209767a313fb241a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-contactcenterinsights_v1
|
2
2
|
|
3
|
+
### v0.74.0 (2025-09-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250901
|
6
|
+
|
7
|
+
### v0.73.0 (2025-08-31)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250825
|
10
|
+
|
3
11
|
### v0.72.0 (2025-08-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250821
|
@@ -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
|
@@ -6550,8 +6583,11 @@ module Google
|
|
6550
6583
|
# is complete. * "ingest-conversations": Notify each time an IngestConversations
|
6551
6584
|
# LRO is complete. * "update-conversation": Notify each time a conversation is
|
6552
6585
|
# updated via UpdateConversation. * "upload-conversation": Notify when an
|
6553
|
-
# UploadConversation LRO is complete.
|
6554
|
-
#
|
6586
|
+
# UploadConversation LRO is complete. * "update-or-analyze-conversation": Notify
|
6587
|
+
# when an analysis for a conversation is completed or when the conversation is
|
6588
|
+
# updated. The message will contain the conversation with transcript, analysis
|
6589
|
+
# and other metadata. Values are Pub/Sub topics. The format of each Pub/Sub
|
6590
|
+
# topic is: projects/`project`/topics/`topic`
|
6555
6591
|
# Corresponds to the JSON property `pubsubNotificationSettings`
|
6556
6592
|
# @return [Hash<String,String>]
|
6557
6593
|
attr_accessor :pubsub_notification_settings
|
@@ -9751,6 +9787,12 @@ module Google
|
|
9751
9787
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest]
|
9752
9788
|
attr_accessor :request
|
9753
9789
|
|
9790
|
+
# Output only. Stores the conversation resources produced by ingest sampling
|
9791
|
+
# operations.
|
9792
|
+
# Corresponds to the JSON property `sampledConversations`
|
9793
|
+
# @return [Array<String>]
|
9794
|
+
attr_accessor :sampled_conversations
|
9795
|
+
|
9754
9796
|
def initialize(**args)
|
9755
9797
|
update!(**args)
|
9756
9798
|
end
|
@@ -9762,6 +9804,7 @@ module Google
|
|
9762
9804
|
@ingest_conversations_stats = args[:ingest_conversations_stats] if args.key?(:ingest_conversations_stats)
|
9763
9805
|
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
|
9764
9806
|
@request = args[:request] if args.key?(:request)
|
9807
|
+
@sampled_conversations = args[:sampled_conversations] if args.key?(:sampled_conversations)
|
9765
9808
|
end
|
9766
9809
|
end
|
9767
9810
|
|
@@ -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.74.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 = "20250901"
|
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
|
@@ -4921,6 +4937,7 @@ module Google
|
|
4921
4937
|
|
4922
4938
|
property :request, as: 'request', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest::Representation
|
4923
4939
|
|
4940
|
+
collection :sampled_conversations, as: 'sampledConversations'
|
4924
4941
|
end
|
4925
4942
|
end
|
4926
4943
|
|
@@ -732,7 +732,7 @@ module Google
|
|
732
732
|
# final component of the AuthorizedViewSet's resource name. If no ID is
|
733
733
|
# specified, a server-generated ID will be used. This value should be 4-64
|
734
734
|
# characters and must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-
|
735
|
-
# 9])?$`. See aip.dev/122#resource-id-segments
|
735
|
+
# 9])?$`. See https://google.aip.dev/122#resource-id-segments
|
736
736
|
# @param [String] fields
|
737
737
|
# Selector specifying which fields to include in a partial response.
|
738
738
|
# @param [String] quota_user
|
@@ -924,8 +924,8 @@ module Google
|
|
924
924
|
# Optional. A unique ID for the new AuthorizedView. This ID will become the
|
925
925
|
# final component of the AuthorizedView's resource name. If no ID is specified,
|
926
926
|
# a server-generated ID will be used. This value should be 4-64 characters and
|
927
|
-
# must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`. See
|
928
|
-
# dev/122#resource-id-segments
|
927
|
+
# must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`. See
|
928
|
+
# https://google.aip.dev/122#resource-id-segments
|
929
929
|
# @param [String] fields
|
930
930
|
# Selector specifying which fields to include in a partial response.
|
931
931
|
# @param [String] quota_user
|
@@ -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
|
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.74.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.74.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:
|