google-apis-contactcenterinsights_v1 0.62.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +628 -2
- 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 +1392 -197
- metadata +5 -5
@@ -505,6 +505,389 @@ 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
893
|
# Required. The location of the data. "projects/`project`/locations/`location`"
|
@@ -518,21 +901,692 @@ module Google
|
|
518
901
|
# Request-specific options
|
519
902
|
#
|
520
903
|
# @yield [result, err] Result & error if block supplied
|
521
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
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
|
522
1575
|
# @yieldparam err [StandardError] error object if request failed
|
523
1576
|
#
|
524
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
1577
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningListOperationsResponse]
|
525
1578
|
#
|
526
1579
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
527
1580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
528
1581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
529
|
-
def
|
530
|
-
command = make_simple_command(:
|
531
|
-
command.
|
532
|
-
command.
|
533
|
-
command.
|
534
|
-
command.
|
535
|
-
command.
|
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?
|
536
1590
|
command.query['fields'] = fields unless fields.nil?
|
537
1591
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
538
1592
|
execute_or_queue_command(command, &block)
|
@@ -559,7 +1613,7 @@ module Google
|
|
559
1613
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
560
1614
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
561
1615
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
562
|
-
def
|
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)
|
563
1617
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
564
1618
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
565
1619
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
@@ -571,6 +1625,40 @@ module Google
|
|
571
1625
|
execute_or_queue_command(command, &block)
|
572
1626
|
end
|
573
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
|
+
|
574
1662
|
# Gets conversation statistics.
|
575
1663
|
# @param [String] location
|
576
1664
|
# Required. The location of the conversations.
|
@@ -594,7 +1682,7 @@ module Google
|
|
594
1682
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
595
1683
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
1684
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
|
-
def
|
1685
|
+
def calculate_project_location_conversation_stats(location, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
598
1686
|
command = make_simple_command(:get, 'v1/{+location}/conversations:calculateStats', options)
|
599
1687
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
600
1688
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
@@ -605,6 +1693,46 @@ module Google
|
|
605
1693
|
execute_or_queue_command(command, &block)
|
606
1694
|
end
|
607
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
|
+
|
608
1736
|
# Deletes a conversation.
|
609
1737
|
# @param [String] name
|
610
1738
|
# Required. The name of the conversation to delete.
|
@@ -628,7 +1756,7 @@ module Google
|
|
628
1756
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
629
1757
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
630
1758
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
631
|
-
def
|
1759
|
+
def delete_project_location_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
632
1760
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
633
1761
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
634
1762
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -661,7 +1789,7 @@ module Google
|
|
661
1789
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
662
1790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
663
1791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
664
|
-
def
|
1792
|
+
def get_project_location_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
665
1793
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
666
1794
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
667
1795
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
@@ -672,6 +1800,39 @@ module Google
|
|
672
1800
|
execute_or_queue_command(command, &block)
|
673
1801
|
end
|
674
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
|
+
|
675
1836
|
# Lists conversations.
|
676
1837
|
# @param [String] parent
|
677
1838
|
# Required. The parent resource of the conversation.
|
@@ -714,7 +1875,7 @@ module Google
|
|
714
1875
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
715
1876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
716
1877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
717
|
-
def
|
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)
|
718
1879
|
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
719
1880
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
720
1881
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
@@ -729,6 +1890,81 @@ module Google
|
|
729
1890
|
execute_or_queue_command(command, &block)
|
730
1891
|
end
|
731
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
|
+
|
732
1968
|
# Creates an analysis. The long running operation is done when the analysis has
|
733
1969
|
# completed.
|
734
1970
|
# @param [String] parent
|
@@ -751,7 +1987,7 @@ module Google
|
|
751
1987
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
752
1988
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
753
1989
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
754
|
-
def
|
1990
|
+
def create_project_location_conversation_analysis(parent, google_cloud_contactcenterinsights_v1_analysis_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
755
1991
|
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
756
1992
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
757
1993
|
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
@@ -783,7 +2019,7 @@ module Google
|
|
783
2019
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
784
2020
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
785
2021
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
786
|
-
def
|
2022
|
+
def delete_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
787
2023
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
788
2024
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
789
2025
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -813,7 +2049,7 @@ module Google
|
|
813
2049
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
814
2050
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
815
2051
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
816
|
-
def
|
2052
|
+
def get_project_location_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
817
2053
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
818
2054
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
819
2055
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
@@ -855,7 +2091,7 @@ module Google
|
|
855
2091
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
2092
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
2093
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def
|
2094
|
+
def list_project_location_conversation_analyses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
859
2095
|
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
860
2096
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
861
2097
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
@@ -892,7 +2128,7 @@ module Google
|
|
892
2128
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
893
2129
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
894
2130
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
895
|
-
def
|
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)
|
896
2132
|
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
897
2133
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
898
2134
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -925,7 +2161,7 @@ module Google
|
|
925
2161
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
926
2162
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
927
2163
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
928
|
-
def
|
2164
|
+
def delete_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
929
2165
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
930
2166
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
931
2167
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -955,7 +2191,7 @@ module Google
|
|
955
2191
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
956
2192
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
957
2193
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
958
|
-
def
|
2194
|
+
def get_project_location_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
959
2195
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
960
2196
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
961
2197
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
@@ -1001,7 +2237,7 @@ module Google
|
|
1001
2237
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1002
2238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1003
2239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1004
|
-
def
|
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)
|
1005
2241
|
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1006
2242
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1007
2243
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
@@ -1039,7 +2275,7 @@ module Google
|
|
1039
2275
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1040
2276
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1041
2277
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1042
|
-
def
|
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)
|
1043
2279
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1044
2280
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1045
2281
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1052,16 +2288,45 @@ module Google
|
|
1052
2288
|
execute_or_queue_command(command, &block)
|
1053
2289
|
end
|
1054
2290
|
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
1061
|
-
#
|
1062
|
-
#
|
1063
|
-
#
|
1064
|
-
#
|
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
|
1065
2330
|
# @param [String] fields
|
1066
2331
|
# Selector specifying which fields to include in a partial response.
|
1067
2332
|
# @param [String] quota_user
|
@@ -1071,28 +2336,31 @@ module Google
|
|
1071
2336
|
# Request-specific options
|
1072
2337
|
#
|
1073
2338
|
# @yield [result, err] Result & error if block supplied
|
1074
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2339
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1075
2340
|
# @yieldparam err [StandardError] error object if request failed
|
1076
2341
|
#
|
1077
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2342
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1078
2343
|
#
|
1079
2344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1080
2345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1081
2346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1082
|
-
def
|
1083
|
-
command = make_simple_command(:post, 'v1/{+
|
1084
|
-
command.
|
1085
|
-
command.
|
1086
|
-
command.
|
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
|
2351
|
+
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
2352
|
+
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
2353
|
+
command.params['parent'] = parent unless parent.nil?
|
1087
2354
|
command.query['fields'] = fields unless fields.nil?
|
1088
2355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1089
2356
|
execute_or_queue_command(command, &block)
|
1090
2357
|
end
|
1091
2358
|
|
1092
|
-
#
|
1093
|
-
#
|
1094
|
-
# @param [String]
|
1095
|
-
# The
|
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
|
1096
2364
|
# @param [String] fields
|
1097
2365
|
# Selector specifying which fields to include in a partial response.
|
1098
2366
|
# @param [String] quota_user
|
@@ -1110,26 +2378,36 @@ module Google
|
|
1110
2378
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1111
2379
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1112
2380
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1113
|
-
def
|
1114
|
-
command = make_simple_command(:
|
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
|
1115
2385
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1116
2386
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1117
|
-
command.params['
|
2387
|
+
command.params['parent'] = parent unless parent.nil?
|
1118
2388
|
command.query['fields'] = fields unless fields.nil?
|
1119
2389
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1120
2390
|
execute_or_queue_command(command, &block)
|
1121
2391
|
end
|
1122
2392
|
|
1123
|
-
#
|
1124
|
-
#
|
1125
|
-
#
|
1126
|
-
# The name of the operation's parent resource.
|
2393
|
+
# List all feedback labels by project number.
|
2394
|
+
# @param [String] parent
|
2395
|
+
# Required. The parent resource of all feedback labels per project.
|
1127
2396
|
# @param [String] filter
|
1128
|
-
#
|
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
|
1129
2402
|
# @param [Fixnum] page_size
|
1130
|
-
# The
|
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.
|
1131
2407
|
# @param [String] page_token
|
1132
|
-
# The
|
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.
|
1133
2411
|
# @param [String] fields
|
1134
2412
|
# Selector specifying which fields to include in a partial response.
|
1135
2413
|
# @param [String] quota_user
|
@@ -1139,19 +2417,19 @@ module Google
|
|
1139
2417
|
# Request-specific options
|
1140
2418
|
#
|
1141
2419
|
# @yield [result, err] Result & error if block supplied
|
1142
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::
|
2420
|
+
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse] parsed result object
|
1143
2421
|
# @yieldparam err [StandardError] error object if request failed
|
1144
2422
|
#
|
1145
|
-
# @return [Google::Apis::ContactcenterinsightsV1::
|
2423
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAllFeedbackLabelsResponse]
|
1146
2424
|
#
|
1147
2425
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1148
2426
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1149
2427
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1150
|
-
def
|
1151
|
-
command = make_simple_command(:get, 'v1/{+
|
1152
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::
|
1153
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::
|
1154
|
-
command.params['
|
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?
|
1155
2433
|
command.query['filter'] = filter unless filter.nil?
|
1156
2434
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1157
2435
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1181,7 +2459,7 @@ module Google
|
|
1181
2459
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1182
2460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1183
2461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
|
-
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)
|
1185
2463
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkAnalyze', options)
|
1186
2464
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest::Representation
|
1187
2465
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_analyze_conversations_request_object
|
@@ -1215,7 +2493,7 @@ module Google
|
|
1215
2493
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1216
2494
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1217
2495
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1218
|
-
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)
|
1219
2497
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:bulkDelete', options)
|
1220
2498
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest::Representation
|
1221
2499
|
command.request_object = google_cloud_contactcenterinsights_v1_bulk_delete_conversations_request_object
|
@@ -1230,9 +2508,7 @@ module Google
|
|
1230
2508
|
# Gets conversation statistics.
|
1231
2509
|
# @param [String] location
|
1232
2510
|
# Required. The location of the conversations.
|
1233
|
-
# @param [
|
1234
|
-
# A filter to reduce results to a specific subset. This field is useful for
|
1235
|
-
# getting statistics about conversations with specific properties.
|
2511
|
+
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsRequest] google_cloud_contactcenterinsights_v1_calculate_stats_request_object
|
1236
2512
|
# @param [String] fields
|
1237
2513
|
# Selector specifying which fields to include in a partial response.
|
1238
2514
|
# @param [String] quota_user
|
@@ -1250,52 +2526,13 @@ module Google
|
|
1250
2526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1251
2527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1252
2528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1253
|
-
def
|
1254
|
-
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
|
1255
2533
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse::Representation
|
1256
2534
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1257
2535
|
command.params['location'] = location unless location.nil?
|
1258
|
-
command.query['filter'] = filter unless filter.nil?
|
1259
|
-
command.query['fields'] = fields unless fields.nil?
|
1260
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1261
|
-
execute_or_queue_command(command, &block)
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
# Creates a conversation. Note that this method does not support audio
|
1265
|
-
# transcription or redaction. Use `conversations.upload` instead.
|
1266
|
-
# @param [String] parent
|
1267
|
-
# Required. The parent resource of the conversation.
|
1268
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1269
|
-
# @param [String] conversation_id
|
1270
|
-
# A unique ID for the new conversation. This ID will become the final component
|
1271
|
-
# of the conversation's resource name. If no ID is specified, a server-generated
|
1272
|
-
# ID will be used. This value should be 4-64 characters and must match the
|
1273
|
-
# regular expression `^[a-z0-9-]`4,64`$`. Valid characters are `a-z-`
|
1274
|
-
# @param [String] fields
|
1275
|
-
# Selector specifying which fields to include in a partial response.
|
1276
|
-
# @param [String] quota_user
|
1277
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1278
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1279
|
-
# @param [Google::Apis::RequestOptions] options
|
1280
|
-
# Request-specific options
|
1281
|
-
#
|
1282
|
-
# @yield [result, err] Result & error if block supplied
|
1283
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1284
|
-
# @yieldparam err [StandardError] error object if request failed
|
1285
|
-
#
|
1286
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1287
|
-
#
|
1288
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1289
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1290
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1291
|
-
def create_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_conversation_object = nil, conversation_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1292
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations', options)
|
1293
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1294
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1295
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1296
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1297
|
-
command.params['parent'] = parent unless parent.nil?
|
1298
|
-
command.query['conversationId'] = conversation_id unless conversation_id.nil?
|
1299
2536
|
command.query['fields'] = fields unless fields.nil?
|
1300
2537
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1301
2538
|
execute_or_queue_command(command, &block)
|
@@ -1324,7 +2561,7 @@ module Google
|
|
1324
2561
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1325
2562
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1326
2563
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1327
|
-
def
|
2564
|
+
def delete_project_location_dataset_conversation(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1328
2565
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1329
2566
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1330
2567
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1357,7 +2594,7 @@ module Google
|
|
1357
2594
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1358
2595
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1359
2596
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1360
|
-
def
|
2597
|
+
def get_project_location_dataset_conversation(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1361
2598
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1362
2599
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1363
2600
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
@@ -1389,7 +2626,7 @@ module Google
|
|
1389
2626
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1390
2627
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1391
2628
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1392
|
-
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)
|
1393
2630
|
command = make_simple_command(:post, 'v1/{+parent}/conversations:ingest', options)
|
1394
2631
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IngestConversationsRequest::Representation
|
1395
2632
|
command.request_object = google_cloud_contactcenterinsights_v1_ingest_conversations_request_object
|
@@ -1443,7 +2680,7 @@ module Google
|
|
1443
2680
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1444
2681
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1445
2682
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1446
|
-
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)
|
1447
2684
|
command = make_simple_command(:get, 'v1/{+parent}/conversations', options)
|
1448
2685
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse::Representation
|
1449
2686
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
@@ -1458,81 +2695,6 @@ module Google
|
|
1458
2695
|
execute_or_queue_command(command, &block)
|
1459
2696
|
end
|
1460
2697
|
|
1461
|
-
# Updates a conversation.
|
1462
|
-
# @param [String] name
|
1463
|
-
# Immutable. The resource name of the conversation. Format: projects/`project`/
|
1464
|
-
# locations/`location`/conversations/`conversation`
|
1465
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] google_cloud_contactcenterinsights_v1_conversation_object
|
1466
|
-
# @param [String] update_mask
|
1467
|
-
# The list of fields to be updated. All possible fields can be updated by
|
1468
|
-
# passing `*`, or a subset of the following updateable fields can be provided: *
|
1469
|
-
# `agent_id` * `language_code` * `labels` * `metadata` * `quality_metadata` * `
|
1470
|
-
# call_metadata` * `start_time` * `expire_time` or `ttl` * `data_source.
|
1471
|
-
# gcs_source.audio_uri` or `data_source.dialogflow_source.audio_uri`
|
1472
|
-
# @param [String] fields
|
1473
|
-
# Selector specifying which fields to include in a partial response.
|
1474
|
-
# @param [String] quota_user
|
1475
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1476
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1477
|
-
# @param [Google::Apis::RequestOptions] options
|
1478
|
-
# Request-specific options
|
1479
|
-
#
|
1480
|
-
# @yield [result, err] Result & error if block supplied
|
1481
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation] parsed result object
|
1482
|
-
# @yieldparam err [StandardError] error object if request failed
|
1483
|
-
#
|
1484
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation]
|
1485
|
-
#
|
1486
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1487
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1488
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1489
|
-
def patch_project_location_conversation(name, google_cloud_contactcenterinsights_v1_conversation_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1490
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1491
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1492
|
-
command.request_object = google_cloud_contactcenterinsights_v1_conversation_object
|
1493
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation::Representation
|
1494
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation
|
1495
|
-
command.params['name'] = name unless name.nil?
|
1496
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1497
|
-
command.query['fields'] = fields unless fields.nil?
|
1498
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1499
|
-
execute_or_queue_command(command, &block)
|
1500
|
-
end
|
1501
|
-
|
1502
|
-
# Create a long-running conversation upload operation. This method differs from `
|
1503
|
-
# CreateConversation` by allowing audio transcription and optional DLP redaction.
|
1504
|
-
# @param [String] parent
|
1505
|
-
# Required. The parent resource of the conversation.
|
1506
|
-
# @param [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest] google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1507
|
-
# @param [String] fields
|
1508
|
-
# Selector specifying which fields to include in a partial response.
|
1509
|
-
# @param [String] quota_user
|
1510
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1511
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1512
|
-
# @param [Google::Apis::RequestOptions] options
|
1513
|
-
# Request-specific options
|
1514
|
-
#
|
1515
|
-
# @yield [result, err] Result & error if block supplied
|
1516
|
-
# @yieldparam result [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation] parsed result object
|
1517
|
-
# @yieldparam err [StandardError] error object if request failed
|
1518
|
-
#
|
1519
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation]
|
1520
|
-
#
|
1521
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1522
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1523
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1524
|
-
def upload_project_location_conversation(parent, google_cloud_contactcenterinsights_v1_upload_conversation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1525
|
-
command = make_simple_command(:post, 'v1/{+parent}/conversations:upload', options)
|
1526
|
-
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UploadConversationRequest::Representation
|
1527
|
-
command.request_object = google_cloud_contactcenterinsights_v1_upload_conversation_request_object
|
1528
|
-
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation::Representation
|
1529
|
-
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleLongrunningOperation
|
1530
|
-
command.params['parent'] = parent unless parent.nil?
|
1531
|
-
command.query['fields'] = fields unless fields.nil?
|
1532
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1533
|
-
execute_or_queue_command(command, &block)
|
1534
|
-
end
|
1535
|
-
|
1536
2698
|
# Creates an analysis. The long running operation is done when the analysis has
|
1537
2699
|
# completed.
|
1538
2700
|
# @param [String] parent
|
@@ -1555,7 +2717,7 @@ module Google
|
|
1555
2717
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1556
2718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1557
2719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1558
|
-
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)
|
1559
2721
|
command = make_simple_command(:post, 'v1/{+parent}/analyses', options)
|
1560
2722
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1561
2723
|
command.request_object = google_cloud_contactcenterinsights_v1_analysis_object
|
@@ -1587,7 +2749,7 @@ module Google
|
|
1587
2749
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1588
2750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1589
2751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1590
|
-
def
|
2752
|
+
def delete_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1591
2753
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1592
2754
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1593
2755
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1617,7 +2779,7 @@ module Google
|
|
1617
2779
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1618
2780
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1619
2781
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1620
|
-
def
|
2782
|
+
def get_project_location_dataset_conversation_analysis(name, fields: nil, quota_user: nil, options: nil, &block)
|
1621
2783
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1622
2784
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis::Representation
|
1623
2785
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Analysis
|
@@ -1659,7 +2821,7 @@ module Google
|
|
1659
2821
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1660
2822
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1661
2823
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1662
|
-
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)
|
1663
2825
|
command = make_simple_command(:get, 'v1/{+parent}/analyses', options)
|
1664
2826
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse::Representation
|
1665
2827
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListAnalysesResponse
|
@@ -1696,7 +2858,7 @@ module Google
|
|
1696
2858
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1697
2859
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1698
2860
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1699
|
-
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)
|
1700
2862
|
command = make_simple_command(:post, 'v1/{+parent}/feedbackLabels', options)
|
1701
2863
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1702
2864
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1729,7 +2891,7 @@ module Google
|
|
1729
2891
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1730
2892
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1731
2893
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1732
|
-
def
|
2894
|
+
def delete_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1733
2895
|
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1734
2896
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty::Representation
|
1735
2897
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleProtobufEmpty
|
@@ -1759,7 +2921,7 @@ module Google
|
|
1759
2921
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1760
2922
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1761
2923
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1762
|
-
def
|
2924
|
+
def get_project_location_dataset_conversation_feedback_label(name, fields: nil, quota_user: nil, options: nil, &block)
|
1763
2925
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1764
2926
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1765
2927
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel
|
@@ -1805,7 +2967,7 @@ module Google
|
|
1805
2967
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1806
2968
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1807
2969
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1808
|
-
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)
|
1809
2971
|
command = make_simple_command(:get, 'v1/{+parent}/feedbackLabels', options)
|
1810
2972
|
command.response_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse::Representation
|
1811
2973
|
command.response_class = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
@@ -1843,7 +3005,7 @@ module Google
|
|
1843
3005
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1844
3006
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1845
3007
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1846
|
-
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)
|
1847
3009
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1848
3010
|
command.request_representation = Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel::Representation
|
1849
3011
|
command.request_object = google_cloud_contactcenterinsights_v1_feedback_label_object
|
@@ -1856,6 +3018,39 @@ module Google
|
|
1856
3018
|
execute_or_queue_command(command, &block)
|
1857
3019
|
end
|
1858
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
|
+
|
1859
3054
|
# Initializes a location-level encryption key specification. An error will
|
1860
3055
|
# result if the location has resources already created before the initialization.
|
1861
3056
|
# After the encryption specification is initialized at a location, it is
|