google-apis-dialogflow_v2beta1 0.86.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +601 -4
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +298 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +68 -0
- metadata +3 -3
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.88.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240607"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -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
|
|
@@ -2656,6 +2722,42 @@ module Google
|
|
2656
2722
|
include Google::Apis::Core::JsonObjectSupport
|
2657
2723
|
end
|
2658
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
|
+
|
2659
2761
|
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
2660
2762
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2661
2763
|
|
@@ -3022,6 +3124,18 @@ module Google
|
|
3022
3124
|
include Google::Apis::Core::JsonObjectSupport
|
3023
3125
|
end
|
3024
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
|
+
|
3025
3139
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
|
3026
3140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3027
3141
|
|
@@ -4971,6 +5085,8 @@ module Google
|
|
4971
5085
|
property :language_code, as: 'languageCode'
|
4972
5086
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput::Representation
|
4973
5087
|
|
5088
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
|
5089
|
+
|
4974
5090
|
end
|
4975
5091
|
end
|
4976
5092
|
|
@@ -5005,6 +5121,8 @@ module Google
|
|
5005
5121
|
|
5006
5122
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
5007
5123
|
|
5124
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
|
5125
|
+
|
5008
5126
|
end
|
5009
5127
|
end
|
5010
5128
|
|
@@ -5194,6 +5312,33 @@ module Google
|
|
5194
5312
|
end
|
5195
5313
|
end
|
5196
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
|
+
|
5197
5342
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
5198
5343
|
# @private
|
5199
5344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5978,6 +6123,59 @@ module Google
|
|
5978
6123
|
end
|
5979
6124
|
end
|
5980
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
|
+
|
5981
6179
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
5982
6180
|
# @private
|
5983
6181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6121,6 +6319,16 @@ module Google
|
|
6121
6319
|
end
|
6122
6320
|
end
|
6123
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
|
+
|
6124
6332
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
6125
6333
|
# @private
|
6126
6334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6140,6 +6348,8 @@ module Google
|
|
6140
6348
|
|
6141
6349
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
6142
6350
|
|
6351
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
|
6352
|
+
|
6143
6353
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
|
6144
6354
|
|
6145
6355
|
end
|
@@ -6206,6 +6416,8 @@ module Google
|
|
6206
6416
|
property :answer_relevance, as: 'answerRelevance'
|
6207
6417
|
property :document_correctness, as: 'documentCorrectness'
|
6208
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
|
+
|
6209
6421
|
property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
|
6210
6422
|
|
6211
6423
|
property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback::Representation
|
@@ -6213,6 +6425,14 @@ module Google
|
|
6213
6425
|
end
|
6214
6426
|
end
|
6215
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
|
+
|
6216
6436
|
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
|
6217
6437
|
# @private
|
6218
6438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6361,6 +6581,7 @@ module Google
|
|
6361
6581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6362
6582
|
property :allow_cancellation, as: 'allowCancellation'
|
6363
6583
|
property :automated_agent_reply_type, as: 'automatedAgentReplyType'
|
6584
|
+
property :call_companion_auth_code, :base64 => true, as: 'callCompanionAuthCode'
|
6364
6585
|
property :cx_current_page, as: 'cxCurrentPage'
|
6365
6586
|
hash :cx_session_parameters, as: 'cxSessionParameters'
|
6366
6587
|
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
@@ -6978,6 +7199,7 @@ module Google
|
|
6978
7199
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
|
6979
7200
|
# @private
|
6980
7201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7202
|
+
property :disable_high_latency_features_sync_delivery, as: 'disableHighLatencyFeaturesSyncDelivery'
|
6981
7203
|
collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
|
6982
7204
|
|
6983
7205
|
collection :generators, as: 'generators'
|
@@ -6995,6 +7217,8 @@ module Google
|
|
6995
7217
|
property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
|
6996
7218
|
property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
|
6997
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'
|
6998
7222
|
property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig::Representation
|
6999
7223
|
|
7000
7224
|
property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature::Representation
|
@@ -7722,6 +7946,59 @@ module Google
|
|
7722
7946
|
end
|
7723
7947
|
end
|
7724
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
|
+
|
7725
8002
|
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
7726
8003
|
# @private
|
7727
8004
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8325,6 +8602,25 @@ module Google
|
|
8325
8602
|
end
|
8326
8603
|
end
|
8327
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
|
+
|
8328
8624
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
|
8329
8625
|
# @private
|
8330
8626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8413,6 +8709,8 @@ module Google
|
|
8413
8709
|
|
8414
8710
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
8415
8711
|
|
8712
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
8713
|
+
|
8416
8714
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
8417
8715
|
|
8418
8716
|
end
|
@@ -4053,6 +4053,40 @@ module Google
|
|
4053
4053
|
execute_or_queue_command(command, &block)
|
4054
4054
|
end
|
4055
4055
|
|
4056
|
+
# Gets knowledge assist suggestions based on historical messages.
|
4057
|
+
# @param [String] parent
|
4058
|
+
# Required. The name of the participant to fetch suggestions for. Format: `
|
4059
|
+
# projects//locations//conversations//participants/`.
|
4060
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
4061
|
+
# @param [String] fields
|
4062
|
+
# Selector specifying which fields to include in a partial response.
|
4063
|
+
# @param [String] quota_user
|
4064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4066
|
+
# @param [Google::Apis::RequestOptions] options
|
4067
|
+
# Request-specific options
|
4068
|
+
#
|
4069
|
+
# @yield [result, err] Result & error if block supplied
|
4070
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse] parsed result object
|
4071
|
+
# @yieldparam err [StandardError] error object if request failed
|
4072
|
+
#
|
4073
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
4074
|
+
#
|
4075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4078
|
+
def suggest_project_conversation_participant_suggestion_knowledge_assist(parent, google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4079
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:suggestKnowledgeAssist', options)
|
4080
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest::Representation
|
4081
|
+
command.request_object = google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
4082
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
4083
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
4084
|
+
command.params['parent'] = parent unless parent.nil?
|
4085
|
+
command.query['fields'] = fields unless fields.nil?
|
4086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4087
|
+
execute_or_queue_command(command, &block)
|
4088
|
+
end
|
4089
|
+
|
4056
4090
|
# Gets smart replies for a participant based on specific historical messages.
|
4057
4091
|
# @param [String] parent
|
4058
4092
|
# Required. The name of the participant to fetch suggestion for. Format: `
|
@@ -8256,6 +8290,40 @@ module Google
|
|
8256
8290
|
execute_or_queue_command(command, &block)
|
8257
8291
|
end
|
8258
8292
|
|
8293
|
+
# Gets knowledge assist suggestions based on historical messages.
|
8294
|
+
# @param [String] parent
|
8295
|
+
# Required. The name of the participant to fetch suggestions for. Format: `
|
8296
|
+
# projects//locations//conversations//participants/`.
|
8297
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
8298
|
+
# @param [String] fields
|
8299
|
+
# Selector specifying which fields to include in a partial response.
|
8300
|
+
# @param [String] quota_user
|
8301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8303
|
+
# @param [Google::Apis::RequestOptions] options
|
8304
|
+
# Request-specific options
|
8305
|
+
#
|
8306
|
+
# @yield [result, err] Result & error if block supplied
|
8307
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse] parsed result object
|
8308
|
+
# @yieldparam err [StandardError] error object if request failed
|
8309
|
+
#
|
8310
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
8311
|
+
#
|
8312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8315
|
+
def suggest_project_location_conversation_participant_suggestion_knowledge_assist(parent, google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8316
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:suggestKnowledgeAssist', options)
|
8317
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest::Representation
|
8318
|
+
command.request_object = google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
8319
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
8320
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
8321
|
+
command.params['parent'] = parent unless parent.nil?
|
8322
|
+
command.query['fields'] = fields unless fields.nil?
|
8323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8324
|
+
execute_or_queue_command(command, &block)
|
8325
|
+
end
|
8326
|
+
|
8259
8327
|
# Gets smart replies for a participant based on specific historical messages.
|
8260
8328
|
# @param [String] parent
|
8261
8329
|
# Required. The name of the participant to fetch suggestion for. Format: `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.88.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|