google-apis-dialogflow_v2beta1 0.85.0 → 0.87.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
 
@@ -1666,6 +1684,42 @@ module Google
1666
1684
  include Google::Apis::Core::JsonObjectSupport
1667
1685
  end
1668
1686
 
1687
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
1688
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1689
+
1690
+ include Google::Apis::Core::JsonObjectSupport
1691
+ end
1692
+
1693
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
1694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1695
+
1696
+ include Google::Apis::Core::JsonObjectSupport
1697
+ end
1698
+
1699
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
1700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1701
+
1702
+ include Google::Apis::Core::JsonObjectSupport
1703
+ end
1704
+
1705
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
1706
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1707
+
1708
+ include Google::Apis::Core::JsonObjectSupport
1709
+ end
1710
+
1711
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
1712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1713
+
1714
+ include Google::Apis::Core::JsonObjectSupport
1715
+ end
1716
+
1717
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
1718
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1719
+
1720
+ include Google::Apis::Core::JsonObjectSupport
1721
+ end
1722
+
1669
1723
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
1670
1724
  class Representation < Google::Apis::Core::JsonRepresentation; end
1671
1725
 
@@ -1744,6 +1798,12 @@ module Google
1744
1798
  include Google::Apis::Core::JsonObjectSupport
1745
1799
  end
1746
1800
 
1801
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
1802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1803
+
1804
+ include Google::Apis::Core::JsonObjectSupport
1805
+ end
1806
+
1747
1807
  class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
1748
1808
  class Representation < Google::Apis::Core::JsonRepresentation; end
1749
1809
 
@@ -1786,6 +1846,12 @@ module Google
1786
1846
  include Google::Apis::Core::JsonObjectSupport
1787
1847
  end
1788
1848
 
1849
+ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
1850
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1851
+
1852
+ include Google::Apis::Core::JsonObjectSupport
1853
+ end
1854
+
1789
1855
  class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
1790
1856
  class Representation < Google::Apis::Core::JsonRepresentation; end
1791
1857
 
@@ -1978,6 +2044,12 @@ module Google
1978
2044
  include Google::Apis::Core::JsonObjectSupport
1979
2045
  end
1980
2046
 
2047
+ class GoogleCloudDialogflowV2beta1ConversationContext
2048
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2049
+
2050
+ include Google::Apis::Core::JsonObjectSupport
2051
+ end
2052
+
1981
2053
  class GoogleCloudDialogflowV2beta1ConversationEvent
1982
2054
  class Representation < Google::Apis::Core::JsonRepresentation; end
1983
2055
 
@@ -2104,6 +2176,12 @@ module Google
2104
2176
  include Google::Apis::Core::JsonObjectSupport
2105
2177
  end
2106
2178
 
2179
+ class GoogleCloudDialogflowV2beta1FewShotExample
2180
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2181
+
2182
+ include Google::Apis::Core::JsonObjectSupport
2183
+ end
2184
+
2107
2185
  class GoogleCloudDialogflowV2beta1Fulfillment
2108
2186
  class Representation < Google::Apis::Core::JsonRepresentation; end
2109
2187
 
@@ -2140,6 +2218,18 @@ module Google
2140
2218
  include Google::Apis::Core::JsonObjectSupport
2141
2219
  end
2142
2220
 
2221
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
2222
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2223
+
2224
+ include Google::Apis::Core::JsonObjectSupport
2225
+ end
2226
+
2227
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse
2228
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2229
+
2230
+ include Google::Apis::Core::JsonObjectSupport
2231
+ end
2232
+
2143
2233
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
2144
2234
  class Representation < Google::Apis::Core::JsonRepresentation; end
2145
2235
 
@@ -2164,6 +2254,18 @@ module Google
2164
2254
  include Google::Apis::Core::JsonObjectSupport
2165
2255
  end
2166
2256
 
2257
+ class GoogleCloudDialogflowV2beta1Generator
2258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2259
+
2260
+ include Google::Apis::Core::JsonObjectSupport
2261
+ end
2262
+
2263
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestion
2264
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2265
+
2266
+ include Google::Apis::Core::JsonObjectSupport
2267
+ end
2268
+
2167
2269
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
2168
2270
  class Representation < Google::Apis::Core::JsonRepresentation; end
2169
2271
 
@@ -2296,6 +2398,12 @@ module Google
2296
2398
  include Google::Apis::Core::JsonObjectSupport
2297
2399
  end
2298
2400
 
2401
+ class GoogleCloudDialogflowV2beta1InferenceParameter
2402
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2403
+
2404
+ include Google::Apis::Core::JsonObjectSupport
2405
+ end
2406
+
2299
2407
  class GoogleCloudDialogflowV2beta1InputAudioConfig
2300
2408
  class Representation < Google::Apis::Core::JsonRepresentation; end
2301
2409
 
@@ -2614,6 +2722,42 @@ module Google
2614
2722
  include Google::Apis::Core::JsonObjectSupport
2615
2723
  end
2616
2724
 
2725
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
2726
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2727
+
2728
+ include Google::Apis::Core::JsonObjectSupport
2729
+ end
2730
+
2731
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
2732
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2733
+
2734
+ include Google::Apis::Core::JsonObjectSupport
2735
+ end
2736
+
2737
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
2738
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2739
+
2740
+ include Google::Apis::Core::JsonObjectSupport
2741
+ end
2742
+
2743
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
2744
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2745
+
2746
+ include Google::Apis::Core::JsonObjectSupport
2747
+ end
2748
+
2749
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
2750
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2751
+
2752
+ include Google::Apis::Core::JsonObjectSupport
2753
+ end
2754
+
2755
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
2756
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2757
+
2758
+ include Google::Apis::Core::JsonObjectSupport
2759
+ end
2760
+
2617
2761
  class GoogleCloudDialogflowV2beta1KnowledgeBase
2618
2762
  class Representation < Google::Apis::Core::JsonRepresentation; end
2619
2763
 
@@ -2668,6 +2812,12 @@ module Google
2668
2812
  include Google::Apis::Core::JsonObjectSupport
2669
2813
  end
2670
2814
 
2815
+ class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
2816
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2817
+
2818
+ include Google::Apis::Core::JsonObjectSupport
2819
+ end
2820
+
2671
2821
  class GoogleCloudDialogflowV2beta1ListIntentsResponse
2672
2822
  class Representation < Google::Apis::Core::JsonRepresentation; end
2673
2823
 
@@ -2728,6 +2878,12 @@ module Google
2728
2878
  include Google::Apis::Core::JsonObjectSupport
2729
2879
  end
2730
2880
 
2881
+ class GoogleCloudDialogflowV2beta1MessageEntry
2882
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2883
+
2884
+ include Google::Apis::Core::JsonObjectSupport
2885
+ end
2886
+
2731
2887
  class GoogleCloudDialogflowV2beta1NotificationConfig
2732
2888
  class Representation < Google::Apis::Core::JsonRepresentation; end
2733
2889
 
@@ -2968,6 +3124,18 @@ module Google
2968
3124
  include Google::Apis::Core::JsonObjectSupport
2969
3125
  end
2970
3126
 
3127
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest
3128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3129
+
3130
+ include Google::Apis::Core::JsonObjectSupport
3131
+ end
3132
+
3133
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
3134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3135
+
3136
+ include Google::Apis::Core::JsonObjectSupport
3137
+ end
3138
+
2971
3139
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
2972
3140
  class Representation < Google::Apis::Core::JsonRepresentation; end
2973
3141
 
@@ -3016,6 +3184,36 @@ module Google
3016
3184
  include Google::Apis::Core::JsonObjectSupport
3017
3185
  end
3018
3186
 
3187
+ class GoogleCloudDialogflowV2beta1SummarizationContext
3188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3189
+
3190
+ include Google::Apis::Core::JsonObjectSupport
3191
+ end
3192
+
3193
+ class GoogleCloudDialogflowV2beta1SummarizationSection
3194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3195
+
3196
+ include Google::Apis::Core::JsonObjectSupport
3197
+ end
3198
+
3199
+ class GoogleCloudDialogflowV2beta1SummarizationSectionList
3200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3201
+
3202
+ include Google::Apis::Core::JsonObjectSupport
3203
+ end
3204
+
3205
+ class GoogleCloudDialogflowV2beta1SummarySuggestion
3206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3207
+
3208
+ include Google::Apis::Core::JsonObjectSupport
3209
+ end
3210
+
3211
+ class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection
3212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3213
+
3214
+ include Google::Apis::Core::JsonObjectSupport
3215
+ end
3216
+
3019
3217
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
3020
3218
  class Representation < Google::Apis::Core::JsonRepresentation; end
3021
3219
 
@@ -4887,6 +5085,8 @@ module Google
4887
5085
  property :language_code, as: 'languageCode'
4888
5086
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput::Representation
4889
5087
 
5088
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
5089
+
4890
5090
  end
4891
5091
  end
4892
5092
 
@@ -4921,6 +5121,8 @@ module Google
4921
5121
 
4922
5122
  property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
4923
5123
 
5124
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
5125
+
4924
5126
  end
4925
5127
  end
4926
5128
 
@@ -5110,6 +5312,33 @@ module Google
5110
5312
  end
5111
5313
  end
5112
5314
 
5315
+ class GoogleCloudDialogflowCxV3beta1ToolCall
5316
+ # @private
5317
+ class Representation < Google::Apis::Core::JsonRepresentation
5318
+ property :action, as: 'action'
5319
+ hash :input_parameters, as: 'inputParameters'
5320
+ property :tool, as: 'tool'
5321
+ end
5322
+ end
5323
+
5324
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
5325
+ # @private
5326
+ class Representation < Google::Apis::Core::JsonRepresentation
5327
+ property :action, as: 'action'
5328
+ property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
5329
+
5330
+ hash :output_parameters, as: 'outputParameters'
5331
+ property :tool, as: 'tool'
5332
+ end
5333
+ end
5334
+
5335
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
5336
+ # @private
5337
+ class Representation < Google::Apis::Core::JsonRepresentation
5338
+ property :message, as: 'message'
5339
+ end
5340
+ end
5341
+
5113
5342
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
5114
5343
  # @private
5115
5344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5894,6 +6123,59 @@ module Google
5894
6123
  end
5895
6124
  end
5896
6125
 
6126
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
6127
+ # @private
6128
+ class Representation < Google::Apis::Core::JsonRepresentation
6129
+ property :answer_record, as: 'answerRecord'
6130
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery::Representation
6131
+
6132
+ property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer::Representation
6133
+
6134
+ end
6135
+ end
6136
+
6137
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
6138
+ # @private
6139
+ class Representation < Google::Apis::Core::JsonRepresentation
6140
+ property :answer_text, as: 'answerText'
6141
+ property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
6142
+
6143
+ property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
6144
+
6145
+ end
6146
+ end
6147
+
6148
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
6149
+ # @private
6150
+ class Representation < Google::Apis::Core::JsonRepresentation
6151
+ property :question, as: 'question'
6152
+ end
6153
+ end
6154
+
6155
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
6156
+ # @private
6157
+ class Representation < Google::Apis::Core::JsonRepresentation
6158
+ collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
6159
+
6160
+ end
6161
+ end
6162
+
6163
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
6164
+ # @private
6165
+ class Representation < Google::Apis::Core::JsonRepresentation
6166
+ property :text, as: 'text'
6167
+ property :title, as: 'title'
6168
+ property :uri, as: 'uri'
6169
+ end
6170
+ end
6171
+
6172
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
6173
+ # @private
6174
+ class Representation < Google::Apis::Core::JsonRepresentation
6175
+ property :query_text, as: 'queryText'
6176
+ end
6177
+ end
6178
+
5897
6179
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
5898
6180
  # @private
5899
6181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6037,6 +6319,16 @@ module Google
6037
6319
  end
6038
6320
  end
6039
6321
 
6322
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
6323
+ # @private
6324
+ class Representation < Google::Apis::Core::JsonRepresentation
6325
+ property :context_size, as: 'contextSize'
6326
+ property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer::Representation
6327
+
6328
+ property :latest_message, as: 'latestMessage'
6329
+ end
6330
+ end
6331
+
6040
6332
  class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
6041
6333
  # @private
6042
6334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6056,6 +6348,8 @@ module Google
6056
6348
 
6057
6349
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
6058
6350
 
6351
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
6352
+
6059
6353
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
6060
6354
 
6061
6355
  end
@@ -6122,6 +6416,8 @@ module Google
6122
6416
  property :answer_relevance, as: 'answerRelevance'
6123
6417
  property :document_correctness, as: 'documentCorrectness'
6124
6418
  property :document_efficiency, as: 'documentEfficiency'
6419
+ property :knowledge_assist_feedback, as: 'knowledgeAssistFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback::Representation
6420
+
6125
6421
  property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
6126
6422
 
6127
6423
  property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback::Representation
@@ -6129,6 +6425,14 @@ module Google
6129
6425
  end
6130
6426
  end
6131
6427
 
6428
+ class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
6429
+ # @private
6430
+ class Representation < Google::Apis::Core::JsonRepresentation
6431
+ property :answer_copied, as: 'answerCopied'
6432
+ collection :clicked_uris, as: 'clickedUris'
6433
+ end
6434
+ end
6435
+
6132
6436
  class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
6133
6437
  # @private
6134
6438
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6277,6 +6581,7 @@ module Google
6277
6581
  class Representation < Google::Apis::Core::JsonRepresentation
6278
6582
  property :allow_cancellation, as: 'allowCancellation'
6279
6583
  property :automated_agent_reply_type, as: 'automatedAgentReplyType'
6584
+ property :call_companion_auth_code, :base64 => true, as: 'callCompanionAuthCode'
6280
6585
  property :cx_current_page, as: 'cxCurrentPage'
6281
6586
  hash :cx_session_parameters, as: 'cxSessionParameters'
6282
6587
  property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
@@ -6460,6 +6765,14 @@ module Google
6460
6765
  end
6461
6766
  end
6462
6767
 
6768
+ class GoogleCloudDialogflowV2beta1ConversationContext
6769
+ # @private
6770
+ class Representation < Google::Apis::Core::JsonRepresentation
6771
+ collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry::Representation
6772
+
6773
+ end
6774
+ end
6775
+
6463
6776
  class GoogleCloudDialogflowV2beta1ConversationEvent
6464
6777
  # @private
6465
6778
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6699,6 +7012,19 @@ module Google
6699
7012
  end
6700
7013
  end
6701
7014
 
7015
+ class GoogleCloudDialogflowV2beta1FewShotExample
7016
+ # @private
7017
+ class Representation < Google::Apis::Core::JsonRepresentation
7018
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext::Representation
7019
+
7020
+ hash :extra_info, as: 'extraInfo'
7021
+ property :output, as: 'output', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion::Representation
7022
+
7023
+ property :summarization_section_list, as: 'summarizationSectionList', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList::Representation
7024
+
7025
+ end
7026
+ end
7027
+
6702
7028
  class GoogleCloudDialogflowV2beta1Fulfillment
6703
7029
  # @private
6704
7030
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6751,6 +7077,26 @@ module Google
6751
7077
  end
6752
7078
  end
6753
7079
 
7080
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
7081
+ # @private
7082
+ class Representation < Google::Apis::Core::JsonRepresentation
7083
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext::Representation
7084
+
7085
+ property :generator, as: 'generator', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation
7086
+
7087
+ property :generator_name, as: 'generatorName'
7088
+ collection :trigger_events, as: 'triggerEvents'
7089
+ end
7090
+ end
7091
+
7092
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse
7093
+ # @private
7094
+ class Representation < Google::Apis::Core::JsonRepresentation
7095
+ property :generator_suggestion, as: 'generatorSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion::Representation
7096
+
7097
+ end
7098
+ end
7099
+
6754
7100
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
6755
7101
  # @private
6756
7102
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6790,6 +7136,29 @@ module Google
6790
7136
  end
6791
7137
  end
6792
7138
 
7139
+ class GoogleCloudDialogflowV2beta1Generator
7140
+ # @private
7141
+ class Representation < Google::Apis::Core::JsonRepresentation
7142
+ property :create_time, as: 'createTime'
7143
+ property :description, as: 'description'
7144
+ property :inference_parameter, as: 'inferenceParameter', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter::Representation
7145
+
7146
+ property :name, as: 'name'
7147
+ property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext::Representation
7148
+
7149
+ property :trigger_event, as: 'triggerEvent'
7150
+ property :update_time, as: 'updateTime'
7151
+ end
7152
+ end
7153
+
7154
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestion
7155
+ # @private
7156
+ class Representation < Google::Apis::Core::JsonRepresentation
7157
+ property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
7158
+
7159
+ end
7160
+ end
7161
+
6793
7162
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
6794
7163
  # @private
6795
7164
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6830,8 +7199,10 @@ module Google
6830
7199
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
6831
7200
  # @private
6832
7201
  class Representation < Google::Apis::Core::JsonRepresentation
7202
+ property :disable_high_latency_features_sync_delivery, as: 'disableHighLatencyFeaturesSyncDelivery'
6833
7203
  collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
6834
7204
 
7205
+ collection :generators, as: 'generators'
6835
7206
  property :group_suggestion_responses, as: 'groupSuggestionResponses'
6836
7207
  end
6837
7208
  end
@@ -6846,6 +7217,8 @@ module Google
6846
7217
  property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
6847
7218
  property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
6848
7219
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
7220
+ property :enable_query_suggestion_only, as: 'enableQuerySuggestionOnly'
7221
+ property :enable_query_suggestion_when_no_answer, as: 'enableQuerySuggestionWhenNoAnswer'
6849
7222
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig::Representation
6850
7223
 
6851
7224
  property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature::Representation
@@ -7000,12 +7373,23 @@ module Google
7000
7373
  end
7001
7374
  end
7002
7375
 
7376
+ class GoogleCloudDialogflowV2beta1InferenceParameter
7377
+ # @private
7378
+ class Representation < Google::Apis::Core::JsonRepresentation
7379
+ property :max_output_tokens, as: 'maxOutputTokens'
7380
+ property :temperature, as: 'temperature'
7381
+ property :top_k, as: 'topK'
7382
+ property :top_p, as: 'topP'
7383
+ end
7384
+ end
7385
+
7003
7386
  class GoogleCloudDialogflowV2beta1InputAudioConfig
7004
7387
  # @private
7005
7388
  class Representation < Google::Apis::Core::JsonRepresentation
7006
7389
  property :audio_encoding, as: 'audioEncoding'
7007
7390
  property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig::Representation
7008
7391
 
7392
+ property :default_no_speech_timeout, as: 'defaultNoSpeechTimeout'
7009
7393
  property :disable_no_speech_recognized_event, as: 'disableNoSpeechRecognizedEvent'
7010
7394
  property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
7011
7395
  property :enable_word_info, as: 'enableWordInfo'
@@ -7562,6 +7946,59 @@ module Google
7562
7946
  end
7563
7947
  end
7564
7948
 
7949
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
7950
+ # @private
7951
+ class Representation < Google::Apis::Core::JsonRepresentation
7952
+ property :answer_record, as: 'answerRecord'
7953
+ property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery::Representation
7954
+
7955
+ property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer::Representation
7956
+
7957
+ end
7958
+ end
7959
+
7960
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
7961
+ # @private
7962
+ class Representation < Google::Apis::Core::JsonRepresentation
7963
+ property :answer_text, as: 'answerText'
7964
+ property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
7965
+
7966
+ property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
7967
+
7968
+ end
7969
+ end
7970
+
7971
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
7972
+ # @private
7973
+ class Representation < Google::Apis::Core::JsonRepresentation
7974
+ property :question, as: 'question'
7975
+ end
7976
+ end
7977
+
7978
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
7979
+ # @private
7980
+ class Representation < Google::Apis::Core::JsonRepresentation
7981
+ collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
7982
+
7983
+ end
7984
+ end
7985
+
7986
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
7987
+ # @private
7988
+ class Representation < Google::Apis::Core::JsonRepresentation
7989
+ property :text, as: 'text'
7990
+ property :title, as: 'title'
7991
+ property :uri, as: 'uri'
7992
+ end
7993
+ end
7994
+
7995
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
7996
+ # @private
7997
+ class Representation < Google::Apis::Core::JsonRepresentation
7998
+ property :query_text, as: 'queryText'
7999
+ end
8000
+ end
8001
+
7565
8002
  class GoogleCloudDialogflowV2beta1KnowledgeBase
7566
8003
  # @private
7567
8004
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7644,6 +8081,15 @@ module Google
7644
8081
  end
7645
8082
  end
7646
8083
 
8084
+ class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
8085
+ # @private
8086
+ class Representation < Google::Apis::Core::JsonRepresentation
8087
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation
8088
+
8089
+ property :next_page_token, as: 'nextPageToken'
8090
+ end
8091
+ end
8092
+
7647
8093
  class GoogleCloudDialogflowV2beta1ListIntentsResponse
7648
8094
  # @private
7649
8095
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7740,6 +8186,16 @@ module Google
7740
8186
  end
7741
8187
  end
7742
8188
 
8189
+ class GoogleCloudDialogflowV2beta1MessageEntry
8190
+ # @private
8191
+ class Representation < Google::Apis::Core::JsonRepresentation
8192
+ property :create_time, as: 'createTime'
8193
+ property :language_code, as: 'languageCode'
8194
+ property :role, as: 'role'
8195
+ property :text, as: 'text'
8196
+ end
8197
+ end
8198
+
7743
8199
  class GoogleCloudDialogflowV2beta1NotificationConfig
7744
8200
  # @private
7745
8201
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8146,6 +8602,25 @@ module Google
8146
8602
  end
8147
8603
  end
8148
8604
 
8605
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest
8606
+ # @private
8607
+ class Representation < Google::Apis::Core::JsonRepresentation
8608
+ property :context_size, as: 'contextSize'
8609
+ property :latest_message, as: 'latestMessage'
8610
+ property :previous_suggested_query, as: 'previousSuggestedQuery'
8611
+ end
8612
+ end
8613
+
8614
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
8615
+ # @private
8616
+ class Representation < Google::Apis::Core::JsonRepresentation
8617
+ property :context_size, as: 'contextSize'
8618
+ property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer::Representation
8619
+
8620
+ property :latest_message, as: 'latestMessage'
8621
+ end
8622
+ end
8623
+
8149
8624
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
8150
8625
  # @private
8151
8626
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8234,11 +8709,58 @@ module Google
8234
8709
 
8235
8710
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
8236
8711
 
8712
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
8713
+
8237
8714
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
8238
8715
 
8239
8716
  end
8240
8717
  end
8241
8718
 
8719
+ class GoogleCloudDialogflowV2beta1SummarizationContext
8720
+ # @private
8721
+ class Representation < Google::Apis::Core::JsonRepresentation
8722
+ collection :few_shot_examples, as: 'fewShotExamples', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample::Representation
8723
+
8724
+ property :output_language_code, as: 'outputLanguageCode'
8725
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection::Representation
8726
+
8727
+ property :version, as: 'version'
8728
+ end
8729
+ end
8730
+
8731
+ class GoogleCloudDialogflowV2beta1SummarizationSection
8732
+ # @private
8733
+ class Representation < Google::Apis::Core::JsonRepresentation
8734
+ property :definition, as: 'definition'
8735
+ property :key, as: 'key'
8736
+ property :type, as: 'type'
8737
+ end
8738
+ end
8739
+
8740
+ class GoogleCloudDialogflowV2beta1SummarizationSectionList
8741
+ # @private
8742
+ class Representation < Google::Apis::Core::JsonRepresentation
8743
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection::Representation
8744
+
8745
+ end
8746
+ end
8747
+
8748
+ class GoogleCloudDialogflowV2beta1SummarySuggestion
8749
+ # @private
8750
+ class Representation < Google::Apis::Core::JsonRepresentation
8751
+ collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection::Representation
8752
+
8753
+ end
8754
+ end
8755
+
8756
+ class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection
8757
+ # @private
8758
+ class Representation < Google::Apis::Core::JsonRepresentation
8759
+ property :section, as: 'section'
8760
+ property :summary, as: 'summary'
8761
+ end
8762
+ end
8763
+
8242
8764
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
8243
8765
  # @private
8244
8766
  class Representation < Google::Apis::Core::JsonRepresentation