google-apis-contactcenterinsights_v1 0.60.0 → 0.62.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6eee2636fc2834f9936a94dfa8f7c931c70634e9f685ceec8db63bfb2bcce2b
4
- data.tar.gz: 0d47ec48387de9e75733da31df529d81b64795f7566f0e7b4fd68e9fdccaaf4a
3
+ metadata.gz: d2f88cc0f58f2a13130685c7c06b07e7397fe059aaaf5e01423c9dd035ada493
4
+ data.tar.gz: b7a6aaeae8837450000aaa80d5e34daabbd0f03411438b90401ff735c7c0795a
5
5
  SHA512:
6
- metadata.gz: d15e1d15daac31484e2be7f3ae1cd47a3745735713f9b81b8ba828aec91b38d495a2c7a49a1b243b1e3e2cebe89cfb14c7715c0cbb32e4f1ebfad3492b152c76
7
- data.tar.gz: 994e4abebed6bb670e135e170dad209e570bb5c3f9f7e42832cfd29bb8e1b3d4a9e30f01561748005b0e29fb63d00724220f9705dec2331284c1ec9645e8c3fa
6
+ metadata.gz: b699c9f53cf3e97788ce97cc08054c0c362bbffc56edab617e6de4212a423357d17571746b1abc9f901f991b98818ccfc1ef892f3003cacd0c6da262739c5265
7
+ data.tar.gz: b9526cc5c8bc860f9b149de46db23c12863ebec99c20c2f46c9c0f176829568b28b87b3a9a21b4c9a6ab27199141dd77b0b49f0d9bdf76b22f4583f4113053a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-contactcenterinsights_v1
2
2
 
3
+ ### v0.62.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250415
6
+
7
+ ### v0.61.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250320
10
+
3
11
  ### v0.60.0 (2025-03-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20250311
@@ -924,6 +924,11 @@ module Google
924
924
  # @return [String]
925
925
  attr_accessor :parent
926
926
 
927
+ # Google Sheets document details to write the feedback labels to.
928
+ # Corresponds to the JSON property `sheetsDestination`
929
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination]
930
+ attr_accessor :sheets_destination
931
+
927
932
  # Optional. If set, a template for labeling conversations and scorecard
928
933
  # questions will be created from the conversation_filter and the questions under
929
934
  # the scorecard(s). The feedback label `filter` will be ignored.
@@ -943,6 +948,7 @@ module Google
943
948
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
944
949
  @max_download_count = args[:max_download_count] if args.key?(:max_download_count)
945
950
  @parent = args[:parent] if args.key?(:parent)
951
+ @sheets_destination = args[:sheets_destination] if args.key?(:sheets_destination)
946
952
  @template_qa_scorecard_id = args[:template_qa_scorecard_id] if args.key?(:template_qa_scorecard_id)
947
953
  end
948
954
  end
@@ -999,6 +1005,35 @@ module Google
999
1005
  end
1000
1006
  end
1001
1007
 
1008
+ # Google Sheets document details to write the feedback labels to.
1009
+ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination
1010
+ include Google::Apis::Core::Hashable
1011
+
1012
+ # Optional. The title of the new sheet to write the feedback labels to.
1013
+ # Corresponds to the JSON property `sheetTitle`
1014
+ # @return [String]
1015
+ attr_accessor :sheet_title
1016
+
1017
+ # Required. The Google Sheets document to write the feedback labels to.
1018
+ # Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/
1019
+ # 1234567890` The spreadsheet must be shared with the Insights P4SA. The
1020
+ # spreadsheet ID written to will be returned as `file_names` in the
1021
+ # BulkDownloadFeedbackLabelsMetadata.
1022
+ # Corresponds to the JSON property `spreadsheetUri`
1023
+ # @return [String]
1024
+ attr_accessor :spreadsheet_uri
1025
+
1026
+ def initialize(**args)
1027
+ update!(**args)
1028
+ end
1029
+
1030
+ # Update properties of this object
1031
+ def update!(**args)
1032
+ @sheet_title = args[:sheet_title] if args.key?(:sheet_title)
1033
+ @spreadsheet_uri = args[:spreadsheet_uri] if args.key?(:spreadsheet_uri)
1034
+ end
1035
+ end
1036
+
1002
1037
  # Response for the BulkDownloadFeedbackLabel endpoint.
1003
1038
  class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse
1004
1039
  include Google::Apis::Core::Hashable
@@ -1021,6 +1056,11 @@ module Google
1021
1056
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource]
1022
1057
  attr_accessor :gcs_source
1023
1058
 
1059
+ # Google Sheets document details to get the feedback label file from.
1060
+ # Corresponds to the JSON property `sheetsSource`
1061
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource]
1062
+ attr_accessor :sheets_source
1063
+
1024
1064
  # Optional. If set, upload will not happen and the labels will be validated. If
1025
1065
  # not set, then default behavior will be to upload the labels after validation
1026
1066
  # is complete.
@@ -1036,6 +1076,7 @@ module Google
1036
1076
  # Update properties of this object
1037
1077
  def update!(**args)
1038
1078
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1079
+ @sheets_source = args[:sheets_source] if args.key?(:sheets_source)
1039
1080
  @validate_only = args[:validate_only] if args.key?(:validate_only)
1040
1081
  end
1041
1082
  end
@@ -1066,6 +1107,27 @@ module Google
1066
1107
  end
1067
1108
  end
1068
1109
 
1110
+ # Google Sheets document details to get the feedback label file from.
1111
+ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # Required. The Google Sheets document to write the feedback labels to.
1115
+ # Retrieved from Google Sheets URI. E.g. `https://docs.google.com/spreadsheets/d/
1116
+ # 1234567890` The spreadsheet must be shared with the Insights P4SA.
1117
+ # Corresponds to the JSON property `spreadsheetUri`
1118
+ # @return [String]
1119
+ attr_accessor :spreadsheet_uri
1120
+
1121
+ def initialize(**args)
1122
+ update!(**args)
1123
+ end
1124
+
1125
+ # Update properties of this object
1126
+ def update!(**args)
1127
+ @spreadsheet_uri = args[:spreadsheet_uri] if args.key?(:spreadsheet_uri)
1128
+ end
1129
+ end
1130
+
1069
1131
  # Response of querying an issue model's statistics.
1070
1132
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
1071
1133
  include Google::Apis::Core::Hashable
@@ -2844,6 +2906,7 @@ module Google
2844
2906
  # Represents a conversation, resource, and label provided by the user. Can take
2845
2907
  # the form of a string label or a QaAnswer label. QaAnswer labels are used for
2846
2908
  # Quality AI example conversations. String labels are used for Topic Modeling.
2909
+ # AgentAssistSummary labels are used for Agent Assist Summarization.
2847
2910
  class GoogleCloudContactcenterinsightsV1FeedbackLabel
2848
2911
  include Google::Apis::Core::Hashable
2849
2912
 
@@ -2857,9 +2920,11 @@ module Google
2857
2920
  # @return [String]
2858
2921
  attr_accessor :label
2859
2922
 
2860
- # Resource name of the resource to be labeled. Supported resources: -
2861
- # qaScorecards/`scorecard`/revisions/`revision`/qaQuestions/`question` -
2862
- # issueModels/`issue_model`
2923
+ # Name of the resource to be labeled. Supported resources are: * `projects/`
2924
+ # project`/locations/`location`/qaScorecards/`scorecard`/revisions/`revision`/
2925
+ # qaQuestions/`question`` * `projects/`project`/locations/`location`/issueModels/
2926
+ # `issue_model`` * `projects/`project`/locations/`location`/generators/`
2927
+ # generator_id``
2863
2928
  # Corresponds to the JSON property `labeledResource`
2864
2929
  # @return [String]
2865
2930
  attr_accessor :labeled_resource
@@ -5124,6 +5189,38 @@ module Google
5124
5189
  end
5125
5190
  end
5126
5191
 
5192
+ # The metadata for querying performance overview.
5193
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata
5194
+ include Google::Apis::Core::Hashable
5195
+
5196
+ def initialize(**args)
5197
+ update!(**args)
5198
+ end
5199
+
5200
+ # Update properties of this object
5201
+ def update!(**args)
5202
+ end
5203
+ end
5204
+
5205
+ # The response for querying performance overview.
5206
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse
5207
+ include Google::Apis::Core::Hashable
5208
+
5209
+ # The summary text of the performance.
5210
+ # Corresponds to the JSON property `summaryText`
5211
+ # @return [String]
5212
+ attr_accessor :summary_text
5213
+
5214
+ def initialize(**args)
5215
+ update!(**args)
5216
+ end
5217
+
5218
+ # Update properties of this object
5219
+ def update!(**args)
5220
+ @summary_text = args[:summary_text] if args.key?(:summary_text)
5221
+ end
5222
+ end
5223
+
5127
5224
  # DLP resources used for redaction while ingesting conversations. DLP settings
5128
5225
  # are applied to conversations ingested from the `UploadConversation` and `
5129
5226
  # IngestConversations` endpoints, including conversation coming from CCAI
@@ -8119,6 +8216,7 @@ module Google
8119
8216
  # Represents a conversation, resource, and label provided by the user. Can take
8120
8217
  # the form of a string label or a QaAnswer label. QaAnswer labels are used for
8121
8218
  # Quality AI example conversations. String labels are used for Topic Modeling.
8219
+ # AgentAssistSummary labels are used for Agent Assist Summarization.
8122
8220
  class GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel
8123
8221
  include Google::Apis::Core::Hashable
8124
8222
 
@@ -8132,9 +8230,11 @@ module Google
8132
8230
  # @return [String]
8133
8231
  attr_accessor :label
8134
8232
 
8135
- # Resource name of the resource to be labeled. Supported resources: -
8136
- # qaScorecards/`scorecard`/revisions/`revision`/qaQuestions/`question` -
8137
- # issueModels/`issue_model`
8233
+ # Name of the resource to be labeled. Supported resources are: * `projects/`
8234
+ # project`/locations/`location`/qaScorecards/`scorecard`/revisions/`revision`/
8235
+ # qaQuestions/`question`` * `projects/`project`/locations/`location`/issueModels/
8236
+ # `issue_model`` * `projects/`project`/locations/`location`/generators/`
8237
+ # generator_id``
8138
8238
  # Corresponds to the JSON property `labeledResource`
8139
8239
  # @return [String]
8140
8240
  attr_accessor :labeled_resource
@@ -9650,6 +9750,38 @@ module Google
9650
9750
  end
9651
9751
  end
9652
9752
 
9753
+ # The metadata for querying performance overview.
9754
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata
9755
+ include Google::Apis::Core::Hashable
9756
+
9757
+ def initialize(**args)
9758
+ update!(**args)
9759
+ end
9760
+
9761
+ # Update properties of this object
9762
+ def update!(**args)
9763
+ end
9764
+ end
9765
+
9766
+ # The response for querying performance overview.
9767
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse
9768
+ include Google::Apis::Core::Hashable
9769
+
9770
+ # The summary text of the performance.
9771
+ # Corresponds to the JSON property `summaryText`
9772
+ # @return [String]
9773
+ attr_accessor :summary_text
9774
+
9775
+ def initialize(**args)
9776
+ update!(**args)
9777
+ end
9778
+
9779
+ # Update properties of this object
9780
+ def update!(**args)
9781
+ @summary_text = args[:summary_text] if args.key?(:summary_text)
9782
+ end
9783
+ end
9784
+
9653
9785
  # DLP resources used for redaction while ingesting conversations. DLP settings
9654
9786
  # are applied to conversations ingested from the `UploadConversation` and `
9655
9787
  # IngestConversations` endpoints, including conversation coming from CCAI
@@ -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.60.0"
19
+ GEM_VERSION = "0.62.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250311"
25
+ REVISION = "20250415"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,12 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
169
175
  class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse
170
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
177
 
@@ -184,6 +190,12 @@ module Google
184
190
  include Google::Apis::Core::JsonObjectSupport
185
191
  end
186
192
 
193
+ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
187
199
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
188
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
201
 
@@ -874,6 +886,18 @@ module Google
874
886
  include Google::Apis::Core::JsonObjectSupport
875
887
  end
876
888
 
889
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
877
901
  class GoogleCloudContactcenterinsightsV1RedactionConfig
878
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
879
903
 
@@ -1624,6 +1648,18 @@ module Google
1624
1648
  include Google::Apis::Core::JsonObjectSupport
1625
1649
  end
1626
1650
 
1651
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata
1652
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1653
+
1654
+ include Google::Apis::Core::JsonObjectSupport
1655
+ end
1656
+
1657
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse
1658
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1659
+
1660
+ include Google::Apis::Core::JsonObjectSupport
1661
+ end
1662
+
1627
1663
  class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
1628
1664
  class Representation < Google::Apis::Core::JsonRepresentation; end
1629
1665
 
@@ -1985,6 +2021,8 @@ module Google
1985
2021
 
1986
2022
  property :max_download_count, as: 'maxDownloadCount'
1987
2023
  property :parent, as: 'parent'
2024
+ property :sheets_destination, as: 'sheetsDestination', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination::Representation
2025
+
1988
2026
  collection :template_qa_scorecard_id, as: 'templateQaScorecardId'
1989
2027
  end
1990
2028
  end
@@ -2000,6 +2038,14 @@ module Google
2000
2038
  end
2001
2039
  end
2002
2040
 
2041
+ class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequestSheetsDestination
2042
+ # @private
2043
+ class Representation < Google::Apis::Core::JsonRepresentation
2044
+ property :sheet_title, as: 'sheetTitle'
2045
+ property :spreadsheet_uri, as: 'spreadsheetUri'
2046
+ end
2047
+ end
2048
+
2003
2049
  class GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsResponse
2004
2050
  # @private
2005
2051
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2011,6 +2057,8 @@ module Google
2011
2057
  class Representation < Google::Apis::Core::JsonRepresentation
2012
2058
  property :gcs_source, as: 'gcsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestGcsSource::Representation
2013
2059
 
2060
+ property :sheets_source, as: 'sheetsSource', class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource, decorator: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource::Representation
2061
+
2014
2062
  property :validate_only, as: 'validateOnly'
2015
2063
  end
2016
2064
  end
@@ -2023,6 +2071,13 @@ module Google
2023
2071
  end
2024
2072
  end
2025
2073
 
2074
+ class GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequestSheetsSource
2075
+ # @private
2076
+ class Representation < Google::Apis::Core::JsonRepresentation
2077
+ property :spreadsheet_uri, as: 'spreadsheetUri'
2078
+ end
2079
+ end
2080
+
2026
2081
  class GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
2027
2082
  # @private
2028
2083
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3207,6 +3262,19 @@ module Google
3207
3262
  end
3208
3263
  end
3209
3264
 
3265
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewMetadata
3266
+ # @private
3267
+ class Representation < Google::Apis::Core::JsonRepresentation
3268
+ end
3269
+ end
3270
+
3271
+ class GoogleCloudContactcenterinsightsV1QueryPerformanceOverviewResponse
3272
+ # @private
3273
+ class Representation < Google::Apis::Core::JsonRepresentation
3274
+ property :summary_text, as: 'summaryText'
3275
+ end
3276
+ end
3277
+
3210
3278
  class GoogleCloudContactcenterinsightsV1RedactionConfig
3211
3279
  # @private
3212
3280
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4515,6 +4583,19 @@ module Google
4515
4583
  end
4516
4584
  end
4517
4585
 
4586
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewMetadata
4587
+ # @private
4588
+ class Representation < Google::Apis::Core::JsonRepresentation
4589
+ end
4590
+ end
4591
+
4592
+ class GoogleCloudContactcenterinsightsV1alpha1QueryPerformanceOverviewResponse
4593
+ # @private
4594
+ class Representation < Google::Apis::Core::JsonRepresentation
4595
+ property :summary_text, as: 'summaryText'
4596
+ end
4597
+ end
4598
+
4518
4599
  class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
4519
4600
  # @private
4520
4601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -538,6 +538,39 @@ module Google
538
538
  execute_or_queue_command(command, &block)
539
539
  end
540
540
 
541
+ # Analyzes multiple conversations in a single request.
542
+ # @param [String] parent
543
+ # Required. The parent resource to create analyses in.
544
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
545
+ # @param [String] fields
546
+ # Selector specifying which fields to include in a partial response.
547
+ # @param [String] quota_user
548
+ # Available to use for quota purposes for server-side applications. Can be any
549
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
550
+ # @param [Google::Apis::RequestOptions] options
551
+ # Request-specific options
552
+ #
553
+ # @yield [result, err] Result & error if block supplied
554
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
555
+ # @yieldparam err [StandardError] error object if request failed
556
+ #
557
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
558
+ #
559
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
560
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
561
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
562
+ def bulk_project_location_authorized_view_set_authorized_view_conversation_analyze(parent, google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
563
+ command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
564
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
565
+ command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
566
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
567
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
568
+ command.params['parent'] = parent unless parent.nil?
569
+ command.query['fields'] = fields unless fields.nil?
570
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
571
+ execute_or_queue_command(command, &block)
572
+ end
573
+
541
574
  # Gets conversation statistics.
542
575
  # @param [String] location
543
576
  # Required. The location of the conversations.
@@ -572,6 +605,561 @@ module Google
572
605
  execute_or_queue_command(command, &block)
573
606
  end
574
607
 
608
+ # Deletes a conversation.
609
+ # @param [String] name
610
+ # Required. The name of the conversation to delete.
611
+ # @param [Boolean] force
612
+ # If set to true, all of this conversation's analyses will also be deleted.
613
+ # Otherwise, the request will only succeed if the conversation has no analyses.
614
+ # @param [String] fields
615
+ # Selector specifying which fields to include in a partial response.
616
+ # @param [String] quota_user
617
+ # Available to use for quota purposes for server-side applications. Can be any
618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
619
+ # @param [Google::Apis::RequestOptions] options
620
+ # Request-specific options
621
+ #
622
+ # @yield [result, err] Result & error if block supplied
623
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
624
+ # @yieldparam err [StandardError] error object if request failed
625
+ #
626
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
627
+ #
628
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
629
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
630
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
631
+ def delete_project_location_authorized_view_set_authorized_view_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
632
+ command = make_simple_command(:delete, 'v1/{+name}', options)
633
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
634
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
635
+ command.params['name'] = name unless name.nil?
636
+ command.query['force'] = force unless force.nil?
637
+ command.query['fields'] = fields unless fields.nil?
638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
639
+ execute_or_queue_command(command, &block)
640
+ end
641
+
642
+ # Gets a conversation.
643
+ # @param [String] name
644
+ # Required. The name of the conversation to get.
645
+ # @param [String] view
646
+ # The level of details of the conversation. Default is `FULL`.
647
+ # @param [String] fields
648
+ # Selector specifying which fields to include in a partial response.
649
+ # @param [String] quota_user
650
+ # Available to use for quota purposes for server-side applications. Can be any
651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
652
+ # @param [Google::Apis::RequestOptions] options
653
+ # Request-specific options
654
+ #
655
+ # @yield [result, err] Result & error if block supplied
656
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
657
+ # @yieldparam err [StandardError] error object if request failed
658
+ #
659
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
660
+ #
661
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
662
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
663
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
664
+ def get_project_location_authorized_view_set_authorized_view_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
665
+ command = make_simple_command(:get, 'v1/{+name}', options)
666
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
667
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
668
+ command.params['name'] = name unless name.nil?
669
+ command.query['view'] = view unless view.nil?
670
+ command.query['fields'] = fields unless fields.nil?
671
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
672
+ execute_or_queue_command(command, &block)
673
+ end
674
+
675
+ # Lists conversations.
676
+ # @param [String] parent
677
+ # Required. The parent resource of the conversation.
678
+ # @param [String] filter
679
+ # A filter to reduce results to a specific subset. Useful for querying
680
+ # conversations with specific properties.
681
+ # @param [String] order_by
682
+ # Optional. The attribute by which to order conversations in the response. If
683
+ # empty, conversations will be ordered by descending creation time. Supported
684
+ # values are one of the following: * create_time * customer_satisfaction_rating *
685
+ # duration * latest_analysis * start_time * turn_count The default sort order
686
+ # is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
687
+ # For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
688
+ # ordering).
689
+ # @param [Fixnum] page_size
690
+ # The maximum number of conversations to return in the response. A valid page
691
+ # size ranges from 0 to 100,000 inclusive. If the page size is zero or
692
+ # unspecified, a default page size of 100 will be chosen. Note that a call might
693
+ # return fewer results than the requested page size.
694
+ # @param [String] page_token
695
+ # The value returned by the last `ListConversationsResponse`. This value
696
+ # indicates that this is a continuation of a prior `ListConversations` call and
697
+ # that the system should return the next page of data.
698
+ # @param [String] view
699
+ # The level of details of the conversation. Default is `BASIC`.
700
+ # @param [String] fields
701
+ # Selector specifying which fields to include in a partial response.
702
+ # @param [String] quota_user
703
+ # Available to use for quota purposes for server-side applications. Can be any
704
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
705
+ # @param [Google::Apis::RequestOptions] options
706
+ # Request-specific options
707
+ #
708
+ # @yield [result, err] Result & error if block supplied
709
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
710
+ # @yieldparam err [StandardError] error object if request failed
711
+ #
712
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
713
+ #
714
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
715
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
716
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
717
+ def list_project_location_authorized_view_set_authorized_view_conversations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
718
+ command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
719
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
720
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
721
+ command.params['parent'] = parent unless parent.nil?
722
+ command.query['filter'] = filter unless filter.nil?
723
+ command.query['orderBy'] = order_by unless order_by.nil?
724
+ command.query['pageSize'] = page_size unless page_size.nil?
725
+ command.query['pageToken'] = page_token unless page_token.nil?
726
+ command.query['view'] = view unless view.nil?
727
+ command.query['fields'] = fields unless fields.nil?
728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
729
+ execute_or_queue_command(command, &block)
730
+ end
731
+
732
+ # Creates an analysis. The long running operation is done when the analysis has
733
+ # completed.
734
+ # @param [String] parent
735
+ # Required. The parent resource of the analysis.
736
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
737
+ # @param [String] fields
738
+ # Selector specifying which fields to include in a partial response.
739
+ # @param [String] quota_user
740
+ # Available to use for quota purposes for server-side applications. Can be any
741
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
742
+ # @param [Google::Apis::RequestOptions] options
743
+ # Request-specific options
744
+ #
745
+ # @yield [result, err] Result & error if block supplied
746
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
747
+ # @yieldparam err [StandardError] error object if request failed
748
+ #
749
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
750
+ #
751
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
752
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
754
+ def create_project_location_authorized_view_set_authorized_view_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
755
+ command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
756
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
757
+ command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
758
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
759
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
760
+ command.params['parent'] = parent unless parent.nil?
761
+ command.query['fields'] = fields unless fields.nil?
762
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
763
+ execute_or_queue_command(command, &block)
764
+ end
765
+
766
+ # Deletes an analysis.
767
+ # @param [String] name
768
+ # Required. The name of the analysis to delete.
769
+ # @param [String] fields
770
+ # Selector specifying which fields to include in a partial response.
771
+ # @param [String] quota_user
772
+ # Available to use for quota purposes for server-side applications. Can be any
773
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
774
+ # @param [Google::Apis::RequestOptions] options
775
+ # Request-specific options
776
+ #
777
+ # @yield [result, err] Result & error if block supplied
778
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
779
+ # @yieldparam err [StandardError] error object if request failed
780
+ #
781
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
782
+ #
783
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
784
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
785
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
786
+ def delete_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
787
+ command = make_simple_command(:delete, 'v1/{+name}', options)
788
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
789
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
790
+ command.params['name'] = name unless name.nil?
791
+ command.query['fields'] = fields unless fields.nil?
792
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
793
+ execute_or_queue_command(command, &block)
794
+ end
795
+
796
+ # Gets an analysis.
797
+ # @param [String] name
798
+ # Required. The name of the analysis to get.
799
+ # @param [String] fields
800
+ # Selector specifying which fields to include in a partial response.
801
+ # @param [String] quota_user
802
+ # Available to use for quota purposes for server-side applications. Can be any
803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
804
+ # @param [Google::Apis::RequestOptions] options
805
+ # Request-specific options
806
+ #
807
+ # @yield [result, err] Result & error if block supplied
808
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
809
+ # @yieldparam err [StandardError] error object if request failed
810
+ #
811
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
812
+ #
813
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
814
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
815
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
816
+ def get_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
817
+ command = make_simple_command(:get, 'v1/{+name}', options)
818
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
819
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
820
+ command.params['name'] = name unless name.nil?
821
+ command.query['fields'] = fields unless fields.nil?
822
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
823
+ execute_or_queue_command(command, &block)
824
+ end
825
+
826
+ # Lists analyses.
827
+ # @param [String] parent
828
+ # Required. The parent resource of the analyses.
829
+ # @param [String] filter
830
+ # A filter to reduce results to a specific subset. Useful for querying
831
+ # conversations with specific properties.
832
+ # @param [Fixnum] page_size
833
+ # The maximum number of analyses to return in the response. If this value is
834
+ # zero, the service will select a default size. A call might return fewer
835
+ # objects than requested. A non-empty `next_page_token` in the response
836
+ # indicates that more data is available.
837
+ # @param [String] page_token
838
+ # The value returned by the last `ListAnalysesResponse`; indicates that this is
839
+ # a continuation of a prior `ListAnalyses` call and the system should return the
840
+ # next page of data.
841
+ # @param [String] fields
842
+ # Selector specifying which fields to include in a partial response.
843
+ # @param [String] quota_user
844
+ # Available to use for quota purposes for server-side applications. Can be any
845
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
846
+ # @param [Google::Apis::RequestOptions] options
847
+ # Request-specific options
848
+ #
849
+ # @yield [result, err] Result & error if block supplied
850
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
851
+ # @yieldparam err [StandardError] error object if request failed
852
+ #
853
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
854
+ #
855
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
856
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
857
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
858
+ def list_project_location_authorized_view_set_authorized_view_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
859
+ command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
860
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
861
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
862
+ command.params['parent'] = parent unless parent.nil?
863
+ command.query['filter'] = filter unless filter.nil?
864
+ command.query['pageSize'] = page_size unless page_size.nil?
865
+ command.query['pageToken'] = page_token unless page_token.nil?
866
+ command.query['fields'] = fields unless fields.nil?
867
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
868
+ execute_or_queue_command(command, &block)
869
+ end
870
+
871
+ # Create feedback label.
872
+ # @param [String] parent
873
+ # Required. The parent resource of the feedback label.
874
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
875
+ # @param [String] feedback_label_id
876
+ # Optional. The ID of the feedback label to create. If one is not specified it
877
+ # will be generated by the server.
878
+ # @param [String] fields
879
+ # Selector specifying which fields to include in a partial response.
880
+ # @param [String] quota_user
881
+ # Available to use for quota purposes for server-side applications. Can be any
882
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
883
+ # @param [Google::Apis::RequestOptions] options
884
+ # Request-specific options
885
+ #
886
+ # @yield [result, err] Result & error if block supplied
887
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
888
+ # @yieldparam err [StandardError] error object if request failed
889
+ #
890
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
891
+ #
892
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
893
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
894
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
895
+ def create_project_location_authorized_view_set_authorized_view_conversation_feedback_label(parent, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, feedback_label_id: nil, fields: nil, quota_user: nil, options: nil, &block)
896
+ command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
897
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
898
+ command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
899
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
900
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
901
+ command.params['parent'] = parent unless parent.nil?
902
+ command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
903
+ command.query['fields'] = fields unless fields.nil?
904
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
905
+ execute_or_queue_command(command, &block)
906
+ end
907
+
908
+ # Delete feedback label.
909
+ # @param [String] name
910
+ # Required. The name of the feedback label to delete.
911
+ # @param [String] fields
912
+ # Selector specifying which fields to include in a partial response.
913
+ # @param [String] quota_user
914
+ # Available to use for quota purposes for server-side applications. Can be any
915
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
916
+ # @param [Google::Apis::RequestOptions] options
917
+ # Request-specific options
918
+ #
919
+ # @yield [result, err] Result & error if block supplied
920
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
921
+ # @yieldparam err [StandardError] error object if request failed
922
+ #
923
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
924
+ #
925
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
926
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
927
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
928
+ def delete_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
929
+ command = make_simple_command(:delete, 'v1/{+name}', options)
930
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
931
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
932
+ command.params['name'] = name unless name.nil?
933
+ command.query['fields'] = fields unless fields.nil?
934
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
935
+ execute_or_queue_command(command, &block)
936
+ end
937
+
938
+ # Get feedback label.
939
+ # @param [String] name
940
+ # Required. The name of the feedback label to get.
941
+ # @param [String] fields
942
+ # Selector specifying which fields to include in a partial response.
943
+ # @param [String] quota_user
944
+ # Available to use for quota purposes for server-side applications. Can be any
945
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
946
+ # @param [Google::Apis::RequestOptions] options
947
+ # Request-specific options
948
+ #
949
+ # @yield [result, err] Result & error if block supplied
950
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
951
+ # @yieldparam err [StandardError] error object if request failed
952
+ #
953
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
954
+ #
955
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
956
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
957
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
958
+ def get_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
959
+ command = make_simple_command(:get, 'v1/{+name}', options)
960
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
961
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
962
+ command.params['name'] = name unless name.nil?
963
+ command.query['fields'] = fields unless fields.nil?
964
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
965
+ execute_or_queue_command(command, &block)
966
+ end
967
+
968
+ # List feedback labels.
969
+ # @param [String] parent
970
+ # Required. The parent resource of the feedback labels.
971
+ # @param [String] filter
972
+ # Optional. A filter to reduce results to a specific subset. Supports
973
+ # disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
974
+ # ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
975
+ # Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
976
+ # min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
977
+ # `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
978
+ # @param [Fixnum] page_size
979
+ # Optional. The maximum number of feedback labels to return in the response. A
980
+ # valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
981
+ # or unspecified, a default page size of 100 will be chosen. Note that a call
982
+ # might return fewer results than the requested page size.
983
+ # @param [String] page_token
984
+ # Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
985
+ # value indicates that this is a continuation of a prior `ListFeedbackLabels`
986
+ # call and that the system should return the next page of data.
987
+ # @param [String] fields
988
+ # Selector specifying which fields to include in a partial response.
989
+ # @param [String] quota_user
990
+ # Available to use for quota purposes for server-side applications. Can be any
991
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
992
+ # @param [Google::Apis::RequestOptions] options
993
+ # Request-specific options
994
+ #
995
+ # @yield [result, err] Result & error if block supplied
996
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
997
+ # @yieldparam err [StandardError] error object if request failed
998
+ #
999
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
1000
+ #
1001
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1002
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1003
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1004
+ def list_project_location_authorized_view_set_authorized_view_conversation_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1005
+ command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
1006
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
1007
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
1008
+ command.params['parent'] = parent unless parent.nil?
1009
+ command.query['filter'] = filter unless filter.nil?
1010
+ command.query['pageSize'] = page_size unless page_size.nil?
1011
+ command.query['pageToken'] = page_token unless page_token.nil?
1012
+ command.query['fields'] = fields unless fields.nil?
1013
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1014
+ execute_or_queue_command(command, &block)
1015
+ end
1016
+
1017
+ # Update feedback label.
1018
+ # @param [String] name
1019
+ # Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
1020
+ # locations/`location`/conversations/`conversation`/feedbackLabels/`
1021
+ # feedback_label`
1022
+ # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
1023
+ # @param [String] update_mask
1024
+ # Required. The list of fields to be updated.
1025
+ # @param [String] fields
1026
+ # Selector specifying which fields to include in a partial response.
1027
+ # @param [String] quota_user
1028
+ # Available to use for quota purposes for server-side applications. Can be any
1029
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1030
+ # @param [Google::Apis::RequestOptions] options
1031
+ # Request-specific options
1032
+ #
1033
+ # @yield [result, err] Result & error if block supplied
1034
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
1035
+ # @yieldparam err [StandardError] error object if request failed
1036
+ #
1037
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
1038
+ #
1039
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1040
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1041
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1042
+ def patch_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1043
+ command = make_simple_command(:patch, 'v1/{+name}', options)
1044
+ command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
1045
+ command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
1046
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
1047
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
1048
+ command.params['name'] = name unless name.nil?
1049
+ command.query['updateMask'] = update_mask unless update_mask.nil?
1050
+ command.query['fields'] = fields unless fields.nil?
1051
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1052
+ execute_or_queue_command(command, &block)
1053
+ end
1054
+
1055
+ # Starts asynchronous cancellation on a long-running operation. The server makes
1056
+ # a best effort to cancel the operation, but success is not guaranteed. If the
1057
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1058
+ # Clients can use Operations.GetOperation or other methods to check whether the
1059
+ # cancellation succeeded or whether the operation completed despite cancellation.
1060
+ # On successful cancellation, the operation is not deleted; instead, it becomes
1061
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1062
+ # , corresponding to `Code.CANCELLED`.
1063
+ # @param [String] name
1064
+ # The name of the operation resource to be cancelled.
1065
+ # @param [String] fields
1066
+ # Selector specifying which fields to include in a partial response.
1067
+ # @param [String] quota_user
1068
+ # Available to use for quota purposes for server-side applications. Can be any
1069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1070
+ # @param [Google::Apis::RequestOptions] options
1071
+ # Request-specific options
1072
+ #
1073
+ # @yield [result, err] Result & error if block supplied
1074
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
1075
+ # @yieldparam err [StandardError] error object if request failed
1076
+ #
1077
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
1078
+ #
1079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1082
+ def cancel_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1083
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
1084
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
1085
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
1086
+ command.params['name'] = name unless name.nil?
1087
+ command.query['fields'] = fields unless fields.nil?
1088
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1089
+ execute_or_queue_command(command, &block)
1090
+ end
1091
+
1092
+ # Gets the latest state of a long-running operation. Clients can use this method
1093
+ # to poll the operation result at intervals as recommended by the API service.
1094
+ # @param [String] name
1095
+ # The name of the operation resource.
1096
+ # @param [String] fields
1097
+ # Selector specifying which fields to include in a partial response.
1098
+ # @param [String] quota_user
1099
+ # Available to use for quota purposes for server-side applications. Can be any
1100
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1101
+ # @param [Google::Apis::RequestOptions] options
1102
+ # Request-specific options
1103
+ #
1104
+ # @yield [result, err] Result & error if block supplied
1105
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
1106
+ # @yieldparam err [StandardError] error object if request failed
1107
+ #
1108
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
1109
+ #
1110
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1111
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1112
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1113
+ def get_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1114
+ command = make_simple_command(:get, 'v1/{+name}', options)
1115
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
1116
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
1117
+ command.params['name'] = name unless name.nil?
1118
+ command.query['fields'] = fields unless fields.nil?
1119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1120
+ execute_or_queue_command(command, &block)
1121
+ end
1122
+
1123
+ # Lists operations that match the specified filter in the request. If the server
1124
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
1125
+ # @param [String] name
1126
+ # The name of the operation's parent resource.
1127
+ # @param [String] filter
1128
+ # The standard list filter.
1129
+ # @param [Fixnum] page_size
1130
+ # The standard list page size.
1131
+ # @param [String] page_token
1132
+ # The standard list page token.
1133
+ # @param [String] fields
1134
+ # Selector specifying which fields to include in a partial response.
1135
+ # @param [String] quota_user
1136
+ # Available to use for quota purposes for server-side applications. Can be any
1137
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1138
+ # @param [Google::Apis::RequestOptions] options
1139
+ # Request-specific options
1140
+ #
1141
+ # @yield [result, err] Result & error if block supplied
1142
+ # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse] parsed result object
1143
+ # @yieldparam err [StandardError] error object if request failed
1144
+ #
1145
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
1146
+ #
1147
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1148
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1149
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1150
+ def list_project_location_authorized_view_set_authorized_view_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1151
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
1152
+ command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse::Representation
1153
+ command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse
1154
+ command.params['name'] = name unless name.nil?
1155
+ command.query['filter'] = filter unless filter.nil?
1156
+ command.query['pageSize'] = page_size unless page_size.nil?
1157
+ command.query['pageToken'] = page_token unless page_token.nil?
1158
+ command.query['fields'] = fields unless fields.nil?
1159
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1160
+ execute_or_queue_command(command, &block)
1161
+ end
1162
+
575
1163
  # Analyzes multiple conversations in a single request.
576
1164
  # @param [String] parent
577
1165
  # Required. The parent resource to create analyses in.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contactcenterinsights_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contactcenterinsights_v1/v0.62.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: