google-apis-contactcenterinsights_v1 0.43.0 → 0.45.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.
@@ -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
@@ -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
@@ -2756,12 +2287,29 @@ module Google
2756
2287
  # @return [String]
2757
2288
  attr_accessor :parent
2758
2289
 
2759
- # DLP resources used for redaction while ingesting conversations.
2290
+ # DLP resources used for redaction while ingesting conversations. DLP settings
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
2296
+ # redaction should be performed in Dialogflow / Agent Assist.
2760
2297
  # Corresponds to the JSON property `redactionConfig`
2761
2298
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
2762
2299
  attr_accessor :redaction_config
2763
2300
 
2764
- # Speech-to-Text configuration.
2301
+ # Optional. If set, this fields indicates the number of objects to ingest from
2302
+ # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note
2303
+ # that conversations produced via sampling will not be ingested by subsequent
2304
+ # ingest requests unless they are first deleted.
2305
+ # Corresponds to the JSON property `sampleSize`
2306
+ # @return [Fixnum]
2307
+ attr_accessor :sample_size
2308
+
2309
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
2310
+ # conversations ingested from the UploadConversation and IngestConversations
2311
+ # endpoints, including conversation coming from CCAI Platform. They are not
2312
+ # applied to conversations ingested from the CreateConversation endpoint.
2765
2313
  # Corresponds to the JSON property `speechConfig`
2766
2314
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
2767
2315
  attr_accessor :speech_config
@@ -2781,6 +2329,7 @@ module Google
2781
2329
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2782
2330
  @parent = args[:parent] if args.key?(:parent)
2783
2331
  @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
2332
+ @sample_size = args[:sample_size] if args.key?(:sample_size)
2784
2333
  @speech_config = args[:speech_config] if args.key?(:speech_config)
2785
2334
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
2786
2335
  end
@@ -2796,8 +2345,9 @@ module Google
2796
2345
  # @return [Fixnum]
2797
2346
  attr_accessor :agent_channel
2798
2347
 
2799
- # An opaque, user-specified string representing the human agent who handled the
2800
- # conversations.
2348
+ # Optional. An opaque, user-specified string representing a human agent who
2349
+ # handled all conversations in the import. Note that this will be overridden if
2350
+ # per-conversation metadata is provided via the `metadata_bucket_uri`.
2801
2351
  # Corresponds to the JSON property `agentId`
2802
2352
  # @return [String]
2803
2353
  attr_accessor :agent_id
@@ -3584,7 +3134,13 @@ module Google
3584
3134
  end
3585
3135
  end
3586
3136
 
3587
- # DLP resources used for redaction while ingesting conversations.
3137
+ # DLP resources used for redaction while ingesting conversations. DLP settings
3138
+ # are applied to conversations ingested from the UploadConversation and
3139
+ # IngestConversations endpoints, including conversation coming from CCAI
3140
+ # Platform. They are not applied to conversations ingested from the
3141
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3142
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
3143
+ # redaction should be performed in Dialogflow / Agent Assist.
3588
3144
  class GoogleCloudContactcenterinsightsV1RedactionConfig
3589
3145
  include Google::Apis::Core::Hashable
3590
3146
 
@@ -3657,22 +3213,6 @@ module Google
3657
3213
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1FaqAnswerData]
3658
3214
  attr_accessor :faq_answer
3659
3215
 
3660
- # Represents response from generators.
3661
- # Corresponds to the JSON property `generatorSuggestionResult`
3662
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse]
3663
- attr_accessor :generator_suggestion_result
3664
-
3665
- # Response for Knowledge Assist. Contains suggested query and optionally
3666
- # includes an answer for the query.
3667
- # Corresponds to the JSON property `knowledgeAssistResult`
3668
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse]
3669
- attr_accessor :knowledge_assist_result
3670
-
3671
- # Represents a SearchKnowledge answer.
3672
- # Corresponds to the JSON property `knowledgeSearchResult`
3673
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer]
3674
- attr_accessor :knowledge_search_result
3675
-
3676
3216
  # Agent Assist Smart Compose suggestion data.
3677
3217
  # Corresponds to the JSON property `smartComposeSuggestion`
3678
3218
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData]
@@ -3688,6 +3228,11 @@ module Google
3688
3228
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1AnnotationBoundary]
3689
3229
  attr_accessor :start_boundary
3690
3230
 
3231
+ # Explicit input used for generating the answer
3232
+ # Corresponds to the JSON property `userInput`
3233
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput]
3234
+ attr_accessor :user_input
3235
+
3691
3236
  def initialize(**args)
3692
3237
  update!(**args)
3693
3238
  end
@@ -3702,83 +3247,28 @@ module Google
3702
3247
  @dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
3703
3248
  @end_boundary = args[:end_boundary] if args.key?(:end_boundary)
3704
3249
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
3705
- @generator_suggestion_result = args[:generator_suggestion_result] if args.key?(:generator_suggestion_result)
3706
- @knowledge_assist_result = args[:knowledge_assist_result] if args.key?(:knowledge_assist_result)
3707
- @knowledge_search_result = args[:knowledge_search_result] if args.key?(:knowledge_search_result)
3708
3250
  @smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
3709
3251
  @smart_reply = args[:smart_reply] if args.key?(:smart_reply)
3710
3252
  @start_boundary = args[:start_boundary] if args.key?(:start_boundary)
3253
+ @user_input = args[:user_input] if args.key?(:user_input)
3711
3254
  end
3712
3255
  end
3713
3256
 
3714
- # Represents a SearchKnowledge answer.
3715
- class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer
3257
+ # Explicit input used for generating the answer
3258
+ class GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
3716
3259
  include Google::Apis::Core::Hashable
3717
3260
 
3718
- # The piece of text from the knowledge base documents that answers the search
3719
- # query
3720
- # Corresponds to the JSON property `answer`
3261
+ # The resource name of associated generator. Format: `projects//locations//
3262
+ # generators/`
3263
+ # Corresponds to the JSON property `generatorName`
3721
3264
  # @return [String]
3722
- attr_accessor :answer
3723
-
3724
- # The name of the answer record. Format: `projects//locations//answer Records/`
3725
- # Corresponds to the JSON property `answerRecord`
3726
- # @return [String]
3727
- attr_accessor :answer_record
3728
-
3729
- # All sources used to generate the answer.
3730
- # Corresponds to the JSON property `answerSources`
3731
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource>]
3732
- attr_accessor :answer_sources
3733
-
3734
- # The type of the answer.
3735
- # Corresponds to the JSON property `answerType`
3736
- # @return [String]
3737
- attr_accessor :answer_type
3265
+ attr_accessor :generator_name
3738
3266
 
3739
- # The confidence score in [0.0, 1.0] range.
3740
- # Corresponds to the JSON property `confidenceScore`
3741
- # @return [Float]
3742
- attr_accessor :confidence_score
3743
-
3744
- def initialize(**args)
3745
- update!(**args)
3746
- end
3747
-
3748
- # Update properties of this object
3749
- def update!(**args)
3750
- @answer = args[:answer] if args.key?(:answer)
3751
- @answer_record = args[:answer_record] if args.key?(:answer_record)
3752
- @answer_sources = args[:answer_sources] if args.key?(:answer_sources)
3753
- @answer_type = args[:answer_type] if args.key?(:answer_type)
3754
- @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
3755
- end
3756
- end
3757
-
3758
- # The sources of the answers.
3759
- class GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
3760
- include Google::Apis::Core::Hashable
3761
-
3762
- # The document from which the snippet was extracted. Format: `projects//
3763
- # knowledgeBases//documents/`
3764
- # Corresponds to the JSON property `document`
3765
- # @return [String]
3766
- attr_accessor :document
3767
-
3768
- # The relevant snippet of the article.
3769
- # Corresponds to the JSON property `snippet`
3770
- # @return [String]
3771
- attr_accessor :snippet
3772
-
3773
- # The title of the article.
3774
- # Corresponds to the JSON property `title`
3775
- # @return [String]
3776
- attr_accessor :title
3777
-
3778
- # The URI of the article.
3779
- # Corresponds to the JSON property `uri`
3267
+ # Query text. Article Search uses this to store the input query used to generate
3268
+ # the search results.
3269
+ # Corresponds to the JSON property `query`
3780
3270
  # @return [String]
3781
- attr_accessor :uri
3271
+ attr_accessor :query
3782
3272
 
3783
3273
  def initialize(**args)
3784
3274
  update!(**args)
@@ -3786,10 +3276,8 @@ module Google
3786
3276
 
3787
3277
  # Update properties of this object
3788
3278
  def update!(**args)
3789
- @document = args[:document] if args.key?(:document)
3790
- @snippet = args[:snippet] if args.key?(:snippet)
3791
- @title = args[:title] if args.key?(:title)
3792
- @uri = args[:uri] if args.key?(:uri)
3279
+ @generator_name = args[:generator_name] if args.key?(:generator_name)
3280
+ @query = args[:query] if args.key?(:query)
3793
3281
  end
3794
3282
  end
3795
3283
 
@@ -3869,12 +3357,21 @@ module Google
3869
3357
  # @return [Hash<String,String>]
3870
3358
  attr_accessor :pubsub_notification_settings
3871
3359
 
3872
- # DLP resources used for redaction while ingesting conversations.
3360
+ # DLP resources used for redaction while ingesting conversations. DLP settings
3361
+ # are applied to conversations ingested from the UploadConversation and
3362
+ # IngestConversations endpoints, including conversation coming from CCAI
3363
+ # Platform. They are not applied to conversations ingested from the
3364
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3365
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
3366
+ # redaction should be performed in Dialogflow / Agent Assist.
3873
3367
  # Corresponds to the JSON property `redactionConfig`
3874
3368
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
3875
3369
  attr_accessor :redaction_config
3876
3370
 
3877
- # Speech-to-Text configuration.
3371
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
3372
+ # conversations ingested from the UploadConversation and IngestConversations
3373
+ # endpoints, including conversation coming from CCAI Platform. They are not
3374
+ # applied to conversations ingested from the CreateConversation endpoint.
3878
3375
  # Corresponds to the JSON property `speechConfig`
3879
3376
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
3880
3377
  attr_accessor :speech_config
@@ -4030,7 +3527,10 @@ module Google
4030
3527
  end
4031
3528
  end
4032
3529
 
4033
- # Speech-to-Text configuration.
3530
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
3531
+ # conversations ingested from the UploadConversation and IngestConversations
3532
+ # endpoints, including conversation coming from CCAI Platform. They are not
3533
+ # applied to conversations ingested from the CreateConversation endpoint.
4034
3534
  class GoogleCloudContactcenterinsightsV1SpeechConfig
4035
3535
  include Google::Apis::Core::Hashable
4036
3536
 
@@ -4050,50 +3550,6 @@ module Google
4050
3550
  end
4051
3551
  end
4052
3552
 
4053
- # Suggested summary of the conversation.
4054
- class GoogleCloudContactcenterinsightsV1SummarySuggestion
4055
- include Google::Apis::Core::Hashable
4056
-
4057
- # Required. All the parts of generated summary.
4058
- # Corresponds to the JSON property `summarySections`
4059
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection>]
4060
- attr_accessor :summary_sections
4061
-
4062
- def initialize(**args)
4063
- update!(**args)
4064
- end
4065
-
4066
- # Update properties of this object
4067
- def update!(**args)
4068
- @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
4069
- end
4070
- end
4071
-
4072
- # A component of the generated summary.
4073
- class GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection
4074
- include Google::Apis::Core::Hashable
4075
-
4076
- # Required. Name of the section.
4077
- # Corresponds to the JSON property `section`
4078
- # @return [String]
4079
- attr_accessor :section
4080
-
4081
- # Required. Summary text for the section.
4082
- # Corresponds to the JSON property `summary`
4083
- # @return [String]
4084
- attr_accessor :summary
4085
-
4086
- def initialize(**args)
4087
- update!(**args)
4088
- end
4089
-
4090
- # Update properties of this object
4091
- def update!(**args)
4092
- @section = args[:section] if args.key?(:section)
4093
- @summary = args[:summary] if args.key?(:summary)
4094
- end
4095
- end
4096
-
4097
3553
  # Metadata for undeploying an issue model.
4098
3554
  class GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata
4099
3555
  include Google::Apis::Core::Hashable
@@ -4167,7 +3623,13 @@ module Google
4167
3623
  # @return [String]
4168
3624
  attr_accessor :analysis_operation
4169
3625
 
4170
- # DLP resources used for redaction while ingesting conversations.
3626
+ # DLP resources used for redaction while ingesting conversations. DLP settings
3627
+ # are applied to conversations ingested from the UploadConversation and
3628
+ # IngestConversations endpoints, including conversation coming from CCAI
3629
+ # Platform. They are not applied to conversations ingested from the
3630
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3631
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
3632
+ # redaction should be performed in Dialogflow / Agent Assist.
4171
3633
  # Corresponds to the JSON property `appliedRedactionConfig`
4172
3634
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
4173
3635
  attr_accessor :applied_redaction_config
@@ -4223,12 +3685,21 @@ module Google
4223
3685
  # @return [String]
4224
3686
  attr_accessor :parent
4225
3687
 
4226
- # DLP resources used for redaction while ingesting conversations.
3688
+ # DLP resources used for redaction while ingesting conversations. DLP settings
3689
+ # are applied to conversations ingested from the UploadConversation and
3690
+ # IngestConversations endpoints, including conversation coming from CCAI
3691
+ # Platform. They are not applied to conversations ingested from the
3692
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
3693
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
3694
+ # redaction should be performed in Dialogflow / Agent Assist.
4227
3695
  # Corresponds to the JSON property `redactionConfig`
4228
3696
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RedactionConfig]
4229
3697
  attr_accessor :redaction_config
4230
3698
 
4231
- # Speech-to-Text configuration.
3699
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
3700
+ # conversations ingested from the UploadConversation and IngestConversations
3701
+ # endpoints, including conversation coming from CCAI Platform. They are not
3702
+ # applied to conversations ingested from the CreateConversation endpoint.
4232
3703
  # Corresponds to the JSON property `speechConfig`
4233
3704
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SpeechConfig]
4234
3705
  attr_accessor :speech_config
@@ -4286,195 +3757,8 @@ module Google
4286
3757
  @create_time = args[:create_time] if args.key?(:create_time)
4287
3758
  @display_name = args[:display_name] if args.key?(:display_name)
4288
3759
  @name = args[:name] if args.key?(:name)
4289
- @update_time = args[:update_time] if args.key?(:update_time)
4290
- @value = args[:value] if args.key?(:value)
4291
- end
4292
- end
4293
-
4294
- # Agent Coaching instructions that customer can configure.
4295
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
4296
- include Google::Apis::Core::Hashable
4297
-
4298
- # Optional. The action that human agent should take. For example, "apologize for
4299
- # the slow shipping". If the users only want to use agent coaching for intent
4300
- # detection, agent_action can be empty
4301
- # Corresponds to the JSON property `agentAction`
4302
- # @return [String]
4303
- attr_accessor :agent_action
4304
-
4305
- # Optional. The condition of the instruction. For example, "the customer wants
4306
- # to cancel an order". If the users want the instruction to be triggered
4307
- # unconditionally, the condition can be empty.
4308
- # Corresponds to the JSON property `condition`
4309
- # @return [String]
4310
- attr_accessor :condition
4311
-
4312
- # Optional. The detailed description of this instruction.
4313
- # Corresponds to the JSON property `description`
4314
- # @return [String]
4315
- attr_accessor :description
4316
-
4317
- # Optional. Display name for the instruction.
4318
- # Corresponds to the JSON property `displayName`
4319
- # @return [String]
4320
- attr_accessor :display_name
4321
-
4322
- # Optional. Additional information attached to this instruction.
4323
- # Corresponds to the JSON property `metadata`
4324
- # @return [Hash<String,String>]
4325
- attr_accessor :metadata
4326
-
4327
- # Optional. The action that system should take. For example, "call GetOrderTime
4328
- # with order_number=`order number provided by the customer`". If the users don't
4329
- # have plugins or don't want to trigger plugins, the system_action can be empty
4330
- # Corresponds to the JSON property `systemAction`
4331
- # @return [String]
4332
- attr_accessor :system_action
4333
-
4334
- def initialize(**args)
4335
- update!(**args)
4336
- end
4337
-
4338
- # Update properties of this object
4339
- def update!(**args)
4340
- @agent_action = args[:agent_action] if args.key?(:agent_action)
4341
- @condition = args[:condition] if args.key?(:condition)
4342
- @description = args[:description] if args.key?(:description)
4343
- @display_name = args[:display_name] if args.key?(:display_name)
4344
- @metadata = args[:metadata] if args.key?(:metadata)
4345
- @system_action = args[:system_action] if args.key?(:system_action)
4346
- end
4347
- end
4348
-
4349
- # Suggestion for coaching agents.
4350
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion
4351
- include Google::Apis::Core::Hashable
4352
-
4353
- # Optional. Suggested actions for the agent to take.
4354
- # Corresponds to the JSON property `agentActionSuggestions`
4355
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion>]
4356
- attr_accessor :agent_action_suggestions
4357
-
4358
- # Optional. Instructions applicable based on the current context.
4359
- # Corresponds to the JSON property `applicableInstructions`
4360
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction>]
4361
- attr_accessor :applicable_instructions
4362
-
4363
- # Optional. Sample response for the Agent.
4364
- # Corresponds to the JSON property `sampleResponses`
4365
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse>]
4366
- attr_accessor :sample_responses
4367
-
4368
- # Self evaluations of the suggestion.
4369
- # Corresponds to the JSON property `suggestionEval`
4370
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval]
4371
- attr_accessor :suggestion_eval
4372
-
4373
- # Reasoning for the suggestion.
4374
- # Corresponds to the JSON property `suggestionReasoning`
4375
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning]
4376
- attr_accessor :suggestion_reasoning
4377
-
4378
- def initialize(**args)
4379
- update!(**args)
4380
- end
4381
-
4382
- # Update properties of this object
4383
- def update!(**args)
4384
- @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
4385
- @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
4386
- @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
4387
- @suggestion_eval = args[:suggestion_eval] if args.key?(:suggestion_eval)
4388
- @suggestion_reasoning = args[:suggestion_reasoning] if args.key?(:suggestion_reasoning)
4389
- end
4390
- end
4391
-
4392
- # Actions suggested for the agent. This is based on applicable instructions.
4393
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion
4394
- include Google::Apis::Core::Hashable
4395
-
4396
- # Optional. The suggested action for the agent.
4397
- # Corresponds to the JSON property `agentAction`
4398
- # @return [String]
4399
- attr_accessor :agent_action
4400
-
4401
- def initialize(**args)
4402
- update!(**args)
4403
- end
4404
-
4405
- # Update properties of this object
4406
- def update!(**args)
4407
- @agent_action = args[:agent_action] if args.key?(:agent_action)
4408
- end
4409
- end
4410
-
4411
- # Self evaluations of the suggestion.
4412
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval
4413
- include Google::Apis::Core::Hashable
4414
-
4415
- # Optional. Eval for Agent action suggestion.
4416
- # Corresponds to the JSON property `actionActionSuggestionEval`
4417
- # @return [String]
4418
- attr_accessor :action_action_suggestion_eval
4419
-
4420
- # Optional. Eval for sample response.
4421
- # Corresponds to the JSON property `sampleResponseEval`
4422
- # @return [String]
4423
- attr_accessor :sample_response_eval
4424
-
4425
- def initialize(**args)
4426
- update!(**args)
4427
- end
4428
-
4429
- # Update properties of this object
4430
- def update!(**args)
4431
- @action_action_suggestion_eval = args[:action_action_suggestion_eval] if args.key?(:action_action_suggestion_eval)
4432
- @sample_response_eval = args[:sample_response_eval] if args.key?(:sample_response_eval)
4433
- end
4434
- end
4435
-
4436
- # Reasoning for the suggestion.
4437
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
4438
- include Google::Apis::Core::Hashable
4439
-
4440
- # Optional. The actions that the agent has taken already.
4441
- # Corresponds to the JSON property `agentActionTaken`
4442
- # @return [String]
4443
- attr_accessor :agent_action_taken
4444
-
4445
- # Optional. Summary of the issue.
4446
- # Corresponds to the JSON property `issueSummary`
4447
- # @return [String]
4448
- attr_accessor :issue_summary
4449
-
4450
- def initialize(**args)
4451
- update!(**args)
4452
- end
4453
-
4454
- # Update properties of this object
4455
- def update!(**args)
4456
- @agent_action_taken = args[:agent_action_taken] if args.key?(:agent_action_taken)
4457
- @issue_summary = args[:issue_summary] if args.key?(:issue_summary)
4458
- end
4459
- end
4460
-
4461
- # Sample response that the agent can use. This could be based on applicable
4462
- # instructions and ingested data from other systems.
4463
- class GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse
4464
- include Google::Apis::Core::Hashable
4465
-
4466
- # Optional. Sample response for Agent in text.
4467
- # Corresponds to the JSON property `responseText`
4468
- # @return [String]
4469
- attr_accessor :response_text
4470
-
4471
- def initialize(**args)
4472
- update!(**args)
4473
- end
4474
-
4475
- # Update properties of this object
4476
- def update!(**args)
4477
- @response_text = args[:response_text] if args.key?(:response_text)
3760
+ @update_time = args[:update_time] if args.key?(:update_time)
3761
+ @value = args[:value] if args.key?(:value)
4478
3762
  end
4479
3763
  end
4480
3764
 
@@ -6346,31 +5630,6 @@ module Google
6346
5630
  end
6347
5631
  end
6348
5632
 
6349
- # Suggestion generated using free form generator.
6350
- class GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
6351
- include Google::Apis::Core::Hashable
6352
-
6353
- # Optional. Labels for the generator.
6354
- # Corresponds to the JSON property `labels`
6355
- # @return [Array<String>]
6356
- attr_accessor :labels
6357
-
6358
- # Required. Free form suggestion.
6359
- # Corresponds to the JSON property `response`
6360
- # @return [String]
6361
- attr_accessor :response
6362
-
6363
- def initialize(**args)
6364
- update!(**args)
6365
- end
6366
-
6367
- # Update properties of this object
6368
- def update!(**args)
6369
- @labels = args[:labels] if args.key?(:labels)
6370
- @response = args[:response] if args.key?(:response)
6371
- end
6372
- end
6373
-
6374
5633
  # A Cloud Storage source of conversation data.
6375
5634
  class GoogleCloudContactcenterinsightsV1alpha1GcsSource
6376
5635
  include Google::Apis::Core::Hashable
@@ -6397,263 +5656,6 @@ module Google
6397
5656
  end
6398
5657
  end
6399
5658
 
6400
- # Suggestion generated using a Generator.
6401
- class GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion
6402
- include Google::Apis::Core::Hashable
6403
-
6404
- # Suggestion for coaching agents.
6405
- # Corresponds to the JSON property `agentCoachingSuggestion`
6406
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion]
6407
- attr_accessor :agent_coaching_suggestion
6408
-
6409
- # Suggestion generated using free form generator.
6410
- # Corresponds to the JSON property `freeFormSuggestion`
6411
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion]
6412
- attr_accessor :free_form_suggestion
6413
-
6414
- # Suggested summary of the conversation.
6415
- # Corresponds to the JSON property `summarySuggestion`
6416
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion]
6417
- attr_accessor :summary_suggestion
6418
-
6419
- def initialize(**args)
6420
- update!(**args)
6421
- end
6422
-
6423
- # Update properties of this object
6424
- def update!(**args)
6425
- @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
6426
- @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
6427
- @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
6428
- end
6429
- end
6430
-
6431
- # Represents response from generators.
6432
- class GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse
6433
- include Google::Apis::Core::Hashable
6434
-
6435
- # Suggestion generated using a Generator.
6436
- # Corresponds to the JSON property `generatorSuggestion`
6437
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion]
6438
- attr_accessor :generator_suggestion
6439
-
6440
- def initialize(**args)
6441
- update!(**args)
6442
- end
6443
-
6444
- # Update properties of this object
6445
- def update!(**args)
6446
- @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
6447
- end
6448
- end
6449
-
6450
- # Response for Knowledge Assist. Contains suggested query and optionally
6451
- # includes an answer for the query.
6452
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
6453
- include Google::Apis::Core::Hashable
6454
-
6455
- # Represents a suggested query.
6456
- # Corresponds to the JSON property `suggestedQuery`
6457
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery]
6458
- attr_accessor :suggested_query
6459
-
6460
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
6461
- # answers.
6462
- # Corresponds to the JSON property `suggestedQueryAnswer`
6463
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer]
6464
- attr_accessor :suggested_query_answer
6465
-
6466
- def initialize(**args)
6467
- update!(**args)
6468
- end
6469
-
6470
- # Update properties of this object
6471
- def update!(**args)
6472
- @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
6473
- @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
6474
- end
6475
- end
6476
-
6477
- # Represents an answer from Knowledge. Cuurently supports FAQ and Generative
6478
- # answers.
6479
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
6480
- include Google::Apis::Core::Hashable
6481
-
6482
- # The piece of text from the `source` that answers this suggested query.
6483
- # Corresponds to the JSON property `answerText`
6484
- # @return [String]
6485
- attr_accessor :answer_text
6486
-
6487
- # Details about source of FAQ answer.
6488
- # Corresponds to the JSON property `faqSource`
6489
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource]
6490
- attr_accessor :faq_source
6491
-
6492
- # Details about source of Generative answer.
6493
- # Corresponds to the JSON property `generativeSource`
6494
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource]
6495
- attr_accessor :generative_source
6496
-
6497
- # Details about source of Intent Matching answer.
6498
- # Corresponds to the JSON property `intentMatchingSource`
6499
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource]
6500
- attr_accessor :intent_matching_source
6501
-
6502
- # The system's confidence score that this answer is a good match for this
6503
- # conversational query. The range is from 0.0 (completely uncertain) to 1.0 (
6504
- # completely certain).
6505
- # Corresponds to the JSON property `matchConfidence`
6506
- # @return [Float]
6507
- attr_accessor :match_confidence
6508
-
6509
- def initialize(**args)
6510
- update!(**args)
6511
- end
6512
-
6513
- # Update properties of this object
6514
- def update!(**args)
6515
- @answer_text = args[:answer_text] if args.key?(:answer_text)
6516
- @faq_source = args[:faq_source] if args.key?(:faq_source)
6517
- @generative_source = args[:generative_source] if args.key?(:generative_source)
6518
- @intent_matching_source = args[:intent_matching_source] if args.key?(:intent_matching_source)
6519
- @match_confidence = args[:match_confidence] if args.key?(:match_confidence)
6520
- end
6521
- end
6522
-
6523
- # Details about source of FAQ answer.
6524
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource
6525
- include Google::Apis::Core::Hashable
6526
-
6527
- # Indicates which Knowledge Document this answer was extracted from. Format: `
6528
- # projects//knowledgeBases//documents/`.
6529
- # Corresponds to the JSON property `document`
6530
- # @return [String]
6531
- attr_accessor :document
6532
-
6533
- # The corresponding FAQ question.
6534
- # Corresponds to the JSON property `question`
6535
- # @return [String]
6536
- attr_accessor :question
6537
-
6538
- def initialize(**args)
6539
- update!(**args)
6540
- end
6541
-
6542
- # Update properties of this object
6543
- def update!(**args)
6544
- @document = args[:document] if args.key?(:document)
6545
- @question = args[:question] if args.key?(:question)
6546
- end
6547
- end
6548
-
6549
- # Details about source of Generative answer.
6550
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource
6551
- include Google::Apis::Core::Hashable
6552
-
6553
- # All snippets used for this Generative Prediction, with their source URI and
6554
- # data.
6555
- # Corresponds to the JSON property `snippets`
6556
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet>]
6557
- attr_accessor :snippets
6558
-
6559
- def initialize(**args)
6560
- update!(**args)
6561
- end
6562
-
6563
- # Update properties of this object
6564
- def update!(**args)
6565
- @snippets = args[:snippets] if args.key?(:snippets)
6566
- end
6567
- end
6568
-
6569
- # Snippet Source for a Generative Prediction.
6570
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
6571
- include Google::Apis::Core::Hashable
6572
-
6573
- # Indicates which Knowledge Document this snippet was extracted from. Format: `
6574
- # projects//knowledgeBases//documents/`.
6575
- # Corresponds to the JSON property `document`
6576
- # @return [String]
6577
- attr_accessor :document
6578
-
6579
- # text taken from that URI.
6580
- # Corresponds to the JSON property `text`
6581
- # @return [String]
6582
- attr_accessor :text
6583
-
6584
- # Title of the document.
6585
- # Corresponds to the JSON property `title`
6586
- # @return [String]
6587
- attr_accessor :title
6588
-
6589
- # URI the data is sourced from.
6590
- # Corresponds to the JSON property `uri`
6591
- # @return [String]
6592
- attr_accessor :uri
6593
-
6594
- def initialize(**args)
6595
- update!(**args)
6596
- end
6597
-
6598
- # Update properties of this object
6599
- def update!(**args)
6600
- @document = args[:document] if args.key?(:document)
6601
- @text = args[:text] if args.key?(:text)
6602
- @title = args[:title] if args.key?(:title)
6603
- @uri = args[:uri] if args.key?(:uri)
6604
- end
6605
- end
6606
-
6607
- # Details about source of Intent Matching answer.
6608
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource
6609
- include Google::Apis::Core::Hashable
6610
-
6611
- # Title of the document.
6612
- # Corresponds to the JSON property `title`
6613
- # @return [String]
6614
- attr_accessor :title
6615
-
6616
- # URI the data is sourced from.
6617
- # Corresponds to the JSON property `uri`
6618
- # @return [String]
6619
- attr_accessor :uri
6620
-
6621
- def initialize(**args)
6622
- update!(**args)
6623
- end
6624
-
6625
- # Update properties of this object
6626
- def update!(**args)
6627
- @title = args[:title] if args.key?(:title)
6628
- @uri = args[:uri] if args.key?(:uri)
6629
- end
6630
- end
6631
-
6632
- # Represents a suggested query.
6633
- class GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
6634
- include Google::Apis::Core::Hashable
6635
-
6636
- # Suggested query text.
6637
- # Corresponds to the JSON property `queryText`
6638
- # @return [String]
6639
- attr_accessor :query_text
6640
-
6641
- # Suggested query score.
6642
- # Corresponds to the JSON property `score`
6643
- # @return [Float]
6644
- attr_accessor :score
6645
-
6646
- def initialize(**args)
6647
- update!(**args)
6648
- end
6649
-
6650
- # Update properties of this object
6651
- def update!(**args)
6652
- @query_text = args[:query_text] if args.key?(:query_text)
6653
- @score = args[:score] if args.key?(:score)
6654
- end
6655
- end
6656
-
6657
5659
  # The data for a hold annotation.
6658
5660
  class GoogleCloudContactcenterinsightsV1alpha1HoldData
6659
5661
  include Google::Apis::Core::Hashable
@@ -6867,12 +5869,29 @@ module Google
6867
5869
  # @return [String]
6868
5870
  attr_accessor :parent
6869
5871
 
6870
- # DLP resources used for redaction while ingesting conversations.
5872
+ # DLP resources used for redaction while ingesting conversations. DLP settings
5873
+ # are applied to conversations ingested from the UploadConversation and
5874
+ # IngestConversations endpoints, including conversation coming from CCAI
5875
+ # Platform. They are not applied to conversations ingested from the
5876
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
5877
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
5878
+ # redaction should be performed in Dialogflow / Agent Assist.
6871
5879
  # Corresponds to the JSON property `redactionConfig`
6872
5880
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
6873
5881
  attr_accessor :redaction_config
6874
5882
 
6875
- # Speech-to-Text configuration.
5883
+ # Optional. If set, this fields indicates the number of objects to ingest from
5884
+ # the Cloud Storage bucket. If empty, the entire bucket will be ingested. Note
5885
+ # that conversations produced via sampling will not be ingested by subsequent
5886
+ # ingest requests unless they are first deleted.
5887
+ # Corresponds to the JSON property `sampleSize`
5888
+ # @return [Fixnum]
5889
+ attr_accessor :sample_size
5890
+
5891
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
5892
+ # conversations ingested from the UploadConversation and IngestConversations
5893
+ # endpoints, including conversation coming from CCAI Platform. They are not
5894
+ # applied to conversations ingested from the CreateConversation endpoint.
6876
5895
  # Corresponds to the JSON property `speechConfig`
6877
5896
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
6878
5897
  attr_accessor :speech_config
@@ -6892,6 +5911,7 @@ module Google
6892
5911
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
6893
5912
  @parent = args[:parent] if args.key?(:parent)
6894
5913
  @redaction_config = args[:redaction_config] if args.key?(:redaction_config)
5914
+ @sample_size = args[:sample_size] if args.key?(:sample_size)
6895
5915
  @speech_config = args[:speech_config] if args.key?(:speech_config)
6896
5916
  @transcript_object_config = args[:transcript_object_config] if args.key?(:transcript_object_config)
6897
5917
  end
@@ -6907,8 +5927,9 @@ module Google
6907
5927
  # @return [Fixnum]
6908
5928
  attr_accessor :agent_channel
6909
5929
 
6910
- # An opaque, user-specified string representing the human agent who handled the
6911
- # conversations.
5930
+ # Optional. An opaque, user-specified string representing a human agent who
5931
+ # handled all conversations in the import. Note that this will be overridden if
5932
+ # per-conversation metadata is provided via the `metadata_bucket_uri`.
6912
5933
  # Corresponds to the JSON property `agentId`
6913
5934
  # @return [String]
6914
5935
  attr_accessor :agent_id
@@ -7342,7 +6363,13 @@ module Google
7342
6363
  end
7343
6364
  end
7344
6365
 
7345
- # DLP resources used for redaction while ingesting conversations.
6366
+ # DLP resources used for redaction while ingesting conversations. DLP settings
6367
+ # are applied to conversations ingested from the UploadConversation and
6368
+ # IngestConversations endpoints, including conversation coming from CCAI
6369
+ # Platform. They are not applied to conversations ingested from the
6370
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
6371
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
6372
+ # redaction should be performed in Dialogflow / Agent Assist.
7346
6373
  class GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
7347
6374
  include Google::Apis::Core::Hashable
7348
6375
 
@@ -7415,22 +6442,6 @@ module Google
7415
6442
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData]
7416
6443
  attr_accessor :faq_answer
7417
6444
 
7418
- # Represents response from generators.
7419
- # Corresponds to the JSON property `generatorSuggestionResult`
7420
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse]
7421
- attr_accessor :generator_suggestion_result
7422
-
7423
- # Response for Knowledge Assist. Contains suggested query and optionally
7424
- # includes an answer for the query.
7425
- # Corresponds to the JSON property `knowledgeAssistResult`
7426
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse]
7427
- attr_accessor :knowledge_assist_result
7428
-
7429
- # Represents a SearchKnowledge answer.
7430
- # Corresponds to the JSON property `knowledgeSearchResult`
7431
- # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer]
7432
- attr_accessor :knowledge_search_result
7433
-
7434
6445
  # Agent Assist Smart Compose suggestion data.
7435
6446
  # Corresponds to the JSON property `smartComposeSuggestion`
7436
6447
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData]
@@ -7446,6 +6457,11 @@ module Google
7446
6457
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary]
7447
6458
  attr_accessor :start_boundary
7448
6459
 
6460
+ # Explicit input used for generating the answer
6461
+ # Corresponds to the JSON property `userInput`
6462
+ # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput]
6463
+ attr_accessor :user_input
6464
+
7449
6465
  def initialize(**args)
7450
6466
  update!(**args)
7451
6467
  end
@@ -7460,83 +6476,28 @@ module Google
7460
6476
  @dialogflow_interaction = args[:dialogflow_interaction] if args.key?(:dialogflow_interaction)
7461
6477
  @end_boundary = args[:end_boundary] if args.key?(:end_boundary)
7462
6478
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
7463
- @generator_suggestion_result = args[:generator_suggestion_result] if args.key?(:generator_suggestion_result)
7464
- @knowledge_assist_result = args[:knowledge_assist_result] if args.key?(:knowledge_assist_result)
7465
- @knowledge_search_result = args[:knowledge_search_result] if args.key?(:knowledge_search_result)
7466
6479
  @smart_compose_suggestion = args[:smart_compose_suggestion] if args.key?(:smart_compose_suggestion)
7467
6480
  @smart_reply = args[:smart_reply] if args.key?(:smart_reply)
7468
6481
  @start_boundary = args[:start_boundary] if args.key?(:start_boundary)
6482
+ @user_input = args[:user_input] if args.key?(:user_input)
7469
6483
  end
7470
6484
  end
7471
6485
 
7472
- # Represents a SearchKnowledge answer.
7473
- class GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer
7474
- include Google::Apis::Core::Hashable
7475
-
7476
- # The piece of text from the knowledge base documents that answers the search
7477
- # query
7478
- # Corresponds to the JSON property `answer`
7479
- # @return [String]
7480
- attr_accessor :answer
7481
-
7482
- # The name of the answer record. Format: `projects//locations//answer Records/`
7483
- # Corresponds to the JSON property `answerRecord`
7484
- # @return [String]
7485
- attr_accessor :answer_record
7486
-
7487
- # All sources used to generate the answer.
7488
- # Corresponds to the JSON property `answerSources`
7489
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource>]
7490
- attr_accessor :answer_sources
7491
-
7492
- # The type of the answer.
7493
- # Corresponds to the JSON property `answerType`
7494
- # @return [String]
7495
- attr_accessor :answer_type
7496
-
7497
- # The confidence score in [0.0, 1.0] range.
7498
- # Corresponds to the JSON property `confidenceScore`
7499
- # @return [Float]
7500
- attr_accessor :confidence_score
7501
-
7502
- def initialize(**args)
7503
- update!(**args)
7504
- end
7505
-
7506
- # Update properties of this object
7507
- def update!(**args)
7508
- @answer = args[:answer] if args.key?(:answer)
7509
- @answer_record = args[:answer_record] if args.key?(:answer_record)
7510
- @answer_sources = args[:answer_sources] if args.key?(:answer_sources)
7511
- @answer_type = args[:answer_type] if args.key?(:answer_type)
7512
- @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
7513
- end
7514
- end
7515
-
7516
- # The sources of the answers.
7517
- class GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
6486
+ # Explicit input used for generating the answer
6487
+ class GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
7518
6488
  include Google::Apis::Core::Hashable
7519
6489
 
7520
- # The document from which the snippet was extracted. Format: `projects//
7521
- # knowledgeBases//documents/`
7522
- # Corresponds to the JSON property `document`
6490
+ # The resource name of associated generator. Format: `projects//locations//
6491
+ # generators/`
6492
+ # Corresponds to the JSON property `generatorName`
7523
6493
  # @return [String]
7524
- attr_accessor :document
6494
+ attr_accessor :generator_name
7525
6495
 
7526
- # The relevant snippet of the article.
7527
- # Corresponds to the JSON property `snippet`
7528
- # @return [String]
7529
- attr_accessor :snippet
7530
-
7531
- # The title of the article.
7532
- # Corresponds to the JSON property `title`
7533
- # @return [String]
7534
- attr_accessor :title
7535
-
7536
- # The URI of the article.
7537
- # Corresponds to the JSON property `uri`
6496
+ # Query text. Article Search uses this to store the input query used to generate
6497
+ # the search results.
6498
+ # Corresponds to the JSON property `query`
7538
6499
  # @return [String]
7539
- attr_accessor :uri
6500
+ attr_accessor :query
7540
6501
 
7541
6502
  def initialize(**args)
7542
6503
  update!(**args)
@@ -7544,10 +6505,8 @@ module Google
7544
6505
 
7545
6506
  # Update properties of this object
7546
6507
  def update!(**args)
7547
- @document = args[:document] if args.key?(:document)
7548
- @snippet = args[:snippet] if args.key?(:snippet)
7549
- @title = args[:title] if args.key?(:title)
7550
- @uri = args[:uri] if args.key?(:uri)
6508
+ @generator_name = args[:generator_name] if args.key?(:generator_name)
6509
+ @query = args[:query] if args.key?(:query)
7551
6510
  end
7552
6511
  end
7553
6512
 
@@ -7672,7 +6631,10 @@ module Google
7672
6631
  end
7673
6632
  end
7674
6633
 
7675
- # Speech-to-Text configuration.
6634
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
6635
+ # conversations ingested from the UploadConversation and IngestConversations
6636
+ # endpoints, including conversation coming from CCAI Platform. They are not
6637
+ # applied to conversations ingested from the CreateConversation endpoint.
7676
6638
  class GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
7677
6639
  include Google::Apis::Core::Hashable
7678
6640
 
@@ -7692,50 +6654,6 @@ module Google
7692
6654
  end
7693
6655
  end
7694
6656
 
7695
- # Suggested summary of the conversation.
7696
- class GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion
7697
- include Google::Apis::Core::Hashable
7698
-
7699
- # Required. All the parts of generated summary.
7700
- # Corresponds to the JSON property `summarySections`
7701
- # @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection>]
7702
- attr_accessor :summary_sections
7703
-
7704
- def initialize(**args)
7705
- update!(**args)
7706
- end
7707
-
7708
- # Update properties of this object
7709
- def update!(**args)
7710
- @summary_sections = args[:summary_sections] if args.key?(:summary_sections)
7711
- end
7712
- end
7713
-
7714
- # A component of the generated summary.
7715
- class GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection
7716
- include Google::Apis::Core::Hashable
7717
-
7718
- # Required. Name of the section.
7719
- # Corresponds to the JSON property `section`
7720
- # @return [String]
7721
- attr_accessor :section
7722
-
7723
- # Required. Summary text for the section.
7724
- # Corresponds to the JSON property `summary`
7725
- # @return [String]
7726
- attr_accessor :summary
7727
-
7728
- def initialize(**args)
7729
- update!(**args)
7730
- end
7731
-
7732
- # Update properties of this object
7733
- def update!(**args)
7734
- @section = args[:section] if args.key?(:section)
7735
- @summary = args[:summary] if args.key?(:summary)
7736
- end
7737
- end
7738
-
7739
6657
  # Metadata for undeploying an issue model.
7740
6658
  class GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata
7741
6659
  include Google::Apis::Core::Hashable
@@ -7809,7 +6727,13 @@ module Google
7809
6727
  # @return [String]
7810
6728
  attr_accessor :analysis_operation
7811
6729
 
7812
- # DLP resources used for redaction while ingesting conversations.
6730
+ # DLP resources used for redaction while ingesting conversations. DLP settings
6731
+ # are applied to conversations ingested from the UploadConversation and
6732
+ # IngestConversations endpoints, including conversation coming from CCAI
6733
+ # Platform. They are not applied to conversations ingested from the
6734
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
6735
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
6736
+ # redaction should be performed in Dialogflow / Agent Assist.
7813
6737
  # Corresponds to the JSON property `appliedRedactionConfig`
7814
6738
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
7815
6739
  attr_accessor :applied_redaction_config
@@ -7865,12 +6789,21 @@ module Google
7865
6789
  # @return [String]
7866
6790
  attr_accessor :parent
7867
6791
 
7868
- # DLP resources used for redaction while ingesting conversations.
6792
+ # DLP resources used for redaction while ingesting conversations. DLP settings
6793
+ # are applied to conversations ingested from the UploadConversation and
6794
+ # IngestConversations endpoints, including conversation coming from CCAI
6795
+ # Platform. They are not applied to conversations ingested from the
6796
+ # CreateConversation endpoint or the Dialogflow / Agent Assist runtime
6797
+ # integrations. When using Dialogflow / Agent Assist runtime integrations
6798
+ # redaction should be performed in Dialogflow / Agent Assist.
7869
6799
  # Corresponds to the JSON property `redactionConfig`
7870
6800
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RedactionConfig]
7871
6801
  attr_accessor :redaction_config
7872
6802
 
7873
- # Speech-to-Text configuration.
6803
+ # Speech-to-Text configuration. Speech-to-Text settings are applied to
6804
+ # conversations ingested from the UploadConversation and IngestConversations
6805
+ # endpoints, including conversation coming from CCAI Platform. They are not
6806
+ # applied to conversations ingested from the CreateConversation endpoint.
7874
6807
  # Corresponds to the JSON property `speechConfig`
7875
6808
  # @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SpeechConfig]
7876
6809
  attr_accessor :speech_config