google-apis-dialogflow_v3 0.4.0 → 0.9.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 +21 -0
- data/lib/google/apis/dialogflow_v3.rb +1 -1
- data/lib/google/apis/dialogflow_v3/classes.rb +860 -17
- data/lib/google/apis/dialogflow_v3/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3/representations.rb +340 -0
- data/lib/google/apis/dialogflow_v3/service.rb +59 -30
- 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.9.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 = "20210320"
|
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
|
|
@@ -2940,6 +3060,7 @@ module Google
|
|
2940
3060
|
# @private
|
2941
3061
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2942
3062
|
property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
|
3063
|
+
property :disable_webhook, as: 'disableWebhook'
|
2943
3064
|
property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
|
2944
3065
|
|
2945
3066
|
hash :parameters, as: 'parameters'
|
@@ -3082,6 +3203,7 @@ module Google
|
|
3082
3203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3083
3204
|
property :agent_content, :base64 => true, as: 'agentContent'
|
3084
3205
|
property :agent_uri, as: 'agentUri'
|
3206
|
+
property :restore_option, as: 'restoreOption'
|
3085
3207
|
end
|
3086
3208
|
end
|
3087
3209
|
|
@@ -4195,6 +4317,18 @@ module Google
|
|
4195
4317
|
end
|
4196
4318
|
end
|
4197
4319
|
|
4320
|
+
class GoogleCloudDialogflowV2ArticleAnswer
|
4321
|
+
# @private
|
4322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4323
|
+
property :answer_record, as: 'answerRecord'
|
4324
|
+
property :confidence, as: 'confidence'
|
4325
|
+
hash :metadata, as: 'metadata'
|
4326
|
+
collection :snippets, as: 'snippets'
|
4327
|
+
property :title, as: 'title'
|
4328
|
+
property :uri, as: 'uri'
|
4329
|
+
end
|
4330
|
+
end
|
4331
|
+
|
4198
4332
|
class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
|
4199
4333
|
# @private
|
4200
4334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4270,17 +4404,41 @@ module Google
|
|
4270
4404
|
end
|
4271
4405
|
end
|
4272
4406
|
|
4407
|
+
class GoogleCloudDialogflowV2FaqAnswer
|
4408
|
+
# @private
|
4409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4410
|
+
property :answer, as: 'answer'
|
4411
|
+
property :answer_record, as: 'answerRecord'
|
4412
|
+
property :confidence, as: 'confidence'
|
4413
|
+
hash :metadata, as: 'metadata'
|
4414
|
+
property :question, as: 'question'
|
4415
|
+
property :source, as: 'source'
|
4416
|
+
end
|
4417
|
+
end
|
4418
|
+
|
4419
|
+
class GoogleCloudDialogflowV2HumanAgentAssistantEvent
|
4420
|
+
# @private
|
4421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4422
|
+
property :conversation, as: 'conversation'
|
4423
|
+
property :participant, as: 'participant'
|
4424
|
+
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult::Representation
|
4425
|
+
|
4426
|
+
end
|
4427
|
+
end
|
4428
|
+
|
4273
4429
|
class GoogleCloudDialogflowV2Intent
|
4274
4430
|
# @private
|
4275
4431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4276
4432
|
property :action, as: 'action'
|
4277
4433
|
collection :default_response_platforms, as: 'defaultResponsePlatforms'
|
4278
4434
|
property :display_name, as: 'displayName'
|
4435
|
+
property :end_interaction, as: 'endInteraction'
|
4279
4436
|
collection :events, as: 'events'
|
4280
4437
|
collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
|
4281
4438
|
|
4282
4439
|
collection :input_context_names, as: 'inputContextNames'
|
4283
4440
|
property :is_fallback, as: 'isFallback'
|
4441
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
4284
4442
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
|
4285
4443
|
|
4286
4444
|
property :ml_disabled, as: 'mlDisabled'
|
@@ -4629,6 +4787,13 @@ module Google
|
|
4629
4787
|
end
|
4630
4788
|
end
|
4631
4789
|
|
4790
|
+
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
4791
|
+
# @private
|
4792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4793
|
+
property :state, as: 'state'
|
4794
|
+
end
|
4795
|
+
end
|
4796
|
+
|
4632
4797
|
class GoogleCloudDialogflowV2Message
|
4633
4798
|
# @private
|
4634
4799
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4712,6 +4877,38 @@ module Google
|
|
4712
4877
|
end
|
4713
4878
|
end
|
4714
4879
|
|
4880
|
+
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
4881
|
+
# @private
|
4882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4883
|
+
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer::Representation
|
4884
|
+
|
4885
|
+
property :context_size, as: 'contextSize'
|
4886
|
+
property :latest_message, as: 'latestMessage'
|
4887
|
+
end
|
4888
|
+
end
|
4889
|
+
|
4890
|
+
class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
|
4891
|
+
# @private
|
4892
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4893
|
+
property :context_size, as: 'contextSize'
|
4894
|
+
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer::Representation
|
4895
|
+
|
4896
|
+
property :latest_message, as: 'latestMessage'
|
4897
|
+
end
|
4898
|
+
end
|
4899
|
+
|
4900
|
+
class GoogleCloudDialogflowV2SuggestionResult
|
4901
|
+
# @private
|
4902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4903
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
4904
|
+
|
4905
|
+
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
|
4906
|
+
|
4907
|
+
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
4908
|
+
|
4909
|
+
end
|
4910
|
+
end
|
4911
|
+
|
4715
4912
|
class GoogleCloudDialogflowV2WebhookRequest
|
4716
4913
|
# @private
|
4717
4914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4741,6 +4938,26 @@ module Google
|
|
4741
4938
|
end
|
4742
4939
|
end
|
4743
4940
|
|
4941
|
+
class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
|
4942
|
+
# @private
|
4943
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4944
|
+
property :entity_type, as: 'entityType'
|
4945
|
+
property :formatted_value, as: 'formattedValue'
|
4946
|
+
property :text, as: 'text'
|
4947
|
+
end
|
4948
|
+
end
|
4949
|
+
|
4950
|
+
class GoogleCloudDialogflowV2beta1ArticleAnswer
|
4951
|
+
# @private
|
4952
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4953
|
+
property :answer_record, as: 'answerRecord'
|
4954
|
+
hash :metadata, as: 'metadata'
|
4955
|
+
collection :snippets, as: 'snippets'
|
4956
|
+
property :title, as: 'title'
|
4957
|
+
property :uri, as: 'uri'
|
4958
|
+
end
|
4959
|
+
end
|
4960
|
+
|
4744
4961
|
class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
|
4745
4962
|
# @private
|
4746
4963
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4766,6 +4983,18 @@ module Google
|
|
4766
4983
|
end
|
4767
4984
|
end
|
4768
4985
|
|
4986
|
+
class GoogleCloudDialogflowV2beta1ConversationEvent
|
4987
|
+
# @private
|
4988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4989
|
+
property :conversation, as: 'conversation'
|
4990
|
+
property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
4991
|
+
|
4992
|
+
property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message::Representation
|
4993
|
+
|
4994
|
+
property :type, as: 'type'
|
4995
|
+
end
|
4996
|
+
end
|
4997
|
+
|
4769
4998
|
class GoogleCloudDialogflowV2beta1EntityType
|
4770
4999
|
# @private
|
4771
5000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4804,6 +5033,36 @@ module Google
|
|
4804
5033
|
end
|
4805
5034
|
end
|
4806
5035
|
|
5036
|
+
class GoogleCloudDialogflowV2beta1FaqAnswer
|
5037
|
+
# @private
|
5038
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5039
|
+
property :answer, as: 'answer'
|
5040
|
+
property :answer_record, as: 'answerRecord'
|
5041
|
+
property :confidence, as: 'confidence'
|
5042
|
+
hash :metadata, as: 'metadata'
|
5043
|
+
property :question, as: 'question'
|
5044
|
+
property :source, as: 'source'
|
5045
|
+
end
|
5046
|
+
end
|
5047
|
+
|
5048
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
|
5049
|
+
# @private
|
5050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5051
|
+
property :conversation, as: 'conversation'
|
5052
|
+
property :participant, as: 'participant'
|
5053
|
+
collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult::Representation
|
5054
|
+
|
5055
|
+
end
|
5056
|
+
end
|
5057
|
+
|
5058
|
+
class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
|
5059
|
+
# @private
|
5060
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5061
|
+
collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
5062
|
+
|
5063
|
+
end
|
5064
|
+
end
|
5065
|
+
|
4807
5066
|
class GoogleCloudDialogflowV2beta1Intent
|
4808
5067
|
# @private
|
4809
5068
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4816,6 +5075,7 @@ module Google
|
|
4816
5075
|
|
4817
5076
|
collection :input_context_names, as: 'inputContextNames'
|
4818
5077
|
property :is_fallback, as: 'isFallback'
|
5078
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
4819
5079
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
4820
5080
|
|
4821
5081
|
property :ml_disabled, as: 'mlDisabled'
|
@@ -5326,6 +5586,32 @@ module Google
|
|
5326
5586
|
end
|
5327
5587
|
end
|
5328
5588
|
|
5589
|
+
class GoogleCloudDialogflowV2beta1Message
|
5590
|
+
# @private
|
5591
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5592
|
+
property :content, as: 'content'
|
5593
|
+
property :create_time, as: 'createTime'
|
5594
|
+
property :language_code, as: 'languageCode'
|
5595
|
+
property :message_annotation, as: 'messageAnnotation', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation::Representation
|
5596
|
+
|
5597
|
+
property :name, as: 'name'
|
5598
|
+
property :participant, as: 'participant'
|
5599
|
+
property :participant_role, as: 'participantRole'
|
5600
|
+
property :send_time, as: 'sendTime'
|
5601
|
+
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
|
5602
|
+
|
5603
|
+
end
|
5604
|
+
end
|
5605
|
+
|
5606
|
+
class GoogleCloudDialogflowV2beta1MessageAnnotation
|
5607
|
+
# @private
|
5608
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5609
|
+
property :contain_entities, as: 'containEntities'
|
5610
|
+
collection :parts, as: 'parts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart::Representation
|
5611
|
+
|
5612
|
+
end
|
5613
|
+
end
|
5614
|
+
|
5329
5615
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
5330
5616
|
# @private
|
5331
5617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5388,6 +5674,59 @@ module Google
|
|
5388
5674
|
end
|
5389
5675
|
end
|
5390
5676
|
|
5677
|
+
class GoogleCloudDialogflowV2beta1SmartReplyAnswer
|
5678
|
+
# @private
|
5679
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5680
|
+
property :answer_record, as: 'answerRecord'
|
5681
|
+
property :confidence, as: 'confidence'
|
5682
|
+
property :reply, as: 'reply'
|
5683
|
+
end
|
5684
|
+
end
|
5685
|
+
|
5686
|
+
class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
|
5687
|
+
# @private
|
5688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5689
|
+
collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer::Representation
|
5690
|
+
|
5691
|
+
property :context_size, as: 'contextSize'
|
5692
|
+
property :latest_message, as: 'latestMessage'
|
5693
|
+
end
|
5694
|
+
end
|
5695
|
+
|
5696
|
+
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
|
5697
|
+
# @private
|
5698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5699
|
+
property :context_size, as: 'contextSize'
|
5700
|
+
collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer::Representation
|
5701
|
+
|
5702
|
+
property :latest_message, as: 'latestMessage'
|
5703
|
+
end
|
5704
|
+
end
|
5705
|
+
|
5706
|
+
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
5707
|
+
# @private
|
5708
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5709
|
+
property :context_size, as: 'contextSize'
|
5710
|
+
property :latest_message, as: 'latestMessage'
|
5711
|
+
collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer::Representation
|
5712
|
+
|
5713
|
+
end
|
5714
|
+
end
|
5715
|
+
|
5716
|
+
class GoogleCloudDialogflowV2beta1SuggestionResult
|
5717
|
+
# @private
|
5718
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5719
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
|
5720
|
+
|
5721
|
+
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
|
5722
|
+
|
5723
|
+
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
5724
|
+
|
5725
|
+
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
5726
|
+
|
5727
|
+
end
|
5728
|
+
end
|
5729
|
+
|
5391
5730
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
5392
5731
|
# @private
|
5393
5732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5411,6 +5750,7 @@ module Google
|
|
5411
5750
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5412
5751
|
|
5413
5752
|
property :fulfillment_text, as: 'fulfillmentText'
|
5753
|
+
property :live_agent_handoff, as: 'liveAgentHandoff'
|
5414
5754
|
collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context::Representation
|
5415
5755
|
|
5416
5756
|
hash :payload, as: 'payload'
|