google-apis-dialogflow_v2 0.68.0 → 0.69.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230906"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,24 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DialogflowV2
|
24
24
|
|
25
|
+
class GoogleCloudDialogflowCxV3AdvancedSettings
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
25
43
|
class GoogleCloudDialogflowCxV3AudioInput
|
26
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
45
|
|
@@ -220,6 +238,12 @@ module Google
|
|
220
238
|
include Google::Apis::Core::JsonObjectSupport
|
221
239
|
end
|
222
240
|
|
241
|
+
class GoogleCloudDialogflowCxV3GcsDestination
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
223
247
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
224
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
249
|
|
@@ -550,6 +574,24 @@ module Google
|
|
550
574
|
include Google::Apis::Core::JsonObjectSupport
|
551
575
|
end
|
552
576
|
|
577
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
583
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
589
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
|
+
|
592
|
+
include Google::Apis::Core::JsonObjectSupport
|
593
|
+
end
|
594
|
+
|
553
595
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
554
596
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
597
|
|
@@ -748,6 +790,12 @@ module Google
|
|
748
790
|
include Google::Apis::Core::JsonObjectSupport
|
749
791
|
end
|
750
792
|
|
793
|
+
class GoogleCloudDialogflowCxV3beta1GcsDestination
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
751
799
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
752
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
801
|
|
@@ -1090,6 +1138,12 @@ module Google
|
|
1090
1138
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1139
|
end
|
1092
1140
|
|
1141
|
+
class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
|
1142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1143
|
+
|
1144
|
+
include Google::Apis::Core::JsonObjectSupport
|
1145
|
+
end
|
1146
|
+
|
1093
1147
|
class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
|
1094
1148
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
1149
|
|
@@ -1348,6 +1402,12 @@ module Google
|
|
1348
1402
|
include Google::Apis::Core::JsonObjectSupport
|
1349
1403
|
end
|
1350
1404
|
|
1405
|
+
class GoogleCloudDialogflowV2DialogflowAssistAnswer
|
1406
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1407
|
+
|
1408
|
+
include Google::Apis::Core::JsonObjectSupport
|
1409
|
+
end
|
1410
|
+
|
1351
1411
|
class GoogleCloudDialogflowV2Document
|
1352
1412
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1353
1413
|
|
@@ -1564,6 +1624,12 @@ module Google
|
|
1564
1624
|
include Google::Apis::Core::JsonObjectSupport
|
1565
1625
|
end
|
1566
1626
|
|
1627
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1629
|
+
|
1630
|
+
include Google::Apis::Core::JsonObjectSupport
|
1631
|
+
end
|
1632
|
+
|
1567
1633
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
|
1568
1634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1569
1635
|
|
@@ -1858,6 +1924,12 @@ module Google
|
|
1858
1924
|
include Google::Apis::Core::JsonObjectSupport
|
1859
1925
|
end
|
1860
1926
|
|
1927
|
+
class GoogleCloudDialogflowV2IntentSuggestion
|
1928
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1929
|
+
|
1930
|
+
include Google::Apis::Core::JsonObjectSupport
|
1931
|
+
end
|
1932
|
+
|
1861
1933
|
class GoogleCloudDialogflowV2IntentTrainingPhrase
|
1862
1934
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1863
1935
|
|
@@ -2062,6 +2134,30 @@ module Google
|
|
2062
2134
|
include Google::Apis::Core::JsonObjectSupport
|
2063
2135
|
end
|
2064
2136
|
|
2137
|
+
class GoogleCloudDialogflowV2SearchKnowledgeAnswer
|
2138
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2139
|
+
|
2140
|
+
include Google::Apis::Core::JsonObjectSupport
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
|
2144
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2145
|
+
|
2146
|
+
include Google::Apis::Core::JsonObjectSupport
|
2147
|
+
end
|
2148
|
+
|
2149
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequest
|
2150
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2151
|
+
|
2152
|
+
include Google::Apis::Core::JsonObjectSupport
|
2153
|
+
end
|
2154
|
+
|
2155
|
+
class GoogleCloudDialogflowV2SearchKnowledgeResponse
|
2156
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2157
|
+
|
2158
|
+
include Google::Apis::Core::JsonObjectSupport
|
2159
|
+
end
|
2160
|
+
|
2065
2161
|
class GoogleCloudDialogflowV2Sentiment
|
2066
2162
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2067
2163
|
|
@@ -2194,6 +2290,12 @@ module Google
|
|
2194
2290
|
include Google::Apis::Core::JsonObjectSupport
|
2195
2291
|
end
|
2196
2292
|
|
2293
|
+
class GoogleCloudDialogflowV2SuggestionInput
|
2294
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2295
|
+
|
2296
|
+
include Google::Apis::Core::JsonObjectSupport
|
2297
|
+
end
|
2298
|
+
|
2197
2299
|
class GoogleCloudDialogflowV2SuggestionResult
|
2198
2300
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2199
2301
|
|
@@ -2872,6 +2974,35 @@ module Google
|
|
2872
2974
|
include Google::Apis::Core::JsonObjectSupport
|
2873
2975
|
end
|
2874
2976
|
|
2977
|
+
class GoogleCloudDialogflowCxV3AdvancedSettings
|
2978
|
+
# @private
|
2979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2980
|
+
property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GcsDestination, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GcsDestination::Representation
|
2981
|
+
|
2982
|
+
property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings::Representation
|
2983
|
+
|
2984
|
+
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
|
2985
|
+
|
2986
|
+
end
|
2987
|
+
end
|
2988
|
+
|
2989
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
|
2990
|
+
# @private
|
2991
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2992
|
+
property :enabled, as: 'enabled'
|
2993
|
+
property :finish_digit, as: 'finishDigit'
|
2994
|
+
property :max_digits, as: 'maxDigits'
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2998
|
+
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
2999
|
+
# @private
|
3000
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3001
|
+
property :enable_interaction_logging, as: 'enableInteractionLogging'
|
3002
|
+
property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
|
3003
|
+
end
|
3004
|
+
end
|
3005
|
+
|
2875
3006
|
class GoogleCloudDialogflowCxV3AudioInput
|
2876
3007
|
# @private
|
2877
3008
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3111,6 +3242,8 @@ module Google
|
|
3111
3242
|
class GoogleCloudDialogflowCxV3FormParameter
|
3112
3243
|
# @private
|
3113
3244
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3245
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3246
|
+
|
3114
3247
|
property :default_value, as: 'defaultValue'
|
3115
3248
|
property :display_name, as: 'displayName'
|
3116
3249
|
property :entity_type, as: 'entityType'
|
@@ -3135,8 +3268,11 @@ module Google
|
|
3135
3268
|
class GoogleCloudDialogflowCxV3Fulfillment
|
3136
3269
|
# @private
|
3137
3270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3271
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3272
|
+
|
3138
3273
|
collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentConditionalCases::Representation
|
3139
3274
|
|
3275
|
+
property :enable_generative_fallback, as: 'enableGenerativeFallback'
|
3140
3276
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
3141
3277
|
|
3142
3278
|
property :return_partial_responses, as: 'returnPartialResponses'
|
@@ -3182,6 +3318,13 @@ module Google
|
|
3182
3318
|
end
|
3183
3319
|
end
|
3184
3320
|
|
3321
|
+
class GoogleCloudDialogflowCxV3GcsDestination
|
3322
|
+
# @private
|
3323
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3324
|
+
property :uri, as: 'uri'
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
|
3185
3328
|
class GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
|
3186
3329
|
# @private
|
3187
3330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3307,6 +3450,8 @@ module Google
|
|
3307
3450
|
class GoogleCloudDialogflowCxV3Page
|
3308
3451
|
# @private
|
3309
3452
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3453
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3454
|
+
|
3310
3455
|
property :display_name, as: 'displayName'
|
3311
3456
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3312
3457
|
|
@@ -3750,6 +3895,35 @@ module Google
|
|
3750
3895
|
end
|
3751
3896
|
end
|
3752
3897
|
|
3898
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettings
|
3899
|
+
# @private
|
3900
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3901
|
+
property :audio_export_gcs_destination, as: 'audioExportGcsDestination', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GcsDestination, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1GcsDestination::Representation
|
3902
|
+
|
3903
|
+
property :dtmf_settings, as: 'dtmfSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings::Representation
|
3904
|
+
|
3905
|
+
property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
|
3906
|
+
|
3907
|
+
end
|
3908
|
+
end
|
3909
|
+
|
3910
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
|
3911
|
+
# @private
|
3912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3913
|
+
property :enabled, as: 'enabled'
|
3914
|
+
property :finish_digit, as: 'finishDigit'
|
3915
|
+
property :max_digits, as: 'maxDigits'
|
3916
|
+
end
|
3917
|
+
end
|
3918
|
+
|
3919
|
+
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
3920
|
+
# @private
|
3921
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3922
|
+
property :enable_interaction_logging, as: 'enableInteractionLogging'
|
3923
|
+
property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
|
3924
|
+
end
|
3925
|
+
end
|
3926
|
+
|
3753
3927
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
3754
3928
|
# @private
|
3755
3929
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3989,6 +4163,8 @@ module Google
|
|
3989
4163
|
class GoogleCloudDialogflowCxV3beta1FormParameter
|
3990
4164
|
# @private
|
3991
4165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4166
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
4167
|
+
|
3992
4168
|
property :default_value, as: 'defaultValue'
|
3993
4169
|
property :display_name, as: 'displayName'
|
3994
4170
|
property :entity_type, as: 'entityType'
|
@@ -4013,8 +4189,11 @@ module Google
|
|
4013
4189
|
class GoogleCloudDialogflowCxV3beta1Fulfillment
|
4014
4190
|
# @private
|
4015
4191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4192
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
4193
|
+
|
4016
4194
|
collection :conditional_cases, as: 'conditionalCases', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases::Representation
|
4017
4195
|
|
4196
|
+
property :enable_generative_fallback, as: 'enableGenerativeFallback'
|
4018
4197
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
4019
4198
|
|
4020
4199
|
property :return_partial_responses, as: 'returnPartialResponses'
|
@@ -4060,6 +4239,13 @@ module Google
|
|
4060
4239
|
end
|
4061
4240
|
end
|
4062
4241
|
|
4242
|
+
class GoogleCloudDialogflowCxV3beta1GcsDestination
|
4243
|
+
# @private
|
4244
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4245
|
+
property :uri, as: 'uri'
|
4246
|
+
end
|
4247
|
+
end
|
4248
|
+
|
4063
4249
|
class GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
|
4064
4250
|
# @private
|
4065
4251
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4185,6 +4371,8 @@ module Google
|
|
4185
4371
|
class GoogleCloudDialogflowCxV3beta1Page
|
4186
4372
|
# @private
|
4187
4373
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4374
|
+
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
4375
|
+
|
4188
4376
|
property :display_name, as: 'displayName'
|
4189
4377
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
4190
4378
|
|
@@ -4651,11 +4839,21 @@ module Google
|
|
4651
4839
|
property :answer_relevance, as: 'answerRelevance'
|
4652
4840
|
property :document_correctness, as: 'documentCorrectness'
|
4653
4841
|
property :document_efficiency, as: 'documentEfficiency'
|
4842
|
+
property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
|
4843
|
+
|
4654
4844
|
property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback::Representation
|
4655
4845
|
|
4656
4846
|
end
|
4657
4847
|
end
|
4658
4848
|
|
4849
|
+
class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeSearchFeedback
|
4850
|
+
# @private
|
4851
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4852
|
+
property :answer_copied, as: 'answerCopied'
|
4853
|
+
collection :clicked_uris, as: 'clickedUris'
|
4854
|
+
end
|
4855
|
+
end
|
4856
|
+
|
4659
4857
|
class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
|
4660
4858
|
# @private
|
4661
4859
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4670,6 +4868,8 @@ module Google
|
|
4670
4868
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4671
4869
|
property :article_suggestion_answer, as: 'articleSuggestionAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer::Representation
|
4672
4870
|
|
4871
|
+
property :dialogflow_assist_answer, as: 'dialogflowAssistAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer::Representation
|
4872
|
+
|
4673
4873
|
property :faq_answer, as: 'faqAnswer', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FaqAnswer::Representation
|
4674
4874
|
|
4675
4875
|
end
|
@@ -4688,6 +4888,8 @@ module Google
|
|
4688
4888
|
property :reply_audio_config, as: 'replyAudioConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig::Representation
|
4689
4889
|
|
4690
4890
|
property :request_id, as: 'requestId'
|
4891
|
+
property :suggestion_input, as: 'suggestionInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionInput::Representation
|
4892
|
+
|
4691
4893
|
property :text_input, as: 'textInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput::Representation
|
4692
4894
|
|
4693
4895
|
end
|
@@ -5109,6 +5311,17 @@ module Google
|
|
5109
5311
|
end
|
5110
5312
|
end
|
5111
5313
|
|
5314
|
+
class GoogleCloudDialogflowV2DialogflowAssistAnswer
|
5315
|
+
# @private
|
5316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5317
|
+
property :answer_record, as: 'answerRecord'
|
5318
|
+
property :intent_suggestion, as: 'intentSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentSuggestion::Representation
|
5319
|
+
|
5320
|
+
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryResult::Representation
|
5321
|
+
|
5322
|
+
end
|
5323
|
+
end
|
5324
|
+
|
5112
5325
|
class GoogleCloudDialogflowV2Document
|
5113
5326
|
# @private
|
5114
5327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5424,6 +5637,7 @@ module Google
|
|
5424
5637
|
|
5425
5638
|
property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig::Representation
|
5426
5639
|
|
5640
|
+
property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
|
5427
5641
|
property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
|
5428
5642
|
property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
|
5429
5643
|
|
@@ -5460,6 +5674,15 @@ module Google
|
|
5460
5674
|
end
|
5461
5675
|
|
5462
5676
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
|
5677
|
+
# @private
|
5678
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5679
|
+
property :agent, as: 'agent'
|
5680
|
+
property :human_agent_side_config, as: 'humanAgentSideConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig::Representation
|
5681
|
+
|
5682
|
+
end
|
5683
|
+
end
|
5684
|
+
|
5685
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig
|
5463
5686
|
# @private
|
5464
5687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5465
5688
|
property :agent, as: 'agent'
|
@@ -5968,6 +6191,15 @@ module Google
|
|
5968
6191
|
end
|
5969
6192
|
end
|
5970
6193
|
|
6194
|
+
class GoogleCloudDialogflowV2IntentSuggestion
|
6195
|
+
# @private
|
6196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6197
|
+
property :description, as: 'description'
|
6198
|
+
property :display_name, as: 'displayName'
|
6199
|
+
property :intent_v2, as: 'intentV2'
|
6200
|
+
end
|
6201
|
+
end
|
6202
|
+
|
5971
6203
|
class GoogleCloudDialogflowV2IntentTrainingPhrase
|
5972
6204
|
# @private
|
5973
6205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6315,6 +6547,47 @@ module Google
|
|
6315
6547
|
end
|
6316
6548
|
end
|
6317
6549
|
|
6550
|
+
class GoogleCloudDialogflowV2SearchKnowledgeAnswer
|
6551
|
+
# @private
|
6552
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6553
|
+
property :answer, as: 'answer'
|
6554
|
+
property :answer_record, as: 'answerRecord'
|
6555
|
+
collection :answer_sources, as: 'answerSources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource::Representation
|
6556
|
+
|
6557
|
+
property :answer_type, as: 'answerType'
|
6558
|
+
end
|
6559
|
+
end
|
6560
|
+
|
6561
|
+
class GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
|
6562
|
+
# @private
|
6563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6564
|
+
property :snippet, as: 'snippet'
|
6565
|
+
property :title, as: 'title'
|
6566
|
+
property :uri, as: 'uri'
|
6567
|
+
end
|
6568
|
+
end
|
6569
|
+
|
6570
|
+
class GoogleCloudDialogflowV2SearchKnowledgeRequest
|
6571
|
+
# @private
|
6572
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6573
|
+
property :conversation, as: 'conversation'
|
6574
|
+
property :conversation_profile, as: 'conversationProfile'
|
6575
|
+
property :latest_message, as: 'latestMessage'
|
6576
|
+
property :parent, as: 'parent'
|
6577
|
+
property :query, as: 'query', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput::Representation
|
6578
|
+
|
6579
|
+
property :session_id, as: 'sessionId'
|
6580
|
+
end
|
6581
|
+
end
|
6582
|
+
|
6583
|
+
class GoogleCloudDialogflowV2SearchKnowledgeResponse
|
6584
|
+
# @private
|
6585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6586
|
+
collection :answers, as: 'answers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswer::Representation
|
6587
|
+
|
6588
|
+
end
|
6589
|
+
end
|
6590
|
+
|
6318
6591
|
class GoogleCloudDialogflowV2Sentiment
|
6319
6592
|
# @private
|
6320
6593
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6414,6 +6687,7 @@ module Google
|
|
6414
6687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6415
6688
|
property :model, as: 'model'
|
6416
6689
|
property :speech_model_variant, as: 'speechModelVariant'
|
6690
|
+
property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
|
6417
6691
|
end
|
6418
6692
|
end
|
6419
6693
|
|
@@ -6514,6 +6788,13 @@ module Google
|
|
6514
6788
|
end
|
6515
6789
|
end
|
6516
6790
|
|
6791
|
+
class GoogleCloudDialogflowV2SuggestionInput
|
6792
|
+
# @private
|
6793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6794
|
+
property :answer_record, as: 'answerRecord'
|
6795
|
+
end
|
6796
|
+
end
|
6797
|
+
|
6517
6798
|
class GoogleCloudDialogflowV2SuggestionResult
|
6518
6799
|
# @private
|
6519
6800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4236,6 +4236,40 @@ module Google
|
|
4236
4236
|
execute_or_queue_command(command, &block)
|
4237
4237
|
end
|
4238
4238
|
|
4239
|
+
# Get answers for the given query based on knowledge documents.
|
4240
|
+
# @param [String] conversation
|
4241
|
+
# The conversation (between human agent and end user) where the search request
|
4242
|
+
# is triggered. Format: `projects//locations//conversations/`.
|
4243
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
4244
|
+
# @param [String] fields
|
4245
|
+
# Selector specifying which fields to include in a partial response.
|
4246
|
+
# @param [String] quota_user
|
4247
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4248
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4249
|
+
# @param [Google::Apis::RequestOptions] options
|
4250
|
+
# Request-specific options
|
4251
|
+
#
|
4252
|
+
# @yield [result, err] Result & error if block supplied
|
4253
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse] parsed result object
|
4254
|
+
# @yieldparam err [StandardError] error object if request failed
|
4255
|
+
#
|
4256
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse]
|
4257
|
+
#
|
4258
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4259
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4260
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4261
|
+
def search_project_conversation_suggestion_knowledge(conversation, google_cloud_dialogflow_v2_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4262
|
+
command = make_simple_command(:post, 'v2/{+conversation}/suggestions:searchKnowledge', options)
|
4263
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest::Representation
|
4264
|
+
command.request_object = google_cloud_dialogflow_v2_search_knowledge_request_object
|
4265
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse::Representation
|
4266
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
|
4267
|
+
command.params['conversation'] = conversation unless conversation.nil?
|
4268
|
+
command.query['fields'] = fields unless fields.nil?
|
4269
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4270
|
+
execute_or_queue_command(command, &block)
|
4271
|
+
end
|
4272
|
+
|
4239
4273
|
# Suggests summary for a conversation based on specific historical messages. The
|
4240
4274
|
# range of the messages to be used for summary can be specified in the request.
|
4241
4275
|
# @param [String] conversation
|
@@ -8715,6 +8749,40 @@ module Google
|
|
8715
8749
|
execute_or_queue_command(command, &block)
|
8716
8750
|
end
|
8717
8751
|
|
8752
|
+
# Get answers for the given query based on knowledge documents.
|
8753
|
+
# @param [String] conversation
|
8754
|
+
# The conversation (between human agent and end user) where the search request
|
8755
|
+
# is triggered. Format: `projects//locations//conversations/`.
|
8756
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
8757
|
+
# @param [String] fields
|
8758
|
+
# Selector specifying which fields to include in a partial response.
|
8759
|
+
# @param [String] quota_user
|
8760
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8761
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8762
|
+
# @param [Google::Apis::RequestOptions] options
|
8763
|
+
# Request-specific options
|
8764
|
+
#
|
8765
|
+
# @yield [result, err] Result & error if block supplied
|
8766
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse] parsed result object
|
8767
|
+
# @yieldparam err [StandardError] error object if request failed
|
8768
|
+
#
|
8769
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse]
|
8770
|
+
#
|
8771
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8772
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8773
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8774
|
+
def search_project_location_conversation_suggestion_knowledge(conversation, google_cloud_dialogflow_v2_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8775
|
+
command = make_simple_command(:post, 'v2/{+conversation}/suggestions:searchKnowledge', options)
|
8776
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest::Representation
|
8777
|
+
command.request_object = google_cloud_dialogflow_v2_search_knowledge_request_object
|
8778
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse::Representation
|
8779
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
|
8780
|
+
command.params['conversation'] = conversation unless conversation.nil?
|
8781
|
+
command.query['fields'] = fields unless fields.nil?
|
8782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8783
|
+
execute_or_queue_command(command, &block)
|
8784
|
+
end
|
8785
|
+
|
8718
8786
|
# Suggests summary for a conversation based on specific historical messages. The
|
8719
8787
|
# range of the messages to be used for summary can be specified in the request.
|
8720
8788
|
# @param [String] conversation
|
@@ -9397,6 +9465,40 @@ module Google
|
|
9397
9465
|
execute_or_queue_command(command, &block)
|
9398
9466
|
end
|
9399
9467
|
|
9468
|
+
# Get answers for the given query based on knowledge documents.
|
9469
|
+
# @param [String] parent
|
9470
|
+
# The parent resource contains the conversation profile Format: 'projects/' or `
|
9471
|
+
# projects//locations/`.
|
9472
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
9473
|
+
# @param [String] fields
|
9474
|
+
# Selector specifying which fields to include in a partial response.
|
9475
|
+
# @param [String] quota_user
|
9476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9478
|
+
# @param [Google::Apis::RequestOptions] options
|
9479
|
+
# Request-specific options
|
9480
|
+
#
|
9481
|
+
# @yield [result, err] Result & error if block supplied
|
9482
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse] parsed result object
|
9483
|
+
# @yieldparam err [StandardError] error object if request failed
|
9484
|
+
#
|
9485
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse]
|
9486
|
+
#
|
9487
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9488
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9489
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9490
|
+
def search_project_location_suggestion_knowledge(parent, google_cloud_dialogflow_v2_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9491
|
+
command = make_simple_command(:post, 'v2/{+parent}/suggestions:searchKnowledge', options)
|
9492
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest::Representation
|
9493
|
+
command.request_object = google_cloud_dialogflow_v2_search_knowledge_request_object
|
9494
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse::Representation
|
9495
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
|
9496
|
+
command.params['parent'] = parent unless parent.nil?
|
9497
|
+
command.query['fields'] = fields unless fields.nil?
|
9498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9499
|
+
execute_or_queue_command(command, &block)
|
9500
|
+
end
|
9501
|
+
|
9400
9502
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
9401
9503
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
9402
9504
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -9539,6 +9641,40 @@ module Google
|
|
9539
9641
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9540
9642
|
execute_or_queue_command(command, &block)
|
9541
9643
|
end
|
9644
|
+
|
9645
|
+
# Get answers for the given query based on knowledge documents.
|
9646
|
+
# @param [String] parent
|
9647
|
+
# The parent resource contains the conversation profile Format: 'projects/' or `
|
9648
|
+
# projects//locations/`.
|
9649
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
|
9650
|
+
# @param [String] fields
|
9651
|
+
# Selector specifying which fields to include in a partial response.
|
9652
|
+
# @param [String] quota_user
|
9653
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9654
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9655
|
+
# @param [Google::Apis::RequestOptions] options
|
9656
|
+
# Request-specific options
|
9657
|
+
#
|
9658
|
+
# @yield [result, err] Result & error if block supplied
|
9659
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse] parsed result object
|
9660
|
+
# @yieldparam err [StandardError] error object if request failed
|
9661
|
+
#
|
9662
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse]
|
9663
|
+
#
|
9664
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9665
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9666
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9667
|
+
def search_project_suggestion_knowledge(parent, google_cloud_dialogflow_v2_search_knowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9668
|
+
command = make_simple_command(:post, 'v2/{+parent}/suggestions:searchKnowledge', options)
|
9669
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest::Representation
|
9670
|
+
command.request_object = google_cloud_dialogflow_v2_search_knowledge_request_object
|
9671
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse::Representation
|
9672
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeResponse
|
9673
|
+
command.params['parent'] = parent unless parent.nil?
|
9674
|
+
command.query['fields'] = fields unless fields.nil?
|
9675
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9676
|
+
execute_or_queue_command(command, &block)
|
9677
|
+
end
|
9542
9678
|
|
9543
9679
|
protected
|
9544
9680
|
|