google-apis-contactcenterinsights_v1 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,193 +22,6 @@ module Google
22
22
  module Apis
23
23
  module ContactcenterinsightsV1
24
24
 
25
- # Agent Coaching instructions that customer can configure.
26
- class GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
27
- include Google::Apis::Core::Hashable
28
-
29
- # Optional. The action that human agent should take. For example, "apologize for
30
- # the slow shipping". If the users only want to use agent coaching for intent
31
- # detection, agent_action can be empty
32
- # Corresponds to the JSON property `agentAction`
33
- # @return [String]
34
- attr_accessor :agent_action
35
-
36
- # Optional. The condition of the instruction. For example, "the customer wants
37
- # to cancel an order". If the users want the instruction to be triggered
38
- # unconditionally, the condition can be empty.
39
- # Corresponds to the JSON property `condition`
40
- # @return [String]
41
- attr_accessor :condition
42
-
43
- # Optional. The detailed description of this instruction.
44
- # Corresponds to the JSON property `description`
45
- # @return [String]
46
- attr_accessor :description
47
-
48
- # Optional. Display name for the instruction.
49
- # Corresponds to the JSON property `displayName`
50
- # @return [String]
51
- attr_accessor :display_name
52
-
53
- # Optional. Additional information attached to this instruction.
54
- # Corresponds to the JSON property `metadata`
55
- # @return [Hash<String,String>]
56
- attr_accessor :metadata
57
-
58
- # Optional. The action that system should take. For example, "call GetOrderTime
59
- # with order_number=`order number provided by the customer`". If the users don't
60
- # have plugins or don't want to trigger plugins, the system_action can be empty
61
- # Corresponds to the JSON property `systemAction`
62
- # @return [String]
63
- attr_accessor :system_action
64
-
65
- def initialize(**args)
66
- update!(**args)
67
- end
68
-
69
- # Update properties of this object
70
- def update!(**args)
71
- @agent_action = args[:agent_action] if args.key?(:agent_action)
72
- @condition = args[:condition] if args.key?(:condition)
73
- @description = args[:description] if args.key?(:description)
74
- @display_name = args[:display_name] if args.key?(:display_name)
75
- @metadata = args[:metadata] if args.key?(:metadata)
76
- @system_action = args[:system_action] if args.key?(:system_action)
77
- end
78
- end
79
-
80
- # Suggestion for coaching agents.
81
- class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion
82
- include Google::Apis::Core::Hashable
83
-
84
- # Optional. Suggested actions for the agent to take.
85
- # Corresponds to the JSON property `agentActionSuggestions`
86
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion>]
87
- attr_accessor :agent_action_suggestions
88
-
89
- # Optional. Instructions applicable based on the current context.
90
- # Corresponds to the JSON property `applicableInstructions`
91
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingInstruction>]
92
- attr_accessor :applicable_instructions
93
-
94
- # Optional. Sample response for the Agent.
95
- # Corresponds to the JSON property `sampleResponses`
96
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse>]
97
- attr_accessor :sample_responses
98
-
99
- # Self evaluations of the suggestion.
100
- # Corresponds to the JSON property `suggestionEval`
101
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval]
102
- attr_accessor :suggestion_eval
103
-
104
- # Reasoning for the suggestion.
105
- # Corresponds to the JSON property `suggestionReasoning`
106
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning]
107
- attr_accessor :suggestion_reasoning
108
-
109
- def initialize(**args)
110
- update!(**args)
111
- end
112
-
113
- # Update properties of this object
114
- def update!(**args)
115
- @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
116
- @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
117
- @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
118
- @suggestion_eval = args[:suggestion_eval] if args.key?(:suggestion_eval)
119
- @suggestion_reasoning = args[:suggestion_reasoning] if args.key?(:suggestion_reasoning)
120
- end
121
- end
122
-
123
- # Actions suggested for the agent. This is based on applicable instructions.
124
- class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion
125
- include Google::Apis::Core::Hashable
126
-
127
- # Optional. The suggested action for the agent.
128
- # Corresponds to the JSON property `agentAction`
129
- # @return [String]
130
- attr_accessor :agent_action
131
-
132
- def initialize(**args)
133
- update!(**args)
134
- end
135
-
136
- # Update properties of this object
137
- def update!(**args)
138
- @agent_action = args[:agent_action] if args.key?(:agent_action)
139
- end
140
- end
141
-
142
- # Self evaluations of the suggestion.
143
- class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval
144
- include Google::Apis::Core::Hashable
145
-
146
- # Optional. Eval for Agent action suggestion.
147
- # Corresponds to the JSON property `actionActionSuggestionEval`
148
- # @return [String]
149
- attr_accessor :action_action_suggestion_eval
150
-
151
- # Optional. Eval for sample response.
152
- # Corresponds to the JSON property `sampleResponseEval`
153
- # @return [String]
154
- attr_accessor :sample_response_eval
155
-
156
- def initialize(**args)
157
- update!(**args)
158
- end
159
-
160
- # Update properties of this object
161
- def update!(**args)
162
- @action_action_suggestion_eval = args[:action_action_suggestion_eval] if args.key?(:action_action_suggestion_eval)
163
- @sample_response_eval = args[:sample_response_eval] if args.key?(:sample_response_eval)
164
- end
165
- end
166
-
167
- # Reasoning for the suggestion.
168
- class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
169
- include Google::Apis::Core::Hashable
170
-
171
- # Optional. The actions that the agent has taken already.
172
- # Corresponds to the JSON property `agentActionTaken`
173
- # @return [String]
174
- attr_accessor :agent_action_taken
175
-
176
- # Optional. Summary of the issue.
177
- # Corresponds to the JSON property `issueSummary`
178
- # @return [String]
179
- attr_accessor :issue_summary
180
-
181
- def initialize(**args)
182
- update!(**args)
183
- end
184
-
185
- # Update properties of this object
186
- def update!(**args)
187
- @agent_action_taken = args[:agent_action_taken] if args.key?(:agent_action_taken)
188
- @issue_summary = args[:issue_summary] if args.key?(:issue_summary)
189
- end
190
- end
191
-
192
- # Sample response that the agent can use. This could be based on applicable
193
- # instructions and ingested data from other systems.
194
- class GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse
195
- include Google::Apis::Core::Hashable
196
-
197
- # Optional. Sample response for Agent in text.
198
- # Corresponds to the JSON property `responseText`
199
- # @return [String]
200
- attr_accessor :response_text
201
-
202
- def initialize(**args)
203
- update!(**args)
204
- end
205
-
206
- # Update properties of this object
207
- def update!(**args)
208
- @response_text = args[:response_text] if args.key?(:response_text)
209
- end
210
- end
211
-
212
25
  # The analysis resource.
213
26
  class GoogleCloudContactcenterinsightsV1Analysis
214
27
  include Google::Apis::Core::Hashable
@@ -2133,7 +1946,7 @@ module Google
2133
1946
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination]
2134
1947
  attr_accessor :gcs_destination
2135
1948
 
2136
- # Required. The issue model to export
1949
+ # Required. The issue model to export.
2137
1950
  # Corresponds to the JSON property `name`
2138
1951
  # @return [String]
2139
1952
  attr_accessor :name
@@ -2235,31 +2048,6 @@ module Google
2235
2048
  end
2236
2049
  end
2237
2050
 
2238
- # Suggestion generated using free form generator.
2239
- class GoogleCloudContactcenterinsightsV1FreeFormSuggestion
2240
- include Google::Apis::Core::Hashable
2241
-
2242
- # Optional. Labels for the generator.
2243
- # Corresponds to the JSON property `labels`
2244
- # @return [Array<String>]
2245
- attr_accessor :labels
2246
-
2247
- # Required. Free form suggestion.
2248
- # Corresponds to the JSON property `response`
2249
- # @return [String]
2250
- attr_accessor :response
2251
-
2252
- def initialize(**args)
2253
- update!(**args)
2254
- end
2255
-
2256
- # Update properties of this object
2257
- def update!(**args)
2258
- @labels = args[:labels] if args.key?(:labels)
2259
- @response = args[:response] if args.key?(:response)
2260
- end
2261
- end
2262
-
2263
2051
  # A Cloud Storage source of conversation data.
2264
2052
  class GoogleCloudContactcenterinsightsV1GcsSource
2265
2053
  include Google::Apis::Core::Hashable
@@ -2286,263 +2074,6 @@ module Google
2286
2074
  end
2287
2075
  end
2288
2076
 
2289
- # Suggestion generated using a Generator.
2290
- class GoogleCloudContactcenterinsightsV1GeneratorSuggestion
2291
- include Google::Apis::Core::Hashable
2292
-
2293
- # Suggestion for coaching agents.
2294
- # Corresponds to the JSON property `agentCoachingSuggestion`
2295
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion]
2296
- attr_accessor :agent_coaching_suggestion
2297
-
2298
- # Suggestion generated using free form generator.
2299
- # Corresponds to the JSON property `freeFormSuggestion`
2300
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FreeFormSuggestion]
2301
- attr_accessor :free_form_suggestion
2302
-
2303
- # Suggested summary of the conversation.
2304
- # Corresponds to the JSON property `summarySuggestion`
2305
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SummarySuggestion]
2306
- attr_accessor :summary_suggestion
2307
-
2308
- def initialize(**args)
2309
- update!(**args)
2310
- end
2311
-
2312
- # Update properties of this object
2313
- def update!(**args)
2314
- @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
2315
- @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
2316
- @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
2317
- end
2318
- end
2319
-
2320
- # Represents response from generators.
2321
- class GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse
2322
- include Google::Apis::Core::Hashable
2323
-
2324
- # Suggestion generated using a Generator.
2325
- # Corresponds to the JSON property `generatorSuggestion`
2326
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GeneratorSuggestion]
2327
- attr_accessor :generator_suggestion
2328
-
2329
- def initialize(**args)
2330
- update!(**args)
2331
- end
2332
-
2333
- # Update properties of this object
2334
- def update!(**args)
2335
- @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
2336
- end
2337
- end
2338
-
2339
- # Response for Knowledge Assist. Contains suggested query and optionally
2340
- # includes an answer for the query.
2341
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse
2342
- include Google::Apis::Core::Hashable
2343
-
2344
- # Represents a suggested query.
2345
- # Corresponds to the JSON property `suggestedQuery`
2346
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery]
2347
- attr_accessor :suggested_query
2348
-
2349
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
2350
- # answers.
2351
- # Corresponds to the JSON property `suggestedQueryAnswer`
2352
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer]
2353
- attr_accessor :suggested_query_answer
2354
-
2355
- def initialize(**args)
2356
- update!(**args)
2357
- end
2358
-
2359
- # Update properties of this object
2360
- def update!(**args)
2361
- @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
2362
- @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
2363
- end
2364
- end
2365
-
2366
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
2367
- # answers.
2368
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer
2369
- include Google::Apis::Core::Hashable
2370
-
2371
- # The piece of text from the `source` that answers this suggested query.
2372
- # Corresponds to the JSON property `answerText`
2373
- # @return [String]
2374
- attr_accessor :answer_text
2375
-
2376
- # Details about source of FAQ answer.
2377
- # Corresponds to the JSON property `faqSource`
2378
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource]
2379
- attr_accessor :faq_source
2380
-
2381
- # Details about source of Generative answer.
2382
- # Corresponds to the JSON property `generativeSource`
2383
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource]
2384
- attr_accessor :generative_source
2385
-
2386
- # Details about source of Intent Matching answer.
2387
- # Corresponds to the JSON property `intentMatchingSource`
2388
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource]
2389
- attr_accessor :intent_matching_source
2390
-
2391
- # The system's confidence score that this answer is a good match for this
2392
- # conversational query. The range is from 0.0 (completely uncertain) to 1.0 (
2393
- # completely certain).
2394
- # Corresponds to the JSON property `matchConfidence`
2395
- # @return [Float]
2396
- attr_accessor :match_confidence
2397
-
2398
- def initialize(**args)
2399
- update!(**args)
2400
- end
2401
-
2402
- # Update properties of this object
2403
- def update!(**args)
2404
- @answer_text = args[:answer_text] if args.key?(:answer_text)
2405
- @faq_source = args[:faq_source] if args.key?(:faq_source)
2406
- @generative_source = args[:generative_source] if args.key?(:generative_source)
2407
- @intent_matching_source = args[:intent_matching_source] if args.key?(:intent_matching_source)
2408
- @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
2409
- end
2410
- end
2411
-
2412
- # Details about source of FAQ answer.
2413
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource
2414
- include Google::Apis::Core::Hashable
2415
-
2416
- # Indicates which Knowledge Document this answer was extracted from. Format: `
2417
- # projects//knowledgeBases//documents/`.
2418
- # Corresponds to the JSON property `document`
2419
- # @return [String]
2420
- attr_accessor :document
2421
-
2422
- # The corresponding FAQ question.
2423
- # Corresponds to the JSON property `question`
2424
- # @return [String]
2425
- attr_accessor :question
2426
-
2427
- def initialize(**args)
2428
- update!(**args)
2429
- end
2430
-
2431
- # Update properties of this object
2432
- def update!(**args)
2433
- @document = args[:document] if args.key?(:document)
2434
- @question = args[:question] if args.key?(:question)
2435
- end
2436
- end
2437
-
2438
- # Details about source of Generative answer.
2439
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource
2440
- include Google::Apis::Core::Hashable
2441
-
2442
- # All snippets used for this Generative Prediction, with their source URI and
2443
- # data.
2444
- # Corresponds to the JSON property `snippets`
2445
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet>]
2446
- attr_accessor :snippets
2447
-
2448
- def initialize(**args)
2449
- update!(**args)
2450
- end
2451
-
2452
- # Update properties of this object
2453
- def update!(**args)
2454
- @snippets = args[:snippets] if args.key?(:snippets)
2455
- end
2456
- end
2457
-
2458
- # Snippet Source for a Generative Prediction.
2459
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
2460
- include Google::Apis::Core::Hashable
2461
-
2462
- # Indicates which Knowledge Document this snippet was extracted from. Format: `
2463
- # projects//knowledgeBases//documents/`.
2464
- # Corresponds to the JSON property `document`
2465
- # @return [String]
2466
- attr_accessor :document
2467
-
2468
- # text taken from that URI.
2469
- # Corresponds to the JSON property `text`
2470
- # @return [String]
2471
- attr_accessor :text
2472
-
2473
- # Title of the document.
2474
- # Corresponds to the JSON property `title`
2475
- # @return [String]
2476
- attr_accessor :title
2477
-
2478
- # URI the data is sourced from.
2479
- # Corresponds to the JSON property `uri`
2480
- # @return [String]
2481
- attr_accessor :uri
2482
-
2483
- def initialize(**args)
2484
- update!(**args)
2485
- end
2486
-
2487
- # Update properties of this object
2488
- def update!(**args)
2489
- @document = args[:document] if args.key?(:document)
2490
- @text = args[:text] if args.key?(:text)
2491
- @title = args[:title] if args.key?(:title)
2492
- @uri = args[:uri] if args.key?(:uri)
2493
- end
2494
- end
2495
-
2496
- # Details about source of Intent Matching answer.
2497
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource
2498
- include Google::Apis::Core::Hashable
2499
-
2500
- # Title of the document.
2501
- # Corresponds to the JSON property `title`
2502
- # @return [String]
2503
- attr_accessor :title
2504
-
2505
- # URI the data is sourced from.
2506
- # Corresponds to the JSON property `uri`
2507
- # @return [String]
2508
- attr_accessor :uri
2509
-
2510
- def initialize(**args)
2511
- update!(**args)
2512
- end
2513
-
2514
- # Update properties of this object
2515
- def update!(**args)
2516
- @title = args[:title] if args.key?(:title)
2517
- @uri = args[:uri] if args.key?(:uri)
2518
- end
2519
- end
2520
-
2521
- # Represents a suggested query.
2522
- class GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
2523
- include Google::Apis::Core::Hashable
2524
-
2525
- # Suggested query text.
2526
- # Corresponds to the JSON property `queryText`
2527
- # @return [String]
2528
- attr_accessor :query_text
2529
-
2530
- # Suggested query score.
2531
- # Corresponds to the JSON property `score`
2532
- # @return [Float]
2533
- attr_accessor :score
2534
-
2535
- def initialize(**args)
2536
- update!(**args)
2537
- end
2538
-
2539
- # Update properties of this object
2540
- def update!(**args)
2541
- @query_text = args[:query_text] if args.key?(:query_text)
2542
- @score = args[:score] if args.key?(:score)
2543
- end
2544
- end
2545
-
2546
2077
  # The data for a hold annotation.
2547
2078
  class GoogleCloudContactcenterinsightsV1HoldData
2548
2079
  include Google::Apis::Core::Hashable
@@ -2591,7 +2122,7 @@ module Google
2591
2122
  class GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
2592
2123
  include Google::Apis::Core::Hashable
2593
2124
 
2594
- # Optional. If set to true, will create a new issue model from the imported file
2125
+ # Optional. If set to true, will create an issue model from the imported file
2595
2126
  # with randomly generated IDs for the issue model and corresponding issues.
2596
2127
  # Otherwise, replaces an existing model with the same ID as the file.
2597
2128
  # Corresponds to the JSON property `createNewModel`
@@ -2757,28 +2288,28 @@ module Google
2757
2288
  attr_accessor :parent
2758
2289
 
2759
2290
  # DLP resources used for redaction while ingesting conversations. DLP settings
2760
- # are applied to conversations ingested from the UploadConversation and
2761
- # IngestConversations endpoints, including conversation coming from CCAI
2762
- # Platform. They are not applied to conversations ingested from the
2763
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
2764
- # integrations. When using Dialogflow / Agent Assist runtime integrations
2291
+ # are applied to conversations ingested from the `UploadConversation` and `
2292
+ # IngestConversations` endpoints, including conversation coming from CCAI
2293
+ # Platform. They are not applied to conversations ingested from the `
2294
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
2295
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
2765
2296
  # redaction should be performed in Dialogflow / Agent Assist.
2766
2297
  # Corresponds to the JSON property `redactionConfig`
2767
2298
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
2768
2299
  attr_accessor :redaction_config
2769
2300
 
2770
2301
  # Optional. If set, this fields indicates the number of objects to ingest from
2771
- # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note
2772
- # that conversations produced via sampling will not be ingested by subsequent
2773
- # ingest requests unless they are first deleted.
2302
+ # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless
2303
+ # they are first deleted, conversations produced through sampling won't be
2304
+ # ingested by subsequent ingest requests.
2774
2305
  # Corresponds to the JSON property `sampleSize`
2775
2306
  # @return [Fixnum]
2776
2307
  attr_accessor :sample_size
2777
2308
 
2778
2309
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
2779
- # conversations ingested from the UploadConversation and IngestConversations
2310
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
2780
2311
  # endpoints, including conversation coming from CCAI Platform. They are not
2781
- # applied to conversations ingested from the CreateConversation endpoint.
2312
+ # applied to conversations ingested from the `CreateConversation` endpoint.
2782
2313
  # Corresponds to the JSON property `speechConfig`
2783
2314
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
2784
2315
  attr_accessor :speech_config
@@ -2816,7 +2347,7 @@ module Google
2816
2347
 
2817
2348
  # Optional. An opaque, user-specified string representing a human agent who
2818
2349
  # handled all conversations in the import. Note that this will be overridden if
2819
- # per-conversation metadata is provided via the `metadata_bucket_uri`.
2350
+ # per-conversation metadata is provided through the `metadata_bucket_uri`.
2820
2351
  # Corresponds to the JSON property `agentId`
2821
2352
  # @return [String]
2822
2353
  attr_accessor :agent_id
@@ -2860,10 +2391,12 @@ module Google
2860
2391
  # @return [Array<String>]
2861
2392
  attr_accessor :custom_metadata_keys
2862
2393
 
2863
- # Optional. The Cloud Storage path to the source object metadata. Note that: [1]
2864
- # metadata files are expected to be in JSON format [2] metadata and source
2865
- # objects must be in separate buckets [3] a source object's metadata object must
2866
- # share the same name to be properly ingested
2394
+ # Optional. The Cloud Storage path to the conversation metadata. Note that: [1]
2395
+ # Metadata files are expected to be in JSON format. [2] Metadata and source
2396
+ # files (transcripts or audio) must be in separate buckets. [3] A source file
2397
+ # and its corresponding metadata file must share the same name to be properly
2398
+ # ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/
2399
+ # conversation1.json`.
2867
2400
  # Corresponds to the JSON property `metadataBucketUri`
2868
2401
  # @return [String]
2869
2402
  attr_accessor :metadata_bucket_uri
@@ -3604,11 +3137,11 @@ module Google
3604
3137
  end
3605
3138
 
3606
3139
  # DLP resources used for redaction while ingesting conversations. DLP settings
3607
- # are applied to conversations ingested from the UploadConversation and
3608
- # IngestConversations endpoints, including conversation coming from CCAI
3609
- # Platform. They are not applied to conversations ingested from the
3610
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3611
- # integrations. When using Dialogflow / Agent Assist runtime integrations
3140
+ # are applied to conversations ingested from the `UploadConversation` and `
3141
+ # IngestConversations` endpoints, including conversation coming from CCAI
3142
+ # Platform. They are not applied to conversations ingested from the `
3143
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
3144
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
3612
3145
  # redaction should be performed in Dialogflow / Agent Assist.
3613
3146
  class GoogleCloudContactcenterinsightsV1RedactionConfig
3614
3147
  include Google::Apis::Core::Hashable
@@ -3682,22 +3215,6 @@ module Google
3682
3215
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FaqAnswerData]
3683
3216
  attr_accessor :faq_answer
3684
3217
 
3685
- # Represents response from generators.
3686
- # Corresponds to the JSON property `generatorSuggestionResult`
3687
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse]
3688
- attr_accessor :generator_suggestion_result
3689
-
3690
- # Response for Knowledge Assist. Contains suggested query and optionally
3691
- # includes an answer for the query.
3692
- # Corresponds to the JSON property `knowledgeAssistResult`
3693
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse]
3694
- attr_accessor :knowledge_assist_result
3695
-
3696
- # Represents a SearchKnowledge answer.
3697
- # Corresponds to the JSON property `knowledgeSearchResult`
3698
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer]
3699
- attr_accessor :knowledge_search_result
3700
-
3701
3218
  # Agent Assist Smart Compose suggestion data.
3702
3219
  # Corresponds to the JSON property `smartComposeSuggestion`
3703
3220
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData]
@@ -3713,6 +3230,11 @@ module Google
3713
3230
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]
3714
3231
  attr_accessor :start_boundary
3715
3232
 
3233
+ # Explicit input used for generating the answer
3234
+ # Corresponds to the JSON property `userInput`
3235
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput]
3236
+ attr_accessor :user_input
3237
+
3716
3238
  def initialize(**args)
3717
3239
  update!(**args)
3718
3240
  end
@@ -3727,83 +3249,28 @@ module Google
3727
3249
  @dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
3728
3250
  @end_boundary = args[:end_boundary] if args.key?(:end_boundary)
3729
3251
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
3730
- @generator_suggestion_result = args[:generator_suggestion_result] if args.key?(:generator_suggestion_result)
3731
- @knowledge_assist_result = args[:knowledge_assist_result] if args.key?(:knowledge_assist_result)
3732
- @knowledge_search_result = args[:knowledge_search_result] if args.key?(:knowledge_search_result)
3733
3252
  @smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
3734
3253
  @smart_reply = args[:smart_reply] if args.key?(:smart_reply)
3735
3254
  @start_boundary = args[:start_boundary] if args.key?(:start_boundary)
3255
+ @user_input = args[:user_input] if args.key?(:user_input)
3736
3256
  end
3737
3257
  end
3738
3258
 
3739
- # Represents a SearchKnowledge answer.
3740
- class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer
3259
+ # Explicit input used for generating the answer
3260
+ class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
3741
3261
  include Google::Apis::Core::Hashable
3742
3262
 
3743
- # The piece of text from the knowledge base documents that answers the search
3744
- # query
3745
- # Corresponds to the JSON property `answer`
3263
+ # The resource name of associated generator. Format: `projects//locations//
3264
+ # generators/`
3265
+ # Corresponds to the JSON property `generatorName`
3746
3266
  # @return [String]
3747
- attr_accessor :answer
3267
+ attr_accessor :generator_name
3748
3268
 
3749
- # The name of the answer record. Format: `projects//locations//answer Records/`
3750
- # Corresponds to the JSON property `answerRecord`
3751
- # @return [String]
3752
- attr_accessor :answer_record
3753
-
3754
- # All sources used to generate the answer.
3755
- # Corresponds to the JSON property `answerSources`
3756
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource>]
3757
- attr_accessor :answer_sources
3758
-
3759
- # The type of the answer.
3760
- # Corresponds to the JSON property `answerType`
3761
- # @return [String]
3762
- attr_accessor :answer_type
3763
-
3764
- # The confidence score in [0.0, 1.0] range.
3765
- # Corresponds to the JSON property `confidenceScore`
3766
- # @return [Float]
3767
- attr_accessor :confidence_score
3768
-
3769
- def initialize(**args)
3770
- update!(**args)
3771
- end
3772
-
3773
- # Update properties of this object
3774
- def update!(**args)
3775
- @answer = args[:answer] if args.key?(:answer)
3776
- @answer_record = args[:answer_record] if args.key?(:answer_record)
3777
- @answer_sources = args[:answer_sources] if args.key?(:answer_sources)
3778
- @answer_type = args[:answer_type] if args.key?(:answer_type)
3779
- @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
3780
- end
3781
- end
3782
-
3783
- # The sources of the answers.
3784
- class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
3785
- include Google::Apis::Core::Hashable
3786
-
3787
- # The document from which the snippet was extracted. Format: `projects//
3788
- # knowledgeBases//documents/`
3789
- # Corresponds to the JSON property `document`
3790
- # @return [String]
3791
- attr_accessor :document
3792
-
3793
- # The relevant snippet of the article.
3794
- # Corresponds to the JSON property `snippet`
3795
- # @return [String]
3796
- attr_accessor :snippet
3797
-
3798
- # The title of the article.
3799
- # Corresponds to the JSON property `title`
3800
- # @return [String]
3801
- attr_accessor :title
3802
-
3803
- # The URI of the article.
3804
- # Corresponds to the JSON property `uri`
3269
+ # Query text. Article Search uses this to store the input query used to generate
3270
+ # the search results.
3271
+ # Corresponds to the JSON property `query`
3805
3272
  # @return [String]
3806
- attr_accessor :uri
3273
+ attr_accessor :query
3807
3274
 
3808
3275
  def initialize(**args)
3809
3276
  update!(**args)
@@ -3811,10 +3278,8 @@ module Google
3811
3278
 
3812
3279
  # Update properties of this object
3813
3280
  def update!(**args)
3814
- @document = args[:document] if args.key?(:document)
3815
- @snippet = args[:snippet] if args.key?(:snippet)
3816
- @title = args[:title] if args.key?(:title)
3817
- @uri = args[:uri] if args.key?(:uri)
3281
+ @generator_name = args[:generator_name] if args.key?(:generator_name)
3282
+ @query = args[:query] if args.key?(:query)
3818
3283
  end
3819
3284
  end
3820
3285
 
@@ -3844,7 +3309,12 @@ module Google
3844
3309
  end
3845
3310
  end
3846
3311
 
3847
- # The settings resource.
3312
+ # The CCAI Insights project wide settings. Use these settings to configure the
3313
+ # behavior of Insights. View these settings with [`getsettings`](https://cloud.
3314
+ # google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/
3315
+ # getSettings) and change the settings with [`updateSettings`](https://cloud.
3316
+ # google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/
3317
+ # updateSettings).
3848
3318
  class GoogleCloudContactcenterinsightsV1Settings
3849
3319
  include Google::Apis::Core::Hashable
3850
3320
 
@@ -3886,29 +3356,29 @@ module Google
3886
3356
  # each time an analysis is created. * "create-conversation": Notify each time a
3887
3357
  # conversation is created. * "export-insights-data": Notify each time an export
3888
3358
  # is complete. * "ingest-conversations": Notify each time an IngestConversations
3889
- # LRO completes. * "update-conversation": Notify each time a conversation is
3359
+ # LRO is complete. * "update-conversation": Notify each time a conversation is
3890
3360
  # updated via UpdateConversation. * "upload-conversation": Notify when an
3891
- # UploadConversation LRO completes. Values are Pub/Sub topics. The format of
3361
+ # UploadConversation LRO is complete. Values are Pub/Sub topics. The format of
3892
3362
  # each Pub/Sub topic is: projects/`project`/topics/`topic`
3893
3363
  # Corresponds to the JSON property `pubsubNotificationSettings`
3894
3364
  # @return [Hash<String,String>]
3895
3365
  attr_accessor :pubsub_notification_settings
3896
3366
 
3897
3367
  # DLP resources used for redaction while ingesting conversations. DLP settings
3898
- # are applied to conversations ingested from the UploadConversation and
3899
- # IngestConversations endpoints, including conversation coming from CCAI
3900
- # Platform. They are not applied to conversations ingested from the
3901
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3902
- # integrations. When using Dialogflow / Agent Assist runtime integrations
3368
+ # are applied to conversations ingested from the `UploadConversation` and `
3369
+ # IngestConversations` endpoints, including conversation coming from CCAI
3370
+ # Platform. They are not applied to conversations ingested from the `
3371
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
3372
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
3903
3373
  # redaction should be performed in Dialogflow / Agent Assist.
3904
3374
  # Corresponds to the JSON property `redactionConfig`
3905
3375
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
3906
3376
  attr_accessor :redaction_config
3907
3377
 
3908
3378
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
3909
- # conversations ingested from the UploadConversation and IngestConversations
3379
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
3910
3380
  # endpoints, including conversation coming from CCAI Platform. They are not
3911
- # applied to conversations ingested from the CreateConversation endpoint.
3381
+ # applied to conversations ingested from the `CreateConversation` endpoint.
3912
3382
  # Corresponds to the JSON property `speechConfig`
3913
3383
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
3914
3384
  attr_accessor :speech_config
@@ -4065,9 +3535,9 @@ module Google
4065
3535
  end
4066
3536
 
4067
3537
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
4068
- # conversations ingested from the UploadConversation and IngestConversations
3538
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
4069
3539
  # endpoints, including conversation coming from CCAI Platform. They are not
4070
- # applied to conversations ingested from the CreateConversation endpoint.
3540
+ # applied to conversations ingested from the `CreateConversation` endpoint.
4071
3541
  class GoogleCloudContactcenterinsightsV1SpeechConfig
4072
3542
  include Google::Apis::Core::Hashable
4073
3543
 
@@ -4087,50 +3557,6 @@ module Google
4087
3557
  end
4088
3558
  end
4089
3559
 
4090
- # Suggested summary of the conversation.
4091
- class GoogleCloudContactcenterinsightsV1SummarySuggestion
4092
- include Google::Apis::Core::Hashable
4093
-
4094
- # Required. All the parts of generated summary.
4095
- # Corresponds to the JSON property `summarySections`
4096
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection>]
4097
- attr_accessor :summary_sections
4098
-
4099
- def initialize(**args)
4100
- update!(**args)
4101
- end
4102
-
4103
- # Update properties of this object
4104
- def update!(**args)
4105
- @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
4106
- end
4107
- end
4108
-
4109
- # A component of the generated summary.
4110
- class GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection
4111
- include Google::Apis::Core::Hashable
4112
-
4113
- # Required. Name of the section.
4114
- # Corresponds to the JSON property `section`
4115
- # @return [String]
4116
- attr_accessor :section
4117
-
4118
- # Required. Summary text for the section.
4119
- # Corresponds to the JSON property `summary`
4120
- # @return [String]
4121
- attr_accessor :summary
4122
-
4123
- def initialize(**args)
4124
- update!(**args)
4125
- end
4126
-
4127
- # Update properties of this object
4128
- def update!(**args)
4129
- @section = args[:section] if args.key?(:section)
4130
- @summary = args[:summary] if args.key?(:summary)
4131
- end
4132
- end
4133
-
4134
3560
  # Metadata for undeploying an issue model.
4135
3561
  class GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata
4136
3562
  include Google::Apis::Core::Hashable
@@ -4194,7 +3620,7 @@ module Google
4194
3620
  end
4195
3621
  end
4196
3622
 
4197
- # The metadata for an UploadConversation operation.
3623
+ # The metadata for an `UploadConversation` operation.
4198
3624
  class GoogleCloudContactcenterinsightsV1UploadConversationMetadata
4199
3625
  include Google::Apis::Core::Hashable
4200
3626
 
@@ -4205,11 +3631,11 @@ module Google
4205
3631
  attr_accessor :analysis_operation
4206
3632
 
4207
3633
  # DLP resources used for redaction while ingesting conversations. DLP settings
4208
- # are applied to conversations ingested from the UploadConversation and
4209
- # IngestConversations endpoints, including conversation coming from CCAI
4210
- # Platform. They are not applied to conversations ingested from the
4211
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
4212
- # integrations. When using Dialogflow / Agent Assist runtime integrations
3634
+ # are applied to conversations ingested from the `UploadConversation` and `
3635
+ # IngestConversations` endpoints, including conversation coming from CCAI
3636
+ # Platform. They are not applied to conversations ingested from the `
3637
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
3638
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
4213
3639
  # redaction should be performed in Dialogflow / Agent Assist.
4214
3640
  # Corresponds to the JSON property `appliedRedactionConfig`
4215
3641
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
@@ -4267,20 +3693,20 @@ module Google
4267
3693
  attr_accessor :parent
4268
3694
 
4269
3695
  # DLP resources used for redaction while ingesting conversations. DLP settings
4270
- # are applied to conversations ingested from the UploadConversation and
4271
- # IngestConversations endpoints, including conversation coming from CCAI
4272
- # Platform. They are not applied to conversations ingested from the
4273
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
4274
- # integrations. When using Dialogflow / Agent Assist runtime integrations
3696
+ # are applied to conversations ingested from the `UploadConversation` and `
3697
+ # IngestConversations` endpoints, including conversation coming from CCAI
3698
+ # Platform. They are not applied to conversations ingested from the `
3699
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
3700
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
4275
3701
  # redaction should be performed in Dialogflow / Agent Assist.
4276
3702
  # Corresponds to the JSON property `redactionConfig`
4277
3703
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
4278
3704
  attr_accessor :redaction_config
4279
3705
 
4280
3706
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
4281
- # conversations ingested from the UploadConversation and IngestConversations
3707
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
4282
3708
  # endpoints, including conversation coming from CCAI Platform. They are not
4283
- # applied to conversations ingested from the CreateConversation endpoint.
3709
+ # applied to conversations ingested from the `CreateConversation` endpoint.
4284
3710
  # Corresponds to the JSON property `speechConfig`
4285
3711
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
4286
3712
  attr_accessor :speech_config
@@ -4335,198 +3761,11 @@ module Google
4335
3761
 
4336
3762
  # Update properties of this object
4337
3763
  def update!(**args)
4338
- @create_time = args[:create_time] if args.key?(:create_time)
4339
- @display_name = args[:display_name] if args.key?(:display_name)
4340
- @name = args[:name] if args.key?(:name)
4341
- @update_time = args[:update_time] if args.key?(:update_time)
4342
- @value = args[:value] if args.key?(:value)
4343
- end
4344
- end
4345
-
4346
- # Agent Coaching instructions that customer can configure.
4347
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
4348
- include Google::Apis::Core::Hashable
4349
-
4350
- # Optional. The action that human agent should take. For example, "apologize for
4351
- # the slow shipping". If the users only want to use agent coaching for intent
4352
- # detection, agent_action can be empty
4353
- # Corresponds to the JSON property `agentAction`
4354
- # @return [String]
4355
- attr_accessor :agent_action
4356
-
4357
- # Optional. The condition of the instruction. For example, "the customer wants
4358
- # to cancel an order". If the users want the instruction to be triggered
4359
- # unconditionally, the condition can be empty.
4360
- # Corresponds to the JSON property `condition`
4361
- # @return [String]
4362
- attr_accessor :condition
4363
-
4364
- # Optional. The detailed description of this instruction.
4365
- # Corresponds to the JSON property `description`
4366
- # @return [String]
4367
- attr_accessor :description
4368
-
4369
- # Optional. Display name for the instruction.
4370
- # Corresponds to the JSON property `displayName`
4371
- # @return [String]
4372
- attr_accessor :display_name
4373
-
4374
- # Optional. Additional information attached to this instruction.
4375
- # Corresponds to the JSON property `metadata`
4376
- # @return [Hash<String,String>]
4377
- attr_accessor :metadata
4378
-
4379
- # Optional. The action that system should take. For example, "call GetOrderTime
4380
- # with order_number=`order number provided by the customer`". If the users don't
4381
- # have plugins or don't want to trigger plugins, the system_action can be empty
4382
- # Corresponds to the JSON property `systemAction`
4383
- # @return [String]
4384
- attr_accessor :system_action
4385
-
4386
- def initialize(**args)
4387
- update!(**args)
4388
- end
4389
-
4390
- # Update properties of this object
4391
- def update!(**args)
4392
- @agent_action = args[:agent_action] if args.key?(:agent_action)
4393
- @condition = args[:condition] if args.key?(:condition)
4394
- @description = args[:description] if args.key?(:description)
4395
- @display_name = args[:display_name] if args.key?(:display_name)
4396
- @metadata = args[:metadata] if args.key?(:metadata)
4397
- @system_action = args[:system_action] if args.key?(:system_action)
4398
- end
4399
- end
4400
-
4401
- # Suggestion for coaching agents.
4402
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion
4403
- include Google::Apis::Core::Hashable
4404
-
4405
- # Optional. Suggested actions for the agent to take.
4406
- # Corresponds to the JSON property `agentActionSuggestions`
4407
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion>]
4408
- attr_accessor :agent_action_suggestions
4409
-
4410
- # Optional. Instructions applicable based on the current context.
4411
- # Corresponds to the JSON property `applicableInstructions`
4412
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction>]
4413
- attr_accessor :applicable_instructions
4414
-
4415
- # Optional. Sample response for the Agent.
4416
- # Corresponds to the JSON property `sampleResponses`
4417
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse>]
4418
- attr_accessor :sample_responses
4419
-
4420
- # Self evaluations of the suggestion.
4421
- # Corresponds to the JSON property `suggestionEval`
4422
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval]
4423
- attr_accessor :suggestion_eval
4424
-
4425
- # Reasoning for the suggestion.
4426
- # Corresponds to the JSON property `suggestionReasoning`
4427
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning]
4428
- attr_accessor :suggestion_reasoning
4429
-
4430
- def initialize(**args)
4431
- update!(**args)
4432
- end
4433
-
4434
- # Update properties of this object
4435
- def update!(**args)
4436
- @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
4437
- @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
4438
- @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
4439
- @suggestion_eval = args[:suggestion_eval] if args.key?(:suggestion_eval)
4440
- @suggestion_reasoning = args[:suggestion_reasoning] if args.key?(:suggestion_reasoning)
4441
- end
4442
- end
4443
-
4444
- # Actions suggested for the agent. This is based on applicable instructions.
4445
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion
4446
- include Google::Apis::Core::Hashable
4447
-
4448
- # Optional. The suggested action for the agent.
4449
- # Corresponds to the JSON property `agentAction`
4450
- # @return [String]
4451
- attr_accessor :agent_action
4452
-
4453
- def initialize(**args)
4454
- update!(**args)
4455
- end
4456
-
4457
- # Update properties of this object
4458
- def update!(**args)
4459
- @agent_action = args[:agent_action] if args.key?(:agent_action)
4460
- end
4461
- end
4462
-
4463
- # Self evaluations of the suggestion.
4464
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval
4465
- include Google::Apis::Core::Hashable
4466
-
4467
- # Optional. Eval for Agent action suggestion.
4468
- # Corresponds to the JSON property `actionActionSuggestionEval`
4469
- # @return [String]
4470
- attr_accessor :action_action_suggestion_eval
4471
-
4472
- # Optional. Eval for sample response.
4473
- # Corresponds to the JSON property `sampleResponseEval`
4474
- # @return [String]
4475
- attr_accessor :sample_response_eval
4476
-
4477
- def initialize(**args)
4478
- update!(**args)
4479
- end
4480
-
4481
- # Update properties of this object
4482
- def update!(**args)
4483
- @action_action_suggestion_eval = args[:action_action_suggestion_eval] if args.key?(:action_action_suggestion_eval)
4484
- @sample_response_eval = args[:sample_response_eval] if args.key?(:sample_response_eval)
4485
- end
4486
- end
4487
-
4488
- # Reasoning for the suggestion.
4489
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
4490
- include Google::Apis::Core::Hashable
4491
-
4492
- # Optional. The actions that the agent has taken already.
4493
- # Corresponds to the JSON property `agentActionTaken`
4494
- # @return [String]
4495
- attr_accessor :agent_action_taken
4496
-
4497
- # Optional. Summary of the issue.
4498
- # Corresponds to the JSON property `issueSummary`
4499
- # @return [String]
4500
- attr_accessor :issue_summary
4501
-
4502
- def initialize(**args)
4503
- update!(**args)
4504
- end
4505
-
4506
- # Update properties of this object
4507
- def update!(**args)
4508
- @agent_action_taken = args[:agent_action_taken] if args.key?(:agent_action_taken)
4509
- @issue_summary = args[:issue_summary] if args.key?(:issue_summary)
4510
- end
4511
- end
4512
-
4513
- # Sample response that the agent can use. This could be based on applicable
4514
- # instructions and ingested data from other systems.
4515
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse
4516
- include Google::Apis::Core::Hashable
4517
-
4518
- # Optional. Sample response for Agent in text.
4519
- # Corresponds to the JSON property `responseText`
4520
- # @return [String]
4521
- attr_accessor :response_text
4522
-
4523
- def initialize(**args)
4524
- update!(**args)
4525
- end
4526
-
4527
- # Update properties of this object
4528
- def update!(**args)
4529
- @response_text = args[:response_text] if args.key?(:response_text)
3764
+ @create_time = args[:create_time] if args.key?(:create_time)
3765
+ @display_name = args[:display_name] if args.key?(:display_name)
3766
+ @name = args[:name] if args.key?(:name)
3767
+ @update_time = args[:update_time] if args.key?(:update_time)
3768
+ @value = args[:value] if args.key?(:value)
4530
3769
  end
4531
3770
  end
4532
3771
 
@@ -6296,7 +5535,7 @@ module Google
6296
5535
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination]
6297
5536
  attr_accessor :gcs_destination
6298
5537
 
6299
- # Required. The issue model to export
5538
+ # Required. The issue model to export.
6300
5539
  # Corresponds to the JSON property `name`
6301
5540
  # @return [String]
6302
5541
  attr_accessor :name
@@ -6398,31 +5637,6 @@ module Google
6398
5637
  end
6399
5638
  end
6400
5639
 
6401
- # Suggestion generated using free form generator.
6402
- class GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
6403
- include Google::Apis::Core::Hashable
6404
-
6405
- # Optional. Labels for the generator.
6406
- # Corresponds to the JSON property `labels`
6407
- # @return [Array<String>]
6408
- attr_accessor :labels
6409
-
6410
- # Required. Free form suggestion.
6411
- # Corresponds to the JSON property `response`
6412
- # @return [String]
6413
- attr_accessor :response
6414
-
6415
- def initialize(**args)
6416
- update!(**args)
6417
- end
6418
-
6419
- # Update properties of this object
6420
- def update!(**args)
6421
- @labels = args[:labels] if args.key?(:labels)
6422
- @response = args[:response] if args.key?(:response)
6423
- end
6424
- end
6425
-
6426
5640
  # A Cloud Storage source of conversation data.
6427
5641
  class GoogleCloudContactcenterinsightsV1alpha1GcsSource
6428
5642
  include Google::Apis::Core::Hashable
@@ -6449,263 +5663,6 @@ module Google
6449
5663
  end
6450
5664
  end
6451
5665
 
6452
- # Suggestion generated using a Generator.
6453
- class GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion
6454
- include Google::Apis::Core::Hashable
6455
-
6456
- # Suggestion for coaching agents.
6457
- # Corresponds to the JSON property `agentCoachingSuggestion`
6458
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion]
6459
- attr_accessor :agent_coaching_suggestion
6460
-
6461
- # Suggestion generated using free form generator.
6462
- # Corresponds to the JSON property `freeFormSuggestion`
6463
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion]
6464
- attr_accessor :free_form_suggestion
6465
-
6466
- # Suggested summary of the conversation.
6467
- # Corresponds to the JSON property `summarySuggestion`
6468
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion]
6469
- attr_accessor :summary_suggestion
6470
-
6471
- def initialize(**args)
6472
- update!(**args)
6473
- end
6474
-
6475
- # Update properties of this object
6476
- def update!(**args)
6477
- @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
6478
- @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
6479
- @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
6480
- end
6481
- end
6482
-
6483
- # Represents response from generators.
6484
- class GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse
6485
- include Google::Apis::Core::Hashable
6486
-
6487
- # Suggestion generated using a Generator.
6488
- # Corresponds to the JSON property `generatorSuggestion`
6489
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion]
6490
- attr_accessor :generator_suggestion
6491
-
6492
- def initialize(**args)
6493
- update!(**args)
6494
- end
6495
-
6496
- # Update properties of this object
6497
- def update!(**args)
6498
- @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
6499
- end
6500
- end
6501
-
6502
- # Response for Knowledge Assist. Contains suggested query and optionally
6503
- # includes an answer for the query.
6504
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
6505
- include Google::Apis::Core::Hashable
6506
-
6507
- # Represents a suggested query.
6508
- # Corresponds to the JSON property `suggestedQuery`
6509
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery]
6510
- attr_accessor :suggested_query
6511
-
6512
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
6513
- # answers.
6514
- # Corresponds to the JSON property `suggestedQueryAnswer`
6515
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer]
6516
- attr_accessor :suggested_query_answer
6517
-
6518
- def initialize(**args)
6519
- update!(**args)
6520
- end
6521
-
6522
- # Update properties of this object
6523
- def update!(**args)
6524
- @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
6525
- @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
6526
- end
6527
- end
6528
-
6529
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
6530
- # answers.
6531
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
6532
- include Google::Apis::Core::Hashable
6533
-
6534
- # The piece of text from the `source` that answers this suggested query.
6535
- # Corresponds to the JSON property `answerText`
6536
- # @return [String]
6537
- attr_accessor :answer_text
6538
-
6539
- # Details about source of FAQ answer.
6540
- # Corresponds to the JSON property `faqSource`
6541
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource]
6542
- attr_accessor :faq_source
6543
-
6544
- # Details about source of Generative answer.
6545
- # Corresponds to the JSON property `generativeSource`
6546
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource]
6547
- attr_accessor :generative_source
6548
-
6549
- # Details about source of Intent Matching answer.
6550
- # Corresponds to the JSON property `intentMatchingSource`
6551
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource]
6552
- attr_accessor :intent_matching_source
6553
-
6554
- # The system's confidence score that this answer is a good match for this
6555
- # conversational query. The range is from 0.0 (completely uncertain) to 1.0 (
6556
- # completely certain).
6557
- # Corresponds to the JSON property `matchConfidence`
6558
- # @return [Float]
6559
- attr_accessor :match_confidence
6560
-
6561
- def initialize(**args)
6562
- update!(**args)
6563
- end
6564
-
6565
- # Update properties of this object
6566
- def update!(**args)
6567
- @answer_text = args[:answer_text] if args.key?(:answer_text)
6568
- @faq_source = args[:faq_source] if args.key?(:faq_source)
6569
- @generative_source = args[:generative_source] if args.key?(:generative_source)
6570
- @intent_matching_source = args[:intent_matching_source] if args.key?(:intent_matching_source)
6571
- @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
6572
- end
6573
- end
6574
-
6575
- # Details about source of FAQ answer.
6576
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource
6577
- include Google::Apis::Core::Hashable
6578
-
6579
- # Indicates which Knowledge Document this answer was extracted from. Format: `
6580
- # projects//knowledgeBases//documents/`.
6581
- # Corresponds to the JSON property `document`
6582
- # @return [String]
6583
- attr_accessor :document
6584
-
6585
- # The corresponding FAQ question.
6586
- # Corresponds to the JSON property `question`
6587
- # @return [String]
6588
- attr_accessor :question
6589
-
6590
- def initialize(**args)
6591
- update!(**args)
6592
- end
6593
-
6594
- # Update properties of this object
6595
- def update!(**args)
6596
- @document = args[:document] if args.key?(:document)
6597
- @question = args[:question] if args.key?(:question)
6598
- end
6599
- end
6600
-
6601
- # Details about source of Generative answer.
6602
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource
6603
- include Google::Apis::Core::Hashable
6604
-
6605
- # All snippets used for this Generative Prediction, with their source URI and
6606
- # data.
6607
- # Corresponds to the JSON property `snippets`
6608
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet>]
6609
- attr_accessor :snippets
6610
-
6611
- def initialize(**args)
6612
- update!(**args)
6613
- end
6614
-
6615
- # Update properties of this object
6616
- def update!(**args)
6617
- @snippets = args[:snippets] if args.key?(:snippets)
6618
- end
6619
- end
6620
-
6621
- # Snippet Source for a Generative Prediction.
6622
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
6623
- include Google::Apis::Core::Hashable
6624
-
6625
- # Indicates which Knowledge Document this snippet was extracted from. Format: `
6626
- # projects//knowledgeBases//documents/`.
6627
- # Corresponds to the JSON property `document`
6628
- # @return [String]
6629
- attr_accessor :document
6630
-
6631
- # text taken from that URI.
6632
- # Corresponds to the JSON property `text`
6633
- # @return [String]
6634
- attr_accessor :text
6635
-
6636
- # Title of the document.
6637
- # Corresponds to the JSON property `title`
6638
- # @return [String]
6639
- attr_accessor :title
6640
-
6641
- # URI the data is sourced from.
6642
- # Corresponds to the JSON property `uri`
6643
- # @return [String]
6644
- attr_accessor :uri
6645
-
6646
- def initialize(**args)
6647
- update!(**args)
6648
- end
6649
-
6650
- # Update properties of this object
6651
- def update!(**args)
6652
- @document = args[:document] if args.key?(:document)
6653
- @text = args[:text] if args.key?(:text)
6654
- @title = args[:title] if args.key?(:title)
6655
- @uri = args[:uri] if args.key?(:uri)
6656
- end
6657
- end
6658
-
6659
- # Details about source of Intent Matching answer.
6660
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource
6661
- include Google::Apis::Core::Hashable
6662
-
6663
- # Title of the document.
6664
- # Corresponds to the JSON property `title`
6665
- # @return [String]
6666
- attr_accessor :title
6667
-
6668
- # URI the data is sourced from.
6669
- # Corresponds to the JSON property `uri`
6670
- # @return [String]
6671
- attr_accessor :uri
6672
-
6673
- def initialize(**args)
6674
- update!(**args)
6675
- end
6676
-
6677
- # Update properties of this object
6678
- def update!(**args)
6679
- @title = args[:title] if args.key?(:title)
6680
- @uri = args[:uri] if args.key?(:uri)
6681
- end
6682
- end
6683
-
6684
- # Represents a suggested query.
6685
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
6686
- include Google::Apis::Core::Hashable
6687
-
6688
- # Suggested query text.
6689
- # Corresponds to the JSON property `queryText`
6690
- # @return [String]
6691
- attr_accessor :query_text
6692
-
6693
- # Suggested query score.
6694
- # Corresponds to the JSON property `score`
6695
- # @return [Float]
6696
- attr_accessor :score
6697
-
6698
- def initialize(**args)
6699
- update!(**args)
6700
- end
6701
-
6702
- # Update properties of this object
6703
- def update!(**args)
6704
- @query_text = args[:query_text] if args.key?(:query_text)
6705
- @score = args[:score] if args.key?(:score)
6706
- end
6707
- end
6708
-
6709
5666
  # The data for a hold annotation.
6710
5667
  class GoogleCloudContactcenterinsightsV1alpha1HoldData
6711
5668
  include Google::Apis::Core::Hashable
@@ -6754,7 +5711,7 @@ module Google
6754
5711
  class GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest
6755
5712
  include Google::Apis::Core::Hashable
6756
5713
 
6757
- # Optional. If set to true, will create a new issue model from the imported file
5714
+ # Optional. If set to true, will create an issue model from the imported file
6758
5715
  # with randomly generated IDs for the issue model and corresponding issues.
6759
5716
  # Otherwise, replaces an existing model with the same ID as the file.
6760
5717
  # Corresponds to the JSON property `createNewModel`
@@ -6920,28 +5877,28 @@ module Google
6920
5877
  attr_accessor :parent
6921
5878
 
6922
5879
  # DLP resources used for redaction while ingesting conversations. DLP settings
6923
- # are applied to conversations ingested from the UploadConversation and
6924
- # IngestConversations endpoints, including conversation coming from CCAI
6925
- # Platform. They are not applied to conversations ingested from the
6926
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
6927
- # integrations. When using Dialogflow / Agent Assist runtime integrations
5880
+ # are applied to conversations ingested from the `UploadConversation` and `
5881
+ # IngestConversations` endpoints, including conversation coming from CCAI
5882
+ # Platform. They are not applied to conversations ingested from the `
5883
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
5884
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
6928
5885
  # redaction should be performed in Dialogflow / Agent Assist.
6929
5886
  # Corresponds to the JSON property `redactionConfig`
6930
5887
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
6931
5888
  attr_accessor :redaction_config
6932
5889
 
6933
5890
  # Optional. If set, this fields indicates the number of objects to ingest from
6934
- # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note
6935
- # that conversations produced via sampling will not be ingested by subsequent
6936
- # ingest requests unless they are first deleted.
5891
+ # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Unless
5892
+ # they are first deleted, conversations produced through sampling won't be
5893
+ # ingested by subsequent ingest requests.
6937
5894
  # Corresponds to the JSON property `sampleSize`
6938
5895
  # @return [Fixnum]
6939
5896
  attr_accessor :sample_size
6940
5897
 
6941
5898
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
6942
- # conversations ingested from the UploadConversation and IngestConversations
5899
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
6943
5900
  # endpoints, including conversation coming from CCAI Platform. They are not
6944
- # applied to conversations ingested from the CreateConversation endpoint.
5901
+ # applied to conversations ingested from the `CreateConversation` endpoint.
6945
5902
  # Corresponds to the JSON property `speechConfig`
6946
5903
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
6947
5904
  attr_accessor :speech_config
@@ -6979,7 +5936,7 @@ module Google
6979
5936
 
6980
5937
  # Optional. An opaque, user-specified string representing a human agent who
6981
5938
  # handled all conversations in the import. Note that this will be overridden if
6982
- # per-conversation metadata is provided via the `metadata_bucket_uri`.
5939
+ # per-conversation metadata is provided through the `metadata_bucket_uri`.
6983
5940
  # Corresponds to the JSON property `agentId`
6984
5941
  # @return [String]
6985
5942
  attr_accessor :agent_id
@@ -7023,10 +5980,12 @@ module Google
7023
5980
  # @return [Array<String>]
7024
5981
  attr_accessor :custom_metadata_keys
7025
5982
 
7026
- # Optional. The Cloud Storage path to the source object metadata. Note that: [1]
7027
- # metadata files are expected to be in JSON format [2] metadata and source
7028
- # objects must be in separate buckets [3] a source object's metadata object must
7029
- # share the same name to be properly ingested
5983
+ # Optional. The Cloud Storage path to the conversation metadata. Note that: [1]
5984
+ # Metadata files are expected to be in JSON format. [2] Metadata and source
5985
+ # files (transcripts or audio) must be in separate buckets. [3] A source file
5986
+ # and its corresponding metadata file must share the same name to be properly
5987
+ # ingested, E.g. `gs://bucket/audio/conversation1.mp3` and `gs://bucket/metadata/
5988
+ # conversation1.json`.
7030
5989
  # Corresponds to the JSON property `metadataBucketUri`
7031
5990
  # @return [String]
7032
5991
  attr_accessor :metadata_bucket_uri
@@ -7414,11 +6373,11 @@ module Google
7414
6373
  end
7415
6374
 
7416
6375
  # DLP resources used for redaction while ingesting conversations. DLP settings
7417
- # are applied to conversations ingested from the UploadConversation and
7418
- # IngestConversations endpoints, including conversation coming from CCAI
7419
- # Platform. They are not applied to conversations ingested from the
7420
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
7421
- # integrations. When using Dialogflow / Agent Assist runtime integrations
6376
+ # are applied to conversations ingested from the `UploadConversation` and `
6377
+ # IngestConversations` endpoints, including conversation coming from CCAI
6378
+ # Platform. They are not applied to conversations ingested from the `
6379
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
6380
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
7422
6381
  # redaction should be performed in Dialogflow / Agent Assist.
7423
6382
  class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
7424
6383
  include Google::Apis::Core::Hashable
@@ -7492,22 +6451,6 @@ module Google
7492
6451
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData]
7493
6452
  attr_accessor :faq_answer
7494
6453
 
7495
- # Represents response from generators.
7496
- # Corresponds to the JSON property `generatorSuggestionResult`
7497
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse]
7498
- attr_accessor :generator_suggestion_result
7499
-
7500
- # Response for Knowledge Assist. Contains suggested query and optionally
7501
- # includes an answer for the query.
7502
- # Corresponds to the JSON property `knowledgeAssistResult`
7503
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse]
7504
- attr_accessor :knowledge_assist_result
7505
-
7506
- # Represents a SearchKnowledge answer.
7507
- # Corresponds to the JSON property `knowledgeSearchResult`
7508
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer]
7509
- attr_accessor :knowledge_search_result
7510
-
7511
6454
  # Agent Assist Smart Compose suggestion data.
7512
6455
  # Corresponds to the JSON property `smartComposeSuggestion`
7513
6456
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData]
@@ -7523,6 +6466,11 @@ module Google
7523
6466
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary]
7524
6467
  attr_accessor :start_boundary
7525
6468
 
6469
+ # Explicit input used for generating the answer
6470
+ # Corresponds to the JSON property `userInput`
6471
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput]
6472
+ attr_accessor :user_input
6473
+
7526
6474
  def initialize(**args)
7527
6475
  update!(**args)
7528
6476
  end
@@ -7537,83 +6485,28 @@ module Google
7537
6485
  @dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
7538
6486
  @end_boundary = args[:end_boundary] if args.key?(:end_boundary)
7539
6487
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
7540
- @generator_suggestion_result = args[:generator_suggestion_result] if args.key?(:generator_suggestion_result)
7541
- @knowledge_assist_result = args[:knowledge_assist_result] if args.key?(:knowledge_assist_result)
7542
- @knowledge_search_result = args[:knowledge_search_result] if args.key?(:knowledge_search_result)
7543
6488
  @smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
7544
6489
  @smart_reply = args[:smart_reply] if args.key?(:smart_reply)
7545
6490
  @start_boundary = args[:start_boundary] if args.key?(:start_boundary)
6491
+ @user_input = args[:user_input] if args.key?(:user_input)
7546
6492
  end
7547
6493
  end
7548
6494
 
7549
- # Represents a SearchKnowledge answer.
7550
- class GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer
7551
- include Google::Apis::Core::Hashable
7552
-
7553
- # The piece of text from the knowledge base documents that answers the search
7554
- # query
7555
- # Corresponds to the JSON property `answer`
7556
- # @return [String]
7557
- attr_accessor :answer
7558
-
7559
- # The name of the answer record. Format: `projects//locations//answer Records/`
7560
- # Corresponds to the JSON property `answerRecord`
7561
- # @return [String]
7562
- attr_accessor :answer_record
7563
-
7564
- # All sources used to generate the answer.
7565
- # Corresponds to the JSON property `answerSources`
7566
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource>]
7567
- attr_accessor :answer_sources
7568
-
7569
- # The type of the answer.
7570
- # Corresponds to the JSON property `answerType`
7571
- # @return [String]
7572
- attr_accessor :answer_type
7573
-
7574
- # The confidence score in [0.0, 1.0] range.
7575
- # Corresponds to the JSON property `confidenceScore`
7576
- # @return [Float]
7577
- attr_accessor :confidence_score
7578
-
7579
- def initialize(**args)
7580
- update!(**args)
7581
- end
7582
-
7583
- # Update properties of this object
7584
- def update!(**args)
7585
- @answer = args[:answer] if args.key?(:answer)
7586
- @answer_record = args[:answer_record] if args.key?(:answer_record)
7587
- @answer_sources = args[:answer_sources] if args.key?(:answer_sources)
7588
- @answer_type = args[:answer_type] if args.key?(:answer_type)
7589
- @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
7590
- end
7591
- end
7592
-
7593
- # The sources of the answers.
7594
- class GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
6495
+ # Explicit input used for generating the answer
6496
+ class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
7595
6497
  include Google::Apis::Core::Hashable
7596
6498
 
7597
- # The document from which the snippet was extracted. Format: `projects//
7598
- # knowledgeBases//documents/`
7599
- # Corresponds to the JSON property `document`
6499
+ # The resource name of associated generator. Format: `projects//locations//
6500
+ # generators/`
6501
+ # Corresponds to the JSON property `generatorName`
7600
6502
  # @return [String]
7601
- attr_accessor :document
6503
+ attr_accessor :generator_name
7602
6504
 
7603
- # The relevant snippet of the article.
7604
- # Corresponds to the JSON property `snippet`
7605
- # @return [String]
7606
- attr_accessor :snippet
7607
-
7608
- # The title of the article.
7609
- # Corresponds to the JSON property `title`
7610
- # @return [String]
7611
- attr_accessor :title
7612
-
7613
- # The URI of the article.
7614
- # Corresponds to the JSON property `uri`
6505
+ # Query text. Article Search uses this to store the input query used to generate
6506
+ # the search results.
6507
+ # Corresponds to the JSON property `query`
7615
6508
  # @return [String]
7616
- attr_accessor :uri
6509
+ attr_accessor :query
7617
6510
 
7618
6511
  def initialize(**args)
7619
6512
  update!(**args)
@@ -7621,10 +6514,8 @@ module Google
7621
6514
 
7622
6515
  # Update properties of this object
7623
6516
  def update!(**args)
7624
- @document = args[:document] if args.key?(:document)
7625
- @snippet = args[:snippet] if args.key?(:snippet)
7626
- @title = args[:title] if args.key?(:title)
7627
- @uri = args[:uri] if args.key?(:uri)
6517
+ @generator_name = args[:generator_name] if args.key?(:generator_name)
6518
+ @query = args[:query] if args.key?(:query)
7628
6519
  end
7629
6520
  end
7630
6521
 
@@ -7750,9 +6641,9 @@ module Google
7750
6641
  end
7751
6642
 
7752
6643
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
7753
- # conversations ingested from the UploadConversation and IngestConversations
6644
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
7754
6645
  # endpoints, including conversation coming from CCAI Platform. They are not
7755
- # applied to conversations ingested from the CreateConversation endpoint.
6646
+ # applied to conversations ingested from the `CreateConversation` endpoint.
7756
6647
  class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
7757
6648
  include Google::Apis::Core::Hashable
7758
6649
 
@@ -7772,50 +6663,6 @@ module Google
7772
6663
  end
7773
6664
  end
7774
6665
 
7775
- # Suggested summary of the conversation.
7776
- class GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion
7777
- include Google::Apis::Core::Hashable
7778
-
7779
- # Required. All the parts of generated summary.
7780
- # Corresponds to the JSON property `summarySections`
7781
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection>]
7782
- attr_accessor :summary_sections
7783
-
7784
- def initialize(**args)
7785
- update!(**args)
7786
- end
7787
-
7788
- # Update properties of this object
7789
- def update!(**args)
7790
- @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
7791
- end
7792
- end
7793
-
7794
- # A component of the generated summary.
7795
- class GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection
7796
- include Google::Apis::Core::Hashable
7797
-
7798
- # Required. Name of the section.
7799
- # Corresponds to the JSON property `section`
7800
- # @return [String]
7801
- attr_accessor :section
7802
-
7803
- # Required. Summary text for the section.
7804
- # Corresponds to the JSON property `summary`
7805
- # @return [String]
7806
- attr_accessor :summary
7807
-
7808
- def initialize(**args)
7809
- update!(**args)
7810
- end
7811
-
7812
- # Update properties of this object
7813
- def update!(**args)
7814
- @section = args[:section] if args.key?(:section)
7815
- @summary = args[:summary] if args.key?(:summary)
7816
- end
7817
- end
7818
-
7819
6666
  # Metadata for undeploying an issue model.
7820
6667
  class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata
7821
6668
  include Google::Apis::Core::Hashable
@@ -7879,7 +6726,7 @@ module Google
7879
6726
  end
7880
6727
  end
7881
6728
 
7882
- # The metadata for an UploadConversation operation.
6729
+ # The metadata for an `UploadConversation` operation.
7883
6730
  class GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata
7884
6731
  include Google::Apis::Core::Hashable
7885
6732
 
@@ -7890,11 +6737,11 @@ module Google
7890
6737
  attr_accessor :analysis_operation
7891
6738
 
7892
6739
  # DLP resources used for redaction while ingesting conversations. DLP settings
7893
- # are applied to conversations ingested from the UploadConversation and
7894
- # IngestConversations endpoints, including conversation coming from CCAI
7895
- # Platform. They are not applied to conversations ingested from the
7896
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
7897
- # integrations. When using Dialogflow / Agent Assist runtime integrations
6740
+ # are applied to conversations ingested from the `UploadConversation` and `
6741
+ # IngestConversations` endpoints, including conversation coming from CCAI
6742
+ # Platform. They are not applied to conversations ingested from the `
6743
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
6744
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
7898
6745
  # redaction should be performed in Dialogflow / Agent Assist.
7899
6746
  # Corresponds to the JSON property `appliedRedactionConfig`
7900
6747
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
@@ -7952,20 +6799,20 @@ module Google
7952
6799
  attr_accessor :parent
7953
6800
 
7954
6801
  # DLP resources used for redaction while ingesting conversations. DLP settings
7955
- # are applied to conversations ingested from the UploadConversation and
7956
- # IngestConversations endpoints, including conversation coming from CCAI
7957
- # Platform. They are not applied to conversations ingested from the
7958
- # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
7959
- # integrations. When using Dialogflow / Agent Assist runtime integrations
6802
+ # are applied to conversations ingested from the `UploadConversation` and `
6803
+ # IngestConversations` endpoints, including conversation coming from CCAI
6804
+ # Platform. They are not applied to conversations ingested from the `
6805
+ # CreateConversation` endpoint or the Dialogflow / Agent Assist runtime
6806
+ # integrations. When using Dialogflow / Agent Assist runtime integrations,
7960
6807
  # redaction should be performed in Dialogflow / Agent Assist.
7961
6808
  # Corresponds to the JSON property `redactionConfig`
7962
6809
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
7963
6810
  attr_accessor :redaction_config
7964
6811
 
7965
6812
  # Speech-to-Text configuration. Speech-to-Text settings are applied to
7966
- # conversations ingested from the UploadConversation and IngestConversations
6813
+ # conversations ingested from the `UploadConversation` and `IngestConversations`
7967
6814
  # endpoints, including conversation coming from CCAI Platform. They are not
7968
- # applied to conversations ingested from the CreateConversation endpoint.
6815
+ # applied to conversations ingested from the `CreateConversation` endpoint.
7969
6816
  # Corresponds to the JSON property `speechConfig`
7970
6817
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
7971
6818
  attr_accessor :speech_config