google-apis-dialogflow_v2 0.87.0 → 0.89.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.
@@ -1222,6 +1222,24 @@ module Google
1222
1222
  include Google::Apis::Core::JsonObjectSupport
1223
1223
  end
1224
1224
 
1225
+ class GoogleCloudDialogflowCxV3beta1ToolCall
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1231
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1237
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
1238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1239
+
1240
+ include Google::Apis::Core::JsonObjectSupport
1241
+ end
1242
+
1225
1243
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
1226
1244
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1245
 
@@ -1318,6 +1336,12 @@ module Google
1318
1336
  include Google::Apis::Core::JsonObjectSupport
1319
1337
  end
1320
1338
 
1339
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1321
1345
  class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
1322
1346
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1347
 
@@ -1480,6 +1504,12 @@ module Google
1480
1504
  include Google::Apis::Core::JsonObjectSupport
1481
1505
  end
1482
1506
 
1507
+ class GoogleCloudDialogflowV2ConversationContext
1508
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1509
+
1510
+ include Google::Apis::Core::JsonObjectSupport
1511
+ end
1512
+
1483
1513
  class GoogleCloudDialogflowV2ConversationDataset
1484
1514
  class Representation < Google::Apis::Core::JsonRepresentation; end
1485
1515
 
@@ -1696,6 +1726,12 @@ module Google
1696
1726
  include Google::Apis::Core::JsonObjectSupport
1697
1727
  end
1698
1728
 
1729
+ class GoogleCloudDialogflowV2FewShotExample
1730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1731
+
1732
+ include Google::Apis::Core::JsonObjectSupport
1733
+ end
1734
+
1699
1735
  class GoogleCloudDialogflowV2Fulfillment
1700
1736
  class Representation < Google::Apis::Core::JsonRepresentation; end
1701
1737
 
@@ -1726,6 +1762,18 @@ module Google
1726
1762
  include Google::Apis::Core::JsonObjectSupport
1727
1763
  end
1728
1764
 
1765
+ class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ include Google::Apis::Core::JsonObjectSupport
1769
+ end
1770
+
1771
+ class GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
1772
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1773
+
1774
+ include Google::Apis::Core::JsonObjectSupport
1775
+ end
1776
+
1729
1777
  class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
1730
1778
  class Representation < Google::Apis::Core::JsonRepresentation; end
1731
1779
 
@@ -1750,6 +1798,18 @@ module Google
1750
1798
  include Google::Apis::Core::JsonObjectSupport
1751
1799
  end
1752
1800
 
1801
+ class GoogleCloudDialogflowV2Generator
1802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1807
+ class GoogleCloudDialogflowV2GeneratorSuggestion
1808
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1809
+
1810
+ include Google::Apis::Core::JsonObjectSupport
1811
+ end
1812
+
1753
1813
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
1754
1814
  class Representation < Google::Apis::Core::JsonRepresentation; end
1755
1815
 
@@ -1900,6 +1960,12 @@ module Google
1900
1960
  include Google::Apis::Core::JsonObjectSupport
1901
1961
  end
1902
1962
 
1963
+ class GoogleCloudDialogflowV2InferenceParameter
1964
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1965
+
1966
+ include Google::Apis::Core::JsonObjectSupport
1967
+ end
1968
+
1903
1969
  class GoogleCloudDialogflowV2InputAudioConfig
1904
1970
  class Representation < Google::Apis::Core::JsonRepresentation; end
1905
1971
 
@@ -2128,6 +2194,42 @@ module Google
2128
2194
  include Google::Apis::Core::JsonObjectSupport
2129
2195
  end
2130
2196
 
2197
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
2198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2199
+
2200
+ include Google::Apis::Core::JsonObjectSupport
2201
+ end
2202
+
2203
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
2204
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2205
+
2206
+ include Google::Apis::Core::JsonObjectSupport
2207
+ end
2208
+
2209
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
2210
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2211
+
2212
+ include Google::Apis::Core::JsonObjectSupport
2213
+ end
2214
+
2215
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
2216
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2217
+
2218
+ include Google::Apis::Core::JsonObjectSupport
2219
+ end
2220
+
2221
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
2222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2223
+
2224
+ include Google::Apis::Core::JsonObjectSupport
2225
+ end
2226
+
2227
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
2228
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2229
+
2230
+ include Google::Apis::Core::JsonObjectSupport
2231
+ end
2232
+
2131
2233
  class GoogleCloudDialogflowV2KnowledgeBase
2132
2234
  class Representation < Google::Apis::Core::JsonRepresentation; end
2133
2235
 
@@ -2200,6 +2302,12 @@ module Google
2200
2302
  include Google::Apis::Core::JsonObjectSupport
2201
2303
  end
2202
2304
 
2305
+ class GoogleCloudDialogflowV2ListGeneratorsResponse
2306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2307
+
2308
+ include Google::Apis::Core::JsonObjectSupport
2309
+ end
2310
+
2203
2311
  class GoogleCloudDialogflowV2ListIntentsResponse
2204
2312
  class Representation < Google::Apis::Core::JsonRepresentation; end
2205
2313
 
@@ -2254,6 +2362,12 @@ module Google
2254
2362
  include Google::Apis::Core::JsonObjectSupport
2255
2363
  end
2256
2364
 
2365
+ class GoogleCloudDialogflowV2MessageEntry
2366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2367
+
2368
+ include Google::Apis::Core::JsonObjectSupport
2369
+ end
2370
+
2257
2371
  class GoogleCloudDialogflowV2NotificationConfig
2258
2372
  class Representation < Google::Apis::Core::JsonRepresentation; end
2259
2373
 
@@ -2458,6 +2572,18 @@ module Google
2458
2572
  include Google::Apis::Core::JsonObjectSupport
2459
2573
  end
2460
2574
 
2575
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
2576
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2577
+
2578
+ include Google::Apis::Core::JsonObjectSupport
2579
+ end
2580
+
2581
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
2582
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2583
+
2584
+ include Google::Apis::Core::JsonObjectSupport
2585
+ end
2586
+
2461
2587
  class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
2462
2588
  class Representation < Google::Apis::Core::JsonRepresentation; end
2463
2589
 
@@ -2488,6 +2614,36 @@ module Google
2488
2614
  include Google::Apis::Core::JsonObjectSupport
2489
2615
  end
2490
2616
 
2617
+ class GoogleCloudDialogflowV2SummarizationContext
2618
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2619
+
2620
+ include Google::Apis::Core::JsonObjectSupport
2621
+ end
2622
+
2623
+ class GoogleCloudDialogflowV2SummarizationSection
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2629
+ class GoogleCloudDialogflowV2SummarizationSectionList
2630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2631
+
2632
+ include Google::Apis::Core::JsonObjectSupport
2633
+ end
2634
+
2635
+ class GoogleCloudDialogflowV2SummarySuggestion
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ class GoogleCloudDialogflowV2SummarySuggestionSummarySection
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2491
2647
  class GoogleCloudDialogflowV2SynthesizeSpeechConfig
2492
2648
  class Representation < Google::Apis::Core::JsonRepresentation; end
2493
2649
 
@@ -2962,6 +3118,42 @@ module Google
2962
3118
  include Google::Apis::Core::JsonObjectSupport
2963
3119
  end
2964
3120
 
3121
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
3122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3123
+
3124
+ include Google::Apis::Core::JsonObjectSupport
3125
+ end
3126
+
3127
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
3128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3129
+
3130
+ include Google::Apis::Core::JsonObjectSupport
3131
+ end
3132
+
3133
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
3134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3135
+
3136
+ include Google::Apis::Core::JsonObjectSupport
3137
+ end
3138
+
3139
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
3140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3141
+
3142
+ include Google::Apis::Core::JsonObjectSupport
3143
+ end
3144
+
3145
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
3146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3147
+
3148
+ include Google::Apis::Core::JsonObjectSupport
3149
+ end
3150
+
3151
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
3152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3153
+
3154
+ include Google::Apis::Core::JsonObjectSupport
3155
+ end
3156
+
2965
3157
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
2966
3158
  class Representation < Google::Apis::Core::JsonRepresentation; end
2967
3159
 
@@ -3040,6 +3232,12 @@ module Google
3040
3232
  include Google::Apis::Core::JsonObjectSupport
3041
3233
  end
3042
3234
 
3235
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
3236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3237
+
3238
+ include Google::Apis::Core::JsonObjectSupport
3239
+ end
3240
+
3043
3241
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
3044
3242
  class Representation < Google::Apis::Core::JsonRepresentation; end
3045
3243
 
@@ -4869,6 +5067,8 @@ module Google
4869
5067
  property :language_code, as: 'languageCode'
4870
5068
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TextInput::Representation
4871
5069
 
5070
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
5071
+
4872
5072
  end
4873
5073
  end
4874
5074
 
@@ -4903,6 +5103,8 @@ module Google
4903
5103
 
4904
5104
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4905
5105
 
5106
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
5107
+
4906
5108
  end
4907
5109
  end
4908
5110
 
@@ -5092,6 +5294,33 @@ module Google
5092
5294
  end
5093
5295
  end
5094
5296
 
5297
+ class GoogleCloudDialogflowCxV3beta1ToolCall
5298
+ # @private
5299
+ class Representation < Google::Apis::Core::JsonRepresentation
5300
+ property :action, as: 'action'
5301
+ hash :input_parameters, as: 'inputParameters'
5302
+ property :tool, as: 'tool'
5303
+ end
5304
+ end
5305
+
5306
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
5307
+ # @private
5308
+ class Representation < Google::Apis::Core::JsonRepresentation
5309
+ property :action, as: 'action'
5310
+ property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
5311
+
5312
+ hash :output_parameters, as: 'outputParameters'
5313
+ property :tool, as: 'tool'
5314
+ end
5315
+ end
5316
+
5317
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
5318
+ # @private
5319
+ class Representation < Google::Apis::Core::JsonRepresentation
5320
+ property :message, as: 'message'
5321
+ end
5322
+ end
5323
+
5095
5324
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
5096
5325
  # @private
5097
5326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5291,6 +5520,8 @@ module Google
5291
5520
  property :answer_relevance, as: 'answerRelevance'
5292
5521
  property :document_correctness, as: 'documentCorrectness'
5293
5522
  property :document_efficiency, as: 'documentEfficiency'
5523
+ property :knowledge_assist_feedback, as: 'knowledgeAssistFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback::Representation
5524
+
5294
5525
  property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
5295
5526
 
5296
5527
  property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback::Representation
@@ -5298,6 +5529,14 @@ module Google
5298
5529
  end
5299
5530
  end
5300
5531
 
5532
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback
5533
+ # @private
5534
+ class Representation < Google::Apis::Core::JsonRepresentation
5535
+ property :answer_copied, as: 'answerCopied'
5536
+ collection :clicked_uris, as: 'clickedUris'
5537
+ end
5538
+ end
5539
+
5301
5540
  class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
5302
5541
  # @private
5303
5542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5573,6 +5812,14 @@ module Google
5573
5812
  end
5574
5813
  end
5575
5814
 
5815
+ class GoogleCloudDialogflowV2ConversationContext
5816
+ # @private
5817
+ class Representation < Google::Apis::Core::JsonRepresentation
5818
+ collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry::Representation
5819
+
5820
+ end
5821
+ end
5822
+
5576
5823
  class GoogleCloudDialogflowV2ConversationDataset
5577
5824
  # @private
5578
5825
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5953,6 +6200,19 @@ module Google
5953
6200
  end
5954
6201
  end
5955
6202
 
6203
+ class GoogleCloudDialogflowV2FewShotExample
6204
+ # @private
6205
+ class Representation < Google::Apis::Core::JsonRepresentation
6206
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext::Representation
6207
+
6208
+ hash :extra_info, as: 'extraInfo'
6209
+ property :output, as: 'output', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion::Representation
6210
+
6211
+ property :summarization_section_list, as: 'summarizationSectionList', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSectionList, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSectionList::Representation
6212
+
6213
+ end
6214
+ end
6215
+
5956
6216
  class GoogleCloudDialogflowV2Fulfillment
5957
6217
  # @private
5958
6218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5998,6 +6258,26 @@ module Google
5998
6258
  end
5999
6259
  end
6000
6260
 
6261
+ class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
6262
+ # @private
6263
+ class Representation < Google::Apis::Core::JsonRepresentation
6264
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationContext::Representation
6265
+
6266
+ property :generator, as: 'generator', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator::Representation
6267
+
6268
+ property :generator_name, as: 'generatorName'
6269
+ collection :trigger_events, as: 'triggerEvents'
6270
+ end
6271
+ end
6272
+
6273
+ class GoogleCloudDialogflowV2GenerateStatelessSuggestionResponse
6274
+ # @private
6275
+ class Representation < Google::Apis::Core::JsonRepresentation
6276
+ property :generator_suggestion, as: 'generatorSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion::Representation
6277
+
6278
+ end
6279
+ end
6280
+
6001
6281
  class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
6002
6282
  # @private
6003
6283
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6037,6 +6317,29 @@ module Google
6037
6317
  end
6038
6318
  end
6039
6319
 
6320
+ class GoogleCloudDialogflowV2Generator
6321
+ # @private
6322
+ class Representation < Google::Apis::Core::JsonRepresentation
6323
+ property :create_time, as: 'createTime'
6324
+ property :description, as: 'description'
6325
+ property :inference_parameter, as: 'inferenceParameter', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2InferenceParameter::Representation
6326
+
6327
+ property :name, as: 'name'
6328
+ property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext::Representation
6329
+
6330
+ property :trigger_event, as: 'triggerEvent'
6331
+ property :update_time, as: 'updateTime'
6332
+ end
6333
+ end
6334
+
6335
+ class GoogleCloudDialogflowV2GeneratorSuggestion
6336
+ # @private
6337
+ class Representation < Google::Apis::Core::JsonRepresentation
6338
+ property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion::Representation
6339
+
6340
+ end
6341
+ end
6342
+
6040
6343
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
6041
6344
  # @private
6042
6345
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6077,8 +6380,10 @@ module Google
6077
6380
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
6078
6381
  # @private
6079
6382
  class Representation < Google::Apis::Core::JsonRepresentation
6383
+ property :disable_high_latency_features_sync_delivery, as: 'disableHighLatencyFeaturesSyncDelivery'
6080
6384
  collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
6081
6385
 
6386
+ collection :generators, as: 'generators'
6082
6387
  property :group_suggestion_responses, as: 'groupSuggestionResponses'
6083
6388
  end
6084
6389
  end
@@ -6093,6 +6398,8 @@ module Google
6093
6398
  property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
6094
6399
  property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
6095
6400
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
6401
+ property :enable_query_suggestion_only, as: 'enableQuerySuggestionOnly'
6402
+ property :enable_query_suggestion_when_no_answer, as: 'enableQuerySuggestionWhenNoAnswer'
6096
6403
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
6097
6404
 
6098
6405
  property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature::Representation
@@ -6273,6 +6580,16 @@ module Google
6273
6580
  end
6274
6581
  end
6275
6582
 
6583
+ class GoogleCloudDialogflowV2InferenceParameter
6584
+ # @private
6585
+ class Representation < Google::Apis::Core::JsonRepresentation
6586
+ property :max_output_tokens, as: 'maxOutputTokens'
6587
+ property :temperature, as: 'temperature'
6588
+ property :top_k, as: 'topK'
6589
+ property :top_p, as: 'topP'
6590
+ end
6591
+ end
6592
+
6276
6593
  class GoogleCloudDialogflowV2InputAudioConfig
6277
6594
  # @private
6278
6595
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6685,6 +7002,59 @@ module Google
6685
7002
  end
6686
7003
  end
6687
7004
 
7005
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
7006
+ # @private
7007
+ class Representation < Google::Apis::Core::JsonRepresentation
7008
+ property :answer_record, as: 'answerRecord'
7009
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery::Representation
7010
+
7011
+ property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer::Representation
7012
+
7013
+ end
7014
+ end
7015
+
7016
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
7017
+ # @private
7018
+ class Representation < Google::Apis::Core::JsonRepresentation
7019
+ property :answer_text, as: 'answerText'
7020
+ property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
7021
+
7022
+ property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
7023
+
7024
+ end
7025
+ end
7026
+
7027
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
7028
+ # @private
7029
+ class Representation < Google::Apis::Core::JsonRepresentation
7030
+ property :question, as: 'question'
7031
+ end
7032
+ end
7033
+
7034
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
7035
+ # @private
7036
+ class Representation < Google::Apis::Core::JsonRepresentation
7037
+ collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
7038
+
7039
+ end
7040
+ end
7041
+
7042
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
7043
+ # @private
7044
+ class Representation < Google::Apis::Core::JsonRepresentation
7045
+ property :text, as: 'text'
7046
+ property :title, as: 'title'
7047
+ property :uri, as: 'uri'
7048
+ end
7049
+ end
7050
+
7051
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
7052
+ # @private
7053
+ class Representation < Google::Apis::Core::JsonRepresentation
7054
+ property :query_text, as: 'queryText'
7055
+ end
7056
+ end
7057
+
6688
7058
  class GoogleCloudDialogflowV2KnowledgeBase
6689
7059
  # @private
6690
7060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6794,6 +7164,15 @@ module Google
6794
7164
  end
6795
7165
  end
6796
7166
 
7167
+ class GoogleCloudDialogflowV2ListGeneratorsResponse
7168
+ # @private
7169
+ class Representation < Google::Apis::Core::JsonRepresentation
7170
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator::Representation
7171
+
7172
+ property :next_page_token, as: 'nextPageToken'
7173
+ end
7174
+ end
7175
+
6797
7176
  class GoogleCloudDialogflowV2ListIntentsResponse
6798
7177
  # @private
6799
7178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6881,6 +7260,16 @@ module Google
6881
7260
  end
6882
7261
  end
6883
7262
 
7263
+ class GoogleCloudDialogflowV2MessageEntry
7264
+ # @private
7265
+ class Representation < Google::Apis::Core::JsonRepresentation
7266
+ property :create_time, as: 'createTime'
7267
+ property :language_code, as: 'languageCode'
7268
+ property :role, as: 'role'
7269
+ property :text, as: 'text'
7270
+ end
7271
+ end
7272
+
6884
7273
  class GoogleCloudDialogflowV2NotificationConfig
6885
7274
  # @private
6886
7275
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7226,6 +7615,25 @@ module Google
7226
7615
  end
7227
7616
  end
7228
7617
 
7618
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistRequest
7619
+ # @private
7620
+ class Representation < Google::Apis::Core::JsonRepresentation
7621
+ property :context_size, as: 'contextSize'
7622
+ property :latest_message, as: 'latestMessage'
7623
+ property :previous_suggested_query, as: 'previousSuggestedQuery'
7624
+ end
7625
+ end
7626
+
7627
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
7628
+ # @private
7629
+ class Representation < Google::Apis::Core::JsonRepresentation
7630
+ property :context_size, as: 'contextSize'
7631
+ property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswer::Representation
7632
+
7633
+ property :latest_message, as: 'latestMessage'
7634
+ end
7635
+ end
7636
+
7229
7637
  class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
7230
7638
  # @private
7231
7639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7269,11 +7677,58 @@ module Google
7269
7677
 
7270
7678
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
7271
7679
 
7680
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
7681
+
7272
7682
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
7273
7683
 
7274
7684
  end
7275
7685
  end
7276
7686
 
7687
+ class GoogleCloudDialogflowV2SummarizationContext
7688
+ # @private
7689
+ class Representation < Google::Apis::Core::JsonRepresentation
7690
+ collection :few_shot_examples, as: 'fewShotExamples', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FewShotExample, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FewShotExample::Representation
7691
+
7692
+ property :output_language_code, as: 'outputLanguageCode'
7693
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection::Representation
7694
+
7695
+ property :version, as: 'version'
7696
+ end
7697
+ end
7698
+
7699
+ class GoogleCloudDialogflowV2SummarizationSection
7700
+ # @private
7701
+ class Representation < Google::Apis::Core::JsonRepresentation
7702
+ property :definition, as: 'definition'
7703
+ property :key, as: 'key'
7704
+ property :type, as: 'type'
7705
+ end
7706
+ end
7707
+
7708
+ class GoogleCloudDialogflowV2SummarizationSectionList
7709
+ # @private
7710
+ class Representation < Google::Apis::Core::JsonRepresentation
7711
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationSection::Representation
7712
+
7713
+ end
7714
+ end
7715
+
7716
+ class GoogleCloudDialogflowV2SummarySuggestion
7717
+ # @private
7718
+ class Representation < Google::Apis::Core::JsonRepresentation
7719
+ collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection::Representation
7720
+
7721
+ end
7722
+ end
7723
+
7724
+ class GoogleCloudDialogflowV2SummarySuggestionSummarySection
7725
+ # @private
7726
+ class Representation < Google::Apis::Core::JsonRepresentation
7727
+ property :section, as: 'section'
7728
+ property :summary, as: 'summary'
7729
+ end
7730
+ end
7731
+
7277
7732
  class GoogleCloudDialogflowV2SynthesizeSpeechConfig
7278
7733
  # @private
7279
7734
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8076,6 +8531,59 @@ module Google
8076
8531
  end
8077
8532
  end
8078
8533
 
8534
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
8535
+ # @private
8536
+ class Representation < Google::Apis::Core::JsonRepresentation
8537
+ property :answer_record, as: 'answerRecord'
8538
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery::Representation
8539
+
8540
+ property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer::Representation
8541
+
8542
+ end
8543
+ end
8544
+
8545
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
8546
+ # @private
8547
+ class Representation < Google::Apis::Core::JsonRepresentation
8548
+ property :answer_text, as: 'answerText'
8549
+ property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
8550
+
8551
+ property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
8552
+
8553
+ end
8554
+ end
8555
+
8556
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
8557
+ # @private
8558
+ class Representation < Google::Apis::Core::JsonRepresentation
8559
+ property :question, as: 'question'
8560
+ end
8561
+ end
8562
+
8563
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
8564
+ # @private
8565
+ class Representation < Google::Apis::Core::JsonRepresentation
8566
+ collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
8567
+
8568
+ end
8569
+ end
8570
+
8571
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
8572
+ # @private
8573
+ class Representation < Google::Apis::Core::JsonRepresentation
8574
+ property :text, as: 'text'
8575
+ property :title, as: 'title'
8576
+ property :uri, as: 'uri'
8577
+ end
8578
+ end
8579
+
8580
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
8581
+ # @private
8582
+ class Representation < Google::Apis::Core::JsonRepresentation
8583
+ property :query_text, as: 'queryText'
8584
+ end
8585
+ end
8586
+
8079
8587
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
8080
8588
  # @private
8081
8589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8224,6 +8732,16 @@ module Google
8224
8732
  end
8225
8733
  end
8226
8734
 
8735
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
8736
+ # @private
8737
+ class Representation < Google::Apis::Core::JsonRepresentation
8738
+ property :context_size, as: 'contextSize'
8739
+ property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer::Representation
8740
+
8741
+ property :latest_message, as: 'latestMessage'
8742
+ end
8743
+ end
8744
+
8227
8745
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
8228
8746
  # @private
8229
8747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8247,6 +8765,8 @@ module Google
8247
8765
 
8248
8766
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
8249
8767
 
8768
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
8769
+
8250
8770
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
8251
8771
 
8252
8772
  end