google-apis-dialogflow_v3 0.3.0 → 0.8.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.
@@ -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.3.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210209"
25
+ REVISION = "20210314"
26
26
  end
27
27
  end
28
28
  end
@@ -772,6 +772,24 @@ module Google
772
772
  include Google::Apis::Core::JsonObjectSupport
773
773
  end
774
774
 
775
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
787
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
788
+ class Representation < Google::Apis::Core::JsonRepresentation; end
789
+
790
+ include Google::Apis::Core::JsonObjectSupport
791
+ end
792
+
775
793
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
776
794
  class Representation < Google::Apis::Core::JsonRepresentation; end
777
795
 
@@ -1294,6 +1312,12 @@ module Google
1294
1312
  include Google::Apis::Core::JsonObjectSupport
1295
1313
  end
1296
1314
 
1315
+ class GoogleCloudDialogflowV2ArticleAnswer
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1297
1321
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
1298
1322
  class Representation < Google::Apis::Core::JsonRepresentation; end
1299
1323
 
@@ -1342,6 +1366,18 @@ module Google
1342
1366
  include Google::Apis::Core::JsonObjectSupport
1343
1367
  end
1344
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
+
1345
1381
  class GoogleCloudDialogflowV2Intent
1346
1382
  class Representation < Google::Apis::Core::JsonRepresentation; end
1347
1383
 
@@ -1540,6 +1576,12 @@ module Google
1540
1576
  include Google::Apis::Core::JsonObjectSupport
1541
1577
  end
1542
1578
 
1579
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
1580
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1581
+
1582
+ include Google::Apis::Core::JsonObjectSupport
1583
+ end
1584
+
1543
1585
  class GoogleCloudDialogflowV2Message
1544
1586
  class Representation < Google::Apis::Core::JsonRepresentation; end
1545
1587
 
@@ -1582,6 +1624,24 @@ module Google
1582
1624
  include Google::Apis::Core::JsonObjectSupport
1583
1625
  end
1584
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
+
1585
1645
  class GoogleCloudDialogflowV2WebhookRequest
1586
1646
  class Representation < Google::Apis::Core::JsonRepresentation; end
1587
1647
 
@@ -1594,6 +1654,18 @@ module Google
1594
1654
  include Google::Apis::Core::JsonObjectSupport
1595
1655
  end
1596
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
+
1597
1669
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
1598
1670
  class Representation < Google::Apis::Core::JsonRepresentation; end
1599
1671
 
@@ -1612,6 +1684,12 @@ module Google
1612
1684
  include Google::Apis::Core::JsonObjectSupport
1613
1685
  end
1614
1686
 
1687
+ class GoogleCloudDialogflowV2beta1ConversationEvent
1688
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1689
+
1690
+ include Google::Apis::Core::JsonObjectSupport
1691
+ end
1692
+
1615
1693
  class GoogleCloudDialogflowV2beta1EntityType
1616
1694
  class Representation < Google::Apis::Core::JsonRepresentation; end
1617
1695
 
@@ -1636,6 +1714,24 @@ module Google
1636
1714
  include Google::Apis::Core::JsonObjectSupport
1637
1715
  end
1638
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
+
1639
1735
  class GoogleCloudDialogflowV2beta1Intent
1640
1736
  class Representation < Google::Apis::Core::JsonRepresentation; end
1641
1737
 
@@ -1936,6 +2032,18 @@ module Google
1936
2032
  include Google::Apis::Core::JsonObjectSupport
1937
2033
  end
1938
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
+
1939
2047
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
1940
2048
  class Representation < Google::Apis::Core::JsonRepresentation; end
1941
2049
 
@@ -1966,6 +2074,36 @@ module Google
1966
2074
  include Google::Apis::Core::JsonObjectSupport
1967
2075
  end
1968
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
+
1969
2107
  class GoogleCloudDialogflowV2beta1WebhookRequest
1970
2108
  class Representation < Google::Apis::Core::JsonRepresentation; end
1971
2109
 
@@ -2123,6 +2261,8 @@ module Google
2123
2261
  property :agent, as: 'agent'
2124
2262
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage::Representation
2125
2263
 
2264
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage::Representation
2265
+
2126
2266
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage::Representation
2127
2267
 
2128
2268
  end
@@ -2920,6 +3060,7 @@ module Google
2920
3060
  # @private
2921
3061
  class Representation < Google::Apis::Core::JsonRepresentation
2922
3062
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3063
+ property :disable_webhook, as: 'disableWebhook'
2923
3064
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
2924
3065
 
2925
3066
  hash :parameters, as: 'parameters'
@@ -3062,6 +3203,7 @@ module Google
3062
3203
  class Representation < Google::Apis::Core::JsonRepresentation
3063
3204
  property :agent_content, :base64 => true, as: 'agentContent'
3064
3205
  property :agent_uri, as: 'agentUri'
3206
+ property :restore_option, as: 'restoreOption'
3065
3207
  end
3066
3208
  end
3067
3209
 
@@ -3075,7 +3217,6 @@ module Google
3075
3217
  # @private
3076
3218
  class Representation < Google::Apis::Core::JsonRepresentation
3077
3219
  property :environment, as: 'environment'
3078
- property :name, as: 'name'
3079
3220
  end
3080
3221
  end
3081
3222
 
@@ -3293,6 +3434,35 @@ module Google
3293
3434
  end
3294
3435
  end
3295
3436
 
3437
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
3438
+ # @private
3439
+ class Representation < Google::Apis::Core::JsonRepresentation
3440
+ property :coverage_score, as: 'coverageScore'
3441
+ collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage::Representation
3442
+
3443
+ end
3444
+ end
3445
+
3446
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
3447
+ # @private
3448
+ class Representation < Google::Apis::Core::JsonRepresentation
3449
+ property :coverage_score, as: 'coverageScore'
3450
+ property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroup::Representation
3451
+
3452
+ collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition::Representation
3453
+
3454
+ end
3455
+ end
3456
+
3457
+ class GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
3458
+ # @private
3459
+ class Representation < Google::Apis::Core::JsonRepresentation
3460
+ property :covered, as: 'covered'
3461
+ property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
3462
+
3463
+ end
3464
+ end
3465
+
3296
3466
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3297
3467
  # @private
3298
3468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4147,6 +4317,18 @@ module Google
4147
4317
  end
4148
4318
  end
4149
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
+
4150
4332
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
4151
4333
  # @private
4152
4334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4222,17 +4404,41 @@ module Google
4222
4404
  end
4223
4405
  end
4224
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
+
4225
4429
  class GoogleCloudDialogflowV2Intent
4226
4430
  # @private
4227
4431
  class Representation < Google::Apis::Core::JsonRepresentation
4228
4432
  property :action, as: 'action'
4229
4433
  collection :default_response_platforms, as: 'defaultResponsePlatforms'
4230
4434
  property :display_name, as: 'displayName'
4435
+ property :end_interaction, as: 'endInteraction'
4231
4436
  collection :events, as: 'events'
4232
4437
  collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
4233
4438
 
4234
4439
  collection :input_context_names, as: 'inputContextNames'
4235
4440
  property :is_fallback, as: 'isFallback'
4441
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4236
4442
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
4237
4443
 
4238
4444
  property :ml_disabled, as: 'mlDisabled'
@@ -4581,6 +4787,13 @@ module Google
4581
4787
  end
4582
4788
  end
4583
4789
 
4790
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
4791
+ # @private
4792
+ class Representation < Google::Apis::Core::JsonRepresentation
4793
+ property :state, as: 'state'
4794
+ end
4795
+ end
4796
+
4584
4797
  class GoogleCloudDialogflowV2Message
4585
4798
  # @private
4586
4799
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4664,6 +4877,38 @@ module Google
4664
4877
  end
4665
4878
  end
4666
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
+
4667
4912
  class GoogleCloudDialogflowV2WebhookRequest
4668
4913
  # @private
4669
4914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4693,6 +4938,26 @@ module Google
4693
4938
  end
4694
4939
  end
4695
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
+
4696
4961
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
4697
4962
  # @private
4698
4963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4718,6 +4983,18 @@ module Google
4718
4983
  end
4719
4984
  end
4720
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
+
4721
4998
  class GoogleCloudDialogflowV2beta1EntityType
4722
4999
  # @private
4723
5000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4756,6 +5033,36 @@ module Google
4756
5033
  end
4757
5034
  end
4758
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
+
4759
5066
  class GoogleCloudDialogflowV2beta1Intent
4760
5067
  # @private
4761
5068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4768,6 +5075,7 @@ module Google
4768
5075
 
4769
5076
  collection :input_context_names, as: 'inputContextNames'
4770
5077
  property :is_fallback, as: 'isFallback'
5078
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4771
5079
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
4772
5080
 
4773
5081
  property :ml_disabled, as: 'mlDisabled'
@@ -5278,6 +5586,32 @@ module Google
5278
5586
  end
5279
5587
  end
5280
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
+
5281
5615
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
5282
5616
  # @private
5283
5617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5340,6 +5674,59 @@ module Google
5340
5674
  end
5341
5675
  end
5342
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
+
5343
5730
  class GoogleCloudDialogflowV2beta1WebhookRequest
5344
5731
  # @private
5345
5732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5363,6 +5750,7 @@ module Google
5363
5750
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
5364
5751
 
5365
5752
  property :fulfillment_text, as: 'fulfillmentText'
5753
+ property :live_agent_handoff, as: 'liveAgentHandoff'
5366
5754
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context::Representation
5367
5755
 
5368
5756
  hash :payload, as: 'payload'