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.
@@ -521,6 +521,97 @@ module Google
521
521
  end
522
522
  end
523
523
 
524
+ # An AuthorizedView represents a view of accessible Insights resources (for
525
+ # example, Conversation and Scorecard). Who have read access to the
526
+ # AuthorizedView resource will have access to these Insight resources as well.
527
+ class GoogleCloudContactcenterinsightsV1AuthorizedView
528
+ include Google::Apis::Core::Hashable
529
+
530
+ # A filter to reduce conversation results to a specific subset. The
531
+ # AuthorizedView's assigned permission (read/write) could be applied to the
532
+ # subset of conversations. If conversation_filter is empty, there is no
533
+ # restriction on the conversations that the AuthorizedView can access. Having *
534
+ # authorizedViews.get* access to the AuthorizedView means having the same read/
535
+ # write access to the Conversations (as well as metadata/annotations liked to
536
+ # the conversation) that this AuthorizedView has.
537
+ # Corresponds to the JSON property `conversationFilter`
538
+ # @return [String]
539
+ attr_accessor :conversation_filter
540
+
541
+ # Output only. The time at which the authorized view was created.
542
+ # Corresponds to the JSON property `createTime`
543
+ # @return [String]
544
+ attr_accessor :create_time
545
+
546
+ # Display Name. Limit 64 characters.
547
+ # Corresponds to the JSON property `displayName`
548
+ # @return [String]
549
+ attr_accessor :display_name
550
+
551
+ # Identifier. The resource name of the AuthorizedView. Format: projects/`project`
552
+ # /locations/`location`/authorizedViewSets/`authorized_view_set`/authorizedViews/
553
+ # `authorized_view`
554
+ # Corresponds to the JSON property `name`
555
+ # @return [String]
556
+ attr_accessor :name
557
+
558
+ # Output only. The most recent time at which the authorized view was updated.
559
+ # Corresponds to the JSON property `updateTime`
560
+ # @return [String]
561
+ attr_accessor :update_time
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
570
+ @create_time = args[:create_time] if args.key?(:create_time)
571
+ @display_name = args[:display_name] if args.key?(:display_name)
572
+ @name = args[:name] if args.key?(:name)
573
+ @update_time = args[:update_time] if args.key?(:update_time)
574
+ end
575
+ end
576
+
577
+ # An AuthorizedViewSet contains a set of AuthorizedView resources.
578
+ class GoogleCloudContactcenterinsightsV1AuthorizedViewSet
579
+ include Google::Apis::Core::Hashable
580
+
581
+ # Output only. Create time.
582
+ # Corresponds to the JSON property `createTime`
583
+ # @return [String]
584
+ attr_accessor :create_time
585
+
586
+ # Display Name. Limit 64 characters.
587
+ # Corresponds to the JSON property `displayName`
588
+ # @return [String]
589
+ attr_accessor :display_name
590
+
591
+ # Identifier. The resource name of the AuthorizedViewSet. Format: projects/`
592
+ # project`/locations/`location`/authorizedViewSets/`authorized_view_set`
593
+ # Corresponds to the JSON property `name`
594
+ # @return [String]
595
+ attr_accessor :name
596
+
597
+ # Output only. Update time.
598
+ # Corresponds to the JSON property `updateTime`
599
+ # @return [String]
600
+ attr_accessor :update_time
601
+
602
+ def initialize(**args)
603
+ update!(**args)
604
+ end
605
+
606
+ # Update properties of this object
607
+ def update!(**args)
608
+ @create_time = args[:create_time] if args.key?(:create_time)
609
+ @display_name = args[:display_name] if args.key?(:display_name)
610
+ @name = args[:name] if args.key?(:name)
611
+ @update_time = args[:update_time] if args.key?(:update_time)
612
+ end
613
+ end
614
+
524
615
  # The metadata for a bulk analyze conversations operation.
525
616
  class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata
526
617
  include Google::Apis::Core::Hashable
@@ -1147,6 +1238,26 @@ module Google
1147
1238
  end
1148
1239
  end
1149
1240
 
1241
+ # The request for calculating conversation statistics.
1242
+ class GoogleCloudContactcenterinsightsV1CalculateStatsRequest
1243
+ include Google::Apis::Core::Hashable
1244
+
1245
+ # A filter to reduce results to a specific subset. This field is useful for
1246
+ # getting statistics about conversations with specific properties.
1247
+ # Corresponds to the JSON property `filter`
1248
+ # @return [String]
1249
+ attr_accessor :filter
1250
+
1251
+ def initialize(**args)
1252
+ update!(**args)
1253
+ end
1254
+
1255
+ # Update properties of this object
1256
+ def update!(**args)
1257
+ @filter = args[:filter] if args.key?(:filter)
1258
+ end
1259
+ end
1260
+
1150
1261
  # The response for calculating conversation statistics.
1151
1262
  class GoogleCloudContactcenterinsightsV1CalculateStatsResponse
1152
1263
  include Google::Apis::Core::Hashable
@@ -2100,6 +2211,64 @@ module Google
2100
2211
  end
2101
2212
  end
2102
2213
 
2214
+ # Dataset resource represents a collection of conversations that may be bounded (
2215
+ # Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
2216
+ # Dataset, e.g. live traffic, or agent training traffic)
2217
+ class GoogleCloudContactcenterinsightsV1Dataset
2218
+ include Google::Apis::Core::Hashable
2219
+
2220
+ # Output only. Dataset create time.
2221
+ # Corresponds to the JSON property `createTime`
2222
+ # @return [String]
2223
+ attr_accessor :create_time
2224
+
2225
+ # Dataset description.
2226
+ # Corresponds to the JSON property `description`
2227
+ # @return [String]
2228
+ attr_accessor :description
2229
+
2230
+ # Display name for the dataaset
2231
+ # Corresponds to the JSON property `displayName`
2232
+ # @return [String]
2233
+ attr_accessor :display_name
2234
+
2235
+ # Immutable. Identifier. Resource name of the dataset. Format: projects/`project`
2236
+ # /locations/`location`/datasets/`dataset`
2237
+ # Corresponds to the JSON property `name`
2238
+ # @return [String]
2239
+ attr_accessor :name
2240
+
2241
+ # Optional. Option TTL for the dataset.
2242
+ # Corresponds to the JSON property `ttl`
2243
+ # @return [String]
2244
+ attr_accessor :ttl
2245
+
2246
+ # Dataset usage type.
2247
+ # Corresponds to the JSON property `type`
2248
+ # @return [String]
2249
+ attr_accessor :type
2250
+
2251
+ # Output only. Dataset update time.
2252
+ # Corresponds to the JSON property `updateTime`
2253
+ # @return [String]
2254
+ attr_accessor :update_time
2255
+
2256
+ def initialize(**args)
2257
+ update!(**args)
2258
+ end
2259
+
2260
+ # Update properties of this object
2261
+ def update!(**args)
2262
+ @create_time = args[:create_time] if args.key?(:create_time)
2263
+ @description = args[:description] if args.key?(:description)
2264
+ @display_name = args[:display_name] if args.key?(:display_name)
2265
+ @name = args[:name] if args.key?(:name)
2266
+ @ttl = args[:ttl] if args.key?(:ttl)
2267
+ @type = args[:type] if args.key?(:type)
2268
+ @update_time = args[:update_time] if args.key?(:update_time)
2269
+ end
2270
+ end
2271
+
2103
2272
  # Metadata for deleting an issue model.
2104
2273
  class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
2105
2274
  include Google::Apis::Core::Hashable
@@ -3878,6 +4047,58 @@ module Google
3878
4047
  end
3879
4048
  end
3880
4049
 
4050
+ # The response from a ListAuthorizedViewSet request.
4051
+ class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse
4052
+ include Google::Apis::Core::Hashable
4053
+
4054
+ # The AuthorizedViewSets under the parent.
4055
+ # Corresponds to the JSON property `authorizedViewSets`
4056
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet>]
4057
+ attr_accessor :authorized_view_sets
4058
+
4059
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4060
+ # field is omitted, there are no subsequent pages.
4061
+ # Corresponds to the JSON property `nextPageToken`
4062
+ # @return [String]
4063
+ attr_accessor :next_page_token
4064
+
4065
+ def initialize(**args)
4066
+ update!(**args)
4067
+ end
4068
+
4069
+ # Update properties of this object
4070
+ def update!(**args)
4071
+ @authorized_view_sets = args[:authorized_view_sets] if args.key?(:authorized_view_sets)
4072
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4073
+ end
4074
+ end
4075
+
4076
+ # The response from a ListAuthorizedViews request.
4077
+ class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse
4078
+ include Google::Apis::Core::Hashable
4079
+
4080
+ # The AuthorizedViews under the parent.
4081
+ # Corresponds to the JSON property `authorizedViews`
4082
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView>]
4083
+ attr_accessor :authorized_views
4084
+
4085
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4086
+ # field is omitted, there are no subsequent pages.
4087
+ # Corresponds to the JSON property `nextPageToken`
4088
+ # @return [String]
4089
+ attr_accessor :next_page_token
4090
+
4091
+ def initialize(**args)
4092
+ update!(**args)
4093
+ end
4094
+
4095
+ # Update properties of this object
4096
+ def update!(**args)
4097
+ @authorized_views = args[:authorized_views] if args.key?(:authorized_views)
4098
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4099
+ end
4100
+ end
4101
+
3881
4102
  # The response of listing conversations.
3882
4103
  class GoogleCloudContactcenterinsightsV1ListConversationsResponse
3883
4104
  include Google::Apis::Core::Hashable
@@ -4483,8 +4704,13 @@ module Google
4483
4704
  # @return [String]
4484
4705
  attr_accessor :question_body
4485
4706
 
4486
- # User-defined list of arbitrary tags for the question. Used for grouping/
4487
- # organization and for weighting the score of each question.
4707
+ # Questions are tagged for categorization and scoring. Tags can either be: -
4708
+ # Default Tags: These are predefined categories. They are identified by their
4709
+ # string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags:
4710
+ # These are user-defined categories. They are identified by their full resource
4711
+ # name (e.g., projects/`project`/locations/`location`/qaQuestionTags/`
4712
+ # qa_question_tag`). Both default and custom tags are used to group questions
4713
+ # and to influence the scoring of each question.
4488
4714
  # Corresponds to the JSON property `tags`
4489
4715
  # @return [Array<String>]
4490
4716
  attr_accessor :tags
@@ -5374,6 +5600,190 @@ module Google
5374
5600
  end
5375
5601
  end
5376
5602
 
5603
+ # The metadata for an SampleConversations operation.
5604
+ class GoogleCloudContactcenterinsightsV1SampleConversationsMetadata
5605
+ include Google::Apis::Core::Hashable
5606
+
5607
+ # Output only. The time the operation was created.
5608
+ # Corresponds to the JSON property `createTime`
5609
+ # @return [String]
5610
+ attr_accessor :create_time
5611
+
5612
+ # Output only. The time the operation finished running.
5613
+ # Corresponds to the JSON property `endTime`
5614
+ # @return [String]
5615
+ attr_accessor :end_time
5616
+
5617
+ # Output only. Partial errors during sample conversations operation that might
5618
+ # cause the operation output to be incomplete.
5619
+ # Corresponds to the JSON property `partialErrors`
5620
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
5621
+ attr_accessor :partial_errors
5622
+
5623
+ # The request to sample conversations to a dataset.
5624
+ # Corresponds to the JSON property `request`
5625
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest]
5626
+ attr_accessor :request
5627
+
5628
+ # Statistics for SampleConversations operation.
5629
+ # Corresponds to the JSON property `sampleConversationsStats`
5630
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats]
5631
+ attr_accessor :sample_conversations_stats
5632
+
5633
+ def initialize(**args)
5634
+ update!(**args)
5635
+ end
5636
+
5637
+ # Update properties of this object
5638
+ def update!(**args)
5639
+ @create_time = args[:create_time] if args.key?(:create_time)
5640
+ @end_time = args[:end_time] if args.key?(:end_time)
5641
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
5642
+ @request = args[:request] if args.key?(:request)
5643
+ @sample_conversations_stats = args[:sample_conversations_stats] if args.key?(:sample_conversations_stats)
5644
+ end
5645
+ end
5646
+
5647
+ # Statistics for SampleConversations operation.
5648
+ class GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats
5649
+ include Google::Apis::Core::Hashable
5650
+
5651
+ # Output only. The number of objects which were unable to be sampled due to
5652
+ # errors. The errors are populated in the partial_errors field.
5653
+ # Corresponds to the JSON property `failedSampleCount`
5654
+ # @return [Fixnum]
5655
+ attr_accessor :failed_sample_count
5656
+
5657
+ # Output only. The number of new conversations added during this sample
5658
+ # operation.
5659
+ # Corresponds to the JSON property `successfulSampleCount`
5660
+ # @return [Fixnum]
5661
+ attr_accessor :successful_sample_count
5662
+
5663
+ def initialize(**args)
5664
+ update!(**args)
5665
+ end
5666
+
5667
+ # Update properties of this object
5668
+ def update!(**args)
5669
+ @failed_sample_count = args[:failed_sample_count] if args.key?(:failed_sample_count)
5670
+ @successful_sample_count = args[:successful_sample_count] if args.key?(:successful_sample_count)
5671
+ end
5672
+ end
5673
+
5674
+ # The request to sample conversations to a dataset.
5675
+ class GoogleCloudContactcenterinsightsV1SampleConversationsRequest
5676
+ include Google::Apis::Core::Hashable
5677
+
5678
+ # Dataset resource represents a collection of conversations that may be bounded (
5679
+ # Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
5680
+ # Dataset, e.g. live traffic, or agent training traffic)
5681
+ # Corresponds to the JSON property `destinationDataset`
5682
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset]
5683
+ attr_accessor :destination_dataset
5684
+
5685
+ # Required. The parent resource of the dataset.
5686
+ # Corresponds to the JSON property `parent`
5687
+ # @return [String]
5688
+ attr_accessor :parent
5689
+
5690
+ # Message for sampling conversations.
5691
+ # Corresponds to the JSON property `sampleRule`
5692
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleRule]
5693
+ attr_accessor :sample_rule
5694
+
5695
+ def initialize(**args)
5696
+ update!(**args)
5697
+ end
5698
+
5699
+ # Update properties of this object
5700
+ def update!(**args)
5701
+ @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
5702
+ @parent = args[:parent] if args.key?(:parent)
5703
+ @sample_rule = args[:sample_rule] if args.key?(:sample_rule)
5704
+ end
5705
+ end
5706
+
5707
+ # The response to an SampleConversations operation.
5708
+ class GoogleCloudContactcenterinsightsV1SampleConversationsResponse
5709
+ include Google::Apis::Core::Hashable
5710
+
5711
+ def initialize(**args)
5712
+ update!(**args)
5713
+ end
5714
+
5715
+ # Update properties of this object
5716
+ def update!(**args)
5717
+ end
5718
+ end
5719
+
5720
+ # Message for sampling conversations.
5721
+ class GoogleCloudContactcenterinsightsV1SampleRule
5722
+ include Google::Apis::Core::Hashable
5723
+
5724
+ # To specify the filter for the conversions that should apply this sample rule.
5725
+ # An empty filter means this sample rule applies to all conversations.
5726
+ # Corresponds to the JSON property `conversationFilter`
5727
+ # @return [String]
5728
+ attr_accessor :conversation_filter
5729
+
5730
+ # Optional. Group by dimension to sample the conversation. If no dimension is
5731
+ # provided, the sampling will be applied to the project level. Current supported
5732
+ # dimensions is 'quality_metadata.agent_info.agent_id'.
5733
+ # Corresponds to the JSON property `dimension`
5734
+ # @return [String]
5735
+ attr_accessor :dimension
5736
+
5737
+ # Percentage of conversations that we should sample based on the dimension
5738
+ # between [0, 100].
5739
+ # Corresponds to the JSON property `samplePercentage`
5740
+ # @return [Float]
5741
+ attr_accessor :sample_percentage
5742
+
5743
+ # Number of the conversations that we should sample based on the dimension.
5744
+ # Corresponds to the JSON property `sampleRow`
5745
+ # @return [Fixnum]
5746
+ attr_accessor :sample_row
5747
+
5748
+ def initialize(**args)
5749
+ update!(**args)
5750
+ end
5751
+
5752
+ # Update properties of this object
5753
+ def update!(**args)
5754
+ @conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
5755
+ @dimension = args[:dimension] if args.key?(:dimension)
5756
+ @sample_percentage = args[:sample_percentage] if args.key?(:sample_percentage)
5757
+ @sample_row = args[:sample_row] if args.key?(:sample_row)
5758
+ end
5759
+ end
5760
+
5761
+ # The response from a ListAuthorizedViews request.
5762
+ class GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse
5763
+ include Google::Apis::Core::Hashable
5764
+
5765
+ # The AuthorizedViews under the parent.
5766
+ # Corresponds to the JSON property `authorizedViews`
5767
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView>]
5768
+ attr_accessor :authorized_views
5769
+
5770
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
5771
+ # field is omitted, there are no subsequent pages.
5772
+ # Corresponds to the JSON property `nextPageToken`
5773
+ # @return [String]
5774
+ attr_accessor :next_page_token
5775
+
5776
+ def initialize(**args)
5777
+ update!(**args)
5778
+ end
5779
+
5780
+ # Update properties of this object
5781
+ def update!(**args)
5782
+ @authorized_views = args[:authorized_views] if args.key?(:authorized_views)
5783
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5784
+ end
5785
+ end
5786
+
5377
5787
  # The data for a sentiment annotation.
5378
5788
  class GoogleCloudContactcenterinsightsV1SentimentData
5379
5789
  include Google::Apis::Core::Hashable
@@ -7443,6 +7853,64 @@ module Google
7443
7853
  end
7444
7854
  end
7445
7855
 
7856
+ # Dataset resource represents a collection of conversations that may be bounded (
7857
+ # Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
7858
+ # Dataset, e.g. live traffic, or agent training traffic)
7859
+ class GoogleCloudContactcenterinsightsV1alpha1Dataset
7860
+ include Google::Apis::Core::Hashable
7861
+
7862
+ # Output only. Dataset create time.
7863
+ # Corresponds to the JSON property `createTime`
7864
+ # @return [String]
7865
+ attr_accessor :create_time
7866
+
7867
+ # Dataset description.
7868
+ # Corresponds to the JSON property `description`
7869
+ # @return [String]
7870
+ attr_accessor :description
7871
+
7872
+ # Display name for the dataaset
7873
+ # Corresponds to the JSON property `displayName`
7874
+ # @return [String]
7875
+ attr_accessor :display_name
7876
+
7877
+ # Immutable. Identifier. Resource name of the dataset. Format: projects/`project`
7878
+ # /locations/`location`/datasets/`dataset`
7879
+ # Corresponds to the JSON property `name`
7880
+ # @return [String]
7881
+ attr_accessor :name
7882
+
7883
+ # Optional. Option TTL for the dataset.
7884
+ # Corresponds to the JSON property `ttl`
7885
+ # @return [String]
7886
+ attr_accessor :ttl
7887
+
7888
+ # Dataset usage type.
7889
+ # Corresponds to the JSON property `type`
7890
+ # @return [String]
7891
+ attr_accessor :type
7892
+
7893
+ # Output only. Dataset update time.
7894
+ # Corresponds to the JSON property `updateTime`
7895
+ # @return [String]
7896
+ attr_accessor :update_time
7897
+
7898
+ def initialize(**args)
7899
+ update!(**args)
7900
+ end
7901
+
7902
+ # Update properties of this object
7903
+ def update!(**args)
7904
+ @create_time = args[:create_time] if args.key?(:create_time)
7905
+ @description = args[:description] if args.key?(:description)
7906
+ @display_name = args[:display_name] if args.key?(:display_name)
7907
+ @name = args[:name] if args.key?(:name)
7908
+ @ttl = args[:ttl] if args.key?(:ttl)
7909
+ @type = args[:type] if args.key?(:type)
7910
+ @update_time = args[:update_time] if args.key?(:update_time)
7911
+ end
7912
+ end
7913
+
7446
7914
  # Metadata for deleting an issue model.
7447
7915
  class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
7448
7916
  include Google::Apis::Core::Hashable
@@ -9935,6 +10403,164 @@ module Google
9935
10403
  end
9936
10404
  end
9937
10405
 
10406
+ # The metadata for an SampleConversations operation.
10407
+ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata
10408
+ include Google::Apis::Core::Hashable
10409
+
10410
+ # Output only. The time the operation was created.
10411
+ # Corresponds to the JSON property `createTime`
10412
+ # @return [String]
10413
+ attr_accessor :create_time
10414
+
10415
+ # Output only. The time the operation finished running.
10416
+ # Corresponds to the JSON property `endTime`
10417
+ # @return [String]
10418
+ attr_accessor :end_time
10419
+
10420
+ # Output only. Partial errors during sample conversations operation that might
10421
+ # cause the operation output to be incomplete.
10422
+ # Corresponds to the JSON property `partialErrors`
10423
+ # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
10424
+ attr_accessor :partial_errors
10425
+
10426
+ # The request to sample conversations to a dataset.
10427
+ # Corresponds to the JSON property `request`
10428
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest]
10429
+ attr_accessor :request
10430
+
10431
+ # Statistics for SampleConversations operation.
10432
+ # Corresponds to the JSON property `sampleConversationsStats`
10433
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats]
10434
+ attr_accessor :sample_conversations_stats
10435
+
10436
+ def initialize(**args)
10437
+ update!(**args)
10438
+ end
10439
+
10440
+ # Update properties of this object
10441
+ def update!(**args)
10442
+ @create_time = args[:create_time] if args.key?(:create_time)
10443
+ @end_time = args[:end_time] if args.key?(:end_time)
10444
+ @partial_errors = args[:partial_errors] if args.key?(:partial_errors)
10445
+ @request = args[:request] if args.key?(:request)
10446
+ @sample_conversations_stats = args[:sample_conversations_stats] if args.key?(:sample_conversations_stats)
10447
+ end
10448
+ end
10449
+
10450
+ # Statistics for SampleConversations operation.
10451
+ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats
10452
+ include Google::Apis::Core::Hashable
10453
+
10454
+ # Output only. The number of objects which were unable to be sampled due to
10455
+ # errors. The errors are populated in the partial_errors field.
10456
+ # Corresponds to the JSON property `failedSampleCount`
10457
+ # @return [Fixnum]
10458
+ attr_accessor :failed_sample_count
10459
+
10460
+ # Output only. The number of new conversations added during this sample
10461
+ # operation.
10462
+ # Corresponds to the JSON property `successfulSampleCount`
10463
+ # @return [Fixnum]
10464
+ attr_accessor :successful_sample_count
10465
+
10466
+ def initialize(**args)
10467
+ update!(**args)
10468
+ end
10469
+
10470
+ # Update properties of this object
10471
+ def update!(**args)
10472
+ @failed_sample_count = args[:failed_sample_count] if args.key?(:failed_sample_count)
10473
+ @successful_sample_count = args[:successful_sample_count] if args.key?(:successful_sample_count)
10474
+ end
10475
+ end
10476
+
10477
+ # The request to sample conversations to a dataset.
10478
+ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest
10479
+ include Google::Apis::Core::Hashable
10480
+
10481
+ # Dataset resource represents a collection of conversations that may be bounded (
10482
+ # Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
10483
+ # Dataset, e.g. live traffic, or agent training traffic)
10484
+ # Corresponds to the JSON property `destinationDataset`
10485
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Dataset]
10486
+ attr_accessor :destination_dataset
10487
+
10488
+ # Required. The parent resource of the dataset.
10489
+ # Corresponds to the JSON property `parent`
10490
+ # @return [String]
10491
+ attr_accessor :parent
10492
+
10493
+ # Message for sampling conversations.
10494
+ # Corresponds to the JSON property `sampleRule`
10495
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleRule]
10496
+ attr_accessor :sample_rule
10497
+
10498
+ def initialize(**args)
10499
+ update!(**args)
10500
+ end
10501
+
10502
+ # Update properties of this object
10503
+ def update!(**args)
10504
+ @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
10505
+ @parent = args[:parent] if args.key?(:parent)
10506
+ @sample_rule = args[:sample_rule] if args.key?(:sample_rule)
10507
+ end
10508
+ end
10509
+
10510
+ # The response to an SampleConversations operation.
10511
+ class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse
10512
+ include Google::Apis::Core::Hashable
10513
+
10514
+ def initialize(**args)
10515
+ update!(**args)
10516
+ end
10517
+
10518
+ # Update properties of this object
10519
+ def update!(**args)
10520
+ end
10521
+ end
10522
+
10523
+ # Message for sampling conversations.
10524
+ class GoogleCloudContactcenterinsightsV1alpha1SampleRule
10525
+ include Google::Apis::Core::Hashable
10526
+
10527
+ # To specify the filter for the conversions that should apply this sample rule.
10528
+ # An empty filter means this sample rule applies to all conversations.
10529
+ # Corresponds to the JSON property `conversationFilter`
10530
+ # @return [String]
10531
+ attr_accessor :conversation_filter
10532
+
10533
+ # Optional. Group by dimension to sample the conversation. If no dimension is
10534
+ # provided, the sampling will be applied to the project level. Current supported
10535
+ # dimensions is 'quality_metadata.agent_info.agent_id'.
10536
+ # Corresponds to the JSON property `dimension`
10537
+ # @return [String]
10538
+ attr_accessor :dimension
10539
+
10540
+ # Percentage of conversations that we should sample based on the dimension
10541
+ # between [0, 100].
10542
+ # Corresponds to the JSON property `samplePercentage`
10543
+ # @return [Float]
10544
+ attr_accessor :sample_percentage
10545
+
10546
+ # Number of the conversations that we should sample based on the dimension.
10547
+ # Corresponds to the JSON property `sampleRow`
10548
+ # @return [Fixnum]
10549
+ attr_accessor :sample_row
10550
+
10551
+ def initialize(**args)
10552
+ update!(**args)
10553
+ end
10554
+
10555
+ # Update properties of this object
10556
+ def update!(**args)
10557
+ @conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
10558
+ @dimension = args[:dimension] if args.key?(:dimension)
10559
+ @sample_percentage = args[:sample_percentage] if args.key?(:sample_percentage)
10560
+ @sample_row = args[:sample_row] if args.key?(:sample_row)
10561
+ end
10562
+ end
10563
+
9938
10564
  # The data for a sentiment annotation.
9939
10565
  class GoogleCloudContactcenterinsightsV1alpha1SentimentData
9940
10566
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContactcenterinsightsV1
18
18
  # Version of the google-apis-contactcenterinsights_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250415"
25
+ REVISION = "20250512"
26
26
  end
27
27
  end
28
28
  end