google-apis-contactcenterinsights_v1 0.61.0 → 0.63.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +640 -8
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +3 -3
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +287 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +1938 -155
- metadata +5 -5
@@ -505,10 +505,1828 @@ module Google
|
|
505
505
|
execute_or_queue_command(command, &block)
|
506
506
|
end
|
507
507
|
|
508
|
+
# Create AuthorizedViewSet
|
509
|
+
# @param [String] parent
|
510
|
+
# Required. The parent resource of the AuthorizedViewSet.
|
511
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
512
|
+
# @param [String] authorized_view_set_id
|
513
|
+
# Optional. A unique ID for the new AuthorizedViewSet. This ID will become the
|
514
|
+
# final component of the AuthorizedViewSet's resource name. If no ID is
|
515
|
+
# specified, a server-generated ID will be used. This value should be 4-64
|
516
|
+
# characters and must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-
|
517
|
+
# 9])?$`. See go/aip/122#resource-id-segments
|
518
|
+
# @param [String] fields
|
519
|
+
# Selector specifying which fields to include in a partial response.
|
520
|
+
# @param [String] quota_user
|
521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
523
|
+
# @param [Google::Apis::RequestOptions] options
|
524
|
+
# Request-specific options
|
525
|
+
#
|
526
|
+
# @yield [result, err] Result & error if block supplied
|
527
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
528
|
+
# @yieldparam err [StandardError] error object if request failed
|
529
|
+
#
|
530
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
531
|
+
#
|
532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
535
|
+
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)
|
536
|
+
command = make_simple_command(:post, 'v1/{+parent}/authorizedViewSets', options)
|
537
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
538
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
539
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
540
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
541
|
+
command.params['parent'] = parent unless parent.nil?
|
542
|
+
command.query['authorizedViewSetId'] = authorized_view_set_id unless authorized_view_set_id.nil?
|
543
|
+
command.query['fields'] = fields unless fields.nil?
|
544
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
545
|
+
execute_or_queue_command(command, &block)
|
546
|
+
end
|
547
|
+
|
548
|
+
# Deletes an AuthorizedViewSet.
|
549
|
+
# @param [String] name
|
550
|
+
# Required. The name of the AuthorizedViewSet to delete.
|
551
|
+
# @param [Boolean] force
|
552
|
+
# Optional. If set to true, all of this AuthorizedViewSet's child resources will
|
553
|
+
# also be deleted. Otherwise, the request will only succeed if it has none.
|
554
|
+
# @param [String] fields
|
555
|
+
# Selector specifying which fields to include in a partial response.
|
556
|
+
# @param [String] quota_user
|
557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
|
+
# @param [Google::Apis::RequestOptions] options
|
560
|
+
# Request-specific options
|
561
|
+
#
|
562
|
+
# @yield [result, err] Result & error if block supplied
|
563
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
564
|
+
# @yieldparam err [StandardError] error object if request failed
|
565
|
+
#
|
566
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
567
|
+
#
|
568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
+
def delete_project_location_authorized_view_set(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
573
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
574
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
575
|
+
command.params['name'] = name unless name.nil?
|
576
|
+
command.query['force'] = force unless force.nil?
|
577
|
+
command.query['fields'] = fields unless fields.nil?
|
578
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
579
|
+
execute_or_queue_command(command, &block)
|
580
|
+
end
|
581
|
+
|
582
|
+
# Get AuthorizedViewSet
|
583
|
+
# @param [String] name
|
584
|
+
# Required. The name of the AuthorizedViewSet to get.
|
585
|
+
# @param [String] fields
|
586
|
+
# Selector specifying which fields to include in a partial response.
|
587
|
+
# @param [String] quota_user
|
588
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
589
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
590
|
+
# @param [Google::Apis::RequestOptions] options
|
591
|
+
# Request-specific options
|
592
|
+
#
|
593
|
+
# @yield [result, err] Result & error if block supplied
|
594
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
595
|
+
# @yieldparam err [StandardError] error object if request failed
|
596
|
+
#
|
597
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
598
|
+
#
|
599
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
600
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
601
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
602
|
+
def get_project_location_authorized_view_set(name, fields: nil, quota_user: nil, options: nil, &block)
|
603
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
604
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
605
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
606
|
+
command.params['name'] = name unless name.nil?
|
607
|
+
command.query['fields'] = fields unless fields.nil?
|
608
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
609
|
+
execute_or_queue_command(command, &block)
|
610
|
+
end
|
611
|
+
|
612
|
+
# List AuthorizedViewSets
|
613
|
+
# @param [String] parent
|
614
|
+
# Required. The parent resource of the AuthorizedViewSets.
|
615
|
+
# @param [String] filter
|
616
|
+
# Optional. The filter expression to filter authorized view sets listed in the
|
617
|
+
# response.
|
618
|
+
# @param [String] order_by
|
619
|
+
# Optional. The order by expression to order authorized view sets listed in the
|
620
|
+
# response.
|
621
|
+
# @param [Fixnum] page_size
|
622
|
+
# Optional. The maximum number of view sets to return in the response. If the
|
623
|
+
# value is zero, the service will select a default size. A call might return
|
624
|
+
# fewer objects than requested. A non-empty `next_page_token` in the response
|
625
|
+
# indicates that more data is available.
|
626
|
+
# @param [String] page_token
|
627
|
+
# Optional. The value returned by the last `ListAuthorizedViewSetsResponse`.
|
628
|
+
# This value indicates that this is a continuation of a prior `
|
629
|
+
# ListAuthorizedViewSets` call and that the system should return the next page
|
630
|
+
# of data.
|
631
|
+
# @param [String] fields
|
632
|
+
# Selector specifying which fields to include in a partial response.
|
633
|
+
# @param [String] quota_user
|
634
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
635
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
636
|
+
# @param [Google::Apis::RequestOptions] options
|
637
|
+
# Request-specific options
|
638
|
+
#
|
639
|
+
# @yield [result, err] Result & error if block supplied
|
640
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse] parsed result object
|
641
|
+
# @yieldparam err [StandardError] error object if request failed
|
642
|
+
#
|
643
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse]
|
644
|
+
#
|
645
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
646
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
647
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
648
|
+
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)
|
649
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViewSets', options)
|
650
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse::Representation
|
651
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse
|
652
|
+
command.params['parent'] = parent unless parent.nil?
|
653
|
+
command.query['filter'] = filter unless filter.nil?
|
654
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
655
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
656
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
657
|
+
command.query['fields'] = fields unless fields.nil?
|
658
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
659
|
+
execute_or_queue_command(command, &block)
|
660
|
+
end
|
661
|
+
|
662
|
+
# Updates an AuthorizedViewSet.
|
663
|
+
# @param [String] name
|
664
|
+
# Identifier. The resource name of the AuthorizedViewSet. Format: projects/`
|
665
|
+
# project`/locations/`location`/authorizedViewSets/`authorized_view_set`
|
666
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
667
|
+
# @param [String] update_mask
|
668
|
+
# Optional. The list of fields to be updated. All possible fields can be updated
|
669
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
670
|
+
# * `display_name`
|
671
|
+
# @param [String] fields
|
672
|
+
# Selector specifying which fields to include in a partial response.
|
673
|
+
# @param [String] quota_user
|
674
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
675
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
676
|
+
# @param [Google::Apis::RequestOptions] options
|
677
|
+
# Request-specific options
|
678
|
+
#
|
679
|
+
# @yield [result, err] Result & error if block supplied
|
680
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet] parsed result object
|
681
|
+
# @yieldparam err [StandardError] error object if request failed
|
682
|
+
#
|
683
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet]
|
684
|
+
#
|
685
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
686
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
687
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
688
|
+
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)
|
689
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
690
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
691
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_set_object
|
692
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet::Representation
|
693
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
694
|
+
command.params['name'] = name unless name.nil?
|
695
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
696
|
+
command.query['fields'] = fields unless fields.nil?
|
697
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
698
|
+
execute_or_queue_command(command, &block)
|
699
|
+
end
|
700
|
+
|
701
|
+
# Create AuthorizedView
|
702
|
+
# @param [String] parent
|
703
|
+
# Required. The parent resource of the AuthorizedView.
|
704
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] google_cloud_contactcenterinsights_v1_authorized_view_object
|
705
|
+
# @param [String] authorized_view_id
|
706
|
+
# Optional. A unique ID for the new AuthorizedView. This ID will become the
|
707
|
+
# final component of the AuthorizedView's resource name. If no ID is specified,
|
708
|
+
# a server-generated ID will be used. This value should be 4-64 characters and
|
709
|
+
# must match the regular expression `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`. See go/
|
710
|
+
# aip/122#resource-id-segments
|
711
|
+
# @param [String] fields
|
712
|
+
# Selector specifying which fields to include in a partial response.
|
713
|
+
# @param [String] quota_user
|
714
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
715
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
716
|
+
# @param [Google::Apis::RequestOptions] options
|
717
|
+
# Request-specific options
|
718
|
+
#
|
719
|
+
# @yield [result, err] Result & error if block supplied
|
720
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
721
|
+
# @yieldparam err [StandardError] error object if request failed
|
722
|
+
#
|
723
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
724
|
+
#
|
725
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
726
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
727
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
728
|
+
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)
|
729
|
+
command = make_simple_command(:post, 'v1/{+parent}/authorizedViews', options)
|
730
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
731
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_object
|
732
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
733
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
734
|
+
command.params['parent'] = parent unless parent.nil?
|
735
|
+
command.query['authorizedViewId'] = authorized_view_id unless authorized_view_id.nil?
|
736
|
+
command.query['fields'] = fields unless fields.nil?
|
737
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
738
|
+
execute_or_queue_command(command, &block)
|
739
|
+
end
|
740
|
+
|
741
|
+
# Deletes an AuthorizedView.
|
742
|
+
# @param [String] name
|
743
|
+
# Required. The name of the AuthorizedView to delete.
|
744
|
+
# @param [String] fields
|
745
|
+
# Selector specifying which fields to include in a partial response.
|
746
|
+
# @param [String] quota_user
|
747
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
748
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
749
|
+
# @param [Google::Apis::RequestOptions] options
|
750
|
+
# Request-specific options
|
751
|
+
#
|
752
|
+
# @yield [result, err] Result & error if block supplied
|
753
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
754
|
+
# @yieldparam err [StandardError] error object if request failed
|
755
|
+
#
|
756
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
757
|
+
#
|
758
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
759
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
760
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
761
|
+
def delete_project_location_authorized_view_set_authorized_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
762
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
763
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
764
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
765
|
+
command.params['name'] = name unless name.nil?
|
766
|
+
command.query['fields'] = fields unless fields.nil?
|
767
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
768
|
+
execute_or_queue_command(command, &block)
|
769
|
+
end
|
770
|
+
|
771
|
+
# Get AuthorizedView
|
772
|
+
# @param [String] name
|
773
|
+
# Required. The name of the AuthorizedView to get.
|
774
|
+
# @param [String] fields
|
775
|
+
# Selector specifying which fields to include in a partial response.
|
776
|
+
# @param [String] quota_user
|
777
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
778
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
779
|
+
# @param [Google::Apis::RequestOptions] options
|
780
|
+
# Request-specific options
|
781
|
+
#
|
782
|
+
# @yield [result, err] Result & error if block supplied
|
783
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
784
|
+
# @yieldparam err [StandardError] error object if request failed
|
785
|
+
#
|
786
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
787
|
+
#
|
788
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
789
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
790
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
791
|
+
def get_project_location_authorized_view_set_authorized_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
792
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
793
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
794
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
795
|
+
command.params['name'] = name unless name.nil?
|
796
|
+
command.query['fields'] = fields unless fields.nil?
|
797
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
798
|
+
execute_or_queue_command(command, &block)
|
799
|
+
end
|
800
|
+
|
801
|
+
# List AuthorizedViewSets
|
802
|
+
# @param [String] parent
|
803
|
+
# Required. The parent resource of the AuthorizedViews. If the parent is set to `
|
804
|
+
# -`, all AuthorizedViews under the location will be returned.
|
805
|
+
# @param [String] filter
|
806
|
+
# Optional. The filter expression to filter authorized views listed in the
|
807
|
+
# response.
|
808
|
+
# @param [String] order_by
|
809
|
+
# Optional. The order by expression to order authorized views listed in the
|
810
|
+
# response.
|
811
|
+
# @param [Fixnum] page_size
|
812
|
+
# Optional. The maximum number of view to return in the response. If the value
|
813
|
+
# is zero, the service will select a default size. A call might return fewer
|
814
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
815
|
+
# indicates that more data is available.
|
816
|
+
# @param [String] page_token
|
817
|
+
# Optional. The value returned by the last `ListAuthorizedViewsResponse`. This
|
818
|
+
# value indicates that this is a continuation of a prior `ListAuthorizedViews`
|
819
|
+
# call and that the system should return the next page of data.
|
820
|
+
# @param [String] fields
|
821
|
+
# Selector specifying which fields to include in a partial response.
|
822
|
+
# @param [String] quota_user
|
823
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
824
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
825
|
+
# @param [Google::Apis::RequestOptions] options
|
826
|
+
# Request-specific options
|
827
|
+
#
|
828
|
+
# @yield [result, err] Result & error if block supplied
|
829
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse] parsed result object
|
830
|
+
# @yieldparam err [StandardError] error object if request failed
|
831
|
+
#
|
832
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse]
|
833
|
+
#
|
834
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
835
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
836
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
837
|
+
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)
|
838
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViews', options)
|
839
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse::Representation
|
840
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse
|
841
|
+
command.params['parent'] = parent unless parent.nil?
|
842
|
+
command.query['filter'] = filter unless filter.nil?
|
843
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
844
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
845
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
846
|
+
command.query['fields'] = fields unless fields.nil?
|
847
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
848
|
+
execute_or_queue_command(command, &block)
|
849
|
+
end
|
850
|
+
|
851
|
+
# Updates an AuthorizedView.
|
852
|
+
# @param [String] name
|
853
|
+
# Identifier. The resource name of the AuthorizedView. Format: projects/`project`
|
854
|
+
# /locations/`location`/authorizedViewSets/`authorized_view_set`/authorizedViews/
|
855
|
+
# `authorized_view`
|
856
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] google_cloud_contactcenterinsights_v1_authorized_view_object
|
857
|
+
# @param [String] update_mask
|
858
|
+
# Optional. The list of fields to be updated. All possible fields can be updated
|
859
|
+
# by passing `*`, or a subset of the following updateable fields can be provided:
|
860
|
+
# * `conversation_filter` * `display_name`
|
861
|
+
# @param [String] fields
|
862
|
+
# Selector specifying which fields to include in a partial response.
|
863
|
+
# @param [String] quota_user
|
864
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
865
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
866
|
+
# @param [Google::Apis::RequestOptions] options
|
867
|
+
# Request-specific options
|
868
|
+
#
|
869
|
+
# @yield [result, err] Result & error if block supplied
|
870
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView] parsed result object
|
871
|
+
# @yieldparam err [StandardError] error object if request failed
|
872
|
+
#
|
873
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView]
|
874
|
+
#
|
875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
878
|
+
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)
|
879
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
880
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
881
|
+
command.request_object = google_cloud_contactcenterinsights_v1_authorized_view_object
|
882
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView::Representation
|
883
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView
|
884
|
+
command.params['name'] = name unless name.nil?
|
885
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
886
|
+
command.query['fields'] = fields unless fields.nil?
|
887
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
888
|
+
execute_or_queue_command(command, &block)
|
889
|
+
end
|
890
|
+
|
508
891
|
# Query metrics.
|
509
892
|
# @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
|
893
|
+
# Required. The location of the data. "projects/`project`/locations/`location`"
|
894
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest] google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
895
|
+
# @param [String] fields
|
896
|
+
# Selector specifying which fields to include in a partial response.
|
897
|
+
# @param [String] quota_user
|
898
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
899
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
900
|
+
# @param [Google::Apis::RequestOptions] options
|
901
|
+
# Request-specific options
|
902
|
+
#
|
903
|
+
# @yield [result, err] Result & error if block supplied
|
904
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
905
|
+
# @yieldparam err [StandardError] error object if request failed
|
906
|
+
#
|
907
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
908
|
+
#
|
909
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
910
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
911
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
912
|
+
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)
|
913
|
+
command = make_simple_command(:post, 'v1/{+location}:queryMetrics', options)
|
914
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1QueryMetricsRequest::Representation
|
915
|
+
command.request_object = google_cloud_contactcenterinsights_v1_query_metrics_request_object
|
916
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
917
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
918
|
+
command.params['location'] = location unless location.nil?
|
919
|
+
command.query['fields'] = fields unless fields.nil?
|
920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
921
|
+
execute_or_queue_command(command, &block)
|
922
|
+
end
|
923
|
+
|
924
|
+
# SearchAuthorizedViewSets
|
925
|
+
# @param [String] parent
|
926
|
+
# Required. The parent resource of the AuthorizedViews. If the parent is set to `
|
927
|
+
# -`, all AuthorizedViews under the location will be returned.
|
928
|
+
# @param [String] order_by
|
929
|
+
# Optional. The order by expression to order authorized views listed in the
|
930
|
+
# response.
|
931
|
+
# @param [Fixnum] page_size
|
932
|
+
# Optional. The maximum number of view to return in the response. If the value
|
933
|
+
# is zero, the service will select a default size. A call might return fewer
|
934
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
935
|
+
# indicates that more data is available.
|
936
|
+
# @param [String] page_token
|
937
|
+
# Optional. The value returned by the last `ListAuthorizedViewsResponse`. This
|
938
|
+
# value indicates that this is a continuation of a prior `ListAuthorizedViews`
|
939
|
+
# call and that the system should return the next page of data.
|
940
|
+
# @param [String] query
|
941
|
+
# Optional. The query expression to search authorized views.
|
942
|
+
# @param [String] fields
|
943
|
+
# Selector specifying which fields to include in a partial response.
|
944
|
+
# @param [String] quota_user
|
945
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
946
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
947
|
+
# @param [Google::Apis::RequestOptions] options
|
948
|
+
# Request-specific options
|
949
|
+
#
|
950
|
+
# @yield [result, err] Result & error if block supplied
|
951
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse] parsed result object
|
952
|
+
# @yieldparam err [StandardError] error object if request failed
|
953
|
+
#
|
954
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse]
|
955
|
+
#
|
956
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
957
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
958
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
959
|
+
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)
|
960
|
+
command = make_simple_command(:get, 'v1/{+parent}/authorizedViews:search', options)
|
961
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse::Representation
|
962
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse
|
963
|
+
command.params['parent'] = parent unless parent.nil?
|
964
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
965
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
966
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
967
|
+
command.query['query'] = query unless query.nil?
|
968
|
+
command.query['fields'] = fields unless fields.nil?
|
969
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
970
|
+
execute_or_queue_command(command, &block)
|
971
|
+
end
|
972
|
+
|
973
|
+
# Analyzes multiple conversations in a single request.
|
974
|
+
# @param [String] parent
|
975
|
+
# Required. The parent resource to create analyses in.
|
976
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
977
|
+
# @param [String] fields
|
978
|
+
# Selector specifying which fields to include in a partial response.
|
979
|
+
# @param [String] quota_user
|
980
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
981
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
982
|
+
# @param [Google::Apis::RequestOptions] options
|
983
|
+
# Request-specific options
|
984
|
+
#
|
985
|
+
# @yield [result, err] Result & error if block supplied
|
986
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
987
|
+
# @yieldparam err [StandardError] error object if request failed
|
988
|
+
#
|
989
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
990
|
+
#
|
991
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
992
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
993
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
994
|
+
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)
|
995
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
996
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
997
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
998
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
999
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1000
|
+
command.params['parent'] = parent unless parent.nil?
|
1001
|
+
command.query['fields'] = fields unless fields.nil?
|
1002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1003
|
+
execute_or_queue_command(command, &block)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Gets conversation statistics.
|
1007
|
+
# @param [String] location
|
1008
|
+
# Required. The location of the conversations.
|
1009
|
+
# @param [String] filter
|
1010
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
1011
|
+
# getting statistics about conversations with specific properties.
|
1012
|
+
# @param [String] fields
|
1013
|
+
# Selector specifying which fields to include in a partial response.
|
1014
|
+
# @param [String] quota_user
|
1015
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1016
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1017
|
+
# @param [Google::Apis::RequestOptions] options
|
1018
|
+
# Request-specific options
|
1019
|
+
#
|
1020
|
+
# @yield [result, err] Result & error if block supplied
|
1021
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
1022
|
+
# @yieldparam err [StandardError] error object if request failed
|
1023
|
+
#
|
1024
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
1025
|
+
#
|
1026
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1027
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1028
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1029
|
+
def calculate_project_location_authorized_view_set_authorized_view_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1030
|
+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
1031
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
1032
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1033
|
+
command.params['location'] = location unless location.nil?
|
1034
|
+
command.query['filter'] = filter unless filter.nil?
|
1035
|
+
command.query['fields'] = fields unless fields.nil?
|
1036
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1037
|
+
execute_or_queue_command(command, &block)
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# Deletes a conversation.
|
1041
|
+
# @param [String] name
|
1042
|
+
# Required. The name of the conversation to delete.
|
1043
|
+
# @param [Boolean] force
|
1044
|
+
# If set to true, all of this conversation's analyses will also be deleted.
|
1045
|
+
# Otherwise, the request will only succeed if the conversation has no analyses.
|
1046
|
+
# @param [String] fields
|
1047
|
+
# Selector specifying which fields to include in a partial response.
|
1048
|
+
# @param [String] quota_user
|
1049
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1050
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1051
|
+
# @param [Google::Apis::RequestOptions] options
|
1052
|
+
# Request-specific options
|
1053
|
+
#
|
1054
|
+
# @yield [result, err] Result & error if block supplied
|
1055
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1056
|
+
# @yieldparam err [StandardError] error object if request failed
|
1057
|
+
#
|
1058
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1059
|
+
#
|
1060
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1061
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1062
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1063
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1064
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1065
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1066
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1067
|
+
command.params['name'] = name unless name.nil?
|
1068
|
+
command.query['force'] = force unless force.nil?
|
1069
|
+
command.query['fields'] = fields unless fields.nil?
|
1070
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1071
|
+
execute_or_queue_command(command, &block)
|
1072
|
+
end
|
1073
|
+
|
1074
|
+
# Gets a conversation.
|
1075
|
+
# @param [String] name
|
1076
|
+
# Required. The name of the conversation to get.
|
1077
|
+
# @param [String] view
|
1078
|
+
# The level of details of the conversation. Default is `FULL`.
|
1079
|
+
# @param [String] fields
|
1080
|
+
# Selector specifying which fields to include in a partial response.
|
1081
|
+
# @param [String] quota_user
|
1082
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1083
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1084
|
+
# @param [Google::Apis::RequestOptions] options
|
1085
|
+
# Request-specific options
|
1086
|
+
#
|
1087
|
+
# @yield [result, err] Result & error if block supplied
|
1088
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1089
|
+
# @yieldparam err [StandardError] error object if request failed
|
1090
|
+
#
|
1091
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1092
|
+
#
|
1093
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1094
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1095
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1096
|
+
def get_project_location_authorized_view_set_authorized_view_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1097
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1098
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1099
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1100
|
+
command.params['name'] = name unless name.nil?
|
1101
|
+
command.query['view'] = view unless view.nil?
|
1102
|
+
command.query['fields'] = fields unless fields.nil?
|
1103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1104
|
+
execute_or_queue_command(command, &block)
|
1105
|
+
end
|
1106
|
+
|
1107
|
+
# Lists conversations.
|
1108
|
+
# @param [String] parent
|
1109
|
+
# Required. The parent resource of the conversation.
|
1110
|
+
# @param [String] filter
|
1111
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1112
|
+
# conversations with specific properties.
|
1113
|
+
# @param [String] order_by
|
1114
|
+
# Optional. The attribute by which to order conversations in the response. If
|
1115
|
+
# empty, conversations will be ordered by descending creation time. Supported
|
1116
|
+
# values are one of the following: * create_time * customer_satisfaction_rating *
|
1117
|
+
# duration * latest_analysis * start_time * turn_count The default sort order
|
1118
|
+
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
1119
|
+
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
1120
|
+
# ordering).
|
1121
|
+
# @param [Fixnum] page_size
|
1122
|
+
# The maximum number of conversations to return in the response. A valid page
|
1123
|
+
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
1124
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
1125
|
+
# return fewer results than the requested page size.
|
1126
|
+
# @param [String] page_token
|
1127
|
+
# The value returned by the last `ListConversationsResponse`. This value
|
1128
|
+
# indicates that this is a continuation of a prior `ListConversations` call and
|
1129
|
+
# that the system should return the next page of data.
|
1130
|
+
# @param [String] view
|
1131
|
+
# The level of details of the conversation. Default is `BASIC`.
|
1132
|
+
# @param [String] fields
|
1133
|
+
# Selector specifying which fields to include in a partial response.
|
1134
|
+
# @param [String] quota_user
|
1135
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1136
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1137
|
+
# @param [Google::Apis::RequestOptions] options
|
1138
|
+
# Request-specific options
|
1139
|
+
#
|
1140
|
+
# @yield [result, err] Result & error if block supplied
|
1141
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
|
1142
|
+
# @yieldparam err [StandardError] error object if request failed
|
1143
|
+
#
|
1144
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
|
1145
|
+
#
|
1146
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1147
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1148
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1149
|
+
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)
|
1150
|
+
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
1151
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
1152
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
1153
|
+
command.params['parent'] = parent unless parent.nil?
|
1154
|
+
command.query['filter'] = filter unless filter.nil?
|
1155
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1156
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1157
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1158
|
+
command.query['view'] = view unless view.nil?
|
1159
|
+
command.query['fields'] = fields unless fields.nil?
|
1160
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1161
|
+
execute_or_queue_command(command, &block)
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
# Creates an analysis. The long running operation is done when the analysis has
|
1165
|
+
# completed.
|
1166
|
+
# @param [String] parent
|
1167
|
+
# Required. The parent resource of the analysis.
|
1168
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
1169
|
+
# @param [String] fields
|
1170
|
+
# Selector specifying which fields to include in a partial response.
|
1171
|
+
# @param [String] quota_user
|
1172
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1173
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1174
|
+
# @param [Google::Apis::RequestOptions] options
|
1175
|
+
# Request-specific options
|
1176
|
+
#
|
1177
|
+
# @yield [result, err] Result & error if block supplied
|
1178
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1179
|
+
# @yieldparam err [StandardError] error object if request failed
|
1180
|
+
#
|
1181
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1182
|
+
#
|
1183
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1184
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1185
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1186
|
+
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)
|
1187
|
+
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
1188
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1189
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
1190
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1191
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1192
|
+
command.params['parent'] = parent unless parent.nil?
|
1193
|
+
command.query['fields'] = fields unless fields.nil?
|
1194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1195
|
+
execute_or_queue_command(command, &block)
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
# Deletes an analysis.
|
1199
|
+
# @param [String] name
|
1200
|
+
# Required. The name of the analysis to delete.
|
1201
|
+
# @param [String] fields
|
1202
|
+
# Selector specifying which fields to include in a partial response.
|
1203
|
+
# @param [String] quota_user
|
1204
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1205
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1206
|
+
# @param [Google::Apis::RequestOptions] options
|
1207
|
+
# Request-specific options
|
1208
|
+
#
|
1209
|
+
# @yield [result, err] Result & error if block supplied
|
1210
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1211
|
+
# @yieldparam err [StandardError] error object if request failed
|
1212
|
+
#
|
1213
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1214
|
+
#
|
1215
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1216
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1217
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1218
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1219
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1220
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1221
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1222
|
+
command.params['name'] = name unless name.nil?
|
1223
|
+
command.query['fields'] = fields unless fields.nil?
|
1224
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1225
|
+
execute_or_queue_command(command, &block)
|
1226
|
+
end
|
1227
|
+
|
1228
|
+
# Gets an analysis.
|
1229
|
+
# @param [String] name
|
1230
|
+
# Required. The name of the analysis to get.
|
1231
|
+
# @param [String] fields
|
1232
|
+
# Selector specifying which fields to include in a partial response.
|
1233
|
+
# @param [String] quota_user
|
1234
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1235
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1236
|
+
# @param [Google::Apis::RequestOptions] options
|
1237
|
+
# Request-specific options
|
1238
|
+
#
|
1239
|
+
# @yield [result, err] Result & error if block supplied
|
1240
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
|
1241
|
+
# @yieldparam err [StandardError] error object if request failed
|
1242
|
+
#
|
1243
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
|
1244
|
+
#
|
1245
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1246
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1247
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1248
|
+
def get_project_location_authorized_view_set_authorized_view_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1249
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1250
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1251
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
1252
|
+
command.params['name'] = name unless name.nil?
|
1253
|
+
command.query['fields'] = fields unless fields.nil?
|
1254
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1255
|
+
execute_or_queue_command(command, &block)
|
1256
|
+
end
|
1257
|
+
|
1258
|
+
# Lists analyses.
|
1259
|
+
# @param [String] parent
|
1260
|
+
# Required. The parent resource of the analyses.
|
1261
|
+
# @param [String] filter
|
1262
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1263
|
+
# conversations with specific properties.
|
1264
|
+
# @param [Fixnum] page_size
|
1265
|
+
# The maximum number of analyses to return in the response. If this value is
|
1266
|
+
# zero, the service will select a default size. A call might return fewer
|
1267
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
1268
|
+
# indicates that more data is available.
|
1269
|
+
# @param [String] page_token
|
1270
|
+
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
1271
|
+
# a continuation of a prior `ListAnalyses` call and the system should return the
|
1272
|
+
# next page of data.
|
1273
|
+
# @param [String] fields
|
1274
|
+
# Selector specifying which fields to include in a partial response.
|
1275
|
+
# @param [String] quota_user
|
1276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1278
|
+
# @param [Google::Apis::RequestOptions] options
|
1279
|
+
# Request-specific options
|
1280
|
+
#
|
1281
|
+
# @yield [result, err] Result & error if block supplied
|
1282
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
|
1283
|
+
# @yieldparam err [StandardError] error object if request failed
|
1284
|
+
#
|
1285
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
|
1286
|
+
#
|
1287
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1288
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1289
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1290
|
+
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)
|
1291
|
+
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1292
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1293
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
1294
|
+
command.params['parent'] = parent unless parent.nil?
|
1295
|
+
command.query['filter'] = filter unless filter.nil?
|
1296
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1297
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1298
|
+
command.query['fields'] = fields unless fields.nil?
|
1299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1300
|
+
execute_or_queue_command(command, &block)
|
1301
|
+
end
|
1302
|
+
|
1303
|
+
# Create feedback label.
|
1304
|
+
# @param [String] parent
|
1305
|
+
# Required. The parent resource of the feedback label.
|
1306
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
1307
|
+
# @param [String] feedback_label_id
|
1308
|
+
# Optional. The ID of the feedback label to create. If one is not specified it
|
1309
|
+
# will be generated by the server.
|
1310
|
+
# @param [String] fields
|
1311
|
+
# Selector specifying which fields to include in a partial response.
|
1312
|
+
# @param [String] quota_user
|
1313
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1314
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1315
|
+
# @param [Google::Apis::RequestOptions] options
|
1316
|
+
# Request-specific options
|
1317
|
+
#
|
1318
|
+
# @yield [result, err] Result & error if block supplied
|
1319
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1320
|
+
# @yieldparam err [StandardError] error object if request failed
|
1321
|
+
#
|
1322
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1323
|
+
#
|
1324
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1325
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1326
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1327
|
+
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)
|
1328
|
+
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1329
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1330
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
1331
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1332
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1333
|
+
command.params['parent'] = parent unless parent.nil?
|
1334
|
+
command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
|
1335
|
+
command.query['fields'] = fields unless fields.nil?
|
1336
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1337
|
+
execute_or_queue_command(command, &block)
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
# Delete feedback label.
|
1341
|
+
# @param [String] name
|
1342
|
+
# Required. The name of the feedback label to delete.
|
1343
|
+
# @param [String] fields
|
1344
|
+
# Selector specifying which fields to include in a partial response.
|
1345
|
+
# @param [String] quota_user
|
1346
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1347
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1348
|
+
# @param [Google::Apis::RequestOptions] options
|
1349
|
+
# Request-specific options
|
1350
|
+
#
|
1351
|
+
# @yield [result, err] Result & error if block supplied
|
1352
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1353
|
+
# @yieldparam err [StandardError] error object if request failed
|
1354
|
+
#
|
1355
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1356
|
+
#
|
1357
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1358
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1359
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1360
|
+
def delete_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1361
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1362
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1363
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1364
|
+
command.params['name'] = name unless name.nil?
|
1365
|
+
command.query['fields'] = fields unless fields.nil?
|
1366
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1367
|
+
execute_or_queue_command(command, &block)
|
1368
|
+
end
|
1369
|
+
|
1370
|
+
# Get feedback label.
|
1371
|
+
# @param [String] name
|
1372
|
+
# Required. The name of the feedback label to get.
|
1373
|
+
# @param [String] fields
|
1374
|
+
# Selector specifying which fields to include in a partial response.
|
1375
|
+
# @param [String] quota_user
|
1376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1378
|
+
# @param [Google::Apis::RequestOptions] options
|
1379
|
+
# Request-specific options
|
1380
|
+
#
|
1381
|
+
# @yield [result, err] Result & error if block supplied
|
1382
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1383
|
+
# @yieldparam err [StandardError] error object if request failed
|
1384
|
+
#
|
1385
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1386
|
+
#
|
1387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1390
|
+
def get_project_location_authorized_view_set_authorized_view_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1391
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1392
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1393
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1394
|
+
command.params['name'] = name unless name.nil?
|
1395
|
+
command.query['fields'] = fields unless fields.nil?
|
1396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1397
|
+
execute_or_queue_command(command, &block)
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
# List feedback labels.
|
1401
|
+
# @param [String] parent
|
1402
|
+
# Required. The parent resource of the feedback labels.
|
1403
|
+
# @param [String] filter
|
1404
|
+
# Optional. A filter to reduce results to a specific subset. Supports
|
1405
|
+
# disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
|
1406
|
+
# ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
|
1407
|
+
# Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
|
1408
|
+
# min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
|
1409
|
+
# `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
|
1410
|
+
# @param [Fixnum] page_size
|
1411
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
1412
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
1413
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
1414
|
+
# might return fewer results than the requested page size.
|
1415
|
+
# @param [String] page_token
|
1416
|
+
# Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
|
1417
|
+
# value indicates that this is a continuation of a prior `ListFeedbackLabels`
|
1418
|
+
# call and that the system should return the next page of data.
|
1419
|
+
# @param [String] fields
|
1420
|
+
# Selector specifying which fields to include in a partial response.
|
1421
|
+
# @param [String] quota_user
|
1422
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1423
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1424
|
+
# @param [Google::Apis::RequestOptions] options
|
1425
|
+
# Request-specific options
|
1426
|
+
#
|
1427
|
+
# @yield [result, err] Result & error if block supplied
|
1428
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
|
1429
|
+
# @yieldparam err [StandardError] error object if request failed
|
1430
|
+
#
|
1431
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
|
1432
|
+
#
|
1433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1436
|
+
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)
|
1437
|
+
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1438
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1439
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
1440
|
+
command.params['parent'] = parent unless parent.nil?
|
1441
|
+
command.query['filter'] = filter unless filter.nil?
|
1442
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1443
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1444
|
+
command.query['fields'] = fields unless fields.nil?
|
1445
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1446
|
+
execute_or_queue_command(command, &block)
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# Update feedback label.
|
1450
|
+
# @param [String] name
|
1451
|
+
# Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
|
1452
|
+
# locations/`location`/conversations/`conversation`/feedbackLabels/`
|
1453
|
+
# feedback_label`
|
1454
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
1455
|
+
# @param [String] update_mask
|
1456
|
+
# Required. The list of fields to be updated.
|
1457
|
+
# @param [String] fields
|
1458
|
+
# Selector specifying which fields to include in a partial response.
|
1459
|
+
# @param [String] quota_user
|
1460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1462
|
+
# @param [Google::Apis::RequestOptions] options
|
1463
|
+
# Request-specific options
|
1464
|
+
#
|
1465
|
+
# @yield [result, err] Result & error if block supplied
|
1466
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
1467
|
+
# @yieldparam err [StandardError] error object if request failed
|
1468
|
+
#
|
1469
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
1470
|
+
#
|
1471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1474
|
+
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)
|
1475
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1476
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1477
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
1478
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1479
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
1480
|
+
command.params['name'] = name unless name.nil?
|
1481
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1482
|
+
command.query['fields'] = fields unless fields.nil?
|
1483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1484
|
+
execute_or_queue_command(command, &block)
|
1485
|
+
end
|
1486
|
+
|
1487
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1488
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1489
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1490
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1491
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1492
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1493
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
1494
|
+
# , corresponding to `Code.CANCELLED`.
|
1495
|
+
# @param [String] name
|
1496
|
+
# The name of the operation resource to be cancelled.
|
1497
|
+
# @param [String] fields
|
1498
|
+
# Selector specifying which fields to include in a partial response.
|
1499
|
+
# @param [String] quota_user
|
1500
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1501
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1502
|
+
# @param [Google::Apis::RequestOptions] options
|
1503
|
+
# Request-specific options
|
1504
|
+
#
|
1505
|
+
# @yield [result, err] Result & error if block supplied
|
1506
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1507
|
+
# @yieldparam err [StandardError] error object if request failed
|
1508
|
+
#
|
1509
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1510
|
+
#
|
1511
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1512
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1513
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1514
|
+
def cancel_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1515
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
1516
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1517
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1518
|
+
command.params['name'] = name unless name.nil?
|
1519
|
+
command.query['fields'] = fields unless fields.nil?
|
1520
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1521
|
+
execute_or_queue_command(command, &block)
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1525
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1526
|
+
# @param [String] name
|
1527
|
+
# The name of the operation resource.
|
1528
|
+
# @param [String] fields
|
1529
|
+
# Selector specifying which fields to include in a partial response.
|
1530
|
+
# @param [String] quota_user
|
1531
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1532
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1533
|
+
# @param [Google::Apis::RequestOptions] options
|
1534
|
+
# Request-specific options
|
1535
|
+
#
|
1536
|
+
# @yield [result, err] Result & error if block supplied
|
1537
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1538
|
+
# @yieldparam err [StandardError] error object if request failed
|
1539
|
+
#
|
1540
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1541
|
+
#
|
1542
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1543
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1544
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1545
|
+
def get_project_location_authorized_view_set_authorized_view_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1546
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1547
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1548
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1549
|
+
command.params['name'] = name unless name.nil?
|
1550
|
+
command.query['fields'] = fields unless fields.nil?
|
1551
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1552
|
+
execute_or_queue_command(command, &block)
|
1553
|
+
end
|
1554
|
+
|
1555
|
+
# Lists operations that match the specified filter in the request. If the server
|
1556
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1557
|
+
# @param [String] name
|
1558
|
+
# The name of the operation's parent resource.
|
1559
|
+
# @param [String] filter
|
1560
|
+
# The standard list filter.
|
1561
|
+
# @param [Fixnum] page_size
|
1562
|
+
# The standard list page size.
|
1563
|
+
# @param [String] page_token
|
1564
|
+
# The standard list page token.
|
1565
|
+
# @param [String] fields
|
1566
|
+
# Selector specifying which fields to include in a partial response.
|
1567
|
+
# @param [String] quota_user
|
1568
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1569
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1570
|
+
# @param [Google::Apis::RequestOptions] options
|
1571
|
+
# Request-specific options
|
1572
|
+
#
|
1573
|
+
# @yield [result, err] Result & error if block supplied
|
1574
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse] parsed result object
|
1575
|
+
# @yieldparam err [StandardError] error object if request failed
|
1576
|
+
#
|
1577
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
|
1578
|
+
#
|
1579
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1580
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1581
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1582
|
+
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)
|
1583
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
1584
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse::Representation
|
1585
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse
|
1586
|
+
command.params['name'] = name unless name.nil?
|
1587
|
+
command.query['filter'] = filter unless filter.nil?
|
1588
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1589
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1590
|
+
command.query['fields'] = fields unless fields.nil?
|
1591
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1592
|
+
execute_or_queue_command(command, &block)
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# Analyzes multiple conversations in a single request.
|
1596
|
+
# @param [String] parent
|
1597
|
+
# Required. The parent resource to create analyses in.
|
1598
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
1599
|
+
# @param [String] fields
|
1600
|
+
# Selector specifying which fields to include in a partial response.
|
1601
|
+
# @param [String] quota_user
|
1602
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1603
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1604
|
+
# @param [Google::Apis::RequestOptions] options
|
1605
|
+
# Request-specific options
|
1606
|
+
#
|
1607
|
+
# @yield [result, err] Result & error if block supplied
|
1608
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1609
|
+
# @yieldparam err [StandardError] error object if request failed
|
1610
|
+
#
|
1611
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1612
|
+
#
|
1613
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1614
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1615
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1616
|
+
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)
|
1617
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
1618
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
1619
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
1620
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1621
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1622
|
+
command.params['parent'] = parent unless parent.nil?
|
1623
|
+
command.query['fields'] = fields unless fields.nil?
|
1624
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1625
|
+
execute_or_queue_command(command, &block)
|
1626
|
+
end
|
1627
|
+
|
1628
|
+
# Deletes multiple conversations in a single request.
|
1629
|
+
# @param [String] parent
|
1630
|
+
# Required. The parent resource to delete conversations from. Format: projects/`
|
1631
|
+
# project`/locations/`location`
|
1632
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
1633
|
+
# @param [String] fields
|
1634
|
+
# Selector specifying which fields to include in a partial response.
|
1635
|
+
# @param [String] quota_user
|
1636
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1637
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1638
|
+
# @param [Google::Apis::RequestOptions] options
|
1639
|
+
# Request-specific options
|
1640
|
+
#
|
1641
|
+
# @yield [result, err] Result & error if block supplied
|
1642
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1643
|
+
# @yieldparam err [StandardError] error object if request failed
|
1644
|
+
#
|
1645
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1646
|
+
#
|
1647
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1648
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1649
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1650
|
+
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)
|
1651
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
1652
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
1653
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
1654
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1655
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1656
|
+
command.params['parent'] = parent unless parent.nil?
|
1657
|
+
command.query['fields'] = fields unless fields.nil?
|
1658
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1659
|
+
execute_or_queue_command(command, &block)
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# Gets conversation statistics.
|
1663
|
+
# @param [String] location
|
1664
|
+
# Required. The location of the conversations.
|
1665
|
+
# @param [String] filter
|
1666
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
1667
|
+
# getting statistics about conversations with specific properties.
|
1668
|
+
# @param [String] fields
|
1669
|
+
# Selector specifying which fields to include in a partial response.
|
1670
|
+
# @param [String] quota_user
|
1671
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1672
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1673
|
+
# @param [Google::Apis::RequestOptions] options
|
1674
|
+
# Request-specific options
|
1675
|
+
#
|
1676
|
+
# @yield [result, err] Result & error if block supplied
|
1677
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse] parsed result object
|
1678
|
+
# @yieldparam err [StandardError] error object if request failed
|
1679
|
+
#
|
1680
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse]
|
1681
|
+
#
|
1682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1685
|
+
def calculate_project_location_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1686
|
+
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
1687
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
1688
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1689
|
+
command.params['location'] = location unless location.nil?
|
1690
|
+
command.query['filter'] = filter unless filter.nil?
|
1691
|
+
command.query['fields'] = fields unless fields.nil?
|
1692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1693
|
+
execute_or_queue_command(command, &block)
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# Creates a conversation. Note that this method does not support audio
|
1697
|
+
# transcription or redaction. Use `conversations.upload` instead.
|
1698
|
+
# @param [String] parent
|
1699
|
+
# Required. The parent resource of the conversation.
|
1700
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1701
|
+
# @param [String] conversation_id
|
1702
|
+
# A unique ID for the new conversation. This ID will become the final component
|
1703
|
+
# of the conversation's resource name. If no ID is specified, a server-generated
|
1704
|
+
# ID will be used. This value should be 4-64 characters and must match the
|
1705
|
+
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
1706
|
+
# @param [String] fields
|
1707
|
+
# Selector specifying which fields to include in a partial response.
|
1708
|
+
# @param [String] quota_user
|
1709
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1710
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1711
|
+
# @param [Google::Apis::RequestOptions] options
|
1712
|
+
# Request-specific options
|
1713
|
+
#
|
1714
|
+
# @yield [result, err] Result & error if block supplied
|
1715
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1716
|
+
# @yieldparam err [StandardError] error object if request failed
|
1717
|
+
#
|
1718
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1719
|
+
#
|
1720
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1721
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1722
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1723
|
+
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1724
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
1725
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1726
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1727
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1728
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1729
|
+
command.params['parent'] = parent unless parent.nil?
|
1730
|
+
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
1731
|
+
command.query['fields'] = fields unless fields.nil?
|
1732
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1733
|
+
execute_or_queue_command(command, &block)
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
# Deletes a conversation.
|
1737
|
+
# @param [String] name
|
1738
|
+
# Required. The name of the conversation to delete.
|
1739
|
+
# @param [Boolean] force
|
1740
|
+
# If set to true, all of this conversation's analyses will also be deleted.
|
1741
|
+
# Otherwise, the request will only succeed if the conversation has no analyses.
|
1742
|
+
# @param [String] fields
|
1743
|
+
# Selector specifying which fields to include in a partial response.
|
1744
|
+
# @param [String] quota_user
|
1745
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1746
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1747
|
+
# @param [Google::Apis::RequestOptions] options
|
1748
|
+
# Request-specific options
|
1749
|
+
#
|
1750
|
+
# @yield [result, err] Result & error if block supplied
|
1751
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
1752
|
+
# @yieldparam err [StandardError] error object if request failed
|
1753
|
+
#
|
1754
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
1755
|
+
#
|
1756
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1757
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1758
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1759
|
+
def delete_project_location_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1760
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1761
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1762
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
1763
|
+
command.params['name'] = name unless name.nil?
|
1764
|
+
command.query['force'] = force unless force.nil?
|
1765
|
+
command.query['fields'] = fields unless fields.nil?
|
1766
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1767
|
+
execute_or_queue_command(command, &block)
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# Gets a conversation.
|
1771
|
+
# @param [String] name
|
1772
|
+
# Required. The name of the conversation to get.
|
1773
|
+
# @param [String] view
|
1774
|
+
# The level of details of the conversation. Default is `FULL`.
|
1775
|
+
# @param [String] fields
|
1776
|
+
# Selector specifying which fields to include in a partial response.
|
1777
|
+
# @param [String] quota_user
|
1778
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1779
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1780
|
+
# @param [Google::Apis::RequestOptions] options
|
1781
|
+
# Request-specific options
|
1782
|
+
#
|
1783
|
+
# @yield [result, err] Result & error if block supplied
|
1784
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1785
|
+
# @yieldparam err [StandardError] error object if request failed
|
1786
|
+
#
|
1787
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1788
|
+
#
|
1789
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1790
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1791
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1792
|
+
def get_project_location_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1793
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1794
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1795
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1796
|
+
command.params['name'] = name unless name.nil?
|
1797
|
+
command.query['view'] = view unless view.nil?
|
1798
|
+
command.query['fields'] = fields unless fields.nil?
|
1799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1800
|
+
execute_or_queue_command(command, &block)
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# Imports conversations and processes them according to the user's configuration.
|
1804
|
+
# @param [String] parent
|
1805
|
+
# Required. The parent resource for new conversations.
|
1806
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest] google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
1807
|
+
# @param [String] fields
|
1808
|
+
# Selector specifying which fields to include in a partial response.
|
1809
|
+
# @param [String] quota_user
|
1810
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1811
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1812
|
+
# @param [Google::Apis::RequestOptions] options
|
1813
|
+
# Request-specific options
|
1814
|
+
#
|
1815
|
+
# @yield [result, err] Result & error if block supplied
|
1816
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1817
|
+
# @yieldparam err [StandardError] error object if request failed
|
1818
|
+
#
|
1819
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1820
|
+
#
|
1821
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1822
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1823
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1824
|
+
def ingest_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1825
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
1826
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
1827
|
+
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
1828
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1829
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1830
|
+
command.params['parent'] = parent unless parent.nil?
|
1831
|
+
command.query['fields'] = fields unless fields.nil?
|
1832
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1833
|
+
execute_or_queue_command(command, &block)
|
1834
|
+
end
|
1835
|
+
|
1836
|
+
# Lists conversations.
|
1837
|
+
# @param [String] parent
|
1838
|
+
# Required. The parent resource of the conversation.
|
1839
|
+
# @param [String] filter
|
1840
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
1841
|
+
# conversations with specific properties.
|
1842
|
+
# @param [String] order_by
|
1843
|
+
# Optional. The attribute by which to order conversations in the response. If
|
1844
|
+
# empty, conversations will be ordered by descending creation time. Supported
|
1845
|
+
# values are one of the following: * create_time * customer_satisfaction_rating *
|
1846
|
+
# duration * latest_analysis * start_time * turn_count The default sort order
|
1847
|
+
# is ascending. To specify order, append `asc` or `desc` (`create_time desc`).
|
1848
|
+
# For more details, see [Google AIPs Ordering](https://google.aip.dev/132#
|
1849
|
+
# ordering).
|
1850
|
+
# @param [Fixnum] page_size
|
1851
|
+
# The maximum number of conversations to return in the response. A valid page
|
1852
|
+
# size ranges from 0 to 100,000 inclusive. If the page size is zero or
|
1853
|
+
# unspecified, a default page size of 100 will be chosen. Note that a call might
|
1854
|
+
# return fewer results than the requested page size.
|
1855
|
+
# @param [String] page_token
|
1856
|
+
# The value returned by the last `ListConversationsResponse`. This value
|
1857
|
+
# indicates that this is a continuation of a prior `ListConversations` call and
|
1858
|
+
# that the system should return the next page of data.
|
1859
|
+
# @param [String] view
|
1860
|
+
# The level of details of the conversation. Default is `BASIC`.
|
1861
|
+
# @param [String] fields
|
1862
|
+
# Selector specifying which fields to include in a partial response.
|
1863
|
+
# @param [String] quota_user
|
1864
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1865
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1866
|
+
# @param [Google::Apis::RequestOptions] options
|
1867
|
+
# Request-specific options
|
1868
|
+
#
|
1869
|
+
# @yield [result, err] Result & error if block supplied
|
1870
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse] parsed result object
|
1871
|
+
# @yieldparam err [StandardError] error object if request failed
|
1872
|
+
#
|
1873
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse]
|
1874
|
+
#
|
1875
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1876
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1877
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1878
|
+
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)
|
1879
|
+
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
1880
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
1881
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
1882
|
+
command.params['parent'] = parent unless parent.nil?
|
1883
|
+
command.query['filter'] = filter unless filter.nil?
|
1884
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1885
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1886
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1887
|
+
command.query['view'] = view unless view.nil?
|
1888
|
+
command.query['fields'] = fields unless fields.nil?
|
1889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1890
|
+
execute_or_queue_command(command, &block)
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# Updates a conversation.
|
1894
|
+
# @param [String] name
|
1895
|
+
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
1896
|
+
# locations/`location`/conversations/`conversation`
|
1897
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1898
|
+
# @param [String] update_mask
|
1899
|
+
# The list of fields to be updated. All possible fields can be updated by
|
1900
|
+
# passing `*`, or a subset of the following updateable fields can be provided: *
|
1901
|
+
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
1902
|
+
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
1903
|
+
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
1904
|
+
# @param [String] fields
|
1905
|
+
# Selector specifying which fields to include in a partial response.
|
1906
|
+
# @param [String] quota_user
|
1907
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1908
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1909
|
+
# @param [Google::Apis::RequestOptions] options
|
1910
|
+
# Request-specific options
|
1911
|
+
#
|
1912
|
+
# @yield [result, err] Result & error if block supplied
|
1913
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1914
|
+
# @yieldparam err [StandardError] error object if request failed
|
1915
|
+
#
|
1916
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1917
|
+
#
|
1918
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1919
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1920
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1921
|
+
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1922
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1923
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1924
|
+
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1925
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1926
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1927
|
+
command.params['name'] = name unless name.nil?
|
1928
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1929
|
+
command.query['fields'] = fields unless fields.nil?
|
1930
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1931
|
+
execute_or_queue_command(command, &block)
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
# Create a long-running conversation upload operation. This method differs from `
|
1935
|
+
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
1936
|
+
# @param [String] parent
|
1937
|
+
# Required. The parent resource of the conversation.
|
1938
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1939
|
+
# @param [String] fields
|
1940
|
+
# Selector specifying which fields to include in a partial response.
|
1941
|
+
# @param [String] quota_user
|
1942
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1943
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1944
|
+
# @param [Google::Apis::RequestOptions] options
|
1945
|
+
# Request-specific options
|
1946
|
+
#
|
1947
|
+
# @yield [result, err] Result & error if block supplied
|
1948
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1949
|
+
# @yieldparam err [StandardError] error object if request failed
|
1950
|
+
#
|
1951
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1952
|
+
#
|
1953
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1954
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1955
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1956
|
+
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1957
|
+
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
1958
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
1959
|
+
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1960
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1961
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1962
|
+
command.params['parent'] = parent unless parent.nil?
|
1963
|
+
command.query['fields'] = fields unless fields.nil?
|
1964
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1965
|
+
execute_or_queue_command(command, &block)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Creates an analysis. The long running operation is done when the analysis has
|
1969
|
+
# completed.
|
1970
|
+
# @param [String] parent
|
1971
|
+
# Required. The parent resource of the analysis.
|
1972
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] google_cloud_contactcenterinsights_v1_analysis_object
|
1973
|
+
# @param [String] fields
|
1974
|
+
# Selector specifying which fields to include in a partial response.
|
1975
|
+
# @param [String] quota_user
|
1976
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1977
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1978
|
+
# @param [Google::Apis::RequestOptions] options
|
1979
|
+
# Request-specific options
|
1980
|
+
#
|
1981
|
+
# @yield [result, err] Result & error if block supplied
|
1982
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1983
|
+
# @yieldparam err [StandardError] error object if request failed
|
1984
|
+
#
|
1985
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1986
|
+
#
|
1987
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1988
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1989
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1990
|
+
def create_project_location_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1991
|
+
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
1992
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1993
|
+
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
1994
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1995
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1996
|
+
command.params['parent'] = parent unless parent.nil?
|
1997
|
+
command.query['fields'] = fields unless fields.nil?
|
1998
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1999
|
+
execute_or_queue_command(command, &block)
|
2000
|
+
end
|
2001
|
+
|
2002
|
+
# Deletes an analysis.
|
2003
|
+
# @param [String] name
|
2004
|
+
# Required. The name of the analysis to delete.
|
2005
|
+
# @param [String] fields
|
2006
|
+
# Selector specifying which fields to include in a partial response.
|
2007
|
+
# @param [String] quota_user
|
2008
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2009
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2010
|
+
# @param [Google::Apis::RequestOptions] options
|
2011
|
+
# Request-specific options
|
2012
|
+
#
|
2013
|
+
# @yield [result, err] Result & error if block supplied
|
2014
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
2015
|
+
# @yieldparam err [StandardError] error object if request failed
|
2016
|
+
#
|
2017
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
2018
|
+
#
|
2019
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2020
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2021
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2022
|
+
def delete_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
2023
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2024
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2025
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
2026
|
+
command.params['name'] = name unless name.nil?
|
2027
|
+
command.query['fields'] = fields unless fields.nil?
|
2028
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2029
|
+
execute_or_queue_command(command, &block)
|
2030
|
+
end
|
2031
|
+
|
2032
|
+
# Gets an analysis.
|
2033
|
+
# @param [String] name
|
2034
|
+
# Required. The name of the analysis to get.
|
2035
|
+
# @param [String] fields
|
2036
|
+
# Selector specifying which fields to include in a partial response.
|
2037
|
+
# @param [String] quota_user
|
2038
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2039
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2040
|
+
# @param [Google::Apis::RequestOptions] options
|
2041
|
+
# Request-specific options
|
2042
|
+
#
|
2043
|
+
# @yield [result, err] Result & error if block supplied
|
2044
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis] parsed result object
|
2045
|
+
# @yieldparam err [StandardError] error object if request failed
|
2046
|
+
#
|
2047
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis]
|
2048
|
+
#
|
2049
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2050
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2051
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2052
|
+
def get_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
2053
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2054
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
2055
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
2056
|
+
command.params['name'] = name unless name.nil?
|
2057
|
+
command.query['fields'] = fields unless fields.nil?
|
2058
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2059
|
+
execute_or_queue_command(command, &block)
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
# Lists analyses.
|
2063
|
+
# @param [String] parent
|
2064
|
+
# Required. The parent resource of the analyses.
|
2065
|
+
# @param [String] filter
|
2066
|
+
# A filter to reduce results to a specific subset. Useful for querying
|
2067
|
+
# conversations with specific properties.
|
2068
|
+
# @param [Fixnum] page_size
|
2069
|
+
# The maximum number of analyses to return in the response. If this value is
|
2070
|
+
# zero, the service will select a default size. A call might return fewer
|
2071
|
+
# objects than requested. A non-empty `next_page_token` in the response
|
2072
|
+
# indicates that more data is available.
|
2073
|
+
# @param [String] page_token
|
2074
|
+
# The value returned by the last `ListAnalysesResponse`; indicates that this is
|
2075
|
+
# a continuation of a prior `ListAnalyses` call and the system should return the
|
2076
|
+
# next page of data.
|
2077
|
+
# @param [String] fields
|
2078
|
+
# Selector specifying which fields to include in a partial response.
|
2079
|
+
# @param [String] quota_user
|
2080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2082
|
+
# @param [Google::Apis::RequestOptions] options
|
2083
|
+
# Request-specific options
|
2084
|
+
#
|
2085
|
+
# @yield [result, err] Result & error if block supplied
|
2086
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse] parsed result object
|
2087
|
+
# @yieldparam err [StandardError] error object if request failed
|
2088
|
+
#
|
2089
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse]
|
2090
|
+
#
|
2091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2094
|
+
def list_project_location_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2095
|
+
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
2096
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
2097
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
2098
|
+
command.params['parent'] = parent unless parent.nil?
|
2099
|
+
command.query['filter'] = filter unless filter.nil?
|
2100
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2101
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2102
|
+
command.query['fields'] = fields unless fields.nil?
|
2103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2104
|
+
execute_or_queue_command(command, &block)
|
2105
|
+
end
|
2106
|
+
|
2107
|
+
# Create feedback label.
|
2108
|
+
# @param [String] parent
|
2109
|
+
# Required. The parent resource of the feedback label.
|
2110
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
2111
|
+
# @param [String] feedback_label_id
|
2112
|
+
# Optional. The ID of the feedback label to create. If one is not specified it
|
2113
|
+
# will be generated by the server.
|
2114
|
+
# @param [String] fields
|
2115
|
+
# Selector specifying which fields to include in a partial response.
|
2116
|
+
# @param [String] quota_user
|
2117
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2118
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2119
|
+
# @param [Google::Apis::RequestOptions] options
|
2120
|
+
# Request-specific options
|
2121
|
+
#
|
2122
|
+
# @yield [result, err] Result & error if block supplied
|
2123
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
2124
|
+
# @yieldparam err [StandardError] error object if request failed
|
2125
|
+
#
|
2126
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
2127
|
+
#
|
2128
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2129
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2130
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2131
|
+
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)
|
2132
|
+
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
2133
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2134
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
2135
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2136
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
2137
|
+
command.params['parent'] = parent unless parent.nil?
|
2138
|
+
command.query['feedbackLabelId'] = feedback_label_id unless feedback_label_id.nil?
|
2139
|
+
command.query['fields'] = fields unless fields.nil?
|
2140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2141
|
+
execute_or_queue_command(command, &block)
|
2142
|
+
end
|
2143
|
+
|
2144
|
+
# Delete feedback label.
|
2145
|
+
# @param [String] name
|
2146
|
+
# Required. The name of the feedback label to delete.
|
2147
|
+
# @param [String] fields
|
2148
|
+
# Selector specifying which fields to include in a partial response.
|
2149
|
+
# @param [String] quota_user
|
2150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2152
|
+
# @param [Google::Apis::RequestOptions] options
|
2153
|
+
# Request-specific options
|
2154
|
+
#
|
2155
|
+
# @yield [result, err] Result & error if block supplied
|
2156
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty] parsed result object
|
2157
|
+
# @yieldparam err [StandardError] error object if request failed
|
2158
|
+
#
|
2159
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty]
|
2160
|
+
#
|
2161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2164
|
+
def delete_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
2165
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
2166
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
2167
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
2168
|
+
command.params['name'] = name unless name.nil?
|
2169
|
+
command.query['fields'] = fields unless fields.nil?
|
2170
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2171
|
+
execute_or_queue_command(command, &block)
|
2172
|
+
end
|
2173
|
+
|
2174
|
+
# Get feedback label.
|
2175
|
+
# @param [String] name
|
2176
|
+
# Required. The name of the feedback label to get.
|
2177
|
+
# @param [String] fields
|
2178
|
+
# Selector specifying which fields to include in a partial response.
|
2179
|
+
# @param [String] quota_user
|
2180
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2181
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2182
|
+
# @param [Google::Apis::RequestOptions] options
|
2183
|
+
# Request-specific options
|
2184
|
+
#
|
2185
|
+
# @yield [result, err] Result & error if block supplied
|
2186
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
2187
|
+
# @yieldparam err [StandardError] error object if request failed
|
2188
|
+
#
|
2189
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
2190
|
+
#
|
2191
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2192
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2193
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2194
|
+
def get_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
2195
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
2196
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2197
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
2198
|
+
command.params['name'] = name unless name.nil?
|
2199
|
+
command.query['fields'] = fields unless fields.nil?
|
2200
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2201
|
+
execute_or_queue_command(command, &block)
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
# List feedback labels.
|
2205
|
+
# @param [String] parent
|
2206
|
+
# Required. The parent resource of the feedback labels.
|
2207
|
+
# @param [String] filter
|
2208
|
+
# Optional. A filter to reduce results to a specific subset. Supports
|
2209
|
+
# disjunctions (OR) and conjunctions (AND). Automatically sorts by conversation
|
2210
|
+
# ID. To sort by all feedback labels in a project see ListAllFeedbackLabels.
|
2211
|
+
# Supported fields: * `issue_model_id` * `qa_question_id` * `qa_scorecard_id` * `
|
2212
|
+
# min_create_time` * `max_create_time` * `min_update_time` * `max_update_time` *
|
2213
|
+
# `feedback_label_type`: QUALITY_AI, TOPIC_MODELING
|
2214
|
+
# @param [Fixnum] page_size
|
2215
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
2216
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
2217
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
2218
|
+
# might return fewer results than the requested page size.
|
2219
|
+
# @param [String] page_token
|
2220
|
+
# Optional. The value returned by the last `ListFeedbackLabelsResponse`. This
|
2221
|
+
# value indicates that this is a continuation of a prior `ListFeedbackLabels`
|
2222
|
+
# call and that the system should return the next page of data.
|
2223
|
+
# @param [String] fields
|
2224
|
+
# Selector specifying which fields to include in a partial response.
|
2225
|
+
# @param [String] quota_user
|
2226
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2227
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2228
|
+
# @param [Google::Apis::RequestOptions] options
|
2229
|
+
# Request-specific options
|
2230
|
+
#
|
2231
|
+
# @yield [result, err] Result & error if block supplied
|
2232
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse] parsed result object
|
2233
|
+
# @yieldparam err [StandardError] error object if request failed
|
2234
|
+
#
|
2235
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse]
|
2236
|
+
#
|
2237
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2238
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2239
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2240
|
+
def list_project_location_conversation_feedback_labels(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2241
|
+
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
2242
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
2243
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
2244
|
+
command.params['parent'] = parent unless parent.nil?
|
2245
|
+
command.query['filter'] = filter unless filter.nil?
|
2246
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2247
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2248
|
+
command.query['fields'] = fields unless fields.nil?
|
2249
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2250
|
+
execute_or_queue_command(command, &block)
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
# Update feedback label.
|
2254
|
+
# @param [String] name
|
2255
|
+
# Immutable. Resource name of the FeedbackLabel. Format: projects/`project`/
|
2256
|
+
# locations/`location`/conversations/`conversation`/feedbackLabels/`
|
2257
|
+
# feedback_label`
|
2258
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] google_cloud_contactcenterinsights_v1_feedback_label_object
|
2259
|
+
# @param [String] update_mask
|
2260
|
+
# Required. The list of fields to be updated.
|
2261
|
+
# @param [String] fields
|
2262
|
+
# Selector specifying which fields to include in a partial response.
|
2263
|
+
# @param [String] quota_user
|
2264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2266
|
+
# @param [Google::Apis::RequestOptions] options
|
2267
|
+
# Request-specific options
|
2268
|
+
#
|
2269
|
+
# @yield [result, err] Result & error if block supplied
|
2270
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel] parsed result object
|
2271
|
+
# @yieldparam err [StandardError] error object if request failed
|
2272
|
+
#
|
2273
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel]
|
2274
|
+
#
|
2275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2278
|
+
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)
|
2279
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
2280
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2281
|
+
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
2282
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
2283
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
2284
|
+
command.params['name'] = name unless name.nil?
|
2285
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2286
|
+
command.query['fields'] = fields unless fields.nil?
|
2287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2288
|
+
execute_or_queue_command(command, &block)
|
2289
|
+
end
|
2290
|
+
|
2291
|
+
# Delete feedback labels in bulk using a filter.
|
2292
|
+
# @param [String] parent
|
2293
|
+
# Required. The parent resource for new feedback labels.
|
2294
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
|
2295
|
+
# @param [String] fields
|
2296
|
+
# Selector specifying which fields to include in a partial response.
|
2297
|
+
# @param [String] quota_user
|
2298
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2299
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2300
|
+
# @param [Google::Apis::RequestOptions] options
|
2301
|
+
# Request-specific options
|
2302
|
+
#
|
2303
|
+
# @yield [result, err] Result & error if block supplied
|
2304
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2305
|
+
# @yieldparam err [StandardError] error object if request failed
|
2306
|
+
#
|
2307
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2308
|
+
#
|
2309
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2310
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2311
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2312
|
+
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)
|
2313
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkDeleteFeedbackLabels', options)
|
2314
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteFeedbackLabelsRequest::Representation
|
2315
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_feedback_labels_request_object
|
2316
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2317
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2318
|
+
command.params['parent'] = parent unless parent.nil?
|
2319
|
+
command.query['fields'] = fields unless fields.nil?
|
2320
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2321
|
+
execute_or_queue_command(command, &block)
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
# Download feedback labels in bulk from an external source. Currently supports
|
2325
|
+
# exporting Quality AI example conversations with transcripts and question
|
2326
|
+
# bodies.
|
2327
|
+
# @param [String] parent
|
2328
|
+
# Required. The parent resource for new feedback labels.
|
2329
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
512
2330
|
# @param [String] fields
|
513
2331
|
# Selector specifying which fields to include in a partial response.
|
514
2332
|
# @param [String] quota_user
|
@@ -526,24 +2344,70 @@ module Google
|
|
526
2344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
527
2345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
528
2346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
529
|
-
def
|
530
|
-
command = make_simple_command(:post, 'v1/{+
|
531
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::
|
532
|
-
command.request_object =
|
2347
|
+
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)
|
2348
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkDownloadFeedbackLabels', options)
|
2349
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDownloadFeedbackLabelsRequest::Representation
|
2350
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_download_feedback_labels_request_object
|
533
2351
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
534
2352
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
535
|
-
command.params['
|
2353
|
+
command.params['parent'] = parent unless parent.nil?
|
536
2354
|
command.query['fields'] = fields unless fields.nil?
|
537
2355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
538
2356
|
execute_or_queue_command(command, &block)
|
539
2357
|
end
|
540
2358
|
|
541
|
-
#
|
542
|
-
#
|
543
|
-
#
|
2359
|
+
# Upload feedback labels from an external source in bulk. Currently supports
|
2360
|
+
# labeling Quality AI example conversations.
|
2361
|
+
# @param [String] parent
|
2362
|
+
# Required. The parent resource for new feedback labels.
|
2363
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest] google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
2364
|
+
# @param [String] fields
|
2365
|
+
# Selector specifying which fields to include in a partial response.
|
2366
|
+
# @param [String] quota_user
|
2367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2369
|
+
# @param [Google::Apis::RequestOptions] options
|
2370
|
+
# Request-specific options
|
2371
|
+
#
|
2372
|
+
# @yield [result, err] Result & error if block supplied
|
2373
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
2374
|
+
# @yieldparam err [StandardError] error object if request failed
|
2375
|
+
#
|
2376
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
2377
|
+
#
|
2378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2381
|
+
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)
|
2382
|
+
command = make_simple_command(:post, 'v1/{+parent}:bulkUploadFeedbackLabels', options)
|
2383
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkUploadFeedbackLabelsRequest::Representation
|
2384
|
+
command.request_object = google_cloud_contactcenterinsights_v1_bulk_upload_feedback_labels_request_object
|
2385
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2386
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2387
|
+
command.params['parent'] = parent unless parent.nil?
|
2388
|
+
command.query['fields'] = fields unless fields.nil?
|
2389
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2390
|
+
execute_or_queue_command(command, &block)
|
2391
|
+
end
|
2392
|
+
|
2393
|
+
# List all feedback labels by project number.
|
2394
|
+
# @param [String] parent
|
2395
|
+
# Required. The parent resource of all feedback labels per project.
|
544
2396
|
# @param [String] filter
|
545
|
-
# A filter to reduce results to a specific subset
|
546
|
-
#
|
2397
|
+
# Optional. A filter to reduce results to a specific subset in the entire
|
2398
|
+
# project. Supports disjunctions (OR) and conjunctions (AND). Supported fields: *
|
2399
|
+
# `issue_model_id` * `qa_question_id` * `min_create_time` * `max_create_time` *
|
2400
|
+
# `min_update_time` * `max_update_time` * `feedback_label_type`: QUALITY_AI,
|
2401
|
+
# TOPIC_MODELING
|
2402
|
+
# @param [Fixnum] page_size
|
2403
|
+
# Optional. The maximum number of feedback labels to return in the response. A
|
2404
|
+
# valid page size ranges from 0 to 100,000 inclusive. If the page size is zero
|
2405
|
+
# or unspecified, a default page size of 100 will be chosen. Note that a call
|
2406
|
+
# might return fewer results than the requested page size.
|
2407
|
+
# @param [String] page_token
|
2408
|
+
# Optional. The value returned by the last `ListAllFeedbackLabelsResponse`. This
|
2409
|
+
# value indicates that this is a continuation of a prior `ListAllFeedbackLabels`
|
2410
|
+
# call and that the system should return the next page of data.
|
547
2411
|
# @param [String] fields
|
548
2412
|
# Selector specifying which fields to include in a partial response.
|
549
2413
|
# @param [String] quota_user
|
@@ -553,20 +2417,22 @@ module Google
|
|
553
2417
|
# Request-specific options
|
554
2418
|
#
|
555
2419
|
# @yield [result, err] Result & error if block supplied
|
556
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2420
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse] parsed result object
|
557
2421
|
# @yieldparam err [StandardError] error object if request failed
|
558
2422
|
#
|
559
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2423
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse]
|
560
2424
|
#
|
561
2425
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
562
2426
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
563
2427
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
564
|
-
def
|
565
|
-
command = make_simple_command(:get, 'v1/{+
|
566
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
567
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
568
|
-
command.params['
|
2428
|
+
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)
|
2429
|
+
command = make_simple_command(:get, 'v1/{+parent}:listAllFeedbackLabels', options)
|
2430
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse::Representation
|
2431
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse
|
2432
|
+
command.params['parent'] = parent unless parent.nil?
|
569
2433
|
command.query['filter'] = filter unless filter.nil?
|
2434
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2435
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
570
2436
|
command.query['fields'] = fields unless fields.nil?
|
571
2437
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
572
2438
|
execute_or_queue_command(command, &block)
|
@@ -593,7 +2459,7 @@ module Google
|
|
593
2459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
594
2460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
595
2461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
596
|
-
def
|
2462
|
+
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)
|
597
2463
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
598
2464
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
599
2465
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
@@ -627,7 +2493,7 @@ module Google
|
|
627
2493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
628
2494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
2495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
|
-
def
|
2496
|
+
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)
|
631
2497
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
632
2498
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
633
2499
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
@@ -642,9 +2508,7 @@ module Google
|
|
642
2508
|
# Gets conversation statistics.
|
643
2509
|
# @param [String] location
|
644
2510
|
# Required. The location of the conversations.
|
645
|
-
# @param [
|
646
|
-
# A filter to reduce results to a specific subset. This field is useful for
|
647
|
-
# getting statistics about conversations with specific properties.
|
2511
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsRequest] google_cloud_contactcenterinsights_v1_calculate_stats_request_object
|
648
2512
|
# @param [String] fields
|
649
2513
|
# Selector specifying which fields to include in a partial response.
|
650
2514
|
# @param [String] quota_user
|
@@ -662,52 +2526,13 @@ module Google
|
|
662
2526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
663
2527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
664
2528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
665
|
-
def
|
666
|
-
command = make_simple_command(:
|
2529
|
+
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)
|
2530
|
+
command = make_simple_command(:post, 'v1/{+location}/conversations:calculateStats', options)
|
2531
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsRequest::Representation
|
2532
|
+
command.request_object = google_cloud_contactcenterinsights_v1_calculate_stats_request_object
|
667
2533
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
668
2534
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
669
2535
|
command.params['location'] = location unless location.nil?
|
670
|
-
command.query['filter'] = filter unless filter.nil?
|
671
|
-
command.query['fields'] = fields unless fields.nil?
|
672
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
673
|
-
execute_or_queue_command(command, &block)
|
674
|
-
end
|
675
|
-
|
676
|
-
# Creates a conversation. Note that this method does not support audio
|
677
|
-
# transcription or redaction. Use `conversations.upload` instead.
|
678
|
-
# @param [String] parent
|
679
|
-
# Required. The parent resource of the conversation.
|
680
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
681
|
-
# @param [String] conversation_id
|
682
|
-
# A unique ID for the new conversation. This ID will become the final component
|
683
|
-
# of the conversation's resource name. If no ID is specified, a server-generated
|
684
|
-
# ID will be used. This value should be 4-64 characters and must match the
|
685
|
-
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
686
|
-
# @param [String] fields
|
687
|
-
# Selector specifying which fields to include in a partial response.
|
688
|
-
# @param [String] quota_user
|
689
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
690
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
691
|
-
# @param [Google::Apis::RequestOptions] options
|
692
|
-
# Request-specific options
|
693
|
-
#
|
694
|
-
# @yield [result, err] Result & error if block supplied
|
695
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
696
|
-
# @yieldparam err [StandardError] error object if request failed
|
697
|
-
#
|
698
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
699
|
-
#
|
700
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
701
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
702
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
703
|
-
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
704
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
705
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
706
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
707
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
708
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
709
|
-
command.params['parent'] = parent unless parent.nil?
|
710
|
-
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
711
2536
|
command.query['fields'] = fields unless fields.nil?
|
712
2537
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
713
2538
|
execute_or_queue_command(command, &block)
|
@@ -736,7 +2561,7 @@ module Google
|
|
736
2561
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
737
2562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
738
2563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
739
|
-
def
|
2564
|
+
def delete_project_location_dataset_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
740
2565
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
741
2566
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
742
2567
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -769,7 +2594,7 @@ module Google
|
|
769
2594
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
770
2595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
771
2596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
772
|
-
def
|
2597
|
+
def get_project_location_dataset_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
773
2598
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
774
2599
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
775
2600
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
@@ -801,7 +2626,7 @@ module Google
|
|
801
2626
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
802
2627
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
803
2628
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
804
|
-
def
|
2629
|
+
def ingest_project_location_dataset_conversation(parent, google_cloud_contactcenterinsights_v1_ingest_conversations_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
805
2630
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
806
2631
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
807
2632
|
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
@@ -855,7 +2680,7 @@ module Google
|
|
855
2680
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
2681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
2682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def
|
2683
|
+
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)
|
859
2684
|
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
860
2685
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
861
2686
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
@@ -870,81 +2695,6 @@ module Google
|
|
870
2695
|
execute_or_queue_command(command, &block)
|
871
2696
|
end
|
872
2697
|
|
873
|
-
# Updates a conversation.
|
874
|
-
# @param [String] name
|
875
|
-
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
876
|
-
# locations/`location`/conversations/`conversation`
|
877
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
878
|
-
# @param [String] update_mask
|
879
|
-
# The list of fields to be updated. All possible fields can be updated by
|
880
|
-
# passing `*`, or a subset of the following updateable fields can be provided: *
|
881
|
-
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
882
|
-
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
883
|
-
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
884
|
-
# @param [String] fields
|
885
|
-
# Selector specifying which fields to include in a partial response.
|
886
|
-
# @param [String] quota_user
|
887
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
888
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
889
|
-
# @param [Google::Apis::RequestOptions] options
|
890
|
-
# Request-specific options
|
891
|
-
#
|
892
|
-
# @yield [result, err] Result & error if block supplied
|
893
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
894
|
-
# @yieldparam err [StandardError] error object if request failed
|
895
|
-
#
|
896
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
897
|
-
#
|
898
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
899
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
900
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
901
|
-
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
902
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
903
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
904
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
905
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
906
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
907
|
-
command.params['name'] = name unless name.nil?
|
908
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
909
|
-
command.query['fields'] = fields unless fields.nil?
|
910
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
911
|
-
execute_or_queue_command(command, &block)
|
912
|
-
end
|
913
|
-
|
914
|
-
# Create a long-running conversation upload operation. This method differs from `
|
915
|
-
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
916
|
-
# @param [String] parent
|
917
|
-
# Required. The parent resource of the conversation.
|
918
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
919
|
-
# @param [String] fields
|
920
|
-
# Selector specifying which fields to include in a partial response.
|
921
|
-
# @param [String] quota_user
|
922
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
923
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
924
|
-
# @param [Google::Apis::RequestOptions] options
|
925
|
-
# Request-specific options
|
926
|
-
#
|
927
|
-
# @yield [result, err] Result & error if block supplied
|
928
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
929
|
-
# @yieldparam err [StandardError] error object if request failed
|
930
|
-
#
|
931
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
932
|
-
#
|
933
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
934
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
935
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
936
|
-
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
937
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
938
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
939
|
-
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
940
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
941
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
942
|
-
command.params['parent'] = parent unless parent.nil?
|
943
|
-
command.query['fields'] = fields unless fields.nil?
|
944
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
945
|
-
execute_or_queue_command(command, &block)
|
946
|
-
end
|
947
|
-
|
948
2698
|
# Creates an analysis. The long running operation is done when the analysis has
|
949
2699
|
# completed.
|
950
2700
|
# @param [String] parent
|
@@ -967,7 +2717,7 @@ module Google
|
|
967
2717
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
968
2718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
969
2719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
970
|
-
def
|
2720
|
+
def create_project_location_dataset_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
971
2721
|
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
972
2722
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
973
2723
|
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
@@ -999,7 +2749,7 @@ module Google
|
|
999
2749
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1000
2750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1001
2751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1002
|
-
def
|
2752
|
+
def delete_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1003
2753
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1004
2754
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1005
2755
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1029,7 +2779,7 @@ module Google
|
|
1029
2779
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1030
2780
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1031
2781
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1032
|
-
def
|
2782
|
+
def get_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1033
2783
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1034
2784
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1035
2785
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
@@ -1071,7 +2821,7 @@ module Google
|
|
1071
2821
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1072
2822
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1073
2823
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1074
|
-
def
|
2824
|
+
def list_project_location_dataset_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1075
2825
|
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1076
2826
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1077
2827
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
@@ -1108,7 +2858,7 @@ module Google
|
|
1108
2858
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1109
2859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1110
2860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1111
|
-
def
|
2861
|
+
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)
|
1112
2862
|
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1113
2863
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1114
2864
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1141,7 +2891,7 @@ module Google
|
|
1141
2891
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1142
2892
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1143
2893
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1144
|
-
def
|
2894
|
+
def delete_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1145
2895
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1146
2896
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1147
2897
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1171,7 +2921,7 @@ module Google
|
|
1171
2921
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1172
2922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1173
2923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1174
|
-
def
|
2924
|
+
def get_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1175
2925
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1176
2926
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1177
2927
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
@@ -1217,7 +2967,7 @@ module Google
|
|
1217
2967
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1218
2968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1219
2969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1220
|
-
def
|
2970
|
+
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)
|
1221
2971
|
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1222
2972
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1223
2973
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
@@ -1255,7 +3005,7 @@ module Google
|
|
1255
3005
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1256
3006
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1257
3007
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1258
|
-
def
|
3008
|
+
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)
|
1259
3009
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1260
3010
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1261
3011
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1268,6 +3018,39 @@ module Google
|
|
1268
3018
|
execute_or_queue_command(command, &block)
|
1269
3019
|
end
|
1270
3020
|
|
3021
|
+
# Export insights data to a destination defined in the request body.
|
3022
|
+
# @param [String] parent
|
3023
|
+
# Required. The parent resource to export data from.
|
3024
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest] google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
3025
|
+
# @param [String] fields
|
3026
|
+
# Selector specifying which fields to include in a partial response.
|
3027
|
+
# @param [String] quota_user
|
3028
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3029
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3030
|
+
# @param [Google::Apis::RequestOptions] options
|
3031
|
+
# Request-specific options
|
3032
|
+
#
|
3033
|
+
# @yield [result, err] Result & error if block supplied
|
3034
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
3035
|
+
# @yieldparam err [StandardError] error object if request failed
|
3036
|
+
#
|
3037
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
3038
|
+
#
|
3039
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3040
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3041
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3042
|
+
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)
|
3043
|
+
command = make_simple_command(:post, 'v1/{+parent}/insightsdata:export', options)
|
3044
|
+
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest::Representation
|
3045
|
+
command.request_object = google_cloud_contactcenterinsights_v1_export_insights_data_request_object
|
3046
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
3047
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
3048
|
+
command.params['parent'] = parent unless parent.nil?
|
3049
|
+
command.query['fields'] = fields unless fields.nil?
|
3050
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3051
|
+
execute_or_queue_command(command, &block)
|
3052
|
+
end
|
3053
|
+
|
1271
3054
|
# Initializes a location-level encryption key specification. An error will
|
1272
3055
|
# result if the location has resources already created before the initialization.
|
1273
3056
|
# After the encryption specification is initialized at a location, it is
|