google-apis-contactcenterinsights_v1 0.62.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +1107 -81
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +3 -3
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +498 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +2456 -311
- metadata +5 -5
@@ -505,10 +505,2140 @@ module Google
|
|
505
505
|
execute_or_queue_command(command, &block)
|
506
506
|
end
|
507
507
|
|
508
|
+
# Creates an assessment rule.
|
509
|
+
# @param [String] parent
|
510
|
+
# Required. The parent resource of the assessment rule. Required. The location
|
511
|
+
# to create a assessment rule for. Format: `projects//locations/` or `projects//
|
512
|
+
# locations/`
|
513
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule] google_cloud_contactcenterinsights_v1_assessment_rule_object
|
514
|
+
# @param [String] assessment_rule_id
|
515
|
+
# Optional. A unique ID for the new AssessmentRule. This ID will become the
|
516
|
+
# final component of the AssessmentRule's resource name. If no ID is specified,
|
517
|
+
# a server-generated ID will be used. This value should be 4-64 characters and
|
518
|
+
# must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
|
519
|
+
# @param [String] fields
|
520
|
+
# Selector specifying which fields to include in a partial response.
|
521
|
+
# @param [String] quota_user
|
522
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
523
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
524
|
+
# @param [Google::Apis::RequestOptions] options
|
525
|
+
# Request-specific options
|
526
|
+
#
|
527
|
+
# @yield [result, err] Result & error if block supplied
|
528
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule] parsed result object
|
529
|
+
# @yieldparam err [StandardError] error object if request failed
|
530
|
+
#
|
531
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule]
|
532
|
+
#
|
533
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
534
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
535
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
536
|
+
def create_project_location_assessment_rule(parent, google_cloud_contactcenterinsights_v1_assessment_rule_object = nil, assessment_rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
537
|
+
command = make_simple_command(:post, 'v1/{+parent}/assessmentRules', options)
|
538
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule::Representation
|
539
|
+
command.request_object = google_cloud_contactcenterinsights_v1_assessment_rule_object
|
540
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule::Representation
|
541
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule
|
542
|
+
command.params['parent'] = parent unless parent.nil?
|
543
|
+
command.query['assessmentRuleId'] = assessment_rule_id unless assessment_rule_id.nil?
|
544
|
+
command.query['fields'] = fields unless fields.nil?
|
545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
546
|
+
execute_or_queue_command(command, &block)
|
547
|
+
end
|
548
|
+
|
549
|
+
# Deletes an assessment rule.
|
550
|
+
# @param [String] name
|
551
|
+
# Required. The name of the assessment rule to delete.
|
552
|
+
# @param [String] fields
|
553
|
+
# Selector specifying which fields to include in a partial response.
|
554
|
+
# @param [String] quota_user
|
555
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
556
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
557
|
+
# @param [Google::Apis::RequestOptions] options
|
558
|
+
# Request-specific options
|
559
|
+
#
|
560
|
+
# @yield [result, err] Result & error if block supplied
|
561
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
562
|
+
# @yieldparam err [StandardError] error object if request failed
|
563
|
+
#
|
564
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
565
|
+
#
|
566
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
567
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
568
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
569
|
+
def delete_project_location_assessment_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
571
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
572
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
573
|
+
command.params['name'] = name unless name.nil?
|
574
|
+
command.query['fields'] = fields unless fields.nil?
|
575
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
576
|
+
execute_or_queue_command(command, &block)
|
577
|
+
end
|
578
|
+
|
579
|
+
# Get an assessment rule.
|
580
|
+
# @param [String] name
|
581
|
+
# Required. The name of the assessment rule to get.
|
582
|
+
# @param [String] fields
|
583
|
+
# Selector specifying which fields to include in a partial response.
|
584
|
+
# @param [String] quota_user
|
585
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
586
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
587
|
+
# @param [Google::Apis::RequestOptions] options
|
588
|
+
# Request-specific options
|
589
|
+
#
|
590
|
+
# @yield [result, err] Result & error if block supplied
|
591
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule] parsed result object
|
592
|
+
# @yieldparam err [StandardError] error object if request failed
|
593
|
+
#
|
594
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule]
|
595
|
+
#
|
596
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
597
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
598
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
599
|
+
def get_project_location_assessment_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
600
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
601
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule::Representation
|
602
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule
|
603
|
+
command.params['name'] = name unless name.nil?
|
604
|
+
command.query['fields'] = fields unless fields.nil?
|
605
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
606
|
+
execute_or_queue_command(command, &block)
|
607
|
+
end
|
608
|
+
|
609
|
+
# Lists assessment rules.
|
610
|
+
# @param [String] parent
|
611
|
+
# Required. The parent resource of the assessment rules.
|
612
|
+
# @param [Fixnum] page_size
|
613
|
+
# Optional. The maximum number of assessment rule to return in the response. If
|
614
|
+
# this value is zero, the service will select a default size. A call may return
|
615
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
616
|
+
# indicates that more data is available.
|
617
|
+
# @param [String] page_token
|
618
|
+
# Optional. The value returned by the last `ListAssessmentRulesResponse`;
|
619
|
+
# indicates that this is a continuation of a prior `ListAssessmentRules` call
|
620
|
+
# and the system should return the next page of data.
|
621
|
+
# @param [String] fields
|
622
|
+
# Selector specifying which fields to include in a partial response.
|
623
|
+
# @param [String] quota_user
|
624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
626
|
+
# @param [Google::Apis::RequestOptions] options
|
627
|
+
# Request-specific options
|
628
|
+
#
|
629
|
+
# @yield [result, err] Result & error if block supplied
|
630
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse] parsed result object
|
631
|
+
# @yieldparam err [StandardError] error object if request failed
|
632
|
+
#
|
633
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse]
|
634
|
+
#
|
635
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
636
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
637
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
638
|
+
def list_project_location_assessment_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
639
|
+
command = make_simple_command(:get, 'v1/{+parent}/assessmentRules', options)
|
640
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse::Representation
|
641
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse
|
642
|
+
command.params['parent'] = parent unless parent.nil?
|
643
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
644
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
645
|
+
command.query['fields'] = fields unless fields.nil?
|
646
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
647
|
+
execute_or_queue_command(command, &block)
|
648
|
+
end
|
649
|
+
|
650
|
+
# Updates an assessment rule.
|
651
|
+
# @param [String] name
|
652
|
+
# Identifier. The resource name of the assessment rule. Format: projects/`
|
653
|
+
# project`/locations/`location`/assessmentRules/`assessment_rule`
|
654
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule] google_cloud_contactcenterinsights_v1_assessment_rule_object
|
655
|
+
# @param [String] update_mask
|
656
|
+
# Optional. The list of fields to be updated. If the update_mask is not provided,
|
657
|
+
# the update will be applied to all fields.
|
658
|
+
# @param [String] fields
|
659
|
+
# Selector specifying which fields to include in a partial response.
|
660
|
+
# @param [String] quota_user
|
661
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
662
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
663
|
+
# @param [Google::Apis::RequestOptions] options
|
664
|
+
# Request-specific options
|
665
|
+
#
|
666
|
+
# @yield [result, err] Result & error if block supplied
|
667
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule] parsed result object
|
668
|
+
# @yieldparam err [StandardError] error object if request failed
|
669
|
+
#
|
670
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule]
|
671
|
+
#
|
672
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
673
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
674
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
675
|
+
def patch_project_location_assessment_rule(name, google_cloud_contactcenterinsights_v1_assessment_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
676
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
677
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule::Representation
|
678
|
+
command.request_object = google_cloud_contactcenterinsights_v1_assessment_rule_object
|
679
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule::Representation
|
680
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule
|
681
|
+
command.params['name'] = name unless name.nil?
|
682
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
683
|
+
command.query['fields'] = fields unless fields.nil?
|
684
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
685
|
+
execute_or_queue_command(command, &block)
|
686
|
+
end
|
687
|
+
|
688
|
+
# Create AuthorizedViewSet
|
689
|
+
# @param [String] parent
|
690
|
+
# Required. The parent resource of the AuthorizedViewSet.
|
691
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
692
|
+
# @param [String] authorized_view_set_id
|
693
|
+
# Optional. A unique ID for the new AuthorizedViewSet. This ID will become the
|
694
|
+
# final component of the AuthorizedViewSet's resource name. If no ID is
|
695
|
+
# specified, a server-generated ID will be used. This value should be 4-64
|
696
|
+
# characters and must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-
|
697
|
+
# 9])?$`. See go/aip/122#resource-id-segments
|
698
|
+
# @param [String] fields
|
699
|
+
# Selector specifying which fields to include in a partial response.
|
700
|
+
# @param [String] quota_user
|
701
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
702
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
703
|
+
# @param [Google::Apis::RequestOptions] options
|
704
|
+
# Request-specific options
|
705
|
+
#
|
706
|
+
# @yield [result, err] Result & error if block supplied
|
707
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
708
|
+
# @yieldparam err [StandardError] error object if request failed
|
709
|
+
#
|
710
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
711
|
+
#
|
712
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
713
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
|
+
def create_project_location_authorized_view_set(parent, google_cloud_contactcenterinsights_v1_authorized_view_set_object = nil, authorized_view_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
716
|
+
command = make_simple_command(:post, 'v1/{+parent}/authorizedViewSets', options)
|
717
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
718
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
719
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
720
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
721
|
+
command.params['parent'] = parent unless parent.nil?
|
722
|
+
command.query['authorizedViewSetId'] = authorized_view_set_id unless authorized_view_set_id.nil?
|
723
|
+
command.query['fields'] = fields unless fields.nil?
|
724
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
725
|
+
execute_or_queue_command(command, &block)
|
726
|
+
end
|
727
|
+
|
728
|
+
# Deletes an AuthorizedViewSet.
|
729
|
+
# @param [String] name
|
730
|
+
# Required. The name of the AuthorizedViewSet to delete.
|
731
|
+
# @param [Boolean] force
|
732
|
+
# Optional. If set to true, all of this AuthorizedViewSet's child resources will
|
733
|
+
# also be deleted. Otherwise, the request will only succeed if it has none.
|
734
|
+
# @param [String] fields
|
735
|
+
# Selector specifying which fields to include in a partial response.
|
736
|
+
# @param [String] quota_user
|
737
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
738
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
739
|
+
# @param [Google::Apis::RequestOptions] options
|
740
|
+
# Request-specific options
|
741
|
+
#
|
742
|
+
# @yield [result, err] Result & error if block supplied
|
743
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
744
|
+
# @yieldparam err [StandardError] error object if request failed
|
745
|
+
#
|
746
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
747
|
+
#
|
748
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
749
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
750
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
751
|
+
def delete_project_location_authorized_view_set(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
752
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
753
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
754
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
755
|
+
command.params['name'] = name unless name.nil?
|
756
|
+
command.query['force'] = force unless force.nil?
|
757
|
+
command.query['fields'] = fields unless fields.nil?
|
758
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
759
|
+
execute_or_queue_command(command, &block)
|
760
|
+
end
|
761
|
+
|
762
|
+
# Get AuthorizedViewSet
|
763
|
+
# @param [String] name
|
764
|
+
# Required. The name of the AuthorizedViewSet to get.
|
765
|
+
# @param [String] fields
|
766
|
+
# Selector specifying which fields to include in a partial response.
|
767
|
+
# @param [String] quota_user
|
768
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
769
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
770
|
+
# @param [Google::Apis::RequestOptions] options
|
771
|
+
# Request-specific options
|
772
|
+
#
|
773
|
+
# @yield [result, err] Result & error if block supplied
|
774
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
775
|
+
# @yieldparam err [StandardError] error object if request failed
|
776
|
+
#
|
777
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
778
|
+
#
|
779
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
780
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
781
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
782
|
+
def get_project_location_authorized_view_set(name, fields: nil, quota_user: nil, options: nil, &block)
|
783
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
784
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
785
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
786
|
+
command.params['name'] = name unless name.nil?
|
787
|
+
command.query['fields'] = fields unless fields.nil?
|
788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
789
|
+
execute_or_queue_command(command, &block)
|
790
|
+
end
|
791
|
+
|
792
|
+
# List AuthorizedViewSets
|
793
|
+
# @param [String] parent
|
794
|
+
# Required. The parent resource of the AuthorizedViewSets.
|
795
|
+
# @param [String] filter
|
796
|
+
# Optional. The filter expression to filter authorized view sets listed in the
|
797
|
+
# response.
|
798
|
+
# @param [String] order_by
|
799
|
+
# Optional. The order by expression to order authorized view sets listed in the
|
800
|
+
# response.
|
801
|
+
# @param [Fixnum] page_size
|
802
|
+
# Optional. The maximum number of view sets to return in the response. If the
|
803
|
+
# value is zero, the service will select a default size. A call might return
|
804
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
805
|
+
# indicates that more data is available.
|
806
|
+
# @param [String] page_token
|
807
|
+
# Optional. The value returned by the last `ListAuthorizedViewSetsResponse`.
|
808
|
+
# This value indicates that this is a continuation of a prior `
|
809
|
+
# ListAuthorizedViewSets` call and that the system should return the next page
|
810
|
+
# of data.
|
811
|
+
# @param [String] fields
|
812
|
+
# Selector specifying which fields to include in a partial response.
|
813
|
+
# @param [String] quota_user
|
814
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
815
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
816
|
+
# @param [Google::Apis::RequestOptions] options
|
817
|
+
# Request-specific options
|
818
|
+
#
|
819
|
+
# @yield [result, err] Result & error if block supplied
|
820
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse] parsed result object
|
821
|
+
# @yieldparam err [StandardError] error object if request failed
|
822
|
+
#
|
823
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse]
|
824
|
+
#
|
825
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
826
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
827
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
828
|
+
def list_project_location_authorized_view_sets(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
829
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViewSets', options)
|
830
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse::Representation
|
831
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse
|
832
|
+
command.params['parent'] = parent unless parent.nil?
|
833
|
+
command.query['filter'] = filter unless filter.nil?
|
834
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
835
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
836
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
837
|
+
command.query['fields'] = fields unless fields.nil?
|
838
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
839
|
+
execute_or_queue_command(command, &block)
|
840
|
+
end
|
841
|
+
|
842
|
+
# Updates an AuthorizedViewSet.
|
843
|
+
# @param [String] name
|
844
|
+
# Identifier. The resource name of the AuthorizedViewSet. Format: projects/`
|
845
|
+
# project`/locations/`location`/authorizedViewSets/`authorized_view_set`
|
846
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
847
|
+
# @param [String] update_mask
|
848
|
+
# Optional. The list of fields to be updated. All possible fields can be updated
|
849
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
850
|
+
# * `display_name`
|
851
|
+
# @param [String] fields
|
852
|
+
# Selector specifying which fields to include in a partial response.
|
853
|
+
# @param [String] quota_user
|
854
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
855
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
856
|
+
# @param [Google::Apis::RequestOptions] options
|
857
|
+
# Request-specific options
|
858
|
+
#
|
859
|
+
# @yield [result, err] Result & error if block supplied
|
860
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
861
|
+
# @yieldparam err [StandardError] error object if request failed
|
862
|
+
#
|
863
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
864
|
+
#
|
865
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
866
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
867
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
868
|
+
def patch_project_location_authorized_view_set(name, google_cloud_contactcenterinsights_v1_authorized_view_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
869
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
870
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
871
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
872
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
873
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
874
|
+
command.params['name'] = name unless name.nil?
|
875
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
876
|
+
command.query['fields'] = fields unless fields.nil?
|
877
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
878
|
+
execute_or_queue_command(command, &block)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Create AuthorizedView
|
882
|
+
# @param [String] parent
|
883
|
+
# Required. The parent resource of the AuthorizedView.
|
884
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] google_cloud_contactcenterinsights_v1_authorized_view_object
|
885
|
+
# @param [String] authorized_view_id
|
886
|
+
# Optional. A unique ID for the new AuthorizedView. This ID will become the
|
887
|
+
# final component of the AuthorizedView's resource name. If no ID is specified,
|
888
|
+
# a server-generated ID will be used. This value should be 4-64 characters and
|
889
|
+
# must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`. See go/
|
890
|
+
# aip/122#resource-id-segments
|
891
|
+
# @param [String] fields
|
892
|
+
# Selector specifying which fields to include in a partial response.
|
893
|
+
# @param [String] quota_user
|
894
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
895
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
896
|
+
# @param [Google::Apis::RequestOptions] options
|
897
|
+
# Request-specific options
|
898
|
+
#
|
899
|
+
# @yield [result, err] Result & error if block supplied
|
900
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
901
|
+
# @yieldparam err [StandardError] error object if request failed
|
902
|
+
#
|
903
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
904
|
+
#
|
905
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
906
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
907
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
908
|
+
def create_project_location_authorized_view_set_authorized_view(parent, google_cloud_contactcenterinsights_v1_authorized_view_object = nil, authorized_view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
|
+
command = make_simple_command(:post, 'v1/{+parent}/authorizedViews', options)
|
910
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
911
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_object
|
912
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
913
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
914
|
+
command.params['parent'] = parent unless parent.nil?
|
915
|
+
command.query['authorizedViewId'] = authorized_view_id unless authorized_view_id.nil?
|
916
|
+
command.query['fields'] = fields unless fields.nil?
|
917
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
918
|
+
execute_or_queue_command(command, &block)
|
919
|
+
end
|
920
|
+
|
921
|
+
# Deletes an AuthorizedView.
|
922
|
+
# @param [String] name
|
923
|
+
# Required. The name of the AuthorizedView to delete.
|
924
|
+
# @param [String] fields
|
925
|
+
# Selector specifying which fields to include in a partial response.
|
926
|
+
# @param [String] quota_user
|
927
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
928
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
929
|
+
# @param [Google::Apis::RequestOptions] options
|
930
|
+
# Request-specific options
|
931
|
+
#
|
932
|
+
# @yield [result, err] Result & error if block supplied
|
933
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
934
|
+
# @yieldparam err [StandardError] error object if request failed
|
935
|
+
#
|
936
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
937
|
+
#
|
938
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
939
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
940
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
941
|
+
def delete_project_location_authorized_view_set_authorized_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
942
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
943
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
944
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
945
|
+
command.params['name'] = name unless name.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
|
+
# Get AuthorizedView
|
952
|
+
# @param [String] name
|
953
|
+
# Required. The name of the AuthorizedView to get.
|
954
|
+
# @param [String] fields
|
955
|
+
# Selector specifying which fields to include in a partial response.
|
956
|
+
# @param [String] quota_user
|
957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
959
|
+
# @param [Google::Apis::RequestOptions] options
|
960
|
+
# Request-specific options
|
961
|
+
#
|
962
|
+
# @yield [result, err] Result & error if block supplied
|
963
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
964
|
+
# @yieldparam err [StandardError] error object if request failed
|
965
|
+
#
|
966
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
967
|
+
#
|
968
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
969
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
970
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
971
|
+
def get_project_location_authorized_view_set_authorized_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
972
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
973
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
974
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
975
|
+
command.params['name'] = name unless name.nil?
|
976
|
+
command.query['fields'] = fields unless fields.nil?
|
977
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
978
|
+
execute_or_queue_command(command, &block)
|
979
|
+
end
|
980
|
+
|
981
|
+
# List AuthorizedViewSets
|
982
|
+
# @param [String] parent
|
983
|
+
# Required. The parent resource of the AuthorizedViews. If the parent is set to `
|
984
|
+
# -`, all AuthorizedViews under the location will be returned.
|
985
|
+
# @param [String] filter
|
986
|
+
# Optional. The filter expression to filter authorized views listed in the
|
987
|
+
# response.
|
988
|
+
# @param [String] order_by
|
989
|
+
# Optional. The order by expression to order authorized views listed in the
|
990
|
+
# response.
|
991
|
+
# @param [Fixnum] page_size
|
992
|
+
# Optional. The maximum number of view to return in the response. If the value
|
993
|
+
# is zero, the service will select a default size. A call might return fewer
|
994
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
995
|
+
# indicates that more data is available.
|
996
|
+
# @param [String] page_token
|
997
|
+
# Optional. The value returned by the last `ListAuthorizedViewsResponse`. This
|
998
|
+
# value indicates that this is a continuation of a prior `ListAuthorizedViews`
|
999
|
+
# call and that the system should return the next page of data.
|
1000
|
+
# @param [String] fields
|
1001
|
+
# Selector specifying which fields to include in a partial response.
|
1002
|
+
# @param [String] quota_user
|
1003
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1004
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1005
|
+
# @param [Google::Apis::RequestOptions] options
|
1006
|
+
# Request-specific options
|
1007
|
+
#
|
1008
|
+
# @yield [result, err] Result & error if block supplied
|
1009
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse] parsed result object
|
1010
|
+
# @yieldparam err [StandardError] error object if request failed
|
1011
|
+
#
|
1012
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse]
|
1013
|
+
#
|
1014
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1015
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1016
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1017
|
+
def list_project_location_authorized_view_set_authorized_views(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1018
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViews', options)
|
1019
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse::Representation
|
1020
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse
|
1021
|
+
command.params['parent'] = parent unless parent.nil?
|
1022
|
+
command.query['filter'] = filter unless filter.nil?
|
1023
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1024
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1025
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1026
|
+
command.query['fields'] = fields unless fields.nil?
|
1027
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1028
|
+
execute_or_queue_command(command, &block)
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
# Updates an AuthorizedView.
|
1032
|
+
# @param [String] name
|
1033
|
+
# Identifier. The resource name of the AuthorizedView. Format: projects/`project`
|
1034
|
+
# /locations/`location`/authorizedViewSets/`authorized_view_set`/authorizedViews/
|
1035
|
+
# `authorized_view`
|
1036
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] google_cloud_contactcenterinsights_v1_authorized_view_object
|
1037
|
+
# @param [String] update_mask
|
1038
|
+
# Optional. The list of fields to be updated. All possible fields can be updated
|
1039
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
1040
|
+
# * `conversation_filter` * `display_name`
|
1041
|
+
# @param [String] fields
|
1042
|
+
# Selector specifying which fields to include in a partial response.
|
1043
|
+
# @param [String] quota_user
|
1044
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1045
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1046
|
+
# @param [Google::Apis::RequestOptions] options
|
1047
|
+
# Request-specific options
|
1048
|
+
#
|
1049
|
+
# @yield [result, err] Result & error if block supplied
|
1050
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
1051
|
+
# @yieldparam err [StandardError] error object if request failed
|
1052
|
+
#
|
1053
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
1054
|
+
#
|
1055
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1056
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1057
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1058
|
+
def patch_project_location_authorized_view_set_authorized_view(name, google_cloud_contactcenterinsights_v1_authorized_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1059
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1060
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
1061
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_object
|
1062
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
1063
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
1064
|
+
command.params['name'] = name unless name.nil?
|
1065
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1066
|
+
command.query['fields'] = fields unless fields.nil?
|
1067
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1068
|
+
execute_or_queue_command(command, &block)
|
1069
|
+
end
|
1070
|
+
|
508
1071
|
# Query metrics.
|
509
1072
|
# @param [String] location
|
510
|
-
# Required. The location of the data. "projects/`project`/locations/`location`"
|
511
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
1073
|
+
# Required. The location of the data. "projects/`project`/locations/`location`"
|
1074
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
1075
|
+
# @param [String] fields
|
1076
|
+
# Selector specifying which fields to include in a partial response.
|
1077
|
+
# @param [String] quota_user
|
1078
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1079
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1080
|
+
# @param [Google::Apis::RequestOptions] options
|
1081
|
+
# Request-specific options
|
1082
|
+
#
|
1083
|
+
# @yield [result, err] Result & error if block supplied
|
1084
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1085
|
+
# @yieldparam err [StandardError] error object if request failed
|
1086
|
+
#
|
1087
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1088
|
+
#
|
1089
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1090
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1091
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1092
|
+
def query_project_location_authorized_view_set_authorized_view_metrics(location, google_cloud_contactcenterinsights_v1_query_metrics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1093
|
+
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
|
1094
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
|
1095
|
+
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
1096
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1097
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1098
|
+
command.params['location'] = location unless location.nil?
|
1099
|
+
command.query['fields'] = fields unless fields.nil?
|
1100
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1101
|
+
execute_or_queue_command(command, &block)
|
1102
|
+
end
|
1103
|
+
|
1104
|
+
# SearchAuthorizedViewSets
|
1105
|
+
# @param [String] parent
|
1106
|
+
# Required. The parent resource of the AuthorizedViews. If the parent is set to `
|
1107
|
+
# -`, all AuthorizedViews under the location will be returned.
|
1108
|
+
# @param [String] order_by
|
1109
|
+
# Optional. The order by expression to order authorized views listed in the
|
1110
|
+
# response.
|
1111
|
+
# @param [Fixnum] page_size
|
1112
|
+
# Optional. The maximum number of view to return in the response. If the value
|
1113
|
+
# is zero, the service will select a default size. A call might return fewer
|
1114
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
1115
|
+
# indicates that more data is available.
|
1116
|
+
# @param [String] page_token
|
1117
|
+
# Optional. The value returned by the last `ListAuthorizedViewsResponse`. This
|
1118
|
+
# value indicates that this is a continuation of a prior `ListAuthorizedViews`
|
1119
|
+
# call and that the system should return the next page of data.
|
1120
|
+
# @param [String] query
|
1121
|
+
# Optional. The query expression to search authorized views.
|
1122
|
+
# @param [String] fields
|
1123
|
+
# Selector specifying which fields to include in a partial response.
|
1124
|
+
# @param [String] quota_user
|
1125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1127
|
+
# @param [Google::Apis::RequestOptions] options
|
1128
|
+
# Request-specific options
|
1129
|
+
#
|
1130
|
+
# @yield [result, err] Result & error if block supplied
|
1131
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse] parsed result object
|
1132
|
+
# @yieldparam err [StandardError] error object if request failed
|
1133
|
+
#
|
1134
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse]
|
1135
|
+
#
|
1136
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1137
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1138
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1139
|
+
def search_project_location_authorized_view_set_authorized_views(parent, order_by: nil, page_size: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1140
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViews:search', options)
|
1141
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse::Representation
|
1142
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse
|
1143
|
+
command.params['parent'] = parent unless parent.nil?
|
1144
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1145
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1146
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1147
|
+
command.query['query'] = query unless query.nil?
|
1148
|
+
command.query['fields'] = fields unless fields.nil?
|
1149
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1150
|
+
execute_or_queue_command(command, &block)
|
1151
|
+
end
|
1152
|
+
|
1153
|
+
# Analyzes multiple conversations in a single request.
|
1154
|
+
# @param [String] parent
|
1155
|
+
# Required. The parent resource to create analyses in.
|
1156
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
1157
|
+
# @param [String] fields
|
1158
|
+
# Selector specifying which fields to include in a partial response.
|
1159
|
+
# @param [String] quota_user
|
1160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1162
|
+
# @param [Google::Apis::RequestOptions] options
|
1163
|
+
# Request-specific options
|
1164
|
+
#
|
1165
|
+
# @yield [result, err] Result & error if block supplied
|
1166
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1167
|
+
# @yieldparam err [StandardError] error object if request failed
|
1168
|
+
#
|
1169
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1170
|
+
#
|
1171
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1172
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
|
+
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)
|
1175
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
1176
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
1177
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
1178
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1179
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1180
|
+
command.params['parent'] = parent unless parent.nil?
|
1181
|
+
command.query['fields'] = fields unless fields.nil?
|
1182
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1183
|
+
execute_or_queue_command(command, &block)
|
1184
|
+
end
|
1185
|
+
|
1186
|
+
# Gets conversation statistics.
|
1187
|
+
# @param [String] location
|
1188
|
+
# Required. The location of the conversations.
|
1189
|
+
# @param [String] filter
|
1190
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
1191
|
+
# getting statistics about conversations with specific properties.
|
1192
|
+
# @param [String] fields
|
1193
|
+
# Selector specifying which fields to include in a partial response.
|
1194
|
+
# @param [String] quota_user
|
1195
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1196
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1197
|
+
# @param [Google::Apis::RequestOptions] options
|
1198
|
+
# Request-specific options
|
1199
|
+
#
|
1200
|
+
# @yield [result, err] Result & error if block supplied
|
1201
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
1202
|
+
# @yieldparam err [StandardError] error object if request failed
|
1203
|
+
#
|
1204
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
1205
|
+
#
|
1206
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1207
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1208
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1209
|
+
def calculate_project_location_authorized_view_set_authorized_view_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1210
|
+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
1211
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
1212
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1213
|
+
command.params['location'] = location unless location.nil?
|
1214
|
+
command.query['filter'] = filter unless filter.nil?
|
1215
|
+
command.query['fields'] = fields unless fields.nil?
|
1216
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1217
|
+
execute_or_queue_command(command, &block)
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# Deletes a conversation.
|
1221
|
+
# @param [String] name
|
1222
|
+
# Required. The name of the conversation to delete.
|
1223
|
+
# @param [Boolean] force
|
1224
|
+
# If set to true, all of this conversation's analyses will also be deleted.
|
1225
|
+
# Otherwise, the request will only succeed if the conversation has no analyses.
|
1226
|
+
# @param [String] fields
|
1227
|
+
# Selector specifying which fields to include in a partial response.
|
1228
|
+
# @param [String] quota_user
|
1229
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1230
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1231
|
+
# @param [Google::Apis::RequestOptions] options
|
1232
|
+
# Request-specific options
|
1233
|
+
#
|
1234
|
+
# @yield [result, err] Result & error if block supplied
|
1235
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1236
|
+
# @yieldparam err [StandardError] error object if request failed
|
1237
|
+
#
|
1238
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1239
|
+
#
|
1240
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1241
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1242
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1243
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1244
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1245
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1246
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1247
|
+
command.params['name'] = name unless name.nil?
|
1248
|
+
command.query['force'] = force unless force.nil?
|
1249
|
+
command.query['fields'] = fields unless fields.nil?
|
1250
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1251
|
+
execute_or_queue_command(command, &block)
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
# Gets a conversation.
|
1255
|
+
# @param [String] name
|
1256
|
+
# Required. The name of the conversation to get.
|
1257
|
+
# @param [String] view
|
1258
|
+
# The level of details of the conversation. Default is `FULL`.
|
1259
|
+
# @param [String] fields
|
1260
|
+
# Selector specifying which fields to include in a partial response.
|
1261
|
+
# @param [String] quota_user
|
1262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1264
|
+
# @param [Google::Apis::RequestOptions] options
|
1265
|
+
# Request-specific options
|
1266
|
+
#
|
1267
|
+
# @yield [result, err] Result & error if block supplied
|
1268
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1269
|
+
# @yieldparam err [StandardError] error object if request failed
|
1270
|
+
#
|
1271
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1272
|
+
#
|
1273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1276
|
+
def get_project_location_authorized_view_set_authorized_view_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1277
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1278
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1279
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1280
|
+
command.params['name'] = name unless name.nil?
|
1281
|
+
command.query['view'] = view unless view.nil?
|
1282
|
+
command.query['fields'] = fields unless fields.nil?
|
1283
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1284
|
+
execute_or_queue_command(command, &block)
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# Lists conversations.
|
1288
|
+
# @param [String] parent
|
1289
|
+
# Required. The parent resource of the conversation.
|
1290
|
+
# @param [String] filter
|
1291
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1292
|
+
# conversations with specific properties.
|
1293
|
+
# @param [String] order_by
|
1294
|
+
# Optional. The attribute by which to order conversations in the response. If
|
1295
|
+
# empty, conversations will be ordered by descending creation time. Supported
|
1296
|
+
# values are one of the following: * create_time * customer_satisfaction_rating *
|
1297
|
+
# duration * latest_analysis * start_time * turn_count The default sort order
|
1298
|
+
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
1299
|
+
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
1300
|
+
# ordering).
|
1301
|
+
# @param [Fixnum] page_size
|
1302
|
+
# The maximum number of conversations to return in the response. A valid page
|
1303
|
+
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
1304
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
1305
|
+
# return fewer results than the requested page size.
|
1306
|
+
# @param [String] page_token
|
1307
|
+
# The value returned by the last `ListConversationsResponse`. This value
|
1308
|
+
# indicates that this is a continuation of a prior `ListConversations` call and
|
1309
|
+
# that the system should return the next page of data.
|
1310
|
+
# @param [String] view
|
1311
|
+
# The level of details of the conversation. Default is `BASIC`.
|
1312
|
+
# @param [String] fields
|
1313
|
+
# Selector specifying which fields to include in a partial response.
|
1314
|
+
# @param [String] quota_user
|
1315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1317
|
+
# @param [Google::Apis::RequestOptions] options
|
1318
|
+
# Request-specific options
|
1319
|
+
#
|
1320
|
+
# @yield [result, err] Result & error if block supplied
|
1321
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
|
1322
|
+
# @yieldparam err [StandardError] error object if request failed
|
1323
|
+
#
|
1324
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
|
1325
|
+
#
|
1326
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1327
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1328
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1329
|
+
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)
|
1330
|
+
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
1331
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
1332
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
1333
|
+
command.params['parent'] = parent unless parent.nil?
|
1334
|
+
command.query['filter'] = filter unless filter.nil?
|
1335
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1336
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1337
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1338
|
+
command.query['view'] = view unless view.nil?
|
1339
|
+
command.query['fields'] = fields unless fields.nil?
|
1340
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1341
|
+
execute_or_queue_command(command, &block)
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# Creates an analysis. The long running operation is done when the analysis has
|
1345
|
+
# completed.
|
1346
|
+
# @param [String] parent
|
1347
|
+
# Required. The parent resource of the analysis.
|
1348
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
1349
|
+
# @param [String] fields
|
1350
|
+
# Selector specifying which fields to include in a partial response.
|
1351
|
+
# @param [String] quota_user
|
1352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1354
|
+
# @param [Google::Apis::RequestOptions] options
|
1355
|
+
# Request-specific options
|
1356
|
+
#
|
1357
|
+
# @yield [result, err] Result & error if block supplied
|
1358
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1359
|
+
# @yieldparam err [StandardError] error object if request failed
|
1360
|
+
#
|
1361
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1362
|
+
#
|
1363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1366
|
+
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)
|
1367
|
+
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
1368
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1369
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
1370
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1371
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1372
|
+
command.params['parent'] = parent unless parent.nil?
|
1373
|
+
command.query['fields'] = fields unless fields.nil?
|
1374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1375
|
+
execute_or_queue_command(command, &block)
|
1376
|
+
end
|
1377
|
+
|
1378
|
+
# Deletes an analysis.
|
1379
|
+
# @param [String] name
|
1380
|
+
# Required. The name of the analysis to delete.
|
1381
|
+
# @param [String] fields
|
1382
|
+
# Selector specifying which fields to include in a partial response.
|
1383
|
+
# @param [String] quota_user
|
1384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1386
|
+
# @param [Google::Apis::RequestOptions] options
|
1387
|
+
# Request-specific options
|
1388
|
+
#
|
1389
|
+
# @yield [result, err] Result & error if block supplied
|
1390
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1391
|
+
# @yieldparam err [StandardError] error object if request failed
|
1392
|
+
#
|
1393
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1394
|
+
#
|
1395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1398
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1399
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1400
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1401
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1402
|
+
command.params['name'] = name unless name.nil?
|
1403
|
+
command.query['fields'] = fields unless fields.nil?
|
1404
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1405
|
+
execute_or_queue_command(command, &block)
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# Gets an analysis.
|
1409
|
+
# @param [String] name
|
1410
|
+
# Required. The name of the analysis to get.
|
1411
|
+
# @param [String] fields
|
1412
|
+
# Selector specifying which fields to include in a partial response.
|
1413
|
+
# @param [String] quota_user
|
1414
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1415
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1416
|
+
# @param [Google::Apis::RequestOptions] options
|
1417
|
+
# Request-specific options
|
1418
|
+
#
|
1419
|
+
# @yield [result, err] Result & error if block supplied
|
1420
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
|
1421
|
+
# @yieldparam err [StandardError] error object if request failed
|
1422
|
+
#
|
1423
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
|
1424
|
+
#
|
1425
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1426
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1427
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1428
|
+
def get_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1429
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1430
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1431
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
1432
|
+
command.params['name'] = name unless name.nil?
|
1433
|
+
command.query['fields'] = fields unless fields.nil?
|
1434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1435
|
+
execute_or_queue_command(command, &block)
|
1436
|
+
end
|
1437
|
+
|
1438
|
+
# Lists analyses.
|
1439
|
+
# @param [String] parent
|
1440
|
+
# Required. The parent resource of the analyses.
|
1441
|
+
# @param [String] filter
|
1442
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1443
|
+
# conversations with specific properties.
|
1444
|
+
# @param [Fixnum] page_size
|
1445
|
+
# The maximum number of analyses to return in the response. If this value is
|
1446
|
+
# zero, the service will select a default size. A call might return fewer
|
1447
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
1448
|
+
# indicates that more data is available.
|
1449
|
+
# @param [String] page_token
|
1450
|
+
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
1451
|
+
# a continuation of a prior `ListAnalyses` call and the system should return the
|
1452
|
+
# next page of data.
|
1453
|
+
# @param [String] fields
|
1454
|
+
# Selector specifying which fields to include in a partial response.
|
1455
|
+
# @param [String] quota_user
|
1456
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1457
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1458
|
+
# @param [Google::Apis::RequestOptions] options
|
1459
|
+
# Request-specific options
|
1460
|
+
#
|
1461
|
+
# @yield [result, err] Result & error if block supplied
|
1462
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
|
1463
|
+
# @yieldparam err [StandardError] error object if request failed
|
1464
|
+
#
|
1465
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
|
1466
|
+
#
|
1467
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1468
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1469
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1470
|
+
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)
|
1471
|
+
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1472
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1473
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
1474
|
+
command.params['parent'] = parent unless parent.nil?
|
1475
|
+
command.query['filter'] = filter unless filter.nil?
|
1476
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1477
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1478
|
+
command.query['fields'] = fields unless fields.nil?
|
1479
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1480
|
+
execute_or_queue_command(command, &block)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
# Appeal an Assessment.
|
1484
|
+
# @param [String] name
|
1485
|
+
# Required. The name of the assessment to appeal.
|
1486
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AppealAssessmentRequest] google_cloud_contactcenterinsights_v1_appeal_assessment_request_object
|
1487
|
+
# @param [String] fields
|
1488
|
+
# Selector specifying which fields to include in a partial response.
|
1489
|
+
# @param [String] quota_user
|
1490
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1491
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1492
|
+
# @param [Google::Apis::RequestOptions] options
|
1493
|
+
# Request-specific options
|
1494
|
+
#
|
1495
|
+
# @yield [result, err] Result & error if block supplied
|
1496
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
1497
|
+
# @yieldparam err [StandardError] error object if request failed
|
1498
|
+
#
|
1499
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
1500
|
+
#
|
1501
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1502
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1503
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1504
|
+
def appeal_project_location_authorized_view_set_authorized_view_conversation_assessment(name, google_cloud_contactcenterinsights_v1_appeal_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1505
|
+
command = make_simple_command(:post, 'v1/{+name}:appeal', options)
|
1506
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AppealAssessmentRequest::Representation
|
1507
|
+
command.request_object = google_cloud_contactcenterinsights_v1_appeal_assessment_request_object
|
1508
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1509
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
1510
|
+
command.params['name'] = name unless name.nil?
|
1511
|
+
command.query['fields'] = fields unless fields.nil?
|
1512
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1513
|
+
execute_or_queue_command(command, &block)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# Create Assessment.
|
1517
|
+
# @param [String] parent
|
1518
|
+
# Required. The parent resource of the assessment.
|
1519
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] google_cloud_contactcenterinsights_v1_assessment_object
|
1520
|
+
# @param [String] fields
|
1521
|
+
# Selector specifying which fields to include in a partial response.
|
1522
|
+
# @param [String] quota_user
|
1523
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1524
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1525
|
+
# @param [Google::Apis::RequestOptions] options
|
1526
|
+
# Request-specific options
|
1527
|
+
#
|
1528
|
+
# @yield [result, err] Result & error if block supplied
|
1529
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
1530
|
+
# @yieldparam err [StandardError] error object if request failed
|
1531
|
+
#
|
1532
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
1533
|
+
#
|
1534
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1535
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1536
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1537
|
+
def create_project_location_authorized_view_set_authorized_view_conversation_assessment(parent, google_cloud_contactcenterinsights_v1_assessment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1538
|
+
command = make_simple_command(:post, 'v1/{+parent}/assessments', options)
|
1539
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1540
|
+
command.request_object = google_cloud_contactcenterinsights_v1_assessment_object
|
1541
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1542
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
1543
|
+
command.params['parent'] = parent unless parent.nil?
|
1544
|
+
command.query['fields'] = fields unless fields.nil?
|
1545
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1546
|
+
execute_or_queue_command(command, &block)
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
# Delete an Assessment.
|
1550
|
+
# @param [String] name
|
1551
|
+
# Required. The name of the assessment to delete.
|
1552
|
+
# @param [Boolean] force
|
1553
|
+
# Optional. If set to true, all of this assessment's notes will also be deleted.
|
1554
|
+
# Otherwise, the request will only succeed if it has no notes.
|
1555
|
+
# @param [String] fields
|
1556
|
+
# Selector specifying which fields to include in a partial response.
|
1557
|
+
# @param [String] quota_user
|
1558
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1559
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1560
|
+
# @param [Google::Apis::RequestOptions] options
|
1561
|
+
# Request-specific options
|
1562
|
+
#
|
1563
|
+
# @yield [result, err] Result & error if block supplied
|
1564
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1565
|
+
# @yieldparam err [StandardError] error object if request failed
|
1566
|
+
#
|
1567
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1568
|
+
#
|
1569
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1570
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1571
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1572
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_assessment(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1573
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1574
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1575
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1576
|
+
command.params['name'] = name unless name.nil?
|
1577
|
+
command.query['force'] = force unless force.nil?
|
1578
|
+
command.query['fields'] = fields unless fields.nil?
|
1579
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1580
|
+
execute_or_queue_command(command, &block)
|
1581
|
+
end
|
1582
|
+
|
1583
|
+
# Finalize an Assessment.
|
1584
|
+
# @param [String] name
|
1585
|
+
# Required. The name of the assessment to finalize.
|
1586
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest] google_cloud_contactcenterinsights_v1_finalize_assessment_request_object
|
1587
|
+
# @param [String] fields
|
1588
|
+
# Selector specifying which fields to include in a partial response.
|
1589
|
+
# @param [String] quota_user
|
1590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1592
|
+
# @param [Google::Apis::RequestOptions] options
|
1593
|
+
# Request-specific options
|
1594
|
+
#
|
1595
|
+
# @yield [result, err] Result & error if block supplied
|
1596
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
1597
|
+
# @yieldparam err [StandardError] error object if request failed
|
1598
|
+
#
|
1599
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
1600
|
+
#
|
1601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1604
|
+
def finalize_project_location_authorized_view_set_authorized_view_conversation_assessment(name, google_cloud_contactcenterinsights_v1_finalize_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1605
|
+
command = make_simple_command(:post, 'v1/{+name}:finalize', options)
|
1606
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest::Representation
|
1607
|
+
command.request_object = google_cloud_contactcenterinsights_v1_finalize_assessment_request_object
|
1608
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1609
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
1610
|
+
command.params['name'] = name unless name.nil?
|
1611
|
+
command.query['fields'] = fields unless fields.nil?
|
1612
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1613
|
+
execute_or_queue_command(command, &block)
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# Get Assessment.
|
1617
|
+
# @param [String] name
|
1618
|
+
# Required. The name of the assessment to get.
|
1619
|
+
# @param [String] fields
|
1620
|
+
# Selector specifying which fields to include in a partial response.
|
1621
|
+
# @param [String] quota_user
|
1622
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1623
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1624
|
+
# @param [Google::Apis::RequestOptions] options
|
1625
|
+
# Request-specific options
|
1626
|
+
#
|
1627
|
+
# @yield [result, err] Result & error if block supplied
|
1628
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
1629
|
+
# @yieldparam err [StandardError] error object if request failed
|
1630
|
+
#
|
1631
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
1632
|
+
#
|
1633
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1634
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1635
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1636
|
+
def get_project_location_authorized_view_set_authorized_view_conversation_assessment(name, fields: nil, quota_user: nil, options: nil, &block)
|
1637
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1638
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1639
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
1640
|
+
command.params['name'] = name unless name.nil?
|
1641
|
+
command.query['fields'] = fields unless fields.nil?
|
1642
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1643
|
+
execute_or_queue_command(command, &block)
|
1644
|
+
end
|
1645
|
+
|
1646
|
+
# List Assessments.
|
1647
|
+
# @param [String] parent
|
1648
|
+
# Required. The parent resource of the assessments. To list all assessments in a
|
1649
|
+
# location, substitute the conversation ID with a '-' character.
|
1650
|
+
# @param [String] filter
|
1651
|
+
# Optional. A filter to reduce results to a specific subset. Supported filters
|
1652
|
+
# include: * `state` - The state of the assessment * `agent_info.agent_id` - The
|
1653
|
+
# ID of the agent the assessment is for
|
1654
|
+
# @param [Fixnum] page_size
|
1655
|
+
# The maximum number of assessments to list. If zero, the service will select a
|
1656
|
+
# default size. A call may return fewer objects than requested. A non-empty `
|
1657
|
+
# next_page_token` in the response indicates that more data is available.
|
1658
|
+
# @param [String] page_token
|
1659
|
+
# Optional. The value returned by the last `ListAssessmentRulesResponse`;
|
1660
|
+
# indicates that this is a continuation of a prior `ListAssessmentRules` call
|
1661
|
+
# and the system should return the next page of data.
|
1662
|
+
# @param [String] fields
|
1663
|
+
# Selector specifying which fields to include in a partial response.
|
1664
|
+
# @param [String] quota_user
|
1665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1667
|
+
# @param [Google::Apis::RequestOptions] options
|
1668
|
+
# Request-specific options
|
1669
|
+
#
|
1670
|
+
# @yield [result, err] Result & error if block supplied
|
1671
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse] parsed result object
|
1672
|
+
# @yieldparam err [StandardError] error object if request failed
|
1673
|
+
#
|
1674
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse]
|
1675
|
+
#
|
1676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1679
|
+
def list_project_location_authorized_view_set_authorized_view_conversation_assessments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1680
|
+
command = make_simple_command(:get, 'v1/{+parent}/assessments', options)
|
1681
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse::Representation
|
1682
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse
|
1683
|
+
command.params['parent'] = parent unless parent.nil?
|
1684
|
+
command.query['filter'] = filter unless filter.nil?
|
1685
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1686
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1687
|
+
command.query['fields'] = fields unless fields.nil?
|
1688
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1689
|
+
execute_or_queue_command(command, &block)
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# Publish an Assessment.
|
1693
|
+
# @param [String] name
|
1694
|
+
# Required. The name of the assessment to publish.
|
1695
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PublishAssessmentRequest] google_cloud_contactcenterinsights_v1_publish_assessment_request_object
|
1696
|
+
# @param [String] fields
|
1697
|
+
# Selector specifying which fields to include in a partial response.
|
1698
|
+
# @param [String] quota_user
|
1699
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1700
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1701
|
+
# @param [Google::Apis::RequestOptions] options
|
1702
|
+
# Request-specific options
|
1703
|
+
#
|
1704
|
+
# @yield [result, err] Result & error if block supplied
|
1705
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
1706
|
+
# @yieldparam err [StandardError] error object if request failed
|
1707
|
+
#
|
1708
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
1709
|
+
#
|
1710
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1711
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1712
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1713
|
+
def publish_project_location_authorized_view_set_authorized_view_conversation_assessment(name, google_cloud_contactcenterinsights_v1_publish_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1714
|
+
command = make_simple_command(:post, 'v1/{+name}:publish', options)
|
1715
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PublishAssessmentRequest::Representation
|
1716
|
+
command.request_object = google_cloud_contactcenterinsights_v1_publish_assessment_request_object
|
1717
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
1718
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
1719
|
+
command.params['name'] = name unless name.nil?
|
1720
|
+
command.query['fields'] = fields unless fields.nil?
|
1721
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1722
|
+
execute_or_queue_command(command, &block)
|
1723
|
+
end
|
1724
|
+
|
1725
|
+
# Create Note.
|
1726
|
+
# @param [String] parent
|
1727
|
+
# Required. The parent resource of the note.
|
1728
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] google_cloud_contactcenterinsights_v1_note_object
|
1729
|
+
# @param [String] fields
|
1730
|
+
# Selector specifying which fields to include in a partial response.
|
1731
|
+
# @param [String] quota_user
|
1732
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1733
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1734
|
+
# @param [Google::Apis::RequestOptions] options
|
1735
|
+
# Request-specific options
|
1736
|
+
#
|
1737
|
+
# @yield [result, err] Result & error if block supplied
|
1738
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] parsed result object
|
1739
|
+
# @yieldparam err [StandardError] error object if request failed
|
1740
|
+
#
|
1741
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note]
|
1742
|
+
#
|
1743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1746
|
+
def create_project_location_authorized_view_set_authorized_view_conversation_assessment_note(parent, google_cloud_contactcenterinsights_v1_note_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1747
|
+
command = make_simple_command(:post, 'v1/{+parent}/notes', options)
|
1748
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
1749
|
+
command.request_object = google_cloud_contactcenterinsights_v1_note_object
|
1750
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
1751
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note
|
1752
|
+
command.params['parent'] = parent unless parent.nil?
|
1753
|
+
command.query['fields'] = fields unless fields.nil?
|
1754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1755
|
+
execute_or_queue_command(command, &block)
|
1756
|
+
end
|
1757
|
+
|
1758
|
+
# Deletes a Note.
|
1759
|
+
# @param [String] name
|
1760
|
+
# Required. The name of the note to delete.
|
1761
|
+
# @param [String] fields
|
1762
|
+
# Selector specifying which fields to include in a partial response.
|
1763
|
+
# @param [String] quota_user
|
1764
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1765
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1766
|
+
# @param [Google::Apis::RequestOptions] options
|
1767
|
+
# Request-specific options
|
1768
|
+
#
|
1769
|
+
# @yield [result, err] Result & error if block supplied
|
1770
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1771
|
+
# @yieldparam err [StandardError] error object if request failed
|
1772
|
+
#
|
1773
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1774
|
+
#
|
1775
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_assessment_note(name, fields: nil, quota_user: nil, options: nil, &block)
|
1779
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1780
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1781
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1782
|
+
command.params['name'] = name unless name.nil?
|
1783
|
+
command.query['fields'] = fields unless fields.nil?
|
1784
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1785
|
+
execute_or_queue_command(command, &block)
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
# List Notes.
|
1789
|
+
# @param [String] parent
|
1790
|
+
# Required. The parent resource of the notes.
|
1791
|
+
# @param [Fixnum] page_size
|
1792
|
+
# Optional. The maximum number of notes to return in the response. If zero the
|
1793
|
+
# service will select a default size. A call might return fewer objects than
|
1794
|
+
# requested. A non-empty `next_page_token` in the response indicates that more
|
1795
|
+
# data is available.
|
1796
|
+
# @param [String] page_token
|
1797
|
+
# Optional. The value returned by the last `ListNotesResponse`. This value
|
1798
|
+
# indicates that this is a continuation of a prior `ListNotes` call and that the
|
1799
|
+
# system should return the next page of data.
|
1800
|
+
# @param [String] fields
|
1801
|
+
# Selector specifying which fields to include in a partial response.
|
1802
|
+
# @param [String] quota_user
|
1803
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1804
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1805
|
+
# @param [Google::Apis::RequestOptions] options
|
1806
|
+
# Request-specific options
|
1807
|
+
#
|
1808
|
+
# @yield [result, err] Result & error if block supplied
|
1809
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse] parsed result object
|
1810
|
+
# @yieldparam err [StandardError] error object if request failed
|
1811
|
+
#
|
1812
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse]
|
1813
|
+
#
|
1814
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1815
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1816
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1817
|
+
def list_project_location_authorized_view_set_authorized_view_conversation_assessment_notes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1818
|
+
command = make_simple_command(:get, 'v1/{+parent}/notes', options)
|
1819
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse::Representation
|
1820
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse
|
1821
|
+
command.params['parent'] = parent unless parent.nil?
|
1822
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1823
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1824
|
+
command.query['fields'] = fields unless fields.nil?
|
1825
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1826
|
+
execute_or_queue_command(command, &block)
|
1827
|
+
end
|
1828
|
+
|
1829
|
+
# Update Note.
|
1830
|
+
# @param [String] name
|
1831
|
+
# Identifier. The resource name of the note. Format: projects/`project`/
|
1832
|
+
# locations/`location`/conversations/`conversation`/assessments/`assessment`/
|
1833
|
+
# notes/`note`
|
1834
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] google_cloud_contactcenterinsights_v1_note_object
|
1835
|
+
# @param [String] update_mask
|
1836
|
+
# Optional. The list of fields to be updated. If the update_mask is empty, all
|
1837
|
+
# updateable fields will be updated. Acceptable fields include: * `content`
|
1838
|
+
# @param [String] fields
|
1839
|
+
# Selector specifying which fields to include in a partial response.
|
1840
|
+
# @param [String] quota_user
|
1841
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1842
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1843
|
+
# @param [Google::Apis::RequestOptions] options
|
1844
|
+
# Request-specific options
|
1845
|
+
#
|
1846
|
+
# @yield [result, err] Result & error if block supplied
|
1847
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] parsed result object
|
1848
|
+
# @yieldparam err [StandardError] error object if request failed
|
1849
|
+
#
|
1850
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note]
|
1851
|
+
#
|
1852
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1853
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1854
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1855
|
+
def patch_project_location_authorized_view_set_authorized_view_conversation_assessment_note(name, google_cloud_contactcenterinsights_v1_note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1856
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1857
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
1858
|
+
command.request_object = google_cloud_contactcenterinsights_v1_note_object
|
1859
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
1860
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note
|
1861
|
+
command.params['name'] = name unless name.nil?
|
1862
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1863
|
+
command.query['fields'] = fields unless fields.nil?
|
1864
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1865
|
+
execute_or_queue_command(command, &block)
|
1866
|
+
end
|
1867
|
+
|
1868
|
+
# Create feedback label.
|
1869
|
+
# @param [String] parent
|
1870
|
+
# Required. The parent resource of the feedback label.
|
1871
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
1872
|
+
# @param [String] feedback_label_id
|
1873
|
+
# Optional. The ID of the feedback label to create. If one is not specified it
|
1874
|
+
# will be generated by the server.
|
1875
|
+
# @param [String] fields
|
1876
|
+
# Selector specifying which fields to include in a partial response.
|
1877
|
+
# @param [String] quota_user
|
1878
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1879
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1880
|
+
# @param [Google::Apis::RequestOptions] options
|
1881
|
+
# Request-specific options
|
1882
|
+
#
|
1883
|
+
# @yield [result, err] Result & error if block supplied
|
1884
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1885
|
+
# @yieldparam err [StandardError] error object if request failed
|
1886
|
+
#
|
1887
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1888
|
+
#
|
1889
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1890
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1891
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1892
|
+
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)
|
1893
|
+
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1894
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1895
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
1896
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1897
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1898
|
+
command.params['parent'] = parent unless parent.nil?
|
1899
|
+
command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
|
1900
|
+
command.query['fields'] = fields unless fields.nil?
|
1901
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1902
|
+
execute_or_queue_command(command, &block)
|
1903
|
+
end
|
1904
|
+
|
1905
|
+
# Delete feedback label.
|
1906
|
+
# @param [String] name
|
1907
|
+
# Required. The name of the feedback label to delete.
|
1908
|
+
# @param [String] fields
|
1909
|
+
# Selector specifying which fields to include in a partial response.
|
1910
|
+
# @param [String] quota_user
|
1911
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1912
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1913
|
+
# @param [Google::Apis::RequestOptions] options
|
1914
|
+
# Request-specific options
|
1915
|
+
#
|
1916
|
+
# @yield [result, err] Result & error if block supplied
|
1917
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1918
|
+
# @yieldparam err [StandardError] error object if request failed
|
1919
|
+
#
|
1920
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1921
|
+
#
|
1922
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1923
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1924
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1925
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1926
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1927
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1928
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1929
|
+
command.params['name'] = name unless name.nil?
|
1930
|
+
command.query['fields'] = fields unless fields.nil?
|
1931
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1932
|
+
execute_or_queue_command(command, &block)
|
1933
|
+
end
|
1934
|
+
|
1935
|
+
# Get feedback label.
|
1936
|
+
# @param [String] name
|
1937
|
+
# Required. The name of the feedback label to get.
|
1938
|
+
# @param [String] fields
|
1939
|
+
# Selector specifying which fields to include in a partial response.
|
1940
|
+
# @param [String] quota_user
|
1941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1943
|
+
# @param [Google::Apis::RequestOptions] options
|
1944
|
+
# Request-specific options
|
1945
|
+
#
|
1946
|
+
# @yield [result, err] Result & error if block supplied
|
1947
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1948
|
+
# @yieldparam err [StandardError] error object if request failed
|
1949
|
+
#
|
1950
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1951
|
+
#
|
1952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1955
|
+
def get_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1956
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1957
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1958
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1959
|
+
command.params['name'] = name unless name.nil?
|
1960
|
+
command.query['fields'] = fields unless fields.nil?
|
1961
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1962
|
+
execute_or_queue_command(command, &block)
|
1963
|
+
end
|
1964
|
+
|
1965
|
+
# List feedback labels.
|
1966
|
+
# @param [String] parent
|
1967
|
+
# Required. The parent resource of the feedback labels.
|
1968
|
+
# @param [String] filter
|
1969
|
+
# Optional. A filter to reduce results to a specific subset. Supports
|
1970
|
+
# disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
|
1971
|
+
# ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
|
1972
|
+
# Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
|
1973
|
+
# min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
|
1974
|
+
# `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
|
1975
|
+
# @param [Fixnum] page_size
|
1976
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
1977
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
1978
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
1979
|
+
# might return fewer results than the requested page size.
|
1980
|
+
# @param [String] page_token
|
1981
|
+
# Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
|
1982
|
+
# value indicates that this is a continuation of a prior `ListFeedbackLabels`
|
1983
|
+
# call and that the system should return the next page of data.
|
1984
|
+
# @param [String] fields
|
1985
|
+
# Selector specifying which fields to include in a partial response.
|
1986
|
+
# @param [String] quota_user
|
1987
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1988
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1989
|
+
# @param [Google::Apis::RequestOptions] options
|
1990
|
+
# Request-specific options
|
1991
|
+
#
|
1992
|
+
# @yield [result, err] Result & error if block supplied
|
1993
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
|
1994
|
+
# @yieldparam err [StandardError] error object if request failed
|
1995
|
+
#
|
1996
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
|
1997
|
+
#
|
1998
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1999
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2000
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2001
|
+
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)
|
2002
|
+
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
2003
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
2004
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
2005
|
+
command.params['parent'] = parent unless parent.nil?
|
2006
|
+
command.query['filter'] = filter unless filter.nil?
|
2007
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2008
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2009
|
+
command.query['fields'] = fields unless fields.nil?
|
2010
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2011
|
+
execute_or_queue_command(command, &block)
|
2012
|
+
end
|
2013
|
+
|
2014
|
+
# Update feedback label.
|
2015
|
+
# @param [String] name
|
2016
|
+
# Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
|
2017
|
+
# locations/`location`/conversations/`conversation`/feedbackLabels/`
|
2018
|
+
# feedback_label`
|
2019
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
2020
|
+
# @param [String] update_mask
|
2021
|
+
# Required. The list of fields to be updated.
|
2022
|
+
# @param [String] fields
|
2023
|
+
# Selector specifying which fields to include in a partial response.
|
2024
|
+
# @param [String] quota_user
|
2025
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2026
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2027
|
+
# @param [Google::Apis::RequestOptions] options
|
2028
|
+
# Request-specific options
|
2029
|
+
#
|
2030
|
+
# @yield [result, err] Result & error if block supplied
|
2031
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
2032
|
+
# @yieldparam err [StandardError] error object if request failed
|
2033
|
+
#
|
2034
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
2035
|
+
#
|
2036
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2037
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2038
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2039
|
+
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)
|
2040
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2041
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2042
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
2043
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2044
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
2045
|
+
command.params['name'] = name unless name.nil?
|
2046
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2047
|
+
command.query['fields'] = fields unless fields.nil?
|
2048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2049
|
+
execute_or_queue_command(command, &block)
|
2050
|
+
end
|
2051
|
+
|
2052
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
2053
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
2054
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
2055
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
2056
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
2057
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
2058
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
2059
|
+
# , corresponding to `Code.CANCELLED`.
|
2060
|
+
# @param [String] name
|
2061
|
+
# The name of the operation resource to be cancelled.
|
2062
|
+
# @param [String] fields
|
2063
|
+
# Selector specifying which fields to include in a partial response.
|
2064
|
+
# @param [String] quota_user
|
2065
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2066
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2067
|
+
# @param [Google::Apis::RequestOptions] options
|
2068
|
+
# Request-specific options
|
2069
|
+
#
|
2070
|
+
# @yield [result, err] Result & error if block supplied
|
2071
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
2072
|
+
# @yieldparam err [StandardError] error object if request failed
|
2073
|
+
#
|
2074
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
2075
|
+
#
|
2076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2079
|
+
def cancel_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2080
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
2081
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2082
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
2083
|
+
command.params['name'] = name unless name.nil?
|
2084
|
+
command.query['fields'] = fields unless fields.nil?
|
2085
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2086
|
+
execute_or_queue_command(command, &block)
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
2090
|
+
# to poll the operation result at intervals as recommended by the API service.
|
2091
|
+
# @param [String] name
|
2092
|
+
# The name of the operation resource.
|
2093
|
+
# @param [String] fields
|
2094
|
+
# Selector specifying which fields to include in a partial response.
|
2095
|
+
# @param [String] quota_user
|
2096
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2097
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2098
|
+
# @param [Google::Apis::RequestOptions] options
|
2099
|
+
# Request-specific options
|
2100
|
+
#
|
2101
|
+
# @yield [result, err] Result & error if block supplied
|
2102
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2103
|
+
# @yieldparam err [StandardError] error object if request failed
|
2104
|
+
#
|
2105
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2106
|
+
#
|
2107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2110
|
+
def get_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
2111
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2112
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2113
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2114
|
+
command.params['name'] = name unless name.nil?
|
2115
|
+
command.query['fields'] = fields unless fields.nil?
|
2116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2117
|
+
execute_or_queue_command(command, &block)
|
2118
|
+
end
|
2119
|
+
|
2120
|
+
# Lists operations that match the specified filter in the request. If the server
|
2121
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
2122
|
+
# @param [String] name
|
2123
|
+
# The name of the operation's parent resource.
|
2124
|
+
# @param [String] filter
|
2125
|
+
# The standard list filter.
|
2126
|
+
# @param [Fixnum] page_size
|
2127
|
+
# The standard list page size.
|
2128
|
+
# @param [String] page_token
|
2129
|
+
# The standard list page token.
|
2130
|
+
# @param [String] fields
|
2131
|
+
# Selector specifying which fields to include in a partial response.
|
2132
|
+
# @param [String] quota_user
|
2133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2135
|
+
# @param [Google::Apis::RequestOptions] options
|
2136
|
+
# Request-specific options
|
2137
|
+
#
|
2138
|
+
# @yield [result, err] Result & error if block supplied
|
2139
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse] parsed result object
|
2140
|
+
# @yieldparam err [StandardError] error object if request failed
|
2141
|
+
#
|
2142
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
|
2143
|
+
#
|
2144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2147
|
+
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)
|
2148
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
2149
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse::Representation
|
2150
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse
|
2151
|
+
command.params['name'] = name unless name.nil?
|
2152
|
+
command.query['filter'] = filter unless filter.nil?
|
2153
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2154
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2155
|
+
command.query['fields'] = fields unless fields.nil?
|
2156
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2157
|
+
execute_or_queue_command(command, &block)
|
2158
|
+
end
|
2159
|
+
|
2160
|
+
# Analyzes multiple conversations in a single request.
|
2161
|
+
# @param [String] parent
|
2162
|
+
# Required. The parent resource to create analyses in.
|
2163
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
2164
|
+
# @param [String] fields
|
2165
|
+
# Selector specifying which fields to include in a partial response.
|
2166
|
+
# @param [String] quota_user
|
2167
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2168
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2169
|
+
# @param [Google::Apis::RequestOptions] options
|
2170
|
+
# Request-specific options
|
2171
|
+
#
|
2172
|
+
# @yield [result, err] Result & error if block supplied
|
2173
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2174
|
+
# @yieldparam err [StandardError] error object if request failed
|
2175
|
+
#
|
2176
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2177
|
+
#
|
2178
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2179
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2180
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2181
|
+
def bulk_project_location_conversation_analyze(parent, google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2182
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
2183
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
2184
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
2185
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2186
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2187
|
+
command.params['parent'] = parent unless parent.nil?
|
2188
|
+
command.query['fields'] = fields unless fields.nil?
|
2189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2190
|
+
execute_or_queue_command(command, &block)
|
2191
|
+
end
|
2192
|
+
|
2193
|
+
# Deletes multiple conversations in a single request.
|
2194
|
+
# @param [String] parent
|
2195
|
+
# Required. The parent resource to delete conversations from. Format: projects/`
|
2196
|
+
# project`/locations/`location`
|
2197
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
2198
|
+
# @param [String] fields
|
2199
|
+
# Selector specifying which fields to include in a partial response.
|
2200
|
+
# @param [String] quota_user
|
2201
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2202
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2203
|
+
# @param [Google::Apis::RequestOptions] options
|
2204
|
+
# Request-specific options
|
2205
|
+
#
|
2206
|
+
# @yield [result, err] Result & error if block supplied
|
2207
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2208
|
+
# @yieldparam err [StandardError] error object if request failed
|
2209
|
+
#
|
2210
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2211
|
+
#
|
2212
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2213
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2214
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2215
|
+
def bulk_project_location_conversation_delete(parent, google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2216
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
2217
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
2218
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
2219
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2220
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2221
|
+
command.params['parent'] = parent unless parent.nil?
|
2222
|
+
command.query['fields'] = fields unless fields.nil?
|
2223
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2224
|
+
execute_or_queue_command(command, &block)
|
2225
|
+
end
|
2226
|
+
|
2227
|
+
# Gets conversation statistics.
|
2228
|
+
# @param [String] location
|
2229
|
+
# Required. The location of the conversations.
|
2230
|
+
# @param [String] filter
|
2231
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
2232
|
+
# getting statistics about conversations with specific properties.
|
2233
|
+
# @param [String] fields
|
2234
|
+
# Selector specifying which fields to include in a partial response.
|
2235
|
+
# @param [String] quota_user
|
2236
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2237
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2238
|
+
# @param [Google::Apis::RequestOptions] options
|
2239
|
+
# Request-specific options
|
2240
|
+
#
|
2241
|
+
# @yield [result, err] Result & error if block supplied
|
2242
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
2243
|
+
# @yieldparam err [StandardError] error object if request failed
|
2244
|
+
#
|
2245
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
2246
|
+
#
|
2247
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2248
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2249
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2250
|
+
def calculate_project_location_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2251
|
+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
2252
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
2253
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
2254
|
+
command.params['location'] = location unless location.nil?
|
2255
|
+
command.query['filter'] = filter unless filter.nil?
|
2256
|
+
command.query['fields'] = fields unless fields.nil?
|
2257
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2258
|
+
execute_or_queue_command(command, &block)
|
2259
|
+
end
|
2260
|
+
|
2261
|
+
# Creates a conversation. Note that this method does not support audio
|
2262
|
+
# transcription or redaction. Use `conversations.upload` instead.
|
2263
|
+
# @param [String] parent
|
2264
|
+
# Required. The parent resource of the conversation.
|
2265
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
2266
|
+
# @param [String] conversation_id
|
2267
|
+
# A unique ID for the new conversation. This ID will become the final component
|
2268
|
+
# of the conversation's resource name. If no ID is specified, a server-generated
|
2269
|
+
# ID will be used. This value should be 4-64 characters and must match the
|
2270
|
+
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
2271
|
+
# @param [String] fields
|
2272
|
+
# Selector specifying which fields to include in a partial response.
|
2273
|
+
# @param [String] quota_user
|
2274
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2275
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2276
|
+
# @param [Google::Apis::RequestOptions] options
|
2277
|
+
# Request-specific options
|
2278
|
+
#
|
2279
|
+
# @yield [result, err] Result & error if block supplied
|
2280
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
2281
|
+
# @yieldparam err [StandardError] error object if request failed
|
2282
|
+
#
|
2283
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
2284
|
+
#
|
2285
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2286
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2287
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2288
|
+
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2289
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
2290
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
2291
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
2292
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
2293
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
2294
|
+
command.params['parent'] = parent unless parent.nil?
|
2295
|
+
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
2296
|
+
command.query['fields'] = fields unless fields.nil?
|
2297
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2298
|
+
execute_or_queue_command(command, &block)
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
# Deletes a conversation.
|
2302
|
+
# @param [String] name
|
2303
|
+
# Required. The name of the conversation to delete.
|
2304
|
+
# @param [Boolean] force
|
2305
|
+
# If set to true, all of this conversation's analyses will also be deleted.
|
2306
|
+
# Otherwise, the request will only succeed if the conversation has no analyses.
|
2307
|
+
# @param [String] fields
|
2308
|
+
# Selector specifying which fields to include in a partial response.
|
2309
|
+
# @param [String] quota_user
|
2310
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2311
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2312
|
+
# @param [Google::Apis::RequestOptions] options
|
2313
|
+
# Request-specific options
|
2314
|
+
#
|
2315
|
+
# @yield [result, err] Result & error if block supplied
|
2316
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
2317
|
+
# @yieldparam err [StandardError] error object if request failed
|
2318
|
+
#
|
2319
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
2320
|
+
#
|
2321
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2322
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2323
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2324
|
+
def delete_project_location_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2325
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2326
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2327
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
2328
|
+
command.params['name'] = name unless name.nil?
|
2329
|
+
command.query['force'] = force unless force.nil?
|
2330
|
+
command.query['fields'] = fields unless fields.nil?
|
2331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2332
|
+
execute_or_queue_command(command, &block)
|
2333
|
+
end
|
2334
|
+
|
2335
|
+
# Gets a conversation.
|
2336
|
+
# @param [String] name
|
2337
|
+
# Required. The name of the conversation to get.
|
2338
|
+
# @param [String] view
|
2339
|
+
# The level of details of the conversation. Default is `FULL`.
|
2340
|
+
# @param [String] fields
|
2341
|
+
# Selector specifying which fields to include in a partial response.
|
2342
|
+
# @param [String] quota_user
|
2343
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2344
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2345
|
+
# @param [Google::Apis::RequestOptions] options
|
2346
|
+
# Request-specific options
|
2347
|
+
#
|
2348
|
+
# @yield [result, err] Result & error if block supplied
|
2349
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
2350
|
+
# @yieldparam err [StandardError] error object if request failed
|
2351
|
+
#
|
2352
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
2353
|
+
#
|
2354
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2355
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2356
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2357
|
+
def get_project_location_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2358
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2359
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
2360
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
2361
|
+
command.params['name'] = name unless name.nil?
|
2362
|
+
command.query['view'] = view unless view.nil?
|
2363
|
+
command.query['fields'] = fields unless fields.nil?
|
2364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2365
|
+
execute_or_queue_command(command, &block)
|
2366
|
+
end
|
2367
|
+
|
2368
|
+
# Imports conversations and processes them according to the user's configuration.
|
2369
|
+
# @param [String] parent
|
2370
|
+
# Required. The parent resource for new conversations.
|
2371
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest] google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
2372
|
+
# @param [String] fields
|
2373
|
+
# Selector specifying which fields to include in a partial response.
|
2374
|
+
# @param [String] quota_user
|
2375
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2376
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2377
|
+
# @param [Google::Apis::RequestOptions] options
|
2378
|
+
# Request-specific options
|
2379
|
+
#
|
2380
|
+
# @yield [result, err] Result & error if block supplied
|
2381
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2382
|
+
# @yieldparam err [StandardError] error object if request failed
|
2383
|
+
#
|
2384
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2385
|
+
#
|
2386
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2387
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2388
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2389
|
+
def ingest_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2390
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
2391
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
2392
|
+
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
2393
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2394
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2395
|
+
command.params['parent'] = parent unless parent.nil?
|
2396
|
+
command.query['fields'] = fields unless fields.nil?
|
2397
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2398
|
+
execute_or_queue_command(command, &block)
|
2399
|
+
end
|
2400
|
+
|
2401
|
+
# Lists conversations.
|
2402
|
+
# @param [String] parent
|
2403
|
+
# Required. The parent resource of the conversation.
|
2404
|
+
# @param [String] filter
|
2405
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
2406
|
+
# conversations with specific properties.
|
2407
|
+
# @param [String] order_by
|
2408
|
+
# Optional. The attribute by which to order conversations in the response. If
|
2409
|
+
# empty, conversations will be ordered by descending creation time. Supported
|
2410
|
+
# values are one of the following: * create_time * customer_satisfaction_rating *
|
2411
|
+
# duration * latest_analysis * start_time * turn_count The default sort order
|
2412
|
+
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
2413
|
+
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
2414
|
+
# ordering).
|
2415
|
+
# @param [Fixnum] page_size
|
2416
|
+
# The maximum number of conversations to return in the response. A valid page
|
2417
|
+
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
2418
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
2419
|
+
# return fewer results than the requested page size.
|
2420
|
+
# @param [String] page_token
|
2421
|
+
# The value returned by the last `ListConversationsResponse`. This value
|
2422
|
+
# indicates that this is a continuation of a prior `ListConversations` call and
|
2423
|
+
# that the system should return the next page of data.
|
2424
|
+
# @param [String] view
|
2425
|
+
# The level of details of the conversation. Default is `BASIC`.
|
2426
|
+
# @param [String] fields
|
2427
|
+
# Selector specifying which fields to include in a partial response.
|
2428
|
+
# @param [String] quota_user
|
2429
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2430
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2431
|
+
# @param [Google::Apis::RequestOptions] options
|
2432
|
+
# Request-specific options
|
2433
|
+
#
|
2434
|
+
# @yield [result, err] Result & error if block supplied
|
2435
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
|
2436
|
+
# @yieldparam err [StandardError] error object if request failed
|
2437
|
+
#
|
2438
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
|
2439
|
+
#
|
2440
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2441
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2442
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2443
|
+
def list_project_location_conversations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2444
|
+
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
2445
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
2446
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
2447
|
+
command.params['parent'] = parent unless parent.nil?
|
2448
|
+
command.query['filter'] = filter unless filter.nil?
|
2449
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
2450
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2451
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2452
|
+
command.query['view'] = view unless view.nil?
|
2453
|
+
command.query['fields'] = fields unless fields.nil?
|
2454
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2455
|
+
execute_or_queue_command(command, &block)
|
2456
|
+
end
|
2457
|
+
|
2458
|
+
# Updates a conversation.
|
2459
|
+
# @param [String] name
|
2460
|
+
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
2461
|
+
# locations/`location`/conversations/`conversation`
|
2462
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
2463
|
+
# @param [String] update_mask
|
2464
|
+
# The list of fields to be updated. All possible fields can be updated by
|
2465
|
+
# passing `*`, or a subset of the following updateable fields can be provided: *
|
2466
|
+
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
2467
|
+
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
2468
|
+
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
2469
|
+
# @param [String] fields
|
2470
|
+
# Selector specifying which fields to include in a partial response.
|
2471
|
+
# @param [String] quota_user
|
2472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2474
|
+
# @param [Google::Apis::RequestOptions] options
|
2475
|
+
# Request-specific options
|
2476
|
+
#
|
2477
|
+
# @yield [result, err] Result & error if block supplied
|
2478
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
2479
|
+
# @yieldparam err [StandardError] error object if request failed
|
2480
|
+
#
|
2481
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
2482
|
+
#
|
2483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2486
|
+
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2487
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2488
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
2489
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
2490
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
2491
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
2492
|
+
command.params['name'] = name unless name.nil?
|
2493
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2494
|
+
command.query['fields'] = fields unless fields.nil?
|
2495
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2496
|
+
execute_or_queue_command(command, &block)
|
2497
|
+
end
|
2498
|
+
|
2499
|
+
# Create a long-running conversation upload operation. This method differs from `
|
2500
|
+
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
2501
|
+
# @param [String] parent
|
2502
|
+
# Required. The parent resource of the conversation.
|
2503
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
2504
|
+
# @param [String] fields
|
2505
|
+
# Selector specifying which fields to include in a partial response.
|
2506
|
+
# @param [String] quota_user
|
2507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2509
|
+
# @param [Google::Apis::RequestOptions] options
|
2510
|
+
# Request-specific options
|
2511
|
+
#
|
2512
|
+
# @yield [result, err] Result & error if block supplied
|
2513
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2514
|
+
# @yieldparam err [StandardError] error object if request failed
|
2515
|
+
#
|
2516
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2517
|
+
#
|
2518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2521
|
+
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2522
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
2523
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
2524
|
+
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
2525
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2526
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2527
|
+
command.params['parent'] = parent unless parent.nil?
|
2528
|
+
command.query['fields'] = fields unless fields.nil?
|
2529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2530
|
+
execute_or_queue_command(command, &block)
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
# Creates an analysis. The long running operation is done when the analysis has
|
2534
|
+
# completed.
|
2535
|
+
# @param [String] parent
|
2536
|
+
# Required. The parent resource of the analysis.
|
2537
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
2538
|
+
# @param [String] fields
|
2539
|
+
# Selector specifying which fields to include in a partial response.
|
2540
|
+
# @param [String] quota_user
|
2541
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2542
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2543
|
+
# @param [Google::Apis::RequestOptions] options
|
2544
|
+
# Request-specific options
|
2545
|
+
#
|
2546
|
+
# @yield [result, err] Result & error if block supplied
|
2547
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2548
|
+
# @yieldparam err [StandardError] error object if request failed
|
2549
|
+
#
|
2550
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2551
|
+
#
|
2552
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2553
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2554
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2555
|
+
def create_project_location_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2556
|
+
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
2557
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
2558
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
2559
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2560
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2561
|
+
command.params['parent'] = parent unless parent.nil?
|
2562
|
+
command.query['fields'] = fields unless fields.nil?
|
2563
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2564
|
+
execute_or_queue_command(command, &block)
|
2565
|
+
end
|
2566
|
+
|
2567
|
+
# Deletes an analysis.
|
2568
|
+
# @param [String] name
|
2569
|
+
# Required. The name of the analysis to delete.
|
2570
|
+
# @param [String] fields
|
2571
|
+
# Selector specifying which fields to include in a partial response.
|
2572
|
+
# @param [String] quota_user
|
2573
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2574
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2575
|
+
# @param [Google::Apis::RequestOptions] options
|
2576
|
+
# Request-specific options
|
2577
|
+
#
|
2578
|
+
# @yield [result, err] Result & error if block supplied
|
2579
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
2580
|
+
# @yieldparam err [StandardError] error object if request failed
|
2581
|
+
#
|
2582
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
2583
|
+
#
|
2584
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2585
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2586
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2587
|
+
def delete_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
2588
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2589
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2590
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
2591
|
+
command.params['name'] = name unless name.nil?
|
2592
|
+
command.query['fields'] = fields unless fields.nil?
|
2593
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2594
|
+
execute_or_queue_command(command, &block)
|
2595
|
+
end
|
2596
|
+
|
2597
|
+
# Gets an analysis.
|
2598
|
+
# @param [String] name
|
2599
|
+
# Required. The name of the analysis to get.
|
2600
|
+
# @param [String] fields
|
2601
|
+
# Selector specifying which fields to include in a partial response.
|
2602
|
+
# @param [String] quota_user
|
2603
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2604
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2605
|
+
# @param [Google::Apis::RequestOptions] options
|
2606
|
+
# Request-specific options
|
2607
|
+
#
|
2608
|
+
# @yield [result, err] Result & error if block supplied
|
2609
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
|
2610
|
+
# @yieldparam err [StandardError] error object if request failed
|
2611
|
+
#
|
2612
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
|
2613
|
+
#
|
2614
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2615
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2616
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2617
|
+
def get_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
2618
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2619
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
2620
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
2621
|
+
command.params['name'] = name unless name.nil?
|
2622
|
+
command.query['fields'] = fields unless fields.nil?
|
2623
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2624
|
+
execute_or_queue_command(command, &block)
|
2625
|
+
end
|
2626
|
+
|
2627
|
+
# Lists analyses.
|
2628
|
+
# @param [String] parent
|
2629
|
+
# Required. The parent resource of the analyses.
|
2630
|
+
# @param [String] filter
|
2631
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
2632
|
+
# conversations with specific properties.
|
2633
|
+
# @param [Fixnum] page_size
|
2634
|
+
# The maximum number of analyses to return in the response. If this value is
|
2635
|
+
# zero, the service will select a default size. A call might return fewer
|
2636
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
2637
|
+
# indicates that more data is available.
|
2638
|
+
# @param [String] page_token
|
2639
|
+
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
2640
|
+
# a continuation of a prior `ListAnalyses` call and the system should return the
|
2641
|
+
# next page of data.
|
512
2642
|
# @param [String] fields
|
513
2643
|
# Selector specifying which fields to include in a partial response.
|
514
2644
|
# @param [String] quota_user
|
@@ -518,30 +2648,31 @@ module Google
|
|
518
2648
|
# Request-specific options
|
519
2649
|
#
|
520
2650
|
# @yield [result, err] Result & error if block supplied
|
521
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2651
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
|
522
2652
|
# @yieldparam err [StandardError] error object if request failed
|
523
2653
|
#
|
524
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2654
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
|
525
2655
|
#
|
526
2656
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
527
2657
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
528
2658
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
529
|
-
def
|
530
|
-
command = make_simple_command(:
|
531
|
-
command.
|
532
|
-
command.
|
533
|
-
command.
|
534
|
-
command.
|
535
|
-
command.
|
2659
|
+
def list_project_location_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2660
|
+
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
2661
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
2662
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
2663
|
+
command.params['parent'] = parent unless parent.nil?
|
2664
|
+
command.query['filter'] = filter unless filter.nil?
|
2665
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2666
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
536
2667
|
command.query['fields'] = fields unless fields.nil?
|
537
2668
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
538
2669
|
execute_or_queue_command(command, &block)
|
539
2670
|
end
|
540
2671
|
|
541
|
-
#
|
542
|
-
# @param [String]
|
543
|
-
# Required. The
|
544
|
-
# @param [Google::Apis::ContactcenterinsightsV1::
|
2672
|
+
# Appeal an Assessment.
|
2673
|
+
# @param [String] name
|
2674
|
+
# Required. The name of the assessment to appeal.
|
2675
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AppealAssessmentRequest] google_cloud_contactcenterinsights_v1_appeal_assessment_request_object
|
545
2676
|
# @param [String] fields
|
546
2677
|
# Selector specifying which fields to include in a partial response.
|
547
2678
|
# @param [String] quota_user
|
@@ -551,32 +2682,30 @@ module Google
|
|
551
2682
|
# Request-specific options
|
552
2683
|
#
|
553
2684
|
# @yield [result, err] Result & error if block supplied
|
554
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2685
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
555
2686
|
# @yieldparam err [StandardError] error object if request failed
|
556
2687
|
#
|
557
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2688
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
558
2689
|
#
|
559
2690
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
560
2691
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
561
2692
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
562
|
-
def
|
563
|
-
command = make_simple_command(:post, 'v1/{+
|
564
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
565
|
-
command.request_object =
|
566
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
567
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
568
|
-
command.params['
|
2693
|
+
def appeal_project_location_conversation_assessment(name, google_cloud_contactcenterinsights_v1_appeal_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2694
|
+
command = make_simple_command(:post, 'v1/{+name}:appeal', options)
|
2695
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AppealAssessmentRequest::Representation
|
2696
|
+
command.request_object = google_cloud_contactcenterinsights_v1_appeal_assessment_request_object
|
2697
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2698
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
2699
|
+
command.params['name'] = name unless name.nil?
|
569
2700
|
command.query['fields'] = fields unless fields.nil?
|
570
2701
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
571
2702
|
execute_or_queue_command(command, &block)
|
572
2703
|
end
|
573
2704
|
|
574
|
-
#
|
575
|
-
# @param [String]
|
576
|
-
# Required. The
|
577
|
-
# @param [
|
578
|
-
# A filter to reduce results to a specific subset. This field is useful for
|
579
|
-
# getting statistics about conversations with specific properties.
|
2705
|
+
# Create Assessment.
|
2706
|
+
# @param [String] parent
|
2707
|
+
# Required. The parent resource of the assessment.
|
2708
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] google_cloud_contactcenterinsights_v1_assessment_object
|
580
2709
|
# @param [String] fields
|
581
2710
|
# Selector specifying which fields to include in a partial response.
|
582
2711
|
# @param [String] quota_user
|
@@ -586,31 +2715,32 @@ module Google
|
|
586
2715
|
# Request-specific options
|
587
2716
|
#
|
588
2717
|
# @yield [result, err] Result & error if block supplied
|
589
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2718
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
590
2719
|
# @yieldparam err [StandardError] error object if request failed
|
591
2720
|
#
|
592
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2721
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
593
2722
|
#
|
594
2723
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
595
2724
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
2725
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
|
-
def
|
598
|
-
command = make_simple_command(:
|
599
|
-
command.
|
600
|
-
command.
|
601
|
-
command.
|
602
|
-
command.
|
2726
|
+
def create_project_location_conversation_assessment(parent, google_cloud_contactcenterinsights_v1_assessment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2727
|
+
command = make_simple_command(:post, 'v1/{+parent}/assessments', options)
|
2728
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2729
|
+
command.request_object = google_cloud_contactcenterinsights_v1_assessment_object
|
2730
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2731
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
2732
|
+
command.params['parent'] = parent unless parent.nil?
|
603
2733
|
command.query['fields'] = fields unless fields.nil?
|
604
2734
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
605
2735
|
execute_or_queue_command(command, &block)
|
606
2736
|
end
|
607
2737
|
|
608
|
-
#
|
2738
|
+
# Delete an Assessment.
|
609
2739
|
# @param [String] name
|
610
|
-
# Required. The name of the
|
2740
|
+
# Required. The name of the assessment to delete.
|
611
2741
|
# @param [Boolean] force
|
612
|
-
# If set to true, all of this
|
613
|
-
# Otherwise, the request will only succeed if
|
2742
|
+
# Optional. If set to true, all of this assessment's notes will also be deleted.
|
2743
|
+
# Otherwise, the request will only succeed if it has no notes.
|
614
2744
|
# @param [String] fields
|
615
2745
|
# Selector specifying which fields to include in a partial response.
|
616
2746
|
# @param [String] quota_user
|
@@ -628,7 +2758,7 @@ module Google
|
|
628
2758
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
629
2759
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
630
2760
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
631
|
-
def
|
2761
|
+
def delete_project_location_conversation_assessment(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
632
2762
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
633
2763
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
634
2764
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -639,11 +2769,10 @@ module Google
|
|
639
2769
|
execute_or_queue_command(command, &block)
|
640
2770
|
end
|
641
2771
|
|
642
|
-
#
|
2772
|
+
# Finalize an Assessment.
|
643
2773
|
# @param [String] name
|
644
|
-
# Required. The name of the
|
645
|
-
# @param [
|
646
|
-
# The level of details of the conversation. Default is `FULL`.
|
2774
|
+
# Required. The name of the assessment to finalize.
|
2775
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest] google_cloud_contactcenterinsights_v1_finalize_assessment_request_object
|
647
2776
|
# @param [String] fields
|
648
2777
|
# Selector specifying which fields to include in a partial response.
|
649
2778
|
# @param [String] quota_user
|
@@ -653,50 +2782,72 @@ module Google
|
|
653
2782
|
# Request-specific options
|
654
2783
|
#
|
655
2784
|
# @yield [result, err] Result & error if block supplied
|
656
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2785
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
657
2786
|
# @yieldparam err [StandardError] error object if request failed
|
658
2787
|
#
|
659
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2788
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
660
2789
|
#
|
661
2790
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
662
2791
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
663
2792
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
664
|
-
def
|
2793
|
+
def finalize_project_location_conversation_assessment(name, google_cloud_contactcenterinsights_v1_finalize_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2794
|
+
command = make_simple_command(:post, 'v1/{+name}:finalize', options)
|
2795
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest::Representation
|
2796
|
+
command.request_object = google_cloud_contactcenterinsights_v1_finalize_assessment_request_object
|
2797
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2798
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
2799
|
+
command.params['name'] = name unless name.nil?
|
2800
|
+
command.query['fields'] = fields unless fields.nil?
|
2801
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2802
|
+
execute_or_queue_command(command, &block)
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
# Get Assessment.
|
2806
|
+
# @param [String] name
|
2807
|
+
# Required. The name of the assessment to get.
|
2808
|
+
# @param [String] fields
|
2809
|
+
# Selector specifying which fields to include in a partial response.
|
2810
|
+
# @param [String] quota_user
|
2811
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2812
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2813
|
+
# @param [Google::Apis::RequestOptions] options
|
2814
|
+
# Request-specific options
|
2815
|
+
#
|
2816
|
+
# @yield [result, err] Result & error if block supplied
|
2817
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
2818
|
+
# @yieldparam err [StandardError] error object if request failed
|
2819
|
+
#
|
2820
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
2821
|
+
#
|
2822
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2823
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2824
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2825
|
+
def get_project_location_conversation_assessment(name, fields: nil, quota_user: nil, options: nil, &block)
|
665
2826
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
666
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
667
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2827
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2828
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
668
2829
|
command.params['name'] = name unless name.nil?
|
669
|
-
command.query['view'] = view unless view.nil?
|
670
2830
|
command.query['fields'] = fields unless fields.nil?
|
671
2831
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
672
2832
|
execute_or_queue_command(command, &block)
|
673
2833
|
end
|
674
2834
|
|
675
|
-
#
|
2835
|
+
# List Assessments.
|
676
2836
|
# @param [String] parent
|
677
|
-
# Required. The parent resource of the
|
2837
|
+
# Required. The parent resource of the assessments. To list all assessments in a
|
2838
|
+
# location, substitute the conversation ID with a '-' character.
|
678
2839
|
# @param [String] filter
|
679
|
-
# A filter to reduce results to a specific subset.
|
680
|
-
#
|
681
|
-
#
|
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).
|
2840
|
+
# Optional. A filter to reduce results to a specific subset. Supported filters
|
2841
|
+
# include: * `state` - The state of the assessment * `agent_info.agent_id` - The
|
2842
|
+
# ID of the agent the assessment is for
|
689
2843
|
# @param [Fixnum] page_size
|
690
|
-
# The maximum number of
|
691
|
-
# size
|
692
|
-
#
|
693
|
-
# return fewer results than the requested page size.
|
2844
|
+
# The maximum number of assessments to list. If zero, the service will select a
|
2845
|
+
# default size. A call may return fewer objects than requested. A non-empty `
|
2846
|
+
# next_page_token` in the response indicates that more data is available.
|
694
2847
|
# @param [String] page_token
|
695
|
-
# The value returned by the last `
|
696
|
-
# indicates that this is a continuation of a prior `
|
697
|
-
#
|
698
|
-
# @param [String] view
|
699
|
-
# The level of details of the conversation. Default is `BASIC`.
|
2848
|
+
# Optional. The value returned by the last `ListAssessmentRulesResponse`;
|
2849
|
+
# indicates that this is a continuation of a prior `ListAssessmentRules` call
|
2850
|
+
# and the system should return the next page of data.
|
700
2851
|
# @param [String] fields
|
701
2852
|
# Selector specifying which fields to include in a partial response.
|
702
2853
|
# @param [String] quota_user
|
@@ -706,34 +2857,64 @@ module Google
|
|
706
2857
|
# Request-specific options
|
707
2858
|
#
|
708
2859
|
# @yield [result, err] Result & error if block supplied
|
709
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2860
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse] parsed result object
|
710
2861
|
# @yieldparam err [StandardError] error object if request failed
|
711
2862
|
#
|
712
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2863
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse]
|
713
2864
|
#
|
714
2865
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
715
2866
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
716
2867
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
717
|
-
def
|
718
|
-
command = make_simple_command(:get, 'v1/{+parent}/
|
719
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
720
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2868
|
+
def list_project_location_conversation_assessments(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2869
|
+
command = make_simple_command(:get, 'v1/{+parent}/assessments', options)
|
2870
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse::Representation
|
2871
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAssessmentsResponse
|
721
2872
|
command.params['parent'] = parent unless parent.nil?
|
722
2873
|
command.query['filter'] = filter unless filter.nil?
|
723
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
724
2874
|
command.query['pageSize'] = page_size unless page_size.nil?
|
725
2875
|
command.query['pageToken'] = page_token unless page_token.nil?
|
726
|
-
command.query['view'] = view unless view.nil?
|
727
2876
|
command.query['fields'] = fields unless fields.nil?
|
728
2877
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
729
2878
|
execute_or_queue_command(command, &block)
|
730
2879
|
end
|
731
2880
|
|
732
|
-
#
|
733
|
-
#
|
2881
|
+
# Publish an Assessment.
|
2882
|
+
# @param [String] name
|
2883
|
+
# Required. The name of the assessment to publish.
|
2884
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PublishAssessmentRequest] google_cloud_contactcenterinsights_v1_publish_assessment_request_object
|
2885
|
+
# @param [String] fields
|
2886
|
+
# Selector specifying which fields to include in a partial response.
|
2887
|
+
# @param [String] quota_user
|
2888
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2889
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2890
|
+
# @param [Google::Apis::RequestOptions] options
|
2891
|
+
# Request-specific options
|
2892
|
+
#
|
2893
|
+
# @yield [result, err] Result & error if block supplied
|
2894
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment] parsed result object
|
2895
|
+
# @yieldparam err [StandardError] error object if request failed
|
2896
|
+
#
|
2897
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment]
|
2898
|
+
#
|
2899
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2900
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2901
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2902
|
+
def publish_project_location_conversation_assessment(name, google_cloud_contactcenterinsights_v1_publish_assessment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2903
|
+
command = make_simple_command(:post, 'v1/{+name}:publish', options)
|
2904
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PublishAssessmentRequest::Representation
|
2905
|
+
command.request_object = google_cloud_contactcenterinsights_v1_publish_assessment_request_object
|
2906
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment::Representation
|
2907
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment
|
2908
|
+
command.params['name'] = name unless name.nil?
|
2909
|
+
command.query['fields'] = fields unless fields.nil?
|
2910
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2911
|
+
execute_or_queue_command(command, &block)
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
# Create Note.
|
734
2915
|
# @param [String] parent
|
735
|
-
# Required. The parent resource of the
|
736
|
-
# @param [Google::Apis::ContactcenterinsightsV1::
|
2916
|
+
# Required. The parent resource of the note.
|
2917
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] google_cloud_contactcenterinsights_v1_note_object
|
737
2918
|
# @param [String] fields
|
738
2919
|
# Selector specifying which fields to include in a partial response.
|
739
2920
|
# @param [String] quota_user
|
@@ -743,29 +2924,29 @@ module Google
|
|
743
2924
|
# Request-specific options
|
744
2925
|
#
|
745
2926
|
# @yield [result, err] Result & error if block supplied
|
746
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2927
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] parsed result object
|
747
2928
|
# @yieldparam err [StandardError] error object if request failed
|
748
2929
|
#
|
749
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2930
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note]
|
750
2931
|
#
|
751
2932
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
2933
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
2934
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
-
def
|
755
|
-
command = make_simple_command(:post, 'v1/{+parent}/
|
756
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
757
|
-
command.request_object =
|
758
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
759
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
2935
|
+
def create_project_location_conversation_assessment_note(parent, google_cloud_contactcenterinsights_v1_note_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2936
|
+
command = make_simple_command(:post, 'v1/{+parent}/notes', options)
|
2937
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
2938
|
+
command.request_object = google_cloud_contactcenterinsights_v1_note_object
|
2939
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
2940
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note
|
760
2941
|
command.params['parent'] = parent unless parent.nil?
|
761
2942
|
command.query['fields'] = fields unless fields.nil?
|
762
2943
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
763
2944
|
execute_or_queue_command(command, &block)
|
764
2945
|
end
|
765
2946
|
|
766
|
-
# Deletes
|
2947
|
+
# Deletes a Note.
|
767
2948
|
# @param [String] name
|
768
|
-
# Required. The name of the
|
2949
|
+
# Required. The name of the note to delete.
|
769
2950
|
# @param [String] fields
|
770
2951
|
# Selector specifying which fields to include in a partial response.
|
771
2952
|
# @param [String] quota_user
|
@@ -783,7 +2964,7 @@ module Google
|
|
783
2964
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
784
2965
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
785
2966
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
786
|
-
def
|
2967
|
+
def delete_project_location_conversation_assessment_note(name, fields: nil, quota_user: nil, options: nil, &block)
|
787
2968
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
788
2969
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
789
2970
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -793,9 +2974,18 @@ module Google
|
|
793
2974
|
execute_or_queue_command(command, &block)
|
794
2975
|
end
|
795
2976
|
|
796
|
-
#
|
797
|
-
# @param [String]
|
798
|
-
# Required. The
|
2977
|
+
# List Notes.
|
2978
|
+
# @param [String] parent
|
2979
|
+
# Required. The parent resource of the notes.
|
2980
|
+
# @param [Fixnum] page_size
|
2981
|
+
# Optional. The maximum number of notes to return in the response. If zero the
|
2982
|
+
# service will select a default size. A call might return fewer objects than
|
2983
|
+
# requested. A non-empty `next_page_token` in the response indicates that more
|
2984
|
+
# data is available.
|
2985
|
+
# @param [String] page_token
|
2986
|
+
# Optional. The value returned by the last `ListNotesResponse`. This value
|
2987
|
+
# indicates that this is a continuation of a prior `ListNotes` call and that the
|
2988
|
+
# system should return the next page of data.
|
799
2989
|
# @param [String] fields
|
800
2990
|
# Selector specifying which fields to include in a partial response.
|
801
2991
|
# @param [String] quota_user
|
@@ -805,39 +2995,35 @@ module Google
|
|
805
2995
|
# Request-specific options
|
806
2996
|
#
|
807
2997
|
# @yield [result, err] Result & error if block supplied
|
808
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2998
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse] parsed result object
|
809
2999
|
# @yieldparam err [StandardError] error object if request failed
|
810
3000
|
#
|
811
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
3001
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse]
|
812
3002
|
#
|
813
3003
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
814
3004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
815
3005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
816
|
-
def
|
817
|
-
command = make_simple_command(:get, 'v1/{+
|
818
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
819
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
820
|
-
command.params['
|
3006
|
+
def list_project_location_conversation_assessment_notes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3007
|
+
command = make_simple_command(:get, 'v1/{+parent}/notes', options)
|
3008
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse::Representation
|
3009
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListNotesResponse
|
3010
|
+
command.params['parent'] = parent unless parent.nil?
|
3011
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3012
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
821
3013
|
command.query['fields'] = fields unless fields.nil?
|
822
3014
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
823
3015
|
execute_or_queue_command(command, &block)
|
824
3016
|
end
|
825
3017
|
|
826
|
-
#
|
827
|
-
# @param [String]
|
828
|
-
#
|
829
|
-
#
|
830
|
-
#
|
831
|
-
#
|
832
|
-
# @param [
|
833
|
-
# The
|
834
|
-
#
|
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.
|
3018
|
+
# Update Note.
|
3019
|
+
# @param [String] name
|
3020
|
+
# Identifier. The resource name of the note. Format: projects/`project`/
|
3021
|
+
# locations/`location`/conversations/`conversation`/assessments/`assessment`/
|
3022
|
+
# notes/`note`
|
3023
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] google_cloud_contactcenterinsights_v1_note_object
|
3024
|
+
# @param [String] update_mask
|
3025
|
+
# Optional. The list of fields to be updated. If the update_mask is empty, all
|
3026
|
+
# updateable fields will be updated. Acceptable fields include: * `content`
|
841
3027
|
# @param [String] fields
|
842
3028
|
# Selector specifying which fields to include in a partial response.
|
843
3029
|
# @param [String] quota_user
|
@@ -847,22 +3033,22 @@ module Google
|
|
847
3033
|
# Request-specific options
|
848
3034
|
#
|
849
3035
|
# @yield [result, err] Result & error if block supplied
|
850
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
3036
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note] parsed result object
|
851
3037
|
# @yieldparam err [StandardError] error object if request failed
|
852
3038
|
#
|
853
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
3039
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note]
|
854
3040
|
#
|
855
3041
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
3042
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
3043
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def
|
859
|
-
command = make_simple_command(:
|
860
|
-
command.
|
861
|
-
command.
|
862
|
-
command.
|
863
|
-
command.
|
864
|
-
command.
|
865
|
-
command.query['
|
3044
|
+
def patch_project_location_conversation_assessment_note(name, google_cloud_contactcenterinsights_v1_note_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3045
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
3046
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
3047
|
+
command.request_object = google_cloud_contactcenterinsights_v1_note_object
|
3048
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note::Representation
|
3049
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note
|
3050
|
+
command.params['name'] = name unless name.nil?
|
3051
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
866
3052
|
command.query['fields'] = fields unless fields.nil?
|
867
3053
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
868
3054
|
execute_or_queue_command(command, &block)
|
@@ -892,7 +3078,7 @@ module Google
|
|
892
3078
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
893
3079
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
894
3080
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
895
|
-
def
|
3081
|
+
def create_project_location_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
3082
|
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
897
3083
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
898
3084
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -925,7 +3111,7 @@ module Google
|
|
925
3111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
926
3112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
927
3113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
928
|
-
def
|
3114
|
+
def delete_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
929
3115
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
930
3116
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
931
3117
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -955,7 +3141,7 @@ module Google
|
|
955
3141
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
956
3142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
957
3143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
958
|
-
def
|
3144
|
+
def get_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
959
3145
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
960
3146
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
961
3147
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
@@ -1001,7 +3187,7 @@ module Google
|
|
1001
3187
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1002
3188
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1003
3189
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1004
|
-
def
|
3190
|
+
def list_project_location_conversation_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1005
3191
|
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1006
3192
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1007
3193
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
@@ -1039,7 +3225,7 @@ module Google
|
|
1039
3225
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
3226
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
3227
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
-
def
|
3228
|
+
def patch_project_location_conversation_feedback_label(name, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1043
3229
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1044
3230
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1045
3231
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1052,16 +3238,45 @@ module Google
|
|
1052
3238
|
execute_or_queue_command(command, &block)
|
1053
3239
|
end
|
1054
3240
|
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
3241
|
+
# Delete feedback labels in bulk using a filter.
|
3242
|
+
# @param [String] parent
|
3243
|
+
# Required. The parent resource for new feedback labels.
|
3244
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
|
3245
|
+
# @param [String] fields
|
3246
|
+
# Selector specifying which fields to include in a partial response.
|
3247
|
+
# @param [String] quota_user
|
3248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3250
|
+
# @param [Google::Apis::RequestOptions] options
|
3251
|
+
# Request-specific options
|
3252
|
+
#
|
3253
|
+
# @yield [result, err] Result & error if block supplied
|
3254
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
3255
|
+
# @yieldparam err [StandardError] error object if request failed
|
3256
|
+
#
|
3257
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
3258
|
+
#
|
3259
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3260
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3261
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3262
|
+
def bulk_project_location_dataset_delete_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3263
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkDeleteFeedbackLabels', options)
|
3264
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest::Representation
|
3265
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
|
3266
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
3267
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
3268
|
+
command.params['parent'] = parent unless parent.nil?
|
3269
|
+
command.query['fields'] = fields unless fields.nil?
|
3270
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3271
|
+
execute_or_queue_command(command, &block)
|
3272
|
+
end
|
3273
|
+
|
3274
|
+
# Download feedback labels in bulk from an external source. Currently supports
|
3275
|
+
# exporting Quality AI example conversations with transcripts and question
|
3276
|
+
# bodies.
|
3277
|
+
# @param [String] parent
|
3278
|
+
# Required. The parent resource for new feedback labels.
|
3279
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
1065
3280
|
# @param [String] fields
|
1066
3281
|
# Selector specifying which fields to include in a partial response.
|
1067
3282
|
# @param [String] quota_user
|
@@ -1071,28 +3286,31 @@ module Google
|
|
1071
3286
|
# Request-specific options
|
1072
3287
|
#
|
1073
3288
|
# @yield [result, err] Result & error if block supplied
|
1074
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
3289
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1075
3290
|
# @yieldparam err [StandardError] error object if request failed
|
1076
3291
|
#
|
1077
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
3292
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1078
3293
|
#
|
1079
3294
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
3295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
3296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
-
def
|
1083
|
-
command = make_simple_command(:post, 'v1/{+
|
1084
|
-
command.
|
1085
|
-
command.
|
1086
|
-
command.
|
3297
|
+
def bulk_project_location_dataset_download_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3298
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkDownloadFeedbackLabels', options)
|
3299
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest::Representation
|
3300
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
3301
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
3302
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
3303
|
+
command.params['parent'] = parent unless parent.nil?
|
1087
3304
|
command.query['fields'] = fields unless fields.nil?
|
1088
3305
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1089
3306
|
execute_or_queue_command(command, &block)
|
1090
3307
|
end
|
1091
3308
|
|
1092
|
-
#
|
1093
|
-
#
|
1094
|
-
# @param [String]
|
1095
|
-
# The
|
3309
|
+
# Upload feedback labels from an external source in bulk. Currently supports
|
3310
|
+
# labeling Quality AI example conversations.
|
3311
|
+
# @param [String] parent
|
3312
|
+
# Required. The parent resource for new feedback labels.
|
3313
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
1096
3314
|
# @param [String] fields
|
1097
3315
|
# Selector specifying which fields to include in a partial response.
|
1098
3316
|
# @param [String] quota_user
|
@@ -1110,26 +3328,36 @@ module Google
|
|
1110
3328
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1111
3329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1112
3330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1113
|
-
def
|
1114
|
-
command = make_simple_command(:
|
3331
|
+
def bulk_project_location_dataset_upload_feedback_labels(parent, google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3332
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkUploadFeedbackLabels', options)
|
3333
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest::Representation
|
3334
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
1115
3335
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1116
3336
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1117
|
-
command.params['
|
3337
|
+
command.params['parent'] = parent unless parent.nil?
|
1118
3338
|
command.query['fields'] = fields unless fields.nil?
|
1119
3339
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1120
3340
|
execute_or_queue_command(command, &block)
|
1121
3341
|
end
|
1122
3342
|
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
# The name of the operation's parent resource.
|
3343
|
+
# List all feedback labels by project number.
|
3344
|
+
# @param [String] parent
|
3345
|
+
# Required. The parent resource of all feedback labels per project.
|
1127
3346
|
# @param [String] filter
|
1128
|
-
#
|
3347
|
+
# Optional. A filter to reduce results to a specific subset in the entire
|
3348
|
+
# project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: *
|
3349
|
+
# `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` *
|
3350
|
+
# `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI,
|
3351
|
+
# TOPIC_MODELING
|
1129
3352
|
# @param [Fixnum] page_size
|
1130
|
-
# The
|
3353
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
3354
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
3355
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
3356
|
+
# might return fewer results than the requested page size.
|
1131
3357
|
# @param [String] page_token
|
1132
|
-
# The
|
3358
|
+
# Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This
|
3359
|
+
# value indicates that this is a continuation of a prior `ListAllFeedbackLabels`
|
3360
|
+
# call and that the system should return the next page of data.
|
1133
3361
|
# @param [String] fields
|
1134
3362
|
# Selector specifying which fields to include in a partial response.
|
1135
3363
|
# @param [String] quota_user
|
@@ -1139,19 +3367,19 @@ module Google
|
|
1139
3367
|
# Request-specific options
|
1140
3368
|
#
|
1141
3369
|
# @yield [result, err] Result & error if block supplied
|
1142
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
3370
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse] parsed result object
|
1143
3371
|
# @yieldparam err [StandardError] error object if request failed
|
1144
3372
|
#
|
1145
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
3373
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse]
|
1146
3374
|
#
|
1147
3375
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1148
3376
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
3377
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
|
-
def
|
1151
|
-
command = make_simple_command(:get, 'v1/{+
|
1152
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1153
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1154
|
-
command.params['
|
3378
|
+
def list_project_location_dataset_all_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3379
|
+
command = make_simple_command(:get, 'v1/{+parent}:listAllFeedbackLabels', options)
|
3380
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse::Representation
|
3381
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse
|
3382
|
+
command.params['parent'] = parent unless parent.nil?
|
1155
3383
|
command.query['filter'] = filter unless filter.nil?
|
1156
3384
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1157
3385
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1181,7 +3409,7 @@ module Google
|
|
1181
3409
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1182
3410
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1183
3411
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
|
-
def
|
3412
|
+
def bulk_project_location_dataset_conversation_analyze(parent, google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1185
3413
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
1186
3414
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
1187
3415
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
@@ -1215,7 +3443,7 @@ module Google
|
|
1215
3443
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1216
3444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1217
3445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1218
|
-
def
|
3446
|
+
def bulk_project_location_dataset_conversation_delete(parent, google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1219
3447
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
1220
3448
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
1221
3449
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
@@ -1230,9 +3458,7 @@ module Google
|
|
1230
3458
|
# Gets conversation statistics.
|
1231
3459
|
# @param [String] location
|
1232
3460
|
# Required. The location of the conversations.
|
1233
|
-
# @param [
|
1234
|
-
# A filter to reduce results to a specific subset. This field is useful for
|
1235
|
-
# getting statistics about conversations with specific properties.
|
3461
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsRequest] google_cloud_contactcenterinsights_v1_calculate_stats_request_object
|
1236
3462
|
# @param [String] fields
|
1237
3463
|
# Selector specifying which fields to include in a partial response.
|
1238
3464
|
# @param [String] quota_user
|
@@ -1250,52 +3476,13 @@ module Google
|
|
1250
3476
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1251
3477
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
3478
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
|
-
def
|
1254
|
-
command = make_simple_command(:
|
3479
|
+
def calculate_project_location_dataset_conversation_stats(location, google_cloud_contactcenterinsights_v1_calculate_stats_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3480
|
+
command = make_simple_command(:post, 'v1/{+location}/conversations:calculateStats', options)
|
3481
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsRequest::Representation
|
3482
|
+
command.request_object = google_cloud_contactcenterinsights_v1_calculate_stats_request_object
|
1255
3483
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
1256
3484
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1257
3485
|
command.params['location'] = location unless location.nil?
|
1258
|
-
command.query['filter'] = filter unless filter.nil?
|
1259
|
-
command.query['fields'] = fields unless fields.nil?
|
1260
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1261
|
-
execute_or_queue_command(command, &block)
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
# Creates a conversation. Note that this method does not support audio
|
1265
|
-
# transcription or redaction. Use `conversations.upload` instead.
|
1266
|
-
# @param [String] parent
|
1267
|
-
# Required. The parent resource of the conversation.
|
1268
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1269
|
-
# @param [String] conversation_id
|
1270
|
-
# A unique ID for the new conversation. This ID will become the final component
|
1271
|
-
# of the conversation's resource name. If no ID is specified, a server-generated
|
1272
|
-
# ID will be used. This value should be 4-64 characters and must match the
|
1273
|
-
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
1274
|
-
# @param [String] fields
|
1275
|
-
# Selector specifying which fields to include in a partial response.
|
1276
|
-
# @param [String] quota_user
|
1277
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1278
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1279
|
-
# @param [Google::Apis::RequestOptions] options
|
1280
|
-
# Request-specific options
|
1281
|
-
#
|
1282
|
-
# @yield [result, err] Result & error if block supplied
|
1283
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1284
|
-
# @yieldparam err [StandardError] error object if request failed
|
1285
|
-
#
|
1286
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1287
|
-
#
|
1288
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1289
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1290
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1291
|
-
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1292
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
1293
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1294
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1295
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1296
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1297
|
-
command.params['parent'] = parent unless parent.nil?
|
1298
|
-
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
1299
3486
|
command.query['fields'] = fields unless fields.nil?
|
1300
3487
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1301
3488
|
execute_or_queue_command(command, &block)
|
@@ -1324,7 +3511,7 @@ module Google
|
|
1324
3511
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1325
3512
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1326
3513
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1327
|
-
def
|
3514
|
+
def delete_project_location_dataset_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
3515
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1329
3516
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1330
3517
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1357,7 +3544,7 @@ module Google
|
|
1357
3544
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1358
3545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1359
3546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1360
|
-
def
|
3547
|
+
def get_project_location_dataset_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1361
3548
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1362
3549
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1363
3550
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
@@ -1389,7 +3576,7 @@ module Google
|
|
1389
3576
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1390
3577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1391
3578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1392
|
-
def
|
3579
|
+
def ingest_project_location_dataset_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1393
3580
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
1394
3581
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
1395
3582
|
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
@@ -1443,7 +3630,7 @@ module Google
|
|
1443
3630
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1444
3631
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1445
3632
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1446
|
-
def
|
3633
|
+
def list_project_location_dataset_conversations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1447
3634
|
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
1448
3635
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
1449
3636
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
@@ -1458,81 +3645,6 @@ module Google
|
|
1458
3645
|
execute_or_queue_command(command, &block)
|
1459
3646
|
end
|
1460
3647
|
|
1461
|
-
# Updates a conversation.
|
1462
|
-
# @param [String] name
|
1463
|
-
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
1464
|
-
# locations/`location`/conversations/`conversation`
|
1465
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1466
|
-
# @param [String] update_mask
|
1467
|
-
# The list of fields to be updated. All possible fields can be updated by
|
1468
|
-
# passing `*`, or a subset of the following updateable fields can be provided: *
|
1469
|
-
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
1470
|
-
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
1471
|
-
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
1472
|
-
# @param [String] fields
|
1473
|
-
# Selector specifying which fields to include in a partial response.
|
1474
|
-
# @param [String] quota_user
|
1475
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1476
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1477
|
-
# @param [Google::Apis::RequestOptions] options
|
1478
|
-
# Request-specific options
|
1479
|
-
#
|
1480
|
-
# @yield [result, err] Result & error if block supplied
|
1481
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1482
|
-
# @yieldparam err [StandardError] error object if request failed
|
1483
|
-
#
|
1484
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1485
|
-
#
|
1486
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1487
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1488
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1489
|
-
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1490
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1491
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1492
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1493
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1494
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1495
|
-
command.params['name'] = name unless name.nil?
|
1496
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1497
|
-
command.query['fields'] = fields unless fields.nil?
|
1498
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1499
|
-
execute_or_queue_command(command, &block)
|
1500
|
-
end
|
1501
|
-
|
1502
|
-
# Create a long-running conversation upload operation. This method differs from `
|
1503
|
-
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
1504
|
-
# @param [String] parent
|
1505
|
-
# Required. The parent resource of the conversation.
|
1506
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1507
|
-
# @param [String] fields
|
1508
|
-
# Selector specifying which fields to include in a partial response.
|
1509
|
-
# @param [String] quota_user
|
1510
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1511
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1512
|
-
# @param [Google::Apis::RequestOptions] options
|
1513
|
-
# Request-specific options
|
1514
|
-
#
|
1515
|
-
# @yield [result, err] Result & error if block supplied
|
1516
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1517
|
-
# @yieldparam err [StandardError] error object if request failed
|
1518
|
-
#
|
1519
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1520
|
-
#
|
1521
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1522
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1523
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1524
|
-
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1525
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
1526
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
1527
|
-
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1528
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1529
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1530
|
-
command.params['parent'] = parent unless parent.nil?
|
1531
|
-
command.query['fields'] = fields unless fields.nil?
|
1532
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1533
|
-
execute_or_queue_command(command, &block)
|
1534
|
-
end
|
1535
|
-
|
1536
3648
|
# Creates an analysis. The long running operation is done when the analysis has
|
1537
3649
|
# completed.
|
1538
3650
|
# @param [String] parent
|
@@ -1555,7 +3667,7 @@ module Google
|
|
1555
3667
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1556
3668
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1557
3669
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1558
|
-
def
|
3670
|
+
def create_project_location_dataset_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1559
3671
|
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
1560
3672
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1561
3673
|
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
@@ -1587,7 +3699,7 @@ module Google
|
|
1587
3699
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1588
3700
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1589
3701
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1590
|
-
def
|
3702
|
+
def delete_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1591
3703
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1592
3704
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1593
3705
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1617,7 +3729,7 @@ module Google
|
|
1617
3729
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1618
3730
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1619
3731
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1620
|
-
def
|
3732
|
+
def get_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1621
3733
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1622
3734
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1623
3735
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
@@ -1659,7 +3771,7 @@ module Google
|
|
1659
3771
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1660
3772
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1661
3773
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1662
|
-
def
|
3774
|
+
def list_project_location_dataset_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1663
3775
|
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1664
3776
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1665
3777
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
@@ -1696,7 +3808,7 @@ module Google
|
|
1696
3808
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1697
3809
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1698
3810
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1699
|
-
def
|
3811
|
+
def create_project_location_dataset_conversation_feedback_label(parent, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, feedback_label_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1700
3812
|
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1701
3813
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1702
3814
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1729,7 +3841,7 @@ module Google
|
|
1729
3841
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1730
3842
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1731
3843
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1732
|
-
def
|
3844
|
+
def delete_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1733
3845
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1734
3846
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1735
3847
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1759,7 +3871,7 @@ module Google
|
|
1759
3871
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1760
3872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1761
3873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1762
|
-
def
|
3874
|
+
def get_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1763
3875
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1764
3876
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1765
3877
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
@@ -1805,7 +3917,7 @@ module Google
|
|
1805
3917
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1806
3918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1807
3919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1808
|
-
def
|
3920
|
+
def list_project_location_dataset_conversation_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1809
3921
|
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1810
3922
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1811
3923
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
@@ -1843,7 +3955,7 @@ module Google
|
|
1843
3955
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1844
3956
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1845
3957
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1846
|
-
def
|
3958
|
+
def patch_project_location_dataset_conversation_feedback_label(name, google_cloud_contactcenterinsights_v1_feedback_label_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1847
3959
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1848
3960
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1849
3961
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1856,6 +3968,39 @@ module Google
|
|
1856
3968
|
execute_or_queue_command(command, &block)
|
1857
3969
|
end
|
1858
3970
|
|
3971
|
+
# Export insights data to a destination defined in the request body.
|
3972
|
+
# @param [String] parent
|
3973
|
+
# Required. The parent resource to export data from.
|
3974
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest] google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
3975
|
+
# @param [String] fields
|
3976
|
+
# Selector specifying which fields to include in a partial response.
|
3977
|
+
# @param [String] quota_user
|
3978
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3979
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3980
|
+
# @param [Google::Apis::RequestOptions] options
|
3981
|
+
# Request-specific options
|
3982
|
+
#
|
3983
|
+
# @yield [result, err] Result & error if block supplied
|
3984
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
3985
|
+
# @yieldparam err [StandardError] error object if request failed
|
3986
|
+
#
|
3987
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
3988
|
+
#
|
3989
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3990
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3991
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3992
|
+
def export_project_location_dataset_insightsdatum(parent, google_cloud_contactcenterinsights_v1_export_insights_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3993
|
+
command = make_simple_command(:post, 'v1/{+parent}/insightsdata:export', options)
|
3994
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest::Representation
|
3995
|
+
command.request_object = google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
3996
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
3997
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
3998
|
+
command.params['parent'] = parent unless parent.nil?
|
3999
|
+
command.query['fields'] = fields unless fields.nil?
|
4000
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4001
|
+
execute_or_queue_command(command, &block)
|
4002
|
+
end
|
4003
|
+
|
1859
4004
|
# Initializes a location-level encryption key specification. An error will
|
1860
4005
|
# result if the location has resources already created before the initialization.
|
1861
4006
|
# After the encryption specification is initialized at a location, it is
|