google-apis-contactcenterinsights_v1 0.53.0 → 0.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -536,815 +536,6 @@ module Google
536
536
  execute_or_queue_command(command, &block)
537
537
  end
538
538
 
539
- # Create feedback label.
540
- # @param [String] parent
541
- # Required. The parent resource of the feedback label.
542
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
543
- # @param [String] feedback_label_id
544
- # Optional. The ID of the feedback label to create. If one is not specified it
545
- # will be generated by the server.
546
- # @param [String] fields
547
- # Selector specifying which fields to include in a partial response.
548
- # @param [String] quota_user
549
- # Available to use for quota purposes for server-side applications. Can be any
550
- # arbitrary string assigned to a user, but should not exceed 40 characters.
551
- # @param [Google::Apis::RequestOptions] options
552
- # Request-specific options
553
- #
554
- # @yield [result, err] Result & error if block supplied
555
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
556
- # @yieldparam err [StandardError] error object if request failed
557
- #
558
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
559
- #
560
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
561
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
562
- # @raise [Google::Apis::AuthorizationError] Authorization is required
563
- 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)
564
- command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
565
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
566
- command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
567
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
568
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
569
- command.params['parent'] = parent unless parent.nil?
570
- command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
571
- command.query['fields'] = fields unless fields.nil?
572
- command.query['quotaUser'] = quota_user unless quota_user.nil?
573
- execute_or_queue_command(command, &block)
574
- end
575
-
576
- # Delete feedback label.
577
- # @param [String] name
578
- # Required. The name of the feedback label to delete.
579
- # @param [String] fields
580
- # Selector specifying which fields to include in a partial response.
581
- # @param [String] quota_user
582
- # Available to use for quota purposes for server-side applications. Can be any
583
- # arbitrary string assigned to a user, but should not exceed 40 characters.
584
- # @param [Google::Apis::RequestOptions] options
585
- # Request-specific options
586
- #
587
- # @yield [result, err] Result & error if block supplied
588
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
589
- # @yieldparam err [StandardError] error object if request failed
590
- #
591
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
592
- #
593
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
594
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
595
- # @raise [Google::Apis::AuthorizationError] Authorization is required
596
- def delete_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
597
- command = make_simple_command(:delete, 'v1/{+name}', options)
598
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
599
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
600
- command.params['name'] = name unless name.nil?
601
- command.query['fields'] = fields unless fields.nil?
602
- command.query['quotaUser'] = quota_user unless quota_user.nil?
603
- execute_or_queue_command(command, &block)
604
- end
605
-
606
- # Get feedback label.
607
- # @param [String] name
608
- # Required. The name of the feedback label to get.
609
- # @param [String] fields
610
- # Selector specifying which fields to include in a partial response.
611
- # @param [String] quota_user
612
- # Available to use for quota purposes for server-side applications. Can be any
613
- # arbitrary string assigned to a user, but should not exceed 40 characters.
614
- # @param [Google::Apis::RequestOptions] options
615
- # Request-specific options
616
- #
617
- # @yield [result, err] Result & error if block supplied
618
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
619
- # @yieldparam err [StandardError] error object if request failed
620
- #
621
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
622
- #
623
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
624
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
625
- # @raise [Google::Apis::AuthorizationError] Authorization is required
626
- def get_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
627
- command = make_simple_command(:get, 'v1/{+name}', options)
628
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
629
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
630
- command.params['name'] = name unless name.nil?
631
- command.query['fields'] = fields unless fields.nil?
632
- command.query['quotaUser'] = quota_user unless quota_user.nil?
633
- execute_or_queue_command(command, &block)
634
- end
635
-
636
- # List feedback labels.
637
- # @param [String] parent
638
- # Required. The parent resource of the feedback labels.
639
- # @param [String] filter
640
- # Optional. A filter to reduce results to a specific subset. Supports
641
- # disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
642
- # ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
643
- # Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
644
- # min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
645
- # `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
646
- # @param [Fixnum] page_size
647
- # Optional. The maximum number of feedback labels to return in the response. A
648
- # valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
649
- # or unspecified, a default page size of 100 will be chosen. Note that a call
650
- # might return fewer results than the requested page size.
651
- # @param [String] page_token
652
- # Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
653
- # value indicates that this is a continuation of a prior `ListFeedbackLabels`
654
- # call and that the system should return the next page of data.
655
- # @param [String] fields
656
- # Selector specifying which fields to include in a partial response.
657
- # @param [String] quota_user
658
- # Available to use for quota purposes for server-side applications. Can be any
659
- # arbitrary string assigned to a user, but should not exceed 40 characters.
660
- # @param [Google::Apis::RequestOptions] options
661
- # Request-specific options
662
- #
663
- # @yield [result, err] Result & error if block supplied
664
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
665
- # @yieldparam err [StandardError] error object if request failed
666
- #
667
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
668
- #
669
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
670
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
671
- # @raise [Google::Apis::AuthorizationError] Authorization is required
672
- 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)
673
- command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
674
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
675
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
676
- command.params['parent'] = parent unless parent.nil?
677
- command.query['filter'] = filter unless filter.nil?
678
- command.query['pageSize'] = page_size unless page_size.nil?
679
- command.query['pageToken'] = page_token unless page_token.nil?
680
- command.query['fields'] = fields unless fields.nil?
681
- command.query['quotaUser'] = quota_user unless quota_user.nil?
682
- execute_or_queue_command(command, &block)
683
- end
684
-
685
- # Update feedback label.
686
- # @param [String] name
687
- # Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
688
- # locations/`location`/conversations/`conversation`/feedbackLabels/`
689
- # feedback_label`
690
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
691
- # @param [String] update_mask
692
- # Required. The list of fields to be updated.
693
- # @param [String] fields
694
- # Selector specifying which fields to include in a partial response.
695
- # @param [String] quota_user
696
- # Available to use for quota purposes for server-side applications. Can be any
697
- # arbitrary string assigned to a user, but should not exceed 40 characters.
698
- # @param [Google::Apis::RequestOptions] options
699
- # Request-specific options
700
- #
701
- # @yield [result, err] Result & error if block supplied
702
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
703
- # @yieldparam err [StandardError] error object if request failed
704
- #
705
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
706
- #
707
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
708
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
709
- # @raise [Google::Apis::AuthorizationError] Authorization is required
710
- 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)
711
- command = make_simple_command(:patch, 'v1/{+name}', options)
712
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
713
- command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
714
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
715
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
716
- command.params['name'] = name unless name.nil?
717
- command.query['updateMask'] = update_mask unless update_mask.nil?
718
- command.query['fields'] = fields unless fields.nil?
719
- command.query['quotaUser'] = quota_user unless quota_user.nil?
720
- execute_or_queue_command(command, &block)
721
- end
722
-
723
- # Gets the access control policy for a resource. Returns an empty policy if the
724
- # resource exists and does not have a policy set.
725
- # @param [String] resource
726
- # REQUIRED: The resource for which the policy is being requested. See [Resource
727
- # names](https://cloud.google.com/apis/design/resource_names) for the
728
- # appropriate value for this field.
729
- # @param [Fixnum] options_requested_policy_version
730
- # Optional. The maximum policy version that will be used to format the policy.
731
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
732
- # rejected. Requests for policies with any conditional role bindings must
733
- # specify version 3. Policies with no conditional role bindings may specify any
734
- # valid value or leave the field unset. The policy in the response might use the
735
- # policy version that you specified, or it might use a lower policy version. For
736
- # example, if you specify version 3, but the policy has no conditional role
737
- # bindings, the response uses version 1. To learn which resources support
738
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
739
- # google.com/iam/help/conditions/resource-policies).
740
- # @param [String] fields
741
- # Selector specifying which fields to include in a partial response.
742
- # @param [String] quota_user
743
- # Available to use for quota purposes for server-side applications. Can be any
744
- # arbitrary string assigned to a user, but should not exceed 40 characters.
745
- # @param [Google::Apis::RequestOptions] options
746
- # Request-specific options
747
- #
748
- # @yield [result, err] Result & error if block supplied
749
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy] parsed result object
750
- # @yieldparam err [StandardError] error object if request failed
751
- #
752
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
753
- #
754
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
755
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
756
- # @raise [Google::Apis::AuthorizationError] Authorization is required
757
- def get_project_location_authorized_view_set_authorized_view_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
758
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
759
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
760
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy
761
- command.params['resource'] = resource unless resource.nil?
762
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
763
- command.query['fields'] = fields unless fields.nil?
764
- command.query['quotaUser'] = quota_user unless quota_user.nil?
765
- execute_or_queue_command(command, &block)
766
- end
767
-
768
- # Sets the access control policy on the specified resource. Replaces any
769
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
770
- # PERMISSION_DENIED` errors.
771
- # @param [String] resource
772
- # REQUIRED: The resource for which the policy is being specified. See [Resource
773
- # names](https://cloud.google.com/apis/design/resource_names) for the
774
- # appropriate value for this field.
775
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
776
- # @param [String] fields
777
- # Selector specifying which fields to include in a partial response.
778
- # @param [String] quota_user
779
- # Available to use for quota purposes for server-side applications. Can be any
780
- # arbitrary string assigned to a user, but should not exceed 40 characters.
781
- # @param [Google::Apis::RequestOptions] options
782
- # Request-specific options
783
- #
784
- # @yield [result, err] Result & error if block supplied
785
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy] parsed result object
786
- # @yieldparam err [StandardError] error object if request failed
787
- #
788
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy]
789
- #
790
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
791
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
792
- # @raise [Google::Apis::AuthorizationError] Authorization is required
793
- def set_project_location_authorized_view_set_authorized_view_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
794
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
795
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1SetIamPolicyRequest::Representation
796
- command.request_object = google_iam_v1_set_iam_policy_request_object
797
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy::Representation
798
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1Policy
799
- command.params['resource'] = resource unless resource.nil?
800
- command.query['fields'] = fields unless fields.nil?
801
- command.query['quotaUser'] = quota_user unless quota_user.nil?
802
- execute_or_queue_command(command, &block)
803
- end
804
-
805
- # Returns permissions that a caller has on the specified resource. If the
806
- # resource does not exist, this will return an empty set of permissions, not a `
807
- # NOT_FOUND` error. Note: This operation is designed to be used for building
808
- # permission-aware UIs and command-line tools, not for authorization checking.
809
- # This operation may "fail open" without warning.
810
- # @param [String] resource
811
- # REQUIRED: The resource for which the policy detail is being requested. See [
812
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
813
- # appropriate value for this field.
814
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
815
- # @param [String] fields
816
- # Selector specifying which fields to include in a partial response.
817
- # @param [String] quota_user
818
- # Available to use for quota purposes for server-side applications. Can be any
819
- # arbitrary string assigned to a user, but should not exceed 40 characters.
820
- # @param [Google::Apis::RequestOptions] options
821
- # Request-specific options
822
- #
823
- # @yield [result, err] Result & error if block supplied
824
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
825
- # @yieldparam err [StandardError] error object if request failed
826
- #
827
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse]
828
- #
829
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
830
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
831
- # @raise [Google::Apis::AuthorizationError] Authorization is required
832
- def test_project_location_authorized_view_set_authorized_view_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
833
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
834
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsRequest::Representation
835
- command.request_object = google_iam_v1_test_iam_permissions_request_object
836
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse::Representation
837
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleIamV1TestIamPermissionsResponse
838
- command.params['resource'] = resource unless resource.nil?
839
- command.query['fields'] = fields unless fields.nil?
840
- command.query['quotaUser'] = quota_user unless quota_user.nil?
841
- execute_or_queue_command(command, &block)
842
- end
843
-
844
- # Creates a conversation. Note that this method does not support audio
845
- # transcription or redaction. Use `conversations.upload` instead.
846
- # @param [String] parent
847
- # Required. The parent resource of the conversation.
848
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
849
- # @param [String] conversation_id
850
- # A unique ID for the new conversation. This ID will become the final component
851
- # of the conversation's resource name. If no ID is specified, a server-generated
852
- # ID will be used. This value should be 4-64 characters and must match the
853
- # regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
854
- # @param [String] fields
855
- # Selector specifying which fields to include in a partial response.
856
- # @param [String] quota_user
857
- # Available to use for quota purposes for server-side applications. Can be any
858
- # arbitrary string assigned to a user, but should not exceed 40 characters.
859
- # @param [Google::Apis::RequestOptions] options
860
- # Request-specific options
861
- #
862
- # @yield [result, err] Result & error if block supplied
863
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
864
- # @yieldparam err [StandardError] error object if request failed
865
- #
866
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
867
- #
868
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
869
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
870
- # @raise [Google::Apis::AuthorizationError] Authorization is required
871
- def create_project_location_authorized_view_set_authorized_view_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
872
- command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
873
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
874
- command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
875
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
876
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
877
- command.params['parent'] = parent unless parent.nil?
878
- command.query['conversationId'] = conversation_id unless conversation_id.nil?
879
- command.query['fields'] = fields unless fields.nil?
880
- command.query['quotaUser'] = quota_user unless quota_user.nil?
881
- execute_or_queue_command(command, &block)
882
- end
883
-
884
- # Deletes a conversation.
885
- # @param [String] name
886
- # Required. The name of the conversation to delete.
887
- # @param [Boolean] force
888
- # If set to true, all of this conversation's analyses will also be deleted.
889
- # Otherwise, the request will only succeed if the conversation has no analyses.
890
- # @param [String] fields
891
- # Selector specifying which fields to include in a partial response.
892
- # @param [String] quota_user
893
- # Available to use for quota purposes for server-side applications. Can be any
894
- # arbitrary string assigned to a user, but should not exceed 40 characters.
895
- # @param [Google::Apis::RequestOptions] options
896
- # Request-specific options
897
- #
898
- # @yield [result, err] Result & error if block supplied
899
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
900
- # @yieldparam err [StandardError] error object if request failed
901
- #
902
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
903
- #
904
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
905
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
906
- # @raise [Google::Apis::AuthorizationError] Authorization is required
907
- def delete_project_location_authorized_view_set_authorized_view_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
908
- command = make_simple_command(:delete, 'v1/{+name}', options)
909
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
910
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
911
- command.params['name'] = name unless name.nil?
912
- command.query['force'] = force unless force.nil?
913
- command.query['fields'] = fields unless fields.nil?
914
- command.query['quotaUser'] = quota_user unless quota_user.nil?
915
- execute_or_queue_command(command, &block)
916
- end
917
-
918
- # Gets a conversation.
919
- # @param [String] name
920
- # Required. The name of the conversation to get.
921
- # @param [String] view
922
- # The level of details of the conversation. Default is `FULL`.
923
- # @param [String] fields
924
- # Selector specifying which fields to include in a partial response.
925
- # @param [String] quota_user
926
- # Available to use for quota purposes for server-side applications. Can be any
927
- # arbitrary string assigned to a user, but should not exceed 40 characters.
928
- # @param [Google::Apis::RequestOptions] options
929
- # Request-specific options
930
- #
931
- # @yield [result, err] Result & error if block supplied
932
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
933
- # @yieldparam err [StandardError] error object if request failed
934
- #
935
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
936
- #
937
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
938
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
939
- # @raise [Google::Apis::AuthorizationError] Authorization is required
940
- def get_project_location_authorized_view_set_authorized_view_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
941
- command = make_simple_command(:get, 'v1/{+name}', options)
942
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
943
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
944
- command.params['name'] = name unless name.nil?
945
- command.query['view'] = view unless view.nil?
946
- command.query['fields'] = fields unless fields.nil?
947
- command.query['quotaUser'] = quota_user unless quota_user.nil?
948
- execute_or_queue_command(command, &block)
949
- end
950
-
951
- # Lists conversations.
952
- # @param [String] parent
953
- # Required. The parent resource of the conversation.
954
- # @param [String] filter
955
- # A filter to reduce results to a specific subset. Useful for querying
956
- # conversations with specific properties.
957
- # @param [String] order_by
958
- # Optional. The attribute by which to order conversations in the response. If
959
- # empty, conversations will be ordered by descending creation time. Supported
960
- # values are one of the following: * create_time * customer_satisfaction_rating *
961
- # duration * latest_analysis * start_time * turn_count The default sort order
962
- # is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
963
- # For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
964
- # ordering).
965
- # @param [Fixnum] page_size
966
- # The maximum number of conversations to return in the response. A valid page
967
- # size ranges from 0 to 100,000 inclusive. If the page size is zero or
968
- # unspecified, a default page size of 100 will be chosen. Note that a call might
969
- # return fewer results than the requested page size.
970
- # @param [String] page_token
971
- # The value returned by the last `ListConversationsResponse`. This value
972
- # indicates that this is a continuation of a prior `ListConversations` call and
973
- # that the system should return the next page of data.
974
- # @param [String] view
975
- # The level of details of the conversation. Default is `BASIC`.
976
- # @param [String] fields
977
- # Selector specifying which fields to include in a partial response.
978
- # @param [String] quota_user
979
- # Available to use for quota purposes for server-side applications. Can be any
980
- # arbitrary string assigned to a user, but should not exceed 40 characters.
981
- # @param [Google::Apis::RequestOptions] options
982
- # Request-specific options
983
- #
984
- # @yield [result, err] Result & error if block supplied
985
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
986
- # @yieldparam err [StandardError] error object if request failed
987
- #
988
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
989
- #
990
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
991
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
992
- # @raise [Google::Apis::AuthorizationError] Authorization is required
993
- 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)
994
- command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
995
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
996
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
997
- command.params['parent'] = parent unless parent.nil?
998
- command.query['filter'] = filter unless filter.nil?
999
- command.query['orderBy'] = order_by unless order_by.nil?
1000
- command.query['pageSize'] = page_size unless page_size.nil?
1001
- command.query['pageToken'] = page_token unless page_token.nil?
1002
- command.query['view'] = view unless view.nil?
1003
- command.query['fields'] = fields unless fields.nil?
1004
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1005
- execute_or_queue_command(command, &block)
1006
- end
1007
-
1008
- # Updates a conversation.
1009
- # @param [String] name
1010
- # Immutable. The resource name of the conversation. Format: projects/`project`/
1011
- # locations/`location`/conversations/`conversation`
1012
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
1013
- # @param [String] update_mask
1014
- # The list of fields to be updated. All possible fields can be updated by
1015
- # passing `*`, or a subset of the following updateable fields can be provided: *
1016
- # `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
1017
- # call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
1018
- # gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
1019
- # @param [String] fields
1020
- # Selector specifying which fields to include in a partial response.
1021
- # @param [String] quota_user
1022
- # Available to use for quota purposes for server-side applications. Can be any
1023
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1024
- # @param [Google::Apis::RequestOptions] options
1025
- # Request-specific options
1026
- #
1027
- # @yield [result, err] Result & error if block supplied
1028
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
1029
- # @yieldparam err [StandardError] error object if request failed
1030
- #
1031
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
1032
- #
1033
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1034
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1035
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1036
- def patch_project_location_authorized_view_set_authorized_view_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1037
- command = make_simple_command(:patch, 'v1/{+name}', options)
1038
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
1039
- command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
1040
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
1041
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
1042
- command.params['name'] = name unless name.nil?
1043
- command.query['updateMask'] = update_mask unless update_mask.nil?
1044
- command.query['fields'] = fields unless fields.nil?
1045
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1046
- execute_or_queue_command(command, &block)
1047
- end
1048
-
1049
- # Create a long-running conversation upload operation. This method differs from `
1050
- # CreateConversation` by allowing audio transcription and optional DLP redaction.
1051
- # @param [String] parent
1052
- # Required. The parent resource of the conversation.
1053
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
1054
- # @param [String] conversation_id
1055
- # Optional. A unique ID for the new conversation. This ID will become the final
1056
- # component of the conversation's resource name. If no ID is specified, a server-
1057
- # generated ID will be used. This value should be 4-64 characters and must match
1058
- # the regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
1059
- # @param [String] redaction_config_deidentify_template
1060
- # The fully-qualified DLP deidentify template resource name. Format: `projects/`
1061
- # project`/deidentifyTemplates/`template``
1062
- # @param [String] redaction_config_inspect_template
1063
- # The fully-qualified DLP inspect template resource name. Format: `projects/`
1064
- # project`/locations/`location`/inspectTemplates/`template``
1065
- # @param [String] speech_config_speech_recognizer
1066
- # The fully-qualified Speech Recognizer resource name. Format: `projects/`
1067
- # project_id`/locations/`location`/recognizer/`recognizer``
1068
- # @param [String] fields
1069
- # Selector specifying which fields to include in a partial response.
1070
- # @param [String] quota_user
1071
- # Available to use for quota purposes for server-side applications. Can be any
1072
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1073
- # @param [Google::Apis::RequestOptions] options
1074
- # Request-specific options
1075
- #
1076
- # @yield [result, err] Result & error if block supplied
1077
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
1078
- # @yieldparam err [StandardError] error object if request failed
1079
- #
1080
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
1081
- #
1082
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1083
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1084
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1085
- def upload_project_location_authorized_view_set_authorized_view_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, redaction_config_deidentify_template: nil, redaction_config_inspect_template: nil, speech_config_speech_recognizer: nil, fields: nil, quota_user: nil, options: nil, &block)
1086
- command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
1087
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
1088
- command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
1089
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
1090
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
1091
- command.params['parent'] = parent unless parent.nil?
1092
- command.query['conversationId'] = conversation_id unless conversation_id.nil?
1093
- command.query['redactionConfig.deidentifyTemplate'] = redaction_config_deidentify_template unless redaction_config_deidentify_template.nil?
1094
- command.query['redactionConfig.inspectTemplate'] = redaction_config_inspect_template unless redaction_config_inspect_template.nil?
1095
- command.query['speechConfig.speechRecognizer'] = speech_config_speech_recognizer unless speech_config_speech_recognizer.nil?
1096
- command.query['fields'] = fields unless fields.nil?
1097
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1098
- execute_or_queue_command(command, &block)
1099
- end
1100
-
1101
- # Creates an analysis. The long running operation is done when the analysis has
1102
- # completed.
1103
- # @param [String] parent
1104
- # Required. The parent resource of the analysis.
1105
- # @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
1106
- # @param [String] fields
1107
- # Selector specifying which fields to include in a partial response.
1108
- # @param [String] quota_user
1109
- # Available to use for quota purposes for server-side applications. Can be any
1110
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1111
- # @param [Google::Apis::RequestOptions] options
1112
- # Request-specific options
1113
- #
1114
- # @yield [result, err] Result & error if block supplied
1115
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
1116
- # @yieldparam err [StandardError] error object if request failed
1117
- #
1118
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
1119
- #
1120
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1121
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1122
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1123
- 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)
1124
- command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
1125
- command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
1126
- command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
1127
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
1128
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
1129
- command.params['parent'] = parent unless parent.nil?
1130
- command.query['fields'] = fields unless fields.nil?
1131
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1132
- execute_or_queue_command(command, &block)
1133
- end
1134
-
1135
- # Deletes an analysis.
1136
- # @param [String] name
1137
- # Required. The name of the analysis to delete.
1138
- # @param [String] fields
1139
- # Selector specifying which fields to include in a partial response.
1140
- # @param [String] quota_user
1141
- # Available to use for quota purposes for server-side applications. Can be any
1142
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1143
- # @param [Google::Apis::RequestOptions] options
1144
- # Request-specific options
1145
- #
1146
- # @yield [result, err] Result & error if block supplied
1147
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
1148
- # @yieldparam err [StandardError] error object if request failed
1149
- #
1150
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
1151
- #
1152
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1153
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1154
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1155
- def delete_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
1156
- command = make_simple_command(:delete, 'v1/{+name}', options)
1157
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
1158
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
1159
- command.params['name'] = name unless name.nil?
1160
- command.query['fields'] = fields unless fields.nil?
1161
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1162
- execute_or_queue_command(command, &block)
1163
- end
1164
-
1165
- # Gets an analysis.
1166
- # @param [String] name
1167
- # Required. The name of the analysis to get.
1168
- # @param [String] fields
1169
- # Selector specifying which fields to include in a partial response.
1170
- # @param [String] quota_user
1171
- # Available to use for quota purposes for server-side applications. Can be any
1172
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1173
- # @param [Google::Apis::RequestOptions] options
1174
- # Request-specific options
1175
- #
1176
- # @yield [result, err] Result & error if block supplied
1177
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
1178
- # @yieldparam err [StandardError] error object if request failed
1179
- #
1180
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
1181
- #
1182
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1183
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1184
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1185
- def get_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
1186
- command = make_simple_command(:get, 'v1/{+name}', options)
1187
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
1188
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
1189
- command.params['name'] = name unless name.nil?
1190
- command.query['fields'] = fields unless fields.nil?
1191
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1192
- execute_or_queue_command(command, &block)
1193
- end
1194
-
1195
- # Lists analyses.
1196
- # @param [String] parent
1197
- # Required. The parent resource of the analyses.
1198
- # @param [String] filter
1199
- # A filter to reduce results to a specific subset. Useful for querying
1200
- # conversations with specific properties.
1201
- # @param [Fixnum] page_size
1202
- # The maximum number of analyses to return in the response. If this value is
1203
- # zero, the service will select a default size. A call might return fewer
1204
- # objects than requested. A non-empty `next_page_token` in the response
1205
- # indicates that more data is available.
1206
- # @param [String] page_token
1207
- # The value returned by the last `ListAnalysesResponse`; indicates that this is
1208
- # a continuation of a prior `ListAnalyses` call and the system should return the
1209
- # next page of data.
1210
- # @param [String] fields
1211
- # Selector specifying which fields to include in a partial response.
1212
- # @param [String] quota_user
1213
- # Available to use for quota purposes for server-side applications. Can be any
1214
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1215
- # @param [Google::Apis::RequestOptions] options
1216
- # Request-specific options
1217
- #
1218
- # @yield [result, err] Result & error if block supplied
1219
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
1220
- # @yieldparam err [StandardError] error object if request failed
1221
- #
1222
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
1223
- #
1224
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1225
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1226
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1227
- 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)
1228
- command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
1229
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
1230
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
1231
- command.params['parent'] = parent unless parent.nil?
1232
- command.query['filter'] = filter unless filter.nil?
1233
- command.query['pageSize'] = page_size unless page_size.nil?
1234
- command.query['pageToken'] = page_token unless page_token.nil?
1235
- command.query['fields'] = fields unless fields.nil?
1236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1237
- execute_or_queue_command(command, &block)
1238
- end
1239
-
1240
- # Starts asynchronous cancellation on a long-running operation. The server makes
1241
- # a best effort to cancel the operation, but success is not guaranteed. If the
1242
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
1243
- # Clients can use Operations.GetOperation or other methods to check whether the
1244
- # cancellation succeeded or whether the operation completed despite cancellation.
1245
- # On successful cancellation, the operation is not deleted; instead, it becomes
1246
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1247
- # corresponding to `Code.CANCELLED`.
1248
- # @param [String] name
1249
- # The name of the operation resource to be cancelled.
1250
- # @param [String] fields
1251
- # Selector specifying which fields to include in a partial response.
1252
- # @param [String] quota_user
1253
- # Available to use for quota purposes for server-side applications. Can be any
1254
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1255
- # @param [Google::Apis::RequestOptions] options
1256
- # Request-specific options
1257
- #
1258
- # @yield [result, err] Result & error if block supplied
1259
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
1260
- # @yieldparam err [StandardError] error object if request failed
1261
- #
1262
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
1263
- #
1264
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1265
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1266
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1267
- def cancel_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1268
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
1269
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
1270
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
1271
- command.params['name'] = name unless name.nil?
1272
- command.query['fields'] = fields unless fields.nil?
1273
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1274
- execute_or_queue_command(command, &block)
1275
- end
1276
-
1277
- # Gets the latest state of a long-running operation. Clients can use this method
1278
- # to poll the operation result at intervals as recommended by the API service.
1279
- # @param [String] name
1280
- # The name of the operation resource.
1281
- # @param [String] fields
1282
- # Selector specifying which fields to include in a partial response.
1283
- # @param [String] quota_user
1284
- # Available to use for quota purposes for server-side applications. Can be any
1285
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1286
- # @param [Google::Apis::RequestOptions] options
1287
- # Request-specific options
1288
- #
1289
- # @yield [result, err] Result & error if block supplied
1290
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
1291
- # @yieldparam err [StandardError] error object if request failed
1292
- #
1293
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
1294
- #
1295
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1296
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1297
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1298
- def get_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1299
- command = make_simple_command(:get, 'v1/{+name}', options)
1300
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
1301
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
1302
- command.params['name'] = name unless name.nil?
1303
- command.query['fields'] = fields unless fields.nil?
1304
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1305
- execute_or_queue_command(command, &block)
1306
- end
1307
-
1308
- # Lists operations that match the specified filter in the request. If the server
1309
- # doesn't support this method, it returns `UNIMPLEMENTED`.
1310
- # @param [String] name
1311
- # The name of the operation's parent resource.
1312
- # @param [String] filter
1313
- # The standard list filter.
1314
- # @param [Fixnum] page_size
1315
- # The standard list page size.
1316
- # @param [String] page_token
1317
- # The standard list page token.
1318
- # @param [String] fields
1319
- # Selector specifying which fields to include in a partial response.
1320
- # @param [String] quota_user
1321
- # Available to use for quota purposes for server-side applications. Can be any
1322
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1323
- # @param [Google::Apis::RequestOptions] options
1324
- # Request-specific options
1325
- #
1326
- # @yield [result, err] Result & error if block supplied
1327
- # @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse] parsed result object
1328
- # @yieldparam err [StandardError] error object if request failed
1329
- #
1330
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
1331
- #
1332
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1333
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1334
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1335
- 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)
1336
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
1337
- command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse::Representation
1338
- command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse
1339
- command.params['name'] = name unless name.nil?
1340
- command.query['filter'] = filter unless filter.nil?
1341
- command.query['pageSize'] = page_size unless page_size.nil?
1342
- command.query['pageToken'] = page_token unless page_token.nil?
1343
- command.query['fields'] = fields unless fields.nil?
1344
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1345
- execute_or_queue_command(command, &block)
1346
- end
1347
-
1348
539
  # Analyzes multiple conversations in a single request.
1349
540
  # @param [String] parent
1350
541
  # Required. The parent resource to create analyses in.
@@ -2569,8 +1760,8 @@ module Google
2569
1760
  # Clients can use Operations.GetOperation or other methods to check whether the
2570
1761
  # cancellation succeeded or whether the operation completed despite cancellation.
2571
1762
  # On successful cancellation, the operation is not deleted; instead, it becomes
2572
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
2573
- # corresponding to `Code.CANCELLED`.
1763
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1764
+ # , corresponding to `Code.CANCELLED`.
2574
1765
  # @param [String] name
2575
1766
  # The name of the operation resource to be cancelled.
2576
1767
  # @param [String] fields