google-apis-contactcenterinsights_v1 0.62.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/contactcenterinsights_v1/classes.rb +1107 -81
- data/lib/google/apis/contactcenterinsights_v1/gem_version.rb +3 -3
- data/lib/google/apis/contactcenterinsights_v1/representations.rb +498 -0
- data/lib/google/apis/contactcenterinsights_v1/service.rb +2456 -311
- metadata +5 -5
@@ -467,6 +467,19 @@ module Google
|
|
467
467
|
end
|
468
468
|
end
|
469
469
|
|
470
|
+
# The message to appeal an assessment.
|
471
|
+
class GoogleCloudContactcenterinsightsV1AppealAssessmentRequest
|
472
|
+
include Google::Apis::Core::Hashable
|
473
|
+
|
474
|
+
def initialize(**args)
|
475
|
+
update!(**args)
|
476
|
+
end
|
477
|
+
|
478
|
+
# Update properties of this object
|
479
|
+
def update!(**args)
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
470
483
|
# Agent Assist Article Suggestion data.
|
471
484
|
class GoogleCloudContactcenterinsightsV1ArticleSuggestionData
|
472
485
|
include Google::Apis::Core::Hashable
|
@@ -521,6 +534,201 @@ module Google
|
|
521
534
|
end
|
522
535
|
end
|
523
536
|
|
537
|
+
# The assessment resource.
|
538
|
+
class GoogleCloudContactcenterinsightsV1Assessment
|
539
|
+
include Google::Apis::Core::Hashable
|
540
|
+
|
541
|
+
# Information about an agent involved in the conversation.
|
542
|
+
# Corresponds to the JSON property `agentInfo`
|
543
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo]
|
544
|
+
attr_accessor :agent_info
|
545
|
+
|
546
|
+
# Output only. The time at which the assessment was created.
|
547
|
+
# Corresponds to the JSON property `createTime`
|
548
|
+
# @return [String]
|
549
|
+
attr_accessor :create_time
|
550
|
+
|
551
|
+
# Identifier. The resource name of the assessment. Format: projects/`project`/
|
552
|
+
# locations/`location`/conversations/`conversation`/assessments/`assessment`
|
553
|
+
# Corresponds to the JSON property `name`
|
554
|
+
# @return [String]
|
555
|
+
attr_accessor :name
|
556
|
+
|
557
|
+
# Output only. The state of the assessment.
|
558
|
+
# Corresponds to the JSON property `state`
|
559
|
+
# @return [String]
|
560
|
+
attr_accessor :state
|
561
|
+
|
562
|
+
# Output only. The time at which the assessment was last updated.
|
563
|
+
# Corresponds to the JSON property `updateTime`
|
564
|
+
# @return [String]
|
565
|
+
attr_accessor :update_time
|
566
|
+
|
567
|
+
def initialize(**args)
|
568
|
+
update!(**args)
|
569
|
+
end
|
570
|
+
|
571
|
+
# Update properties of this object
|
572
|
+
def update!(**args)
|
573
|
+
@agent_info = args[:agent_info] if args.key?(:agent_info)
|
574
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
575
|
+
@name = args[:name] if args.key?(:name)
|
576
|
+
@state = args[:state] if args.key?(:state)
|
577
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# The CCAI Insights project wide assessment rule. This assessment rule will be
|
582
|
+
# applied to all conversations from the previous sampling cycle that match the
|
583
|
+
# sample rule defined in the assessment rule. One project can have multiple
|
584
|
+
# assessment rules.
|
585
|
+
class GoogleCloudContactcenterinsightsV1AssessmentRule
|
586
|
+
include Google::Apis::Core::Hashable
|
587
|
+
|
588
|
+
# If true, apply this rule to conversations. Otherwise, this rule is inactive.
|
589
|
+
# Corresponds to the JSON property `active`
|
590
|
+
# @return [Boolean]
|
591
|
+
attr_accessor :active
|
592
|
+
alias_method :active?, :active
|
593
|
+
|
594
|
+
# Output only. The time at which this assessment rule was created.
|
595
|
+
# Corresponds to the JSON property `createTime`
|
596
|
+
# @return [String]
|
597
|
+
attr_accessor :create_time
|
598
|
+
|
599
|
+
# Display Name of the assessment rule.
|
600
|
+
# Corresponds to the JSON property `displayName`
|
601
|
+
# @return [String]
|
602
|
+
attr_accessor :display_name
|
603
|
+
|
604
|
+
# Identifier. The resource name of the assessment rule. Format: projects/`
|
605
|
+
# project`/locations/`location`/assessmentRules/`assessment_rule`
|
606
|
+
# Corresponds to the JSON property `name`
|
607
|
+
# @return [String]
|
608
|
+
attr_accessor :name
|
609
|
+
|
610
|
+
# Message for sampling conversations.
|
611
|
+
# Corresponds to the JSON property `sampleRule`
|
612
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleRule]
|
613
|
+
attr_accessor :sample_rule
|
614
|
+
|
615
|
+
# Message for schedule info.
|
616
|
+
# Corresponds to the JSON property `scheduleInfo`
|
617
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ScheduleInfo]
|
618
|
+
attr_accessor :schedule_info
|
619
|
+
|
620
|
+
# Output only. The most recent time at which this assessment rule was updated.
|
621
|
+
# Corresponds to the JSON property `updateTime`
|
622
|
+
# @return [String]
|
623
|
+
attr_accessor :update_time
|
624
|
+
|
625
|
+
def initialize(**args)
|
626
|
+
update!(**args)
|
627
|
+
end
|
628
|
+
|
629
|
+
# Update properties of this object
|
630
|
+
def update!(**args)
|
631
|
+
@active = args[:active] if args.key?(:active)
|
632
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
633
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
634
|
+
@name = args[:name] if args.key?(:name)
|
635
|
+
@sample_rule = args[:sample_rule] if args.key?(:sample_rule)
|
636
|
+
@schedule_info = args[:schedule_info] if args.key?(:schedule_info)
|
637
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# An AuthorizedView represents a view of accessible Insights resources (for
|
642
|
+
# example, Conversation and Scorecard). Who have read access to the
|
643
|
+
# AuthorizedView resource will have access to these Insight resources as well.
|
644
|
+
class GoogleCloudContactcenterinsightsV1AuthorizedView
|
645
|
+
include Google::Apis::Core::Hashable
|
646
|
+
|
647
|
+
# A filter to reduce conversation results to a specific subset. The
|
648
|
+
# AuthorizedView's assigned permission (read/write) could be applied to the
|
649
|
+
# subset of conversations. If conversation_filter is empty, there is no
|
650
|
+
# restriction on the conversations that the AuthorizedView can access. Having *
|
651
|
+
# authorizedViews.get* access to the AuthorizedView means having the same read/
|
652
|
+
# write access to the Conversations (as well as metadata/annotations liked to
|
653
|
+
# the conversation) that this AuthorizedView has.
|
654
|
+
# Corresponds to the JSON property `conversationFilter`
|
655
|
+
# @return [String]
|
656
|
+
attr_accessor :conversation_filter
|
657
|
+
|
658
|
+
# Output only. The time at which the authorized view was created.
|
659
|
+
# Corresponds to the JSON property `createTime`
|
660
|
+
# @return [String]
|
661
|
+
attr_accessor :create_time
|
662
|
+
|
663
|
+
# Display Name. Limit 64 characters.
|
664
|
+
# Corresponds to the JSON property `displayName`
|
665
|
+
# @return [String]
|
666
|
+
attr_accessor :display_name
|
667
|
+
|
668
|
+
# Identifier. The resource name of the AuthorizedView. Format: projects/`project`
|
669
|
+
# /locations/`location`/authorizedViewSets/`authorized_view_set`/authorizedViews/
|
670
|
+
# `authorized_view`
|
671
|
+
# Corresponds to the JSON property `name`
|
672
|
+
# @return [String]
|
673
|
+
attr_accessor :name
|
674
|
+
|
675
|
+
# Output only. The most recent time at which the authorized view was updated.
|
676
|
+
# Corresponds to the JSON property `updateTime`
|
677
|
+
# @return [String]
|
678
|
+
attr_accessor :update_time
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
|
687
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
688
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
689
|
+
@name = args[:name] if args.key?(:name)
|
690
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
# An AuthorizedViewSet contains a set of AuthorizedView resources.
|
695
|
+
class GoogleCloudContactcenterinsightsV1AuthorizedViewSet
|
696
|
+
include Google::Apis::Core::Hashable
|
697
|
+
|
698
|
+
# Output only. Create time.
|
699
|
+
# Corresponds to the JSON property `createTime`
|
700
|
+
# @return [String]
|
701
|
+
attr_accessor :create_time
|
702
|
+
|
703
|
+
# Display Name. Limit 64 characters.
|
704
|
+
# Corresponds to the JSON property `displayName`
|
705
|
+
# @return [String]
|
706
|
+
attr_accessor :display_name
|
707
|
+
|
708
|
+
# Identifier. The resource name of the AuthorizedViewSet. Format: projects/`
|
709
|
+
# project`/locations/`location`/authorizedViewSets/`authorized_view_set`
|
710
|
+
# Corresponds to the JSON property `name`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :name
|
713
|
+
|
714
|
+
# Output only. Update time.
|
715
|
+
# Corresponds to the JSON property `updateTime`
|
716
|
+
# @return [String]
|
717
|
+
attr_accessor :update_time
|
718
|
+
|
719
|
+
def initialize(**args)
|
720
|
+
update!(**args)
|
721
|
+
end
|
722
|
+
|
723
|
+
# Update properties of this object
|
724
|
+
def update!(**args)
|
725
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
726
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
727
|
+
@name = args[:name] if args.key?(:name)
|
728
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
524
732
|
# The metadata for a bulk analyze conversations operation.
|
525
733
|
class GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata
|
526
734
|
include Google::Apis::Core::Hashable
|
@@ -1147,6 +1355,26 @@ module Google
|
|
1147
1355
|
end
|
1148
1356
|
end
|
1149
1357
|
|
1358
|
+
# The request for calculating conversation statistics.
|
1359
|
+
class GoogleCloudContactcenterinsightsV1CalculateStatsRequest
|
1360
|
+
include Google::Apis::Core::Hashable
|
1361
|
+
|
1362
|
+
# A filter to reduce results to a specific subset. This field is useful for
|
1363
|
+
# getting statistics about conversations with specific properties.
|
1364
|
+
# Corresponds to the JSON property `filter`
|
1365
|
+
# @return [String]
|
1366
|
+
attr_accessor :filter
|
1367
|
+
|
1368
|
+
def initialize(**args)
|
1369
|
+
update!(**args)
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
# Update properties of this object
|
1373
|
+
def update!(**args)
|
1374
|
+
@filter = args[:filter] if args.key?(:filter)
|
1375
|
+
end
|
1376
|
+
end
|
1377
|
+
|
1150
1378
|
# The response for calculating conversation statistics.
|
1151
1379
|
class GoogleCloudContactcenterinsightsV1CalculateStatsResponse
|
1152
1380
|
include Google::Apis::Core::Hashable
|
@@ -2100,6 +2328,64 @@ module Google
|
|
2100
2328
|
end
|
2101
2329
|
end
|
2102
2330
|
|
2331
|
+
# Dataset resource represents a collection of conversations that may be bounded (
|
2332
|
+
# Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
|
2333
|
+
# Dataset, e.g. live traffic, or agent training traffic)
|
2334
|
+
class GoogleCloudContactcenterinsightsV1Dataset
|
2335
|
+
include Google::Apis::Core::Hashable
|
2336
|
+
|
2337
|
+
# Output only. Dataset create time.
|
2338
|
+
# Corresponds to the JSON property `createTime`
|
2339
|
+
# @return [String]
|
2340
|
+
attr_accessor :create_time
|
2341
|
+
|
2342
|
+
# Dataset description.
|
2343
|
+
# Corresponds to the JSON property `description`
|
2344
|
+
# @return [String]
|
2345
|
+
attr_accessor :description
|
2346
|
+
|
2347
|
+
# Display name for the dataaset
|
2348
|
+
# Corresponds to the JSON property `displayName`
|
2349
|
+
# @return [String]
|
2350
|
+
attr_accessor :display_name
|
2351
|
+
|
2352
|
+
# Immutable. Identifier. Resource name of the dataset. Format: projects/`project`
|
2353
|
+
# /locations/`location`/datasets/`dataset`
|
2354
|
+
# Corresponds to the JSON property `name`
|
2355
|
+
# @return [String]
|
2356
|
+
attr_accessor :name
|
2357
|
+
|
2358
|
+
# Optional. Option TTL for the dataset.
|
2359
|
+
# Corresponds to the JSON property `ttl`
|
2360
|
+
# @return [String]
|
2361
|
+
attr_accessor :ttl
|
2362
|
+
|
2363
|
+
# Dataset usage type.
|
2364
|
+
# Corresponds to the JSON property `type`
|
2365
|
+
# @return [String]
|
2366
|
+
attr_accessor :type
|
2367
|
+
|
2368
|
+
# Output only. Dataset update time.
|
2369
|
+
# Corresponds to the JSON property `updateTime`
|
2370
|
+
# @return [String]
|
2371
|
+
attr_accessor :update_time
|
2372
|
+
|
2373
|
+
def initialize(**args)
|
2374
|
+
update!(**args)
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
# Update properties of this object
|
2378
|
+
def update!(**args)
|
2379
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2380
|
+
@description = args[:description] if args.key?(:description)
|
2381
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2382
|
+
@name = args[:name] if args.key?(:name)
|
2383
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
2384
|
+
@type = args[:type] if args.key?(:type)
|
2385
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2386
|
+
end
|
2387
|
+
end
|
2388
|
+
|
2103
2389
|
# Metadata for deleting an issue model.
|
2104
2390
|
class GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
|
2105
2391
|
include Google::Apis::Core::Hashable
|
@@ -2962,6 +3248,20 @@ module Google
|
|
2962
3248
|
end
|
2963
3249
|
end
|
2964
3250
|
|
3251
|
+
# The message to finalize an assessment. Finalizing makes an assessment and its
|
3252
|
+
# notes immutable.
|
3253
|
+
class GoogleCloudContactcenterinsightsV1FinalizeAssessmentRequest
|
3254
|
+
include Google::Apis::Core::Hashable
|
3255
|
+
|
3256
|
+
def initialize(**args)
|
3257
|
+
update!(**args)
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
# Update properties of this object
|
3261
|
+
def update!(**args)
|
3262
|
+
end
|
3263
|
+
end
|
3264
|
+
|
2965
3265
|
# A Cloud Storage source of conversation data.
|
2966
3266
|
class GoogleCloudContactcenterinsightsV1GcsSource
|
2967
3267
|
include Google::Apis::Core::Hashable
|
@@ -3878,18 +4178,17 @@ module Google
|
|
3878
4178
|
end
|
3879
4179
|
end
|
3880
4180
|
|
3881
|
-
# The response of listing
|
3882
|
-
class
|
4181
|
+
# The response of listing assessment rules.
|
4182
|
+
class GoogleCloudContactcenterinsightsV1ListAssessmentRulesResponse
|
3883
4183
|
include Google::Apis::Core::Hashable
|
3884
4184
|
|
3885
|
-
# The
|
3886
|
-
# Corresponds to the JSON property `
|
3887
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::
|
3888
|
-
attr_accessor :
|
4185
|
+
# The assessment rules that match the request.
|
4186
|
+
# Corresponds to the JSON property `assessmentRules`
|
4187
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AssessmentRule>]
|
4188
|
+
attr_accessor :assessment_rules
|
3889
4189
|
|
3890
|
-
# A token which can be sent as `page_token` to retrieve the next page. If this
|
3891
|
-
# field is
|
3892
|
-
# means no other pages are available.
|
4190
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4191
|
+
# field is omitted, there are no subsequent pages.
|
3893
4192
|
# Corresponds to the JSON property `nextPageToken`
|
3894
4193
|
# @return [String]
|
3895
4194
|
attr_accessor :next_page_token
|
@@ -3900,21 +4199,22 @@ module Google
|
|
3900
4199
|
|
3901
4200
|
# Update properties of this object
|
3902
4201
|
def update!(**args)
|
3903
|
-
@
|
4202
|
+
@assessment_rules = args[:assessment_rules] if args.key?(:assessment_rules)
|
3904
4203
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3905
4204
|
end
|
3906
4205
|
end
|
3907
4206
|
|
3908
|
-
# The response
|
3909
|
-
class
|
4207
|
+
# The response of listing assessments.
|
4208
|
+
class GoogleCloudContactcenterinsightsV1ListAssessmentsResponse
|
3910
4209
|
include Google::Apis::Core::Hashable
|
3911
4210
|
|
3912
|
-
# The
|
3913
|
-
# Corresponds to the JSON property `
|
3914
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::
|
3915
|
-
attr_accessor :
|
4211
|
+
# The assessments that match the request.
|
4212
|
+
# Corresponds to the JSON property `assessments`
|
4213
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Assessment>]
|
4214
|
+
attr_accessor :assessments
|
3916
4215
|
|
3917
|
-
#
|
4216
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4217
|
+
# field is omitted, there are no subsequent pages.
|
3918
4218
|
# Corresponds to the JSON property `nextPageToken`
|
3919
4219
|
# @return [String]
|
3920
4220
|
attr_accessor :next_page_token
|
@@ -3925,23 +4225,127 @@ module Google
|
|
3925
4225
|
|
3926
4226
|
# Update properties of this object
|
3927
4227
|
def update!(**args)
|
3928
|
-
@
|
4228
|
+
@assessments = args[:assessments] if args.key?(:assessments)
|
3929
4229
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
3930
4230
|
end
|
3931
4231
|
end
|
3932
4232
|
|
3933
|
-
# The response
|
3934
|
-
class
|
4233
|
+
# The response from a ListAuthorizedViewSet request.
|
4234
|
+
class GoogleCloudContactcenterinsightsV1ListAuthorizedViewSetsResponse
|
3935
4235
|
include Google::Apis::Core::Hashable
|
3936
4236
|
|
3937
|
-
# The
|
3938
|
-
# Corresponds to the JSON property `
|
3939
|
-
# @return [Array<Google::Apis::ContactcenterinsightsV1::
|
3940
|
-
attr_accessor :
|
4237
|
+
# The AuthorizedViewSets under the parent.
|
4238
|
+
# Corresponds to the JSON property `authorizedViewSets`
|
4239
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedViewSet>]
|
4240
|
+
attr_accessor :authorized_view_sets
|
3941
4241
|
|
3942
|
-
|
3943
|
-
|
3944
|
-
|
4242
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4243
|
+
# field is omitted, there are no subsequent pages.
|
4244
|
+
# Corresponds to the JSON property `nextPageToken`
|
4245
|
+
# @return [String]
|
4246
|
+
attr_accessor :next_page_token
|
4247
|
+
|
4248
|
+
def initialize(**args)
|
4249
|
+
update!(**args)
|
4250
|
+
end
|
4251
|
+
|
4252
|
+
# Update properties of this object
|
4253
|
+
def update!(**args)
|
4254
|
+
@authorized_view_sets = args[:authorized_view_sets] if args.key?(:authorized_view_sets)
|
4255
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4256
|
+
end
|
4257
|
+
end
|
4258
|
+
|
4259
|
+
# The response from a ListAuthorizedViews request.
|
4260
|
+
class GoogleCloudContactcenterinsightsV1ListAuthorizedViewsResponse
|
4261
|
+
include Google::Apis::Core::Hashable
|
4262
|
+
|
4263
|
+
# The AuthorizedViews under the parent.
|
4264
|
+
# Corresponds to the JSON property `authorizedViews`
|
4265
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView>]
|
4266
|
+
attr_accessor :authorized_views
|
4267
|
+
|
4268
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4269
|
+
# field is omitted, there are no subsequent pages.
|
4270
|
+
# Corresponds to the JSON property `nextPageToken`
|
4271
|
+
# @return [String]
|
4272
|
+
attr_accessor :next_page_token
|
4273
|
+
|
4274
|
+
def initialize(**args)
|
4275
|
+
update!(**args)
|
4276
|
+
end
|
4277
|
+
|
4278
|
+
# Update properties of this object
|
4279
|
+
def update!(**args)
|
4280
|
+
@authorized_views = args[:authorized_views] if args.key?(:authorized_views)
|
4281
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4282
|
+
end
|
4283
|
+
end
|
4284
|
+
|
4285
|
+
# The response of listing conversations.
|
4286
|
+
class GoogleCloudContactcenterinsightsV1ListConversationsResponse
|
4287
|
+
include Google::Apis::Core::Hashable
|
4288
|
+
|
4289
|
+
# The conversations that match the request.
|
4290
|
+
# Corresponds to the JSON property `conversations`
|
4291
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Conversation>]
|
4292
|
+
attr_accessor :conversations
|
4293
|
+
|
4294
|
+
# A token which can be sent as `page_token` to retrieve the next page. If this
|
4295
|
+
# field is set, it means there is another page available. If it is not set, it
|
4296
|
+
# means no other pages are available.
|
4297
|
+
# Corresponds to the JSON property `nextPageToken`
|
4298
|
+
# @return [String]
|
4299
|
+
attr_accessor :next_page_token
|
4300
|
+
|
4301
|
+
def initialize(**args)
|
4302
|
+
update!(**args)
|
4303
|
+
end
|
4304
|
+
|
4305
|
+
# Update properties of this object
|
4306
|
+
def update!(**args)
|
4307
|
+
@conversations = args[:conversations] if args.key?(:conversations)
|
4308
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4309
|
+
end
|
4310
|
+
end
|
4311
|
+
|
4312
|
+
# The response for listing feedback labels.
|
4313
|
+
class GoogleCloudContactcenterinsightsV1ListFeedbackLabelsResponse
|
4314
|
+
include Google::Apis::Core::Hashable
|
4315
|
+
|
4316
|
+
# The feedback labels that match the request.
|
4317
|
+
# Corresponds to the JSON property `feedbackLabels`
|
4318
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FeedbackLabel>]
|
4319
|
+
attr_accessor :feedback_labels
|
4320
|
+
|
4321
|
+
# The next page token.
|
4322
|
+
# Corresponds to the JSON property `nextPageToken`
|
4323
|
+
# @return [String]
|
4324
|
+
attr_accessor :next_page_token
|
4325
|
+
|
4326
|
+
def initialize(**args)
|
4327
|
+
update!(**args)
|
4328
|
+
end
|
4329
|
+
|
4330
|
+
# Update properties of this object
|
4331
|
+
def update!(**args)
|
4332
|
+
@feedback_labels = args[:feedback_labels] if args.key?(:feedback_labels)
|
4333
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4334
|
+
end
|
4335
|
+
end
|
4336
|
+
|
4337
|
+
# The response of listing issue models.
|
4338
|
+
class GoogleCloudContactcenterinsightsV1ListIssueModelsResponse
|
4339
|
+
include Google::Apis::Core::Hashable
|
4340
|
+
|
4341
|
+
# The issue models that match the request.
|
4342
|
+
# Corresponds to the JSON property `issueModels`
|
4343
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1IssueModel>]
|
4344
|
+
attr_accessor :issue_models
|
4345
|
+
|
4346
|
+
def initialize(**args)
|
4347
|
+
update!(**args)
|
4348
|
+
end
|
3945
4349
|
|
3946
4350
|
# Update properties of this object
|
3947
4351
|
def update!(**args)
|
@@ -3968,6 +4372,32 @@ module Google
|
|
3968
4372
|
end
|
3969
4373
|
end
|
3970
4374
|
|
4375
|
+
# The response of listing notes.
|
4376
|
+
class GoogleCloudContactcenterinsightsV1ListNotesResponse
|
4377
|
+
include Google::Apis::Core::Hashable
|
4378
|
+
|
4379
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4380
|
+
# field is omitted, there are no subsequent pages.
|
4381
|
+
# Corresponds to the JSON property `nextPageToken`
|
4382
|
+
# @return [String]
|
4383
|
+
attr_accessor :next_page_token
|
4384
|
+
|
4385
|
+
# The notes that match the request.
|
4386
|
+
# Corresponds to the JSON property `notes`
|
4387
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Note>]
|
4388
|
+
attr_accessor :notes
|
4389
|
+
|
4390
|
+
def initialize(**args)
|
4391
|
+
update!(**args)
|
4392
|
+
end
|
4393
|
+
|
4394
|
+
# Update properties of this object
|
4395
|
+
def update!(**args)
|
4396
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4397
|
+
@notes = args[:notes] if args.key?(:notes)
|
4398
|
+
end
|
4399
|
+
end
|
4400
|
+
|
3971
4401
|
# The response of listing phrase matchers.
|
3972
4402
|
class GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse
|
3973
4403
|
include Google::Apis::Core::Hashable
|
@@ -4098,6 +4528,120 @@ module Google
|
|
4098
4528
|
end
|
4099
4529
|
end
|
4100
4530
|
|
4531
|
+
# The conversation assessment note resource.
|
4532
|
+
class GoogleCloudContactcenterinsightsV1Note
|
4533
|
+
include Google::Apis::Core::Hashable
|
4534
|
+
|
4535
|
+
# A note about the entire parent assessment.
|
4536
|
+
# Corresponds to the JSON property `assessmentNote`
|
4537
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteAssessmentNote]
|
4538
|
+
attr_accessor :assessment_note
|
4539
|
+
|
4540
|
+
# The note content.
|
4541
|
+
# Corresponds to the JSON property `content`
|
4542
|
+
# @return [String]
|
4543
|
+
attr_accessor :content
|
4544
|
+
|
4545
|
+
# A note about a conversation turn.
|
4546
|
+
# Corresponds to the JSON property `conversationTurnNote`
|
4547
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteConversationTurnNote]
|
4548
|
+
attr_accessor :conversation_turn_note
|
4549
|
+
|
4550
|
+
# Output only. The time at which the note was created.
|
4551
|
+
# Corresponds to the JSON property `createTime`
|
4552
|
+
# @return [String]
|
4553
|
+
attr_accessor :create_time
|
4554
|
+
|
4555
|
+
# Identifier. The resource name of the note. Format: projects/`project`/
|
4556
|
+
# locations/`location`/conversations/`conversation`/assessments/`assessment`/
|
4557
|
+
# notes/`note`
|
4558
|
+
# Corresponds to the JSON property `name`
|
4559
|
+
# @return [String]
|
4560
|
+
attr_accessor :name
|
4561
|
+
|
4562
|
+
# Information about a user.
|
4563
|
+
# Corresponds to the JSON property `noteCreator`
|
4564
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1UserInfo]
|
4565
|
+
attr_accessor :note_creator
|
4566
|
+
|
4567
|
+
# A note about a QA question.
|
4568
|
+
# Corresponds to the JSON property `qaQuestionNote`
|
4569
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1NoteQaQuestionNote]
|
4570
|
+
attr_accessor :qa_question_note
|
4571
|
+
|
4572
|
+
# Output only. The time at which the note was last updated.
|
4573
|
+
# Corresponds to the JSON property `updateTime`
|
4574
|
+
# @return [String]
|
4575
|
+
attr_accessor :update_time
|
4576
|
+
|
4577
|
+
def initialize(**args)
|
4578
|
+
update!(**args)
|
4579
|
+
end
|
4580
|
+
|
4581
|
+
# Update properties of this object
|
4582
|
+
def update!(**args)
|
4583
|
+
@assessment_note = args[:assessment_note] if args.key?(:assessment_note)
|
4584
|
+
@content = args[:content] if args.key?(:content)
|
4585
|
+
@conversation_turn_note = args[:conversation_turn_note] if args.key?(:conversation_turn_note)
|
4586
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
4587
|
+
@name = args[:name] if args.key?(:name)
|
4588
|
+
@note_creator = args[:note_creator] if args.key?(:note_creator)
|
4589
|
+
@qa_question_note = args[:qa_question_note] if args.key?(:qa_question_note)
|
4590
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
4591
|
+
end
|
4592
|
+
end
|
4593
|
+
|
4594
|
+
# A note about the entire parent assessment.
|
4595
|
+
class GoogleCloudContactcenterinsightsV1NoteAssessmentNote
|
4596
|
+
include Google::Apis::Core::Hashable
|
4597
|
+
|
4598
|
+
def initialize(**args)
|
4599
|
+
update!(**args)
|
4600
|
+
end
|
4601
|
+
|
4602
|
+
# Update properties of this object
|
4603
|
+
def update!(**args)
|
4604
|
+
end
|
4605
|
+
end
|
4606
|
+
|
4607
|
+
# A note about a conversation turn.
|
4608
|
+
class GoogleCloudContactcenterinsightsV1NoteConversationTurnNote
|
4609
|
+
include Google::Apis::Core::Hashable
|
4610
|
+
|
4611
|
+
# The conversation turn index that the note is associated with.
|
4612
|
+
# Corresponds to the JSON property `turnIndex`
|
4613
|
+
# @return [Fixnum]
|
4614
|
+
attr_accessor :turn_index
|
4615
|
+
|
4616
|
+
def initialize(**args)
|
4617
|
+
update!(**args)
|
4618
|
+
end
|
4619
|
+
|
4620
|
+
# Update properties of this object
|
4621
|
+
def update!(**args)
|
4622
|
+
@turn_index = args[:turn_index] if args.key?(:turn_index)
|
4623
|
+
end
|
4624
|
+
end
|
4625
|
+
|
4626
|
+
# A note about a QA question.
|
4627
|
+
class GoogleCloudContactcenterinsightsV1NoteQaQuestionNote
|
4628
|
+
include Google::Apis::Core::Hashable
|
4629
|
+
|
4630
|
+
# The question resource that the note is associated with.
|
4631
|
+
# Corresponds to the JSON property `qaQuestion`
|
4632
|
+
# @return [String]
|
4633
|
+
attr_accessor :qa_question
|
4634
|
+
|
4635
|
+
def initialize(**args)
|
4636
|
+
update!(**args)
|
4637
|
+
end
|
4638
|
+
|
4639
|
+
# Update properties of this object
|
4640
|
+
def update!(**args)
|
4641
|
+
@qa_question = args[:qa_question] if args.key?(:qa_question)
|
4642
|
+
end
|
4643
|
+
end
|
4644
|
+
|
4101
4645
|
# The data for a matched phrase matcher. Represents information identifying a
|
4102
4646
|
# phrase matcher for a given match.
|
4103
4647
|
class GoogleCloudContactcenterinsightsV1PhraseMatchData
|
@@ -4289,6 +4833,21 @@ module Google
|
|
4289
4833
|
end
|
4290
4834
|
end
|
4291
4835
|
|
4836
|
+
# The message to publish an assessment. Draft and appealed assessments can be
|
4837
|
+
# published. Publishing simply changes the state of the assessment to published,
|
4838
|
+
# allowing the console and authorized views to filter on the state.
|
4839
|
+
class GoogleCloudContactcenterinsightsV1PublishAssessmentRequest
|
4840
|
+
include Google::Apis::Core::Hashable
|
4841
|
+
|
4842
|
+
def initialize(**args)
|
4843
|
+
update!(**args)
|
4844
|
+
end
|
4845
|
+
|
4846
|
+
# Update properties of this object
|
4847
|
+
def update!(**args)
|
4848
|
+
end
|
4849
|
+
end
|
4850
|
+
|
4292
4851
|
# An answer to a QaQuestion.
|
4293
4852
|
class GoogleCloudContactcenterinsightsV1QaAnswer
|
4294
4853
|
include Google::Apis::Core::Hashable
|
@@ -4483,8 +5042,13 @@ module Google
|
|
4483
5042
|
# @return [String]
|
4484
5043
|
attr_accessor :question_body
|
4485
5044
|
|
4486
|
-
#
|
4487
|
-
#
|
5045
|
+
# Questions are tagged for categorization and scoring. Tags can either be: -
|
5046
|
+
# Default Tags: These are predefined categories. They are identified by their
|
5047
|
+
# string value (e.g., "BUSINESS", "COMPLIANCE", and "CUSTOMER"). - Custom Tags:
|
5048
|
+
# These are user-defined categories. They are identified by their full resource
|
5049
|
+
# name (e.g., projects/`project`/locations/`location`/qaQuestionTags/`
|
5050
|
+
# qa_question_tag`). Both default and custom tags are used to group questions
|
5051
|
+
# and to influence the scoring of each question.
|
4488
5052
|
# Corresponds to the JSON property `tags`
|
4489
5053
|
# @return [Array<String>]
|
4490
5054
|
attr_accessor :tags
|
@@ -5290,35 +5854,234 @@ module Google
|
|
5290
5854
|
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DialogflowInteractionData]
|
5291
5855
|
attr_accessor :dialogflow_interaction
|
5292
5856
|
|
5293
|
-
# A point in a conversation that marks the start or the end of an annotation.
|
5294
|
-
# Corresponds to the JSON property `endBoundary`
|
5295
|
-
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]
|
5296
|
-
attr_accessor :end_boundary
|
5857
|
+
# A point in a conversation that marks the start or the end of an annotation.
|
5858
|
+
# Corresponds to the JSON property `endBoundary`
|
5859
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]
|
5860
|
+
attr_accessor :end_boundary
|
5861
|
+
|
5862
|
+
# Agent Assist frequently-asked-question answer data.
|
5863
|
+
# Corresponds to the JSON property `faqAnswer`
|
5864
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FaqAnswerData]
|
5865
|
+
attr_accessor :faq_answer
|
5866
|
+
|
5867
|
+
# Agent Assist Smart Compose suggestion data.
|
5868
|
+
# Corresponds to the JSON property `smartComposeSuggestion`
|
5869
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData]
|
5870
|
+
attr_accessor :smart_compose_suggestion
|
5871
|
+
|
5872
|
+
# Agent Assist Smart Reply data.
|
5873
|
+
# Corresponds to the JSON property `smartReply`
|
5874
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartReplyData]
|
5875
|
+
attr_accessor :smart_reply
|
5876
|
+
|
5877
|
+
# A point in a conversation that marks the start or the end of an annotation.
|
5878
|
+
# Corresponds to the JSON property `startBoundary`
|
5879
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]
|
5880
|
+
attr_accessor :start_boundary
|
5881
|
+
|
5882
|
+
# Explicit input used for generating the answer
|
5883
|
+
# Corresponds to the JSON property `userInput`
|
5884
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput]
|
5885
|
+
attr_accessor :user_input
|
5886
|
+
|
5887
|
+
def initialize(**args)
|
5888
|
+
update!(**args)
|
5889
|
+
end
|
5890
|
+
|
5891
|
+
# Update properties of this object
|
5892
|
+
def update!(**args)
|
5893
|
+
@annotation_id = args[:annotation_id] if args.key?(:annotation_id)
|
5894
|
+
@answer_feedback = args[:answer_feedback] if args.key?(:answer_feedback)
|
5895
|
+
@article_suggestion = args[:article_suggestion] if args.key?(:article_suggestion)
|
5896
|
+
@conversation_summarization_suggestion = args[:conversation_summarization_suggestion] if args.key?(:conversation_summarization_suggestion)
|
5897
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5898
|
+
@dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
|
5899
|
+
@end_boundary = args[:end_boundary] if args.key?(:end_boundary)
|
5900
|
+
@faq_answer = args[:faq_answer] if args.key?(:faq_answer)
|
5901
|
+
@smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
|
5902
|
+
@smart_reply = args[:smart_reply] if args.key?(:smart_reply)
|
5903
|
+
@start_boundary = args[:start_boundary] if args.key?(:start_boundary)
|
5904
|
+
@user_input = args[:user_input] if args.key?(:user_input)
|
5905
|
+
end
|
5906
|
+
end
|
5907
|
+
|
5908
|
+
# Explicit input used for generating the answer
|
5909
|
+
class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
|
5910
|
+
include Google::Apis::Core::Hashable
|
5911
|
+
|
5912
|
+
# The resource name of associated generator. Format: `projects//locations//
|
5913
|
+
# generators/`
|
5914
|
+
# Corresponds to the JSON property `generatorName`
|
5915
|
+
# @return [String]
|
5916
|
+
attr_accessor :generator_name
|
5917
|
+
|
5918
|
+
# Query text. Article Search uses this to store the input query used to generate
|
5919
|
+
# the search results.
|
5920
|
+
# Corresponds to the JSON property `query`
|
5921
|
+
# @return [String]
|
5922
|
+
attr_accessor :query
|
5923
|
+
|
5924
|
+
# Query source for the answer.
|
5925
|
+
# Corresponds to the JSON property `querySource`
|
5926
|
+
# @return [String]
|
5927
|
+
attr_accessor :query_source
|
5928
|
+
|
5929
|
+
def initialize(**args)
|
5930
|
+
update!(**args)
|
5931
|
+
end
|
5932
|
+
|
5933
|
+
# Update properties of this object
|
5934
|
+
def update!(**args)
|
5935
|
+
@generator_name = args[:generator_name] if args.key?(:generator_name)
|
5936
|
+
@query = args[:query] if args.key?(:query)
|
5937
|
+
@query_source = args[:query_source] if args.key?(:query_source)
|
5938
|
+
end
|
5939
|
+
end
|
5940
|
+
|
5941
|
+
# The metadata for an SampleConversations operation.
|
5942
|
+
class GoogleCloudContactcenterinsightsV1SampleConversationsMetadata
|
5943
|
+
include Google::Apis::Core::Hashable
|
5944
|
+
|
5945
|
+
# Output only. The time the operation was created.
|
5946
|
+
# Corresponds to the JSON property `createTime`
|
5947
|
+
# @return [String]
|
5948
|
+
attr_accessor :create_time
|
5949
|
+
|
5950
|
+
# Output only. The time the operation finished running.
|
5951
|
+
# Corresponds to the JSON property `endTime`
|
5952
|
+
# @return [String]
|
5953
|
+
attr_accessor :end_time
|
5954
|
+
|
5955
|
+
# Output only. Partial errors during sample conversations operation that might
|
5956
|
+
# cause the operation output to be incomplete.
|
5957
|
+
# Corresponds to the JSON property `partialErrors`
|
5958
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
|
5959
|
+
attr_accessor :partial_errors
|
5960
|
+
|
5961
|
+
# The request to sample conversations to a dataset.
|
5962
|
+
# Corresponds to the JSON property `request`
|
5963
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsRequest]
|
5964
|
+
attr_accessor :request
|
5965
|
+
|
5966
|
+
# Statistics for SampleConversations operation.
|
5967
|
+
# Corresponds to the JSON property `sampleConversationsStats`
|
5968
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats]
|
5969
|
+
attr_accessor :sample_conversations_stats
|
5970
|
+
|
5971
|
+
def initialize(**args)
|
5972
|
+
update!(**args)
|
5973
|
+
end
|
5974
|
+
|
5975
|
+
# Update properties of this object
|
5976
|
+
def update!(**args)
|
5977
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5978
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
5979
|
+
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
|
5980
|
+
@request = args[:request] if args.key?(:request)
|
5981
|
+
@sample_conversations_stats = args[:sample_conversations_stats] if args.key?(:sample_conversations_stats)
|
5982
|
+
end
|
5983
|
+
end
|
5984
|
+
|
5985
|
+
# Statistics for SampleConversations operation.
|
5986
|
+
class GoogleCloudContactcenterinsightsV1SampleConversationsMetadataSampleConversationsStats
|
5987
|
+
include Google::Apis::Core::Hashable
|
5988
|
+
|
5989
|
+
# Output only. The number of objects which were unable to be sampled due to
|
5990
|
+
# errors. The errors are populated in the partial_errors field.
|
5991
|
+
# Corresponds to the JSON property `failedSampleCount`
|
5992
|
+
# @return [Fixnum]
|
5993
|
+
attr_accessor :failed_sample_count
|
5994
|
+
|
5995
|
+
# Output only. The number of new conversations added during this sample
|
5996
|
+
# operation.
|
5997
|
+
# Corresponds to the JSON property `successfulSampleCount`
|
5998
|
+
# @return [Fixnum]
|
5999
|
+
attr_accessor :successful_sample_count
|
6000
|
+
|
6001
|
+
def initialize(**args)
|
6002
|
+
update!(**args)
|
6003
|
+
end
|
6004
|
+
|
6005
|
+
# Update properties of this object
|
6006
|
+
def update!(**args)
|
6007
|
+
@failed_sample_count = args[:failed_sample_count] if args.key?(:failed_sample_count)
|
6008
|
+
@successful_sample_count = args[:successful_sample_count] if args.key?(:successful_sample_count)
|
6009
|
+
end
|
6010
|
+
end
|
6011
|
+
|
6012
|
+
# The request to sample conversations to a dataset.
|
6013
|
+
class GoogleCloudContactcenterinsightsV1SampleConversationsRequest
|
6014
|
+
include Google::Apis::Core::Hashable
|
6015
|
+
|
6016
|
+
# Dataset resource represents a collection of conversations that may be bounded (
|
6017
|
+
# Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
|
6018
|
+
# Dataset, e.g. live traffic, or agent training traffic)
|
6019
|
+
# Corresponds to the JSON property `destinationDataset`
|
6020
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1Dataset]
|
6021
|
+
attr_accessor :destination_dataset
|
6022
|
+
|
6023
|
+
# Required. The parent resource of the dataset.
|
6024
|
+
# Corresponds to the JSON property `parent`
|
6025
|
+
# @return [String]
|
6026
|
+
attr_accessor :parent
|
6027
|
+
|
6028
|
+
# Message for sampling conversations.
|
6029
|
+
# Corresponds to the JSON property `sampleRule`
|
6030
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SampleRule]
|
6031
|
+
attr_accessor :sample_rule
|
6032
|
+
|
6033
|
+
def initialize(**args)
|
6034
|
+
update!(**args)
|
6035
|
+
end
|
6036
|
+
|
6037
|
+
# Update properties of this object
|
6038
|
+
def update!(**args)
|
6039
|
+
@destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
|
6040
|
+
@parent = args[:parent] if args.key?(:parent)
|
6041
|
+
@sample_rule = args[:sample_rule] if args.key?(:sample_rule)
|
6042
|
+
end
|
6043
|
+
end
|
6044
|
+
|
6045
|
+
# The response to an SampleConversations operation.
|
6046
|
+
class GoogleCloudContactcenterinsightsV1SampleConversationsResponse
|
6047
|
+
include Google::Apis::Core::Hashable
|
6048
|
+
|
6049
|
+
def initialize(**args)
|
6050
|
+
update!(**args)
|
6051
|
+
end
|
5297
6052
|
|
5298
|
-
#
|
5299
|
-
|
5300
|
-
|
5301
|
-
|
6053
|
+
# Update properties of this object
|
6054
|
+
def update!(**args)
|
6055
|
+
end
|
6056
|
+
end
|
5302
6057
|
|
5303
|
-
|
5304
|
-
|
5305
|
-
|
5306
|
-
attr_accessor :smart_compose_suggestion
|
6058
|
+
# Message for sampling conversations.
|
6059
|
+
class GoogleCloudContactcenterinsightsV1SampleRule
|
6060
|
+
include Google::Apis::Core::Hashable
|
5307
6061
|
|
5308
|
-
#
|
5309
|
-
#
|
5310
|
-
#
|
5311
|
-
|
6062
|
+
# To specify the filter for the conversions that should apply this sample rule.
|
6063
|
+
# An empty filter means this sample rule applies to all conversations.
|
6064
|
+
# Corresponds to the JSON property `conversationFilter`
|
6065
|
+
# @return [String]
|
6066
|
+
attr_accessor :conversation_filter
|
5312
6067
|
|
5313
|
-
#
|
5314
|
-
#
|
5315
|
-
#
|
5316
|
-
|
6068
|
+
# Optional. Group by dimension to sample the conversation. If no dimension is
|
6069
|
+
# provided, the sampling will be applied to the project level. Current supported
|
6070
|
+
# dimensions is 'quality_metadata.agent_info.agent_id'.
|
6071
|
+
# Corresponds to the JSON property `dimension`
|
6072
|
+
# @return [String]
|
6073
|
+
attr_accessor :dimension
|
5317
6074
|
|
5318
|
-
#
|
5319
|
-
#
|
5320
|
-
#
|
5321
|
-
|
6075
|
+
# Percentage of conversations that we should sample based on the dimension
|
6076
|
+
# between [0, 100].
|
6077
|
+
# Corresponds to the JSON property `samplePercentage`
|
6078
|
+
# @return [Float]
|
6079
|
+
attr_accessor :sample_percentage
|
6080
|
+
|
6081
|
+
# Number of the conversations that we should sample based on the dimension.
|
6082
|
+
# Corresponds to the JSON property `sampleRow`
|
6083
|
+
# @return [Fixnum]
|
6084
|
+
attr_accessor :sample_row
|
5322
6085
|
|
5323
6086
|
def initialize(**args)
|
5324
6087
|
update!(**args)
|
@@ -5326,41 +6089,42 @@ module Google
|
|
5326
6089
|
|
5327
6090
|
# Update properties of this object
|
5328
6091
|
def update!(**args)
|
5329
|
-
@
|
5330
|
-
@
|
5331
|
-
@
|
5332
|
-
@
|
5333
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
5334
|
-
@dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
|
5335
|
-
@end_boundary = args[:end_boundary] if args.key?(:end_boundary)
|
5336
|
-
@faq_answer = args[:faq_answer] if args.key?(:faq_answer)
|
5337
|
-
@smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
|
5338
|
-
@smart_reply = args[:smart_reply] if args.key?(:smart_reply)
|
5339
|
-
@start_boundary = args[:start_boundary] if args.key?(:start_boundary)
|
5340
|
-
@user_input = args[:user_input] if args.key?(:user_input)
|
6092
|
+
@conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
|
6093
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
6094
|
+
@sample_percentage = args[:sample_percentage] if args.key?(:sample_percentage)
|
6095
|
+
@sample_row = args[:sample_row] if args.key?(:sample_row)
|
5341
6096
|
end
|
5342
6097
|
end
|
5343
6098
|
|
5344
|
-
#
|
5345
|
-
class
|
6099
|
+
# Message for schedule info.
|
6100
|
+
class GoogleCloudContactcenterinsightsV1ScheduleInfo
|
5346
6101
|
include Google::Apis::Core::Hashable
|
5347
6102
|
|
5348
|
-
#
|
5349
|
-
#
|
5350
|
-
# Corresponds to the JSON property `
|
6103
|
+
# End time of the schedule. If not specified, will keep scheduling new pipelines
|
6104
|
+
# for execution util the schedule is no longer active or deleted.
|
6105
|
+
# Corresponds to the JSON property `endTime`
|
5351
6106
|
# @return [String]
|
5352
|
-
attr_accessor :
|
6107
|
+
attr_accessor :end_time
|
5353
6108
|
|
5354
|
-
#
|
5355
|
-
# the
|
5356
|
-
#
|
6109
|
+
# The groc expression. Format: `every number [synchronized]` Time units can be:
|
6110
|
+
# minutes, hours Synchronized is optional and indicates that the schedule should
|
6111
|
+
# be synchronized to the start of the interval: every 5 minutes synchronized
|
6112
|
+
# means 00:00, 00:05 ... Otherwise the start time is random within the interval.
|
6113
|
+
# Example: `every 5 minutes` could be 00:02, 00:07, 00:12, ...
|
6114
|
+
# Corresponds to the JSON property `schedule`
|
5357
6115
|
# @return [String]
|
5358
|
-
attr_accessor :
|
6116
|
+
attr_accessor :schedule
|
5359
6117
|
|
5360
|
-
#
|
5361
|
-
#
|
6118
|
+
# Start time of the schedule. If not specified, will start as soon as the
|
6119
|
+
# schedule is created.
|
6120
|
+
# Corresponds to the JSON property `startTime`
|
5362
6121
|
# @return [String]
|
5363
|
-
attr_accessor :
|
6122
|
+
attr_accessor :start_time
|
6123
|
+
|
6124
|
+
# The timezone to use for the groc expression. If not specified, defaults to UTC.
|
6125
|
+
# Corresponds to the JSON property `timeZone`
|
6126
|
+
# @return [String]
|
6127
|
+
attr_accessor :time_zone
|
5364
6128
|
|
5365
6129
|
def initialize(**args)
|
5366
6130
|
update!(**args)
|
@@ -5368,9 +6132,36 @@ module Google
|
|
5368
6132
|
|
5369
6133
|
# Update properties of this object
|
5370
6134
|
def update!(**args)
|
5371
|
-
@
|
5372
|
-
@
|
5373
|
-
@
|
6135
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
6136
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
6137
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
6138
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
6139
|
+
end
|
6140
|
+
end
|
6141
|
+
|
6142
|
+
# The response from a ListAuthorizedViews request.
|
6143
|
+
class GoogleCloudContactcenterinsightsV1SearchAuthorizedViewsResponse
|
6144
|
+
include Google::Apis::Core::Hashable
|
6145
|
+
|
6146
|
+
# The AuthorizedViews under the parent.
|
6147
|
+
# Corresponds to the JSON property `authorizedViews`
|
6148
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AuthorizedView>]
|
6149
|
+
attr_accessor :authorized_views
|
6150
|
+
|
6151
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
6152
|
+
# field is omitted, there are no subsequent pages.
|
6153
|
+
# Corresponds to the JSON property `nextPageToken`
|
6154
|
+
# @return [String]
|
6155
|
+
attr_accessor :next_page_token
|
6156
|
+
|
6157
|
+
def initialize(**args)
|
6158
|
+
update!(**args)
|
6159
|
+
end
|
6160
|
+
|
6161
|
+
# Update properties of this object
|
6162
|
+
def update!(**args)
|
6163
|
+
@authorized_views = args[:authorized_views] if args.key?(:authorized_views)
|
6164
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5374
6165
|
end
|
5375
6166
|
end
|
5376
6167
|
|
@@ -5860,6 +6651,25 @@ module Google
|
|
5860
6651
|
end
|
5861
6652
|
end
|
5862
6653
|
|
6654
|
+
# Information about a user.
|
6655
|
+
class GoogleCloudContactcenterinsightsV1UserInfo
|
6656
|
+
include Google::Apis::Core::Hashable
|
6657
|
+
|
6658
|
+
# The user's username.
|
6659
|
+
# Corresponds to the JSON property `username`
|
6660
|
+
# @return [String]
|
6661
|
+
attr_accessor :username
|
6662
|
+
|
6663
|
+
def initialize(**args)
|
6664
|
+
update!(**args)
|
6665
|
+
end
|
6666
|
+
|
6667
|
+
# Update properties of this object
|
6668
|
+
def update!(**args)
|
6669
|
+
@username = args[:username] if args.key?(:username)
|
6670
|
+
end
|
6671
|
+
end
|
6672
|
+
|
5863
6673
|
# The View resource.
|
5864
6674
|
class GoogleCloudContactcenterinsightsV1View
|
5865
6675
|
include Google::Apis::Core::Hashable
|
@@ -7443,6 +8253,64 @@ module Google
|
|
7443
8253
|
end
|
7444
8254
|
end
|
7445
8255
|
|
8256
|
+
# Dataset resource represents a collection of conversations that may be bounded (
|
8257
|
+
# Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
|
8258
|
+
# Dataset, e.g. live traffic, or agent training traffic)
|
8259
|
+
class GoogleCloudContactcenterinsightsV1alpha1Dataset
|
8260
|
+
include Google::Apis::Core::Hashable
|
8261
|
+
|
8262
|
+
# Output only. Dataset create time.
|
8263
|
+
# Corresponds to the JSON property `createTime`
|
8264
|
+
# @return [String]
|
8265
|
+
attr_accessor :create_time
|
8266
|
+
|
8267
|
+
# Dataset description.
|
8268
|
+
# Corresponds to the JSON property `description`
|
8269
|
+
# @return [String]
|
8270
|
+
attr_accessor :description
|
8271
|
+
|
8272
|
+
# Display name for the dataaset
|
8273
|
+
# Corresponds to the JSON property `displayName`
|
8274
|
+
# @return [String]
|
8275
|
+
attr_accessor :display_name
|
8276
|
+
|
8277
|
+
# Immutable. Identifier. Resource name of the dataset. Format: projects/`project`
|
8278
|
+
# /locations/`location`/datasets/`dataset`
|
8279
|
+
# Corresponds to the JSON property `name`
|
8280
|
+
# @return [String]
|
8281
|
+
attr_accessor :name
|
8282
|
+
|
8283
|
+
# Optional. Option TTL for the dataset.
|
8284
|
+
# Corresponds to the JSON property `ttl`
|
8285
|
+
# @return [String]
|
8286
|
+
attr_accessor :ttl
|
8287
|
+
|
8288
|
+
# Dataset usage type.
|
8289
|
+
# Corresponds to the JSON property `type`
|
8290
|
+
# @return [String]
|
8291
|
+
attr_accessor :type
|
8292
|
+
|
8293
|
+
# Output only. Dataset update time.
|
8294
|
+
# Corresponds to the JSON property `updateTime`
|
8295
|
+
# @return [String]
|
8296
|
+
attr_accessor :update_time
|
8297
|
+
|
8298
|
+
def initialize(**args)
|
8299
|
+
update!(**args)
|
8300
|
+
end
|
8301
|
+
|
8302
|
+
# Update properties of this object
|
8303
|
+
def update!(**args)
|
8304
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
8305
|
+
@description = args[:description] if args.key?(:description)
|
8306
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
8307
|
+
@name = args[:name] if args.key?(:name)
|
8308
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
8309
|
+
@type = args[:type] if args.key?(:type)
|
8310
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
8311
|
+
end
|
8312
|
+
end
|
8313
|
+
|
7446
8314
|
# Metadata for deleting an issue model.
|
7447
8315
|
class GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
|
7448
8316
|
include Google::Apis::Core::Hashable
|
@@ -9935,6 +10803,164 @@ module Google
|
|
9935
10803
|
end
|
9936
10804
|
end
|
9937
10805
|
|
10806
|
+
# The metadata for an SampleConversations operation.
|
10807
|
+
class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadata
|
10808
|
+
include Google::Apis::Core::Hashable
|
10809
|
+
|
10810
|
+
# Output only. The time the operation was created.
|
10811
|
+
# Corresponds to the JSON property `createTime`
|
10812
|
+
# @return [String]
|
10813
|
+
attr_accessor :create_time
|
10814
|
+
|
10815
|
+
# Output only. The time the operation finished running.
|
10816
|
+
# Corresponds to the JSON property `endTime`
|
10817
|
+
# @return [String]
|
10818
|
+
attr_accessor :end_time
|
10819
|
+
|
10820
|
+
# Output only. Partial errors during sample conversations operation that might
|
10821
|
+
# cause the operation output to be incomplete.
|
10822
|
+
# Corresponds to the JSON property `partialErrors`
|
10823
|
+
# @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleRpcStatus>]
|
10824
|
+
attr_accessor :partial_errors
|
10825
|
+
|
10826
|
+
# The request to sample conversations to a dataset.
|
10827
|
+
# Corresponds to the JSON property `request`
|
10828
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest]
|
10829
|
+
attr_accessor :request
|
10830
|
+
|
10831
|
+
# Statistics for SampleConversations operation.
|
10832
|
+
# Corresponds to the JSON property `sampleConversationsStats`
|
10833
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats]
|
10834
|
+
attr_accessor :sample_conversations_stats
|
10835
|
+
|
10836
|
+
def initialize(**args)
|
10837
|
+
update!(**args)
|
10838
|
+
end
|
10839
|
+
|
10840
|
+
# Update properties of this object
|
10841
|
+
def update!(**args)
|
10842
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
10843
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
10844
|
+
@partial_errors = args[:partial_errors] if args.key?(:partial_errors)
|
10845
|
+
@request = args[:request] if args.key?(:request)
|
10846
|
+
@sample_conversations_stats = args[:sample_conversations_stats] if args.key?(:sample_conversations_stats)
|
10847
|
+
end
|
10848
|
+
end
|
10849
|
+
|
10850
|
+
# Statistics for SampleConversations operation.
|
10851
|
+
class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsMetadataSampleConversationsStats
|
10852
|
+
include Google::Apis::Core::Hashable
|
10853
|
+
|
10854
|
+
# Output only. The number of objects which were unable to be sampled due to
|
10855
|
+
# errors. The errors are populated in the partial_errors field.
|
10856
|
+
# Corresponds to the JSON property `failedSampleCount`
|
10857
|
+
# @return [Fixnum]
|
10858
|
+
attr_accessor :failed_sample_count
|
10859
|
+
|
10860
|
+
# Output only. The number of new conversations added during this sample
|
10861
|
+
# operation.
|
10862
|
+
# Corresponds to the JSON property `successfulSampleCount`
|
10863
|
+
# @return [Fixnum]
|
10864
|
+
attr_accessor :successful_sample_count
|
10865
|
+
|
10866
|
+
def initialize(**args)
|
10867
|
+
update!(**args)
|
10868
|
+
end
|
10869
|
+
|
10870
|
+
# Update properties of this object
|
10871
|
+
def update!(**args)
|
10872
|
+
@failed_sample_count = args[:failed_sample_count] if args.key?(:failed_sample_count)
|
10873
|
+
@successful_sample_count = args[:successful_sample_count] if args.key?(:successful_sample_count)
|
10874
|
+
end
|
10875
|
+
end
|
10876
|
+
|
10877
|
+
# The request to sample conversations to a dataset.
|
10878
|
+
class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsRequest
|
10879
|
+
include Google::Apis::Core::Hashable
|
10880
|
+
|
10881
|
+
# Dataset resource represents a collection of conversations that may be bounded (
|
10882
|
+
# Static Dataset, e.g. golden dataset for training), or unbounded (Dynamic
|
10883
|
+
# Dataset, e.g. live traffic, or agent training traffic)
|
10884
|
+
# Corresponds to the JSON property `destinationDataset`
|
10885
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1Dataset]
|
10886
|
+
attr_accessor :destination_dataset
|
10887
|
+
|
10888
|
+
# Required. The parent resource of the dataset.
|
10889
|
+
# Corresponds to the JSON property `parent`
|
10890
|
+
# @return [String]
|
10891
|
+
attr_accessor :parent
|
10892
|
+
|
10893
|
+
# Message for sampling conversations.
|
10894
|
+
# Corresponds to the JSON property `sampleRule`
|
10895
|
+
# @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SampleRule]
|
10896
|
+
attr_accessor :sample_rule
|
10897
|
+
|
10898
|
+
def initialize(**args)
|
10899
|
+
update!(**args)
|
10900
|
+
end
|
10901
|
+
|
10902
|
+
# Update properties of this object
|
10903
|
+
def update!(**args)
|
10904
|
+
@destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
|
10905
|
+
@parent = args[:parent] if args.key?(:parent)
|
10906
|
+
@sample_rule = args[:sample_rule] if args.key?(:sample_rule)
|
10907
|
+
end
|
10908
|
+
end
|
10909
|
+
|
10910
|
+
# The response to an SampleConversations operation.
|
10911
|
+
class GoogleCloudContactcenterinsightsV1alpha1SampleConversationsResponse
|
10912
|
+
include Google::Apis::Core::Hashable
|
10913
|
+
|
10914
|
+
def initialize(**args)
|
10915
|
+
update!(**args)
|
10916
|
+
end
|
10917
|
+
|
10918
|
+
# Update properties of this object
|
10919
|
+
def update!(**args)
|
10920
|
+
end
|
10921
|
+
end
|
10922
|
+
|
10923
|
+
# Message for sampling conversations.
|
10924
|
+
class GoogleCloudContactcenterinsightsV1alpha1SampleRule
|
10925
|
+
include Google::Apis::Core::Hashable
|
10926
|
+
|
10927
|
+
# To specify the filter for the conversions that should apply this sample rule.
|
10928
|
+
# An empty filter means this sample rule applies to all conversations.
|
10929
|
+
# Corresponds to the JSON property `conversationFilter`
|
10930
|
+
# @return [String]
|
10931
|
+
attr_accessor :conversation_filter
|
10932
|
+
|
10933
|
+
# Optional. Group by dimension to sample the conversation. If no dimension is
|
10934
|
+
# provided, the sampling will be applied to the project level. Current supported
|
10935
|
+
# dimensions is 'quality_metadata.agent_info.agent_id'.
|
10936
|
+
# Corresponds to the JSON property `dimension`
|
10937
|
+
# @return [String]
|
10938
|
+
attr_accessor :dimension
|
10939
|
+
|
10940
|
+
# Percentage of conversations that we should sample based on the dimension
|
10941
|
+
# between [0, 100].
|
10942
|
+
# Corresponds to the JSON property `samplePercentage`
|
10943
|
+
# @return [Float]
|
10944
|
+
attr_accessor :sample_percentage
|
10945
|
+
|
10946
|
+
# Number of the conversations that we should sample based on the dimension.
|
10947
|
+
# Corresponds to the JSON property `sampleRow`
|
10948
|
+
# @return [Fixnum]
|
10949
|
+
attr_accessor :sample_row
|
10950
|
+
|
10951
|
+
def initialize(**args)
|
10952
|
+
update!(**args)
|
10953
|
+
end
|
10954
|
+
|
10955
|
+
# Update properties of this object
|
10956
|
+
def update!(**args)
|
10957
|
+
@conversation_filter = args[:conversation_filter] if args.key?(:conversation_filter)
|
10958
|
+
@dimension = args[:dimension] if args.key?(:dimension)
|
10959
|
+
@sample_percentage = args[:sample_percentage] if args.key?(:sample_percentage)
|
10960
|
+
@sample_row = args[:sample_row] if args.key?(:sample_row)
|
10961
|
+
end
|
10962
|
+
end
|
10963
|
+
|
9938
10964
|
# The data for a sentiment annotation.
|
9939
10965
|
class GoogleCloudContactcenterinsightsV1alpha1SentimentData
|
9940
10966
|
include Google::Apis::Core::Hashable
|