google-apis-dialogflow_v2 0.25.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/dialogflow_v2/classes.rb +489 -17
- data/lib/google/apis/dialogflow_v2/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2/representations.rb +211 -0
- data/lib/google/apis/dialogflow_v2/service.rb +303 -6
- metadata +4 -4
@@ -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.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220119"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class GoogleCloudDialogflowCxV3ResponseMessageText
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -826,6 +832,12 @@ module Google
|
|
826
832
|
include Google::Apis::Core::JsonObjectSupport
|
827
833
|
end
|
828
834
|
|
835
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
|
836
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
|
+
|
838
|
+
include Google::Apis::Core::JsonObjectSupport
|
839
|
+
end
|
840
|
+
|
829
841
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
830
842
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
843
|
|
@@ -1012,6 +1024,12 @@ module Google
|
|
1012
1024
|
include Google::Apis::Core::JsonObjectSupport
|
1013
1025
|
end
|
1014
1026
|
|
1027
|
+
class GoogleCloudDialogflowV2AssistQueryParameters
|
1028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1029
|
+
|
1030
|
+
include Google::Apis::Core::JsonObjectSupport
|
1031
|
+
end
|
1032
|
+
|
1015
1033
|
class GoogleCloudDialogflowV2AutomatedAgentConfig
|
1016
1034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1017
1035
|
|
@@ -1198,6 +1216,12 @@ module Google
|
|
1198
1216
|
include Google::Apis::Core::JsonObjectSupport
|
1199
1217
|
end
|
1200
1218
|
|
1219
|
+
class GoogleCloudDialogflowV2ExportDocumentRequest
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
|
+
|
1222
|
+
include Google::Apis::Core::JsonObjectSupport
|
1223
|
+
end
|
1224
|
+
|
1201
1225
|
class GoogleCloudDialogflowV2FaqAnswer
|
1202
1226
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1203
1227
|
|
@@ -1222,6 +1246,18 @@ module Google
|
|
1222
1246
|
include Google::Apis::Core::JsonObjectSupport
|
1223
1247
|
end
|
1224
1248
|
|
1249
|
+
class GoogleCloudDialogflowV2GcsDestination
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
|
+
|
1252
|
+
include Google::Apis::Core::JsonObjectSupport
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
class GoogleCloudDialogflowV2GcsSources
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1225
1261
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfig
|
1226
1262
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
1263
|
|
@@ -1234,6 +1270,12 @@ module Google
|
|
1234
1270
|
include Google::Apis::Core::JsonObjectSupport
|
1235
1271
|
end
|
1236
1272
|
|
1273
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1237
1279
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
|
1238
1280
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
1281
|
|
@@ -1318,6 +1360,24 @@ module Google
|
|
1318
1360
|
include Google::Apis::Core::JsonObjectSupport
|
1319
1361
|
end
|
1320
1362
|
|
1363
|
+
class GoogleCloudDialogflowV2ImportDocumentTemplate
|
1364
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1365
|
+
|
1366
|
+
include Google::Apis::Core::JsonObjectSupport
|
1367
|
+
end
|
1368
|
+
|
1369
|
+
class GoogleCloudDialogflowV2ImportDocumentsRequest
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
|
+
|
1372
|
+
include Google::Apis::Core::JsonObjectSupport
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
1376
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
|
+
|
1378
|
+
include Google::Apis::Core::JsonObjectSupport
|
1379
|
+
end
|
1380
|
+
|
1321
1381
|
class GoogleCloudDialogflowV2InputAudioConfig
|
1322
1382
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1323
1383
|
|
@@ -1726,6 +1786,12 @@ module Google
|
|
1726
1786
|
include Google::Apis::Core::JsonObjectSupport
|
1727
1787
|
end
|
1728
1788
|
|
1789
|
+
class GoogleCloudDialogflowV2SmartReplyAnswer
|
1790
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1791
|
+
|
1792
|
+
include Google::Apis::Core::JsonObjectSupport
|
1793
|
+
end
|
1794
|
+
|
1729
1795
|
class GoogleCloudDialogflowV2SpeechContext
|
1730
1796
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1731
1797
|
|
@@ -1762,6 +1828,18 @@ module Google
|
|
1762
1828
|
include Google::Apis::Core::JsonObjectSupport
|
1763
1829
|
end
|
1764
1830
|
|
1831
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
|
1832
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1833
|
+
|
1834
|
+
include Google::Apis::Core::JsonObjectSupport
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
1838
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1839
|
+
|
1840
|
+
include Google::Apis::Core::JsonObjectSupport
|
1841
|
+
end
|
1842
|
+
|
1765
1843
|
class GoogleCloudDialogflowV2SuggestionFeature
|
1766
1844
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1767
1845
|
|
@@ -2793,6 +2871,7 @@ module Google
|
|
2793
2871
|
# @private
|
2794
2872
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2795
2873
|
property :current_page, as: 'currentPage'
|
2874
|
+
property :display_name, as: 'displayName'
|
2796
2875
|
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
|
2797
2876
|
|
2798
2877
|
end
|
@@ -2858,6 +2937,8 @@ module Google
|
|
2858
2937
|
hash :payload, as: 'payload'
|
2859
2938
|
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
|
2860
2939
|
|
2940
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
|
2941
|
+
|
2861
2942
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
|
2862
2943
|
|
2863
2944
|
end
|
@@ -2917,6 +2998,13 @@ module Google
|
|
2917
2998
|
end
|
2918
2999
|
end
|
2919
3000
|
|
3001
|
+
class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
|
3002
|
+
# @private
|
3003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3004
|
+
property :phone_number, as: 'phoneNumber'
|
3005
|
+
end
|
3006
|
+
end
|
3007
|
+
|
2920
3008
|
class GoogleCloudDialogflowCxV3ResponseMessageText
|
2921
3009
|
# @private
|
2922
3010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3552,6 +3640,7 @@ module Google
|
|
3552
3640
|
# @private
|
3553
3641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3554
3642
|
property :current_page, as: 'currentPage'
|
3643
|
+
property :display_name, as: 'displayName'
|
3555
3644
|
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
|
3556
3645
|
|
3557
3646
|
end
|
@@ -3617,6 +3706,8 @@ module Google
|
|
3617
3706
|
hash :payload, as: 'payload'
|
3618
3707
|
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
3619
3708
|
|
3709
|
+
property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
|
3710
|
+
|
3620
3711
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
3621
3712
|
|
3622
3713
|
end
|
@@ -3676,6 +3767,13 @@ module Google
|
|
3676
3767
|
end
|
3677
3768
|
end
|
3678
3769
|
|
3770
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
|
3771
|
+
# @private
|
3772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3773
|
+
property :phone_number, as: 'phoneNumber'
|
3774
|
+
end
|
3775
|
+
end
|
3776
|
+
|
3679
3777
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
3680
3778
|
# @private
|
3681
3779
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3938,6 +4036,8 @@ module Google
|
|
3938
4036
|
class GoogleCloudDialogflowV2AnalyzeContentRequest
|
3939
4037
|
# @private
|
3940
4038
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4039
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
|
4040
|
+
|
3941
4041
|
property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput::Representation
|
3942
4042
|
|
3943
4043
|
property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters::Representation
|
@@ -4014,6 +4114,13 @@ module Google
|
|
4014
4114
|
end
|
4015
4115
|
end
|
4016
4116
|
|
4117
|
+
class GoogleCloudDialogflowV2AssistQueryParameters
|
4118
|
+
# @private
|
4119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4120
|
+
hash :documents_metadata_filters, as: 'documentsMetadataFilters'
|
4121
|
+
end
|
4122
|
+
end
|
4123
|
+
|
4017
4124
|
class GoogleCloudDialogflowV2AutomatedAgentConfig
|
4018
4125
|
# @private
|
4019
4126
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4334,6 +4441,16 @@ module Google
|
|
4334
4441
|
end
|
4335
4442
|
end
|
4336
4443
|
|
4444
|
+
class GoogleCloudDialogflowV2ExportDocumentRequest
|
4445
|
+
# @private
|
4446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4447
|
+
property :export_full_content, as: 'exportFullContent'
|
4448
|
+
property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination::Representation
|
4449
|
+
|
4450
|
+
property :smart_messaging_partial_update, as: 'smartMessagingPartialUpdate'
|
4451
|
+
end
|
4452
|
+
end
|
4453
|
+
|
4337
4454
|
class GoogleCloudDialogflowV2FaqAnswer
|
4338
4455
|
# @private
|
4339
4456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4377,6 +4494,20 @@ module Google
|
|
4377
4494
|
end
|
4378
4495
|
end
|
4379
4496
|
|
4497
|
+
class GoogleCloudDialogflowV2GcsDestination
|
4498
|
+
# @private
|
4499
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4500
|
+
property :uri, as: 'uri'
|
4501
|
+
end
|
4502
|
+
end
|
4503
|
+
|
4504
|
+
class GoogleCloudDialogflowV2GcsSources
|
4505
|
+
# @private
|
4506
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4507
|
+
collection :uris, as: 'uris'
|
4508
|
+
end
|
4509
|
+
end
|
4510
|
+
|
4380
4511
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfig
|
4381
4512
|
# @private
|
4382
4513
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4398,6 +4529,13 @@ module Google
|
|
4398
4529
|
end
|
4399
4530
|
end
|
4400
4531
|
|
4532
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
|
4533
|
+
# @private
|
4534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4535
|
+
property :recent_sentences_count, as: 'recentSentencesCount'
|
4536
|
+
end
|
4537
|
+
end
|
4538
|
+
|
4401
4539
|
class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
|
4402
4540
|
# @private
|
4403
4541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4420,6 +4558,8 @@ module Google
|
|
4420
4558
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4421
4559
|
property :conversation_model_config, as: 'conversationModelConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig::Representation
|
4422
4560
|
|
4561
|
+
property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig::Representation
|
4562
|
+
|
4423
4563
|
property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
|
4424
4564
|
property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
|
4425
4565
|
|
@@ -4529,6 +4669,34 @@ module Google
|
|
4529
4669
|
end
|
4530
4670
|
end
|
4531
4671
|
|
4672
|
+
class GoogleCloudDialogflowV2ImportDocumentTemplate
|
4673
|
+
# @private
|
4674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4675
|
+
collection :knowledge_types, as: 'knowledgeTypes'
|
4676
|
+
hash :metadata, as: 'metadata'
|
4677
|
+
property :mime_type, as: 'mimeType'
|
4678
|
+
end
|
4679
|
+
end
|
4680
|
+
|
4681
|
+
class GoogleCloudDialogflowV2ImportDocumentsRequest
|
4682
|
+
# @private
|
4683
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4684
|
+
property :document_template, as: 'documentTemplate', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ImportDocumentTemplate::Representation
|
4685
|
+
|
4686
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsSources::Representation
|
4687
|
+
|
4688
|
+
property :import_gcs_custom_metadata, as: 'importGcsCustomMetadata'
|
4689
|
+
end
|
4690
|
+
end
|
4691
|
+
|
4692
|
+
class GoogleCloudDialogflowV2ImportDocumentsResponse
|
4693
|
+
# @private
|
4694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4695
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
|
4696
|
+
|
4697
|
+
end
|
4698
|
+
end
|
4699
|
+
|
4532
4700
|
class GoogleCloudDialogflowV2InputAudioConfig
|
4533
4701
|
# @private
|
4534
4702
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4927,6 +5095,7 @@ module Google
|
|
4927
5095
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
4928
5096
|
# @private
|
4929
5097
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5098
|
+
property :knowledge_base, as: 'knowledgeBase'
|
4930
5099
|
property :state, as: 'state'
|
4931
5100
|
end
|
4932
5101
|
end
|
@@ -5066,6 +5235,9 @@ module Google
|
|
5066
5235
|
property :name, as: 'name'
|
5067
5236
|
property :participant, as: 'participant'
|
5068
5237
|
property :participant_role, as: 'participantRole'
|
5238
|
+
property :send_time, as: 'sendTime'
|
5239
|
+
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
|
5240
|
+
|
5069
5241
|
end
|
5070
5242
|
end
|
5071
5243
|
|
@@ -5117,6 +5289,7 @@ module Google
|
|
5117
5289
|
class GoogleCloudDialogflowV2Participant
|
5118
5290
|
# @private
|
5119
5291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5292
|
+
hash :documents_metadata_filters, as: 'documentsMetadataFilters'
|
5120
5293
|
property :name, as: 'name'
|
5121
5294
|
property :role, as: 'role'
|
5122
5295
|
property :sip_recording_media_label, as: 'sipRecordingMediaLabel'
|
@@ -5183,6 +5356,8 @@ module Google
|
|
5183
5356
|
# @private
|
5184
5357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5185
5358
|
property :content_uri, as: 'contentUri'
|
5359
|
+
property :import_gcs_custom_metadata, as: 'importGcsCustomMetadata'
|
5360
|
+
property :smart_messaging_partial_update, as: 'smartMessagingPartialUpdate'
|
5186
5361
|
end
|
5187
5362
|
end
|
5188
5363
|
|
@@ -5236,6 +5411,15 @@ module Google
|
|
5236
5411
|
end
|
5237
5412
|
end
|
5238
5413
|
|
5414
|
+
class GoogleCloudDialogflowV2SmartReplyAnswer
|
5415
|
+
# @private
|
5416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5417
|
+
property :answer_record, as: 'answerRecord'
|
5418
|
+
property :confidence, as: 'confidence'
|
5419
|
+
property :reply, as: 'reply'
|
5420
|
+
end
|
5421
|
+
end
|
5422
|
+
|
5239
5423
|
class GoogleCloudDialogflowV2SpeechContext
|
5240
5424
|
# @private
|
5241
5425
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5254,6 +5438,8 @@ module Google
|
|
5254
5438
|
class GoogleCloudDialogflowV2SuggestArticlesRequest
|
5255
5439
|
# @private
|
5256
5440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5441
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
|
5442
|
+
|
5257
5443
|
property :context_size, as: 'contextSize'
|
5258
5444
|
property :latest_message, as: 'latestMessage'
|
5259
5445
|
end
|
@@ -5272,6 +5458,8 @@ module Google
|
|
5272
5458
|
class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
|
5273
5459
|
# @private
|
5274
5460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5461
|
+
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
|
5462
|
+
|
5275
5463
|
property :context_size, as: 'contextSize'
|
5276
5464
|
property :latest_message, as: 'latestMessage'
|
5277
5465
|
end
|
@@ -5287,6 +5475,26 @@ module Google
|
|
5287
5475
|
end
|
5288
5476
|
end
|
5289
5477
|
|
5478
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
|
5479
|
+
# @private
|
5480
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5481
|
+
property :context_size, as: 'contextSize'
|
5482
|
+
property :current_text_input, as: 'currentTextInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput::Representation
|
5483
|
+
|
5484
|
+
property :latest_message, as: 'latestMessage'
|
5485
|
+
end
|
5486
|
+
end
|
5487
|
+
|
5488
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
5489
|
+
# @private
|
5490
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5491
|
+
property :context_size, as: 'contextSize'
|
5492
|
+
property :latest_message, as: 'latestMessage'
|
5493
|
+
collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyAnswer::Representation
|
5494
|
+
|
5495
|
+
end
|
5496
|
+
end
|
5497
|
+
|
5290
5498
|
class GoogleCloudDialogflowV2SuggestionFeature
|
5291
5499
|
# @private
|
5292
5500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5303,6 +5511,8 @@ module Google
|
|
5303
5511
|
|
5304
5512
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
5305
5513
|
|
5514
|
+
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
|
5515
|
+
|
5306
5516
|
end
|
5307
5517
|
end
|
5308
5518
|
|
@@ -6052,6 +6262,7 @@ module Google
|
|
6052
6262
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
6053
6263
|
# @private
|
6054
6264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6265
|
+
property :knowledge_base, as: 'knowledgeBase'
|
6055
6266
|
property :state, as: 'state'
|
6056
6267
|
end
|
6057
6268
|
end
|