google-apis-dialogflow_v3 0.5.0 → 0.10.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 +21 -0
- data/lib/google/apis/dialogflow_v3.rb +1 -1
- data/lib/google/apis/dialogflow_v3/classes.rb +924 -11
- data/lib/google/apis/dialogflow_v3/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3/representations.rb +349 -0
- data/lib/google/apis/dialogflow_v3/service.rb +33 -4
- metadata +5 -5
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210329"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1312,6 +1312,12 @@ module Google
|
|
1312
1312
|
include Google::Apis::Core::JsonObjectSupport
|
1313
1313
|
end
|
1314
1314
|
|
1315
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
1316
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1317
|
+
|
1318
|
+
include Google::Apis::Core::JsonObjectSupport
|
1319
|
+
end
|
1320
|
+
|
1315
1321
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
1316
1322
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1317
1323
|
|
@@ -1360,6 +1366,18 @@ module Google
|
|
1360
1366
|
include Google::Apis::Core::JsonObjectSupport
|
1361
1367
|
end
|
1362
1368
|
|
1369
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
1370
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1371
|
+
|
1372
|
+
include Google::Apis::Core::JsonObjectSupport
|
1373
|
+
end
|
1374
|
+
|
1375
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
1376
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
|
+
|
1378
|
+
include Google::Apis::Core::JsonObjectSupport
|
1379
|
+
end
|
1380
|
+
|
1363
1381
|
class GoogleCloudDialogflowV2Intent
|
1364
1382
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1365
1383
|
|
@@ -1558,6 +1576,12 @@ module Google
|
|
1558
1576
|
include Google::Apis::Core::JsonObjectSupport
|
1559
1577
|
end
|
1560
1578
|
|
1579
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
1580
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1581
|
+
|
1582
|
+
include Google::Apis::Core::JsonObjectSupport
|
1583
|
+
end
|
1584
|
+
|
1561
1585
|
class GoogleCloudDialogflowV2Message
|
1562
1586
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1563
1587
|
|
@@ -1600,6 +1624,24 @@ module Google
|
|
1600
1624
|
include Google::Apis::Core::JsonObjectSupport
|
1601
1625
|
end
|
1602
1626
|
|
1627
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
1628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1629
|
+
|
1630
|
+
include Google::Apis::Core::JsonObjectSupport
|
1631
|
+
end
|
1632
|
+
|
1633
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
1634
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1635
|
+
|
1636
|
+
include Google::Apis::Core::JsonObjectSupport
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
1640
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1641
|
+
|
1642
|
+
include Google::Apis::Core::JsonObjectSupport
|
1643
|
+
end
|
1644
|
+
|
1603
1645
|
class GoogleCloudDialogflowV2WebhookRequest
|
1604
1646
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1605
1647
|
|
@@ -1612,6 +1654,18 @@ module Google
|
|
1612
1654
|
include Google::Apis::Core::JsonObjectSupport
|
1613
1655
|
end
|
1614
1656
|
|
1657
|
+
class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
|
1658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
|
+
|
1660
|
+
include Google::Apis::Core::JsonObjectSupport
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
class GoogleCloudDialogflowV2beta1ArticleAnswer
|
1664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1665
|
+
|
1666
|
+
include Google::Apis::Core::JsonObjectSupport
|
1667
|
+
end
|
1668
|
+
|
1615
1669
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
1616
1670
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1617
1671
|
|
@@ -1630,6 +1684,12 @@ module Google
|
|
1630
1684
|
include Google::Apis::Core::JsonObjectSupport
|
1631
1685
|
end
|
1632
1686
|
|
1687
|
+
class GoogleCloudDialogflowV2beta1ConversationEvent
|
1688
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1689
|
+
|
1690
|
+
include Google::Apis::Core::JsonObjectSupport
|
1691
|
+
end
|
1692
|
+
|
1633
1693
|
class GoogleCloudDialogflowV2beta1EntityType
|
1634
1694
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1635
1695
|
|
@@ -1654,6 +1714,24 @@ module Google
|
|
1654
1714
|
include Google::Apis::Core::JsonObjectSupport
|
1655
1715
|
end
|
1656
1716
|
|
1717
|
+
class GoogleCloudDialogflowV2beta1FaqAnswer
|
1718
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1719
|
+
|
1720
|
+
include Google::Apis::Core::JsonObjectSupport
|
1721
|
+
end
|
1722
|
+
|
1723
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
1724
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1725
|
+
|
1726
|
+
include Google::Apis::Core::JsonObjectSupport
|
1727
|
+
end
|
1728
|
+
|
1729
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1731
|
+
|
1732
|
+
include Google::Apis::Core::JsonObjectSupport
|
1733
|
+
end
|
1734
|
+
|
1657
1735
|
class GoogleCloudDialogflowV2beta1Intent
|
1658
1736
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1659
1737
|
|
@@ -1954,6 +2032,18 @@ module Google
|
|
1954
2032
|
include Google::Apis::Core::JsonObjectSupport
|
1955
2033
|
end
|
1956
2034
|
|
2035
|
+
class GoogleCloudDialogflowV2beta1Message
|
2036
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2037
|
+
|
2038
|
+
include Google::Apis::Core::JsonObjectSupport
|
2039
|
+
end
|
2040
|
+
|
2041
|
+
class GoogleCloudDialogflowV2beta1MessageAnnotation
|
2042
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2043
|
+
|
2044
|
+
include Google::Apis::Core::JsonObjectSupport
|
2045
|
+
end
|
2046
|
+
|
1957
2047
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
1958
2048
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1959
2049
|
|
@@ -1984,6 +2074,36 @@ module Google
|
|
1984
2074
|
include Google::Apis::Core::JsonObjectSupport
|
1985
2075
|
end
|
1986
2076
|
|
2077
|
+
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
2078
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2079
|
+
|
2080
|
+
include Google::Apis::Core::JsonObjectSupport
|
2081
|
+
end
|
2082
|
+
|
2083
|
+
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
2084
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2085
|
+
|
2086
|
+
include Google::Apis::Core::JsonObjectSupport
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
|
2090
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2091
|
+
|
2092
|
+
include Google::Apis::Core::JsonObjectSupport
|
2093
|
+
end
|
2094
|
+
|
2095
|
+
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
2096
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2097
|
+
|
2098
|
+
include Google::Apis::Core::JsonObjectSupport
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
class GoogleCloudDialogflowV2beta1SuggestionResult
|
2102
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2103
|
+
|
2104
|
+
include Google::Apis::Core::JsonObjectSupport
|
2105
|
+
end
|
2106
|
+
|
1987
2107
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
1988
2108
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1989
2109
|
|
@@ -2429,6 +2549,7 @@ module Google
|
|
2429
2549
|
property :name, as: 'name'
|
2430
2550
|
property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings::Representation
|
2431
2551
|
|
2552
|
+
collection :transition_route_groups, as: 'transitionRouteGroups'
|
2432
2553
|
collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
|
2433
2554
|
|
2434
2555
|
end
|
@@ -2940,6 +3061,7 @@ module Google
|
|
2940
3061
|
# @private
|
2941
3062
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2942
3063
|
property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
|
3064
|
+
property :current_page, as: 'currentPage'
|
2943
3065
|
property :disable_webhook, as: 'disableWebhook'
|
2944
3066
|
property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
|
2945
3067
|
|
@@ -3083,6 +3205,7 @@ module Google
|
|
3083
3205
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3084
3206
|
property :agent_content, :base64 => true, as: 'agentContent'
|
3085
3207
|
property :agent_uri, as: 'agentUri'
|
3208
|
+
property :restore_option, as: 'restoreOption'
|
3086
3209
|
end
|
3087
3210
|
end
|
3088
3211
|
|
@@ -3462,6 +3585,10 @@ module Google
|
|
3462
3585
|
|
3463
3586
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo::Representation
|
3464
3587
|
|
3588
|
+
property :text, as: 'text'
|
3589
|
+
property :transcript, as: 'transcript'
|
3590
|
+
property :trigger_event, as: 'triggerEvent'
|
3591
|
+
property :trigger_intent, as: 'triggerIntent'
|
3465
3592
|
end
|
3466
3593
|
end
|
3467
3594
|
|
@@ -4126,6 +4253,10 @@ module Google
|
|
4126
4253
|
|
4127
4254
|
property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
|
4128
4255
|
|
4256
|
+
property :text, as: 'text'
|
4257
|
+
property :transcript, as: 'transcript'
|
4258
|
+
property :trigger_event, as: 'triggerEvent'
|
4259
|
+
property :trigger_intent, as: 'triggerIntent'
|
4129
4260
|
end
|
4130
4261
|
end
|
4131
4262
|
|
@@ -4196,6 +4327,18 @@ module Google
|
|
4196
4327
|
end
|
4197
4328
|
end
|
4198
4329
|
|
4330
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
4331
|
+
# @private
|
4332
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4333
|
+
property :answer_record, as: 'answerRecord'
|
4334
|
+
property :confidence, as: 'confidence'
|
4335
|
+
hash :metadata, as: 'metadata'
|
4336
|
+
collection :snippets, as: 'snippets'
|
4337
|
+
property :title, as: 'title'
|
4338
|
+
property :uri, as: 'uri'
|
4339
|
+
end
|
4340
|
+
end
|
4341
|
+
|
4199
4342
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
4200
4343
|
# @private
|
4201
4344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4271,17 +4414,41 @@ module Google
|
|
4271
4414
|
end
|
4272
4415
|
end
|
4273
4416
|
|
4417
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
4418
|
+
# @private
|
4419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4420
|
+
property :answer, as: 'answer'
|
4421
|
+
property :answer_record, as: 'answerRecord'
|
4422
|
+
property :confidence, as: 'confidence'
|
4423
|
+
hash :metadata, as: 'metadata'
|
4424
|
+
property :question, as: 'question'
|
4425
|
+
property :source, as: 'source'
|
4426
|
+
end
|
4427
|
+
end
|
4428
|
+
|
4429
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
4430
|
+
# @private
|
4431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4432
|
+
property :conversation, as: 'conversation'
|
4433
|
+
property :participant, as: 'participant'
|
4434
|
+
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult::Representation
|
4435
|
+
|
4436
|
+
end
|
4437
|
+
end
|
4438
|
+
|
4274
4439
|
class GoogleCloudDialogflowV2Intent
|
4275
4440
|
# @private
|
4276
4441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4277
4442
|
property :action, as: 'action'
|
4278
4443
|
collection :default_response_platforms, as: 'defaultResponsePlatforms'
|
4279
4444
|
property :display_name, as: 'displayName'
|
4445
|
+
property :end_interaction, as: 'endInteraction'
|
4280
4446
|
collection :events, as: 'events'
|
4281
4447
|
collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
|
4282
4448
|
|
4283
4449
|
collection :input_context_names, as: 'inputContextNames'
|
4284
4450
|
property :is_fallback, as: 'isFallback'
|
4451
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
4285
4452
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
|
4286
4453
|
|
4287
4454
|
property :ml_disabled, as: 'mlDisabled'
|
@@ -4630,6 +4797,13 @@ module Google
|
|
4630
4797
|
end
|
4631
4798
|
end
|
4632
4799
|
|
4800
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
4801
|
+
# @private
|
4802
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4803
|
+
property :state, as: 'state'
|
4804
|
+
end
|
4805
|
+
end
|
4806
|
+
|
4633
4807
|
class GoogleCloudDialogflowV2Message
|
4634
4808
|
# @private
|
4635
4809
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4713,6 +4887,38 @@ module Google
|
|
4713
4887
|
end
|
4714
4888
|
end
|
4715
4889
|
|
4890
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
4891
|
+
# @private
|
4892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4893
|
+
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer::Representation
|
4894
|
+
|
4895
|
+
property :context_size, as: 'contextSize'
|
4896
|
+
property :latest_message, as: 'latestMessage'
|
4897
|
+
end
|
4898
|
+
end
|
4899
|
+
|
4900
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
4901
|
+
# @private
|
4902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4903
|
+
property :context_size, as: 'contextSize'
|
4904
|
+
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer::Representation
|
4905
|
+
|
4906
|
+
property :latest_message, as: 'latestMessage'
|
4907
|
+
end
|
4908
|
+
end
|
4909
|
+
|
4910
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
4911
|
+
# @private
|
4912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4913
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
4914
|
+
|
4915
|
+
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
|
4916
|
+
|
4917
|
+
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
4918
|
+
|
4919
|
+
end
|
4920
|
+
end
|
4921
|
+
|
4716
4922
|
class GoogleCloudDialogflowV2WebhookRequest
|
4717
4923
|
# @private
|
4718
4924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4742,6 +4948,26 @@ module Google
|
|
4742
4948
|
end
|
4743
4949
|
end
|
4744
4950
|
|
4951
|
+
class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
|
4952
|
+
# @private
|
4953
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4954
|
+
property :entity_type, as: 'entityType'
|
4955
|
+
property :formatted_value, as: 'formattedValue'
|
4956
|
+
property :text, as: 'text'
|
4957
|
+
end
|
4958
|
+
end
|
4959
|
+
|
4960
|
+
class GoogleCloudDialogflowV2beta1ArticleAnswer
|
4961
|
+
# @private
|
4962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4963
|
+
property :answer_record, as: 'answerRecord'
|
4964
|
+
hash :metadata, as: 'metadata'
|
4965
|
+
collection :snippets, as: 'snippets'
|
4966
|
+
property :title, as: 'title'
|
4967
|
+
property :uri, as: 'uri'
|
4968
|
+
end
|
4969
|
+
end
|
4970
|
+
|
4745
4971
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
4746
4972
|
# @private
|
4747
4973
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4767,6 +4993,18 @@ module Google
|
|
4767
4993
|
end
|
4768
4994
|
end
|
4769
4995
|
|
4996
|
+
class GoogleCloudDialogflowV2beta1ConversationEvent
|
4997
|
+
# @private
|
4998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4999
|
+
property :conversation, as: 'conversation'
|
5000
|
+
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
5001
|
+
|
5002
|
+
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message::Representation
|
5003
|
+
|
5004
|
+
property :type, as: 'type'
|
5005
|
+
end
|
5006
|
+
end
|
5007
|
+
|
4770
5008
|
class GoogleCloudDialogflowV2beta1EntityType
|
4771
5009
|
# @private
|
4772
5010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4805,6 +5043,36 @@ module Google
|
|
4805
5043
|
end
|
4806
5044
|
end
|
4807
5045
|
|
5046
|
+
class GoogleCloudDialogflowV2beta1FaqAnswer
|
5047
|
+
# @private
|
5048
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5049
|
+
property :answer, as: 'answer'
|
5050
|
+
property :answer_record, as: 'answerRecord'
|
5051
|
+
property :confidence, as: 'confidence'
|
5052
|
+
hash :metadata, as: 'metadata'
|
5053
|
+
property :question, as: 'question'
|
5054
|
+
property :source, as: 'source'
|
5055
|
+
end
|
5056
|
+
end
|
5057
|
+
|
5058
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
5059
|
+
# @private
|
5060
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5061
|
+
property :conversation, as: 'conversation'
|
5062
|
+
property :participant, as: 'participant'
|
5063
|
+
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult::Representation
|
5064
|
+
|
5065
|
+
end
|
5066
|
+
end
|
5067
|
+
|
5068
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
5069
|
+
# @private
|
5070
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5071
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
5072
|
+
|
5073
|
+
end
|
5074
|
+
end
|
5075
|
+
|
4808
5076
|
class GoogleCloudDialogflowV2beta1Intent
|
4809
5077
|
# @private
|
4810
5078
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4817,6 +5085,7 @@ module Google
|
|
4817
5085
|
|
4818
5086
|
collection :input_context_names, as: 'inputContextNames'
|
4819
5087
|
property :is_fallback, as: 'isFallback'
|
5088
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
4820
5089
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
4821
5090
|
|
4822
5091
|
property :ml_disabled, as: 'mlDisabled'
|
@@ -5327,6 +5596,32 @@ module Google
|
|
5327
5596
|
end
|
5328
5597
|
end
|
5329
5598
|
|
5599
|
+
class GoogleCloudDialogflowV2beta1Message
|
5600
|
+
# @private
|
5601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5602
|
+
property :content, as: 'content'
|
5603
|
+
property :create_time, as: 'createTime'
|
5604
|
+
property :language_code, as: 'languageCode'
|
5605
|
+
property :message_annotation, as: 'messageAnnotation', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation::Representation
|
5606
|
+
|
5607
|
+
property :name, as: 'name'
|
5608
|
+
property :participant, as: 'participant'
|
5609
|
+
property :participant_role, as: 'participantRole'
|
5610
|
+
property :send_time, as: 'sendTime'
|
5611
|
+
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
|
5612
|
+
|
5613
|
+
end
|
5614
|
+
end
|
5615
|
+
|
5616
|
+
class GoogleCloudDialogflowV2beta1MessageAnnotation
|
5617
|
+
# @private
|
5618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5619
|
+
property :contain_entities, as: 'containEntities'
|
5620
|
+
collection :parts, as: 'parts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart::Representation
|
5621
|
+
|
5622
|
+
end
|
5623
|
+
end
|
5624
|
+
|
5330
5625
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
5331
5626
|
# @private
|
5332
5627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5389,6 +5684,59 @@ module Google
|
|
5389
5684
|
end
|
5390
5685
|
end
|
5391
5686
|
|
5687
|
+
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
5688
|
+
# @private
|
5689
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5690
|
+
property :answer_record, as: 'answerRecord'
|
5691
|
+
property :confidence, as: 'confidence'
|
5692
|
+
property :reply, as: 'reply'
|
5693
|
+
end
|
5694
|
+
end
|
5695
|
+
|
5696
|
+
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
5697
|
+
# @private
|
5698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5699
|
+
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer::Representation
|
5700
|
+
|
5701
|
+
property :context_size, as: 'contextSize'
|
5702
|
+
property :latest_message, as: 'latestMessage'
|
5703
|
+
end
|
5704
|
+
end
|
5705
|
+
|
5706
|
+
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
|
5707
|
+
# @private
|
5708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5709
|
+
property :context_size, as: 'contextSize'
|
5710
|
+
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer::Representation
|
5711
|
+
|
5712
|
+
property :latest_message, as: 'latestMessage'
|
5713
|
+
end
|
5714
|
+
end
|
5715
|
+
|
5716
|
+
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
5717
|
+
# @private
|
5718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5719
|
+
property :context_size, as: 'contextSize'
|
5720
|
+
property :latest_message, as: 'latestMessage'
|
5721
|
+
collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer::Representation
|
5722
|
+
|
5723
|
+
end
|
5724
|
+
end
|
5725
|
+
|
5726
|
+
class GoogleCloudDialogflowV2beta1SuggestionResult
|
5727
|
+
# @private
|
5728
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5729
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
5730
|
+
|
5731
|
+
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
|
5732
|
+
|
5733
|
+
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
5734
|
+
|
5735
|
+
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
5736
|
+
|
5737
|
+
end
|
5738
|
+
end
|
5739
|
+
|
5392
5740
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
5393
5741
|
# @private
|
5394
5742
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5412,6 +5760,7 @@ module Google
|
|
5412
5760
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5413
5761
|
|
5414
5762
|
property :fulfillment_text, as: 'fulfillmentText'
|
5763
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
5415
5764
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context::Representation
|
5416
5765
|
|
5417
5766
|
hash :payload, as: 'payload'
|