google-apis-contactcenterinsights_v1 0.61.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: b64eca4596cab396bfb71ae9656263fa48dbf730a872cc0ceaef78a477fd85b7
4
- data.tar.gz: 6f947f7437684f326c90c4736866608ff70b26c208dfa783a932741bc49495f9
3
+ metadata.gz: d2f88cc0f58f2a13130685c7c06b07e7397fe059aaaf5e01423c9dd035ada493
4
+ data.tar.gz: b7a6aaeae8837450000aaa80d5e34daabbd0f03411438b90401ff735c7c0795a
5
5
  SHA512:
6
- metadata.gz: 9a09358f0d8378c9c9ba74999ffe0c61a512f8f4ad6aef6f066f8281a595d6b6aeaab77eff4db3db84094b7edf9df75e9c3c4804c238e7b3a45160a334eb224b
7
- data.tar.gz: 422a2f6456cdcddb20e74485bdf1093ea5c9cf6e758d7b1ea5f7feb17a02df0f67939b56f5e0989a7810081c66cc337a163dbf3aed988f0d0cff289404be5e21
6
+ metadata.gz: b699c9f53cf3e97788ce97cc08054c0c362bbffc56edab617e6de4212a423357d17571746b1abc9f901f991b98818ccfc1ef892f3003cacd0c6da262739c5265
7
+ data.tar.gz: b9526cc5c8bc860f9b149de46db23c12863ebec99c20c2f46c9c0f176829568b28b87b3a9a21b4c9a6ab27199141dd77b0b49f0d9bdf76b22f4583f4113053a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.61.0 (2025-03-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20250320
@@ -2906,6 +2906,7 @@ module Google
2906
2906
  # Represents a conversation, resource, and label provided by the user. Can take
2907
2907
  # the form of a string label or a QaAnswer label. QaAnswer labels are used for
2908
2908
  # Quality AI example conversations. String labels are used for Topic Modeling.
2909
+ # AgentAssistSummary labels are used for Agent Assist Summarization.
2909
2910
  class GoogleCloudContactcenterinsightsV1FeedbackLabel
2910
2911
  include Google::Apis::Core::Hashable
2911
2912
 
@@ -2919,9 +2920,11 @@ module Google
2919
2920
  # @return [String]
2920
2921
  attr_accessor :label
2921
2922
 
2922
- # Resource name of the resource to be labeled. Supported resources: -
2923
- # qaScorecards/`scorecard`/revisions/`revision`/qaQuestions/`question` -
2924
- # 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``
2925
2928
  # Corresponds to the JSON property `labeledResource`
2926
2929
  # @return [String]
2927
2930
  attr_accessor :labeled_resource
@@ -8213,6 +8216,7 @@ module Google
8213
8216
  # Represents a conversation, resource, and label provided by the user. Can take
8214
8217
  # the form of a string label or a QaAnswer label. QaAnswer labels are used for
8215
8218
  # Quality AI example conversations. String labels are used for Topic Modeling.
8219
+ # AgentAssistSummary labels are used for Agent Assist Summarization.
8216
8220
  class GoogleCloudContactcenterinsightsV1alpha1FeedbackLabel
8217
8221
  include Google::Apis::Core::Hashable
8218
8222
 
@@ -8226,9 +8230,11 @@ module Google
8226
8230
  # @return [String]
8227
8231
  attr_accessor :label
8228
8232
 
8229
- # Resource name of the resource to be labeled. Supported resources: -
8230
- # qaScorecards/`scorecard`/revisions/`revision`/qaQuestions/`question` -
8231
- # 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``
8232
8238
  # Corresponds to the JSON property `labeledResource`
8233
8239
  # @return [String]
8234
8240
  attr_accessor :labeled_resource
@@ -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.61.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 = "20250320"
25
+ REVISION = "20250415"
26
26
  end
27
27
  end
28
28
  end
@@ -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.61.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-30 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.61.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: