google-apis-dialogflow_v3 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.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 = "20210130"
25
+ REVISION = "20210307"
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
 
@@ -862,6 +880,12 @@ module Google
862
880
  include Google::Apis::Core::JsonObjectSupport
863
881
  end
864
882
 
883
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
865
889
  class GoogleCloudDialogflowCxV3WebhookResponse
866
890
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
891
 
@@ -1264,6 +1288,12 @@ module Google
1264
1288
  include Google::Apis::Core::JsonObjectSupport
1265
1289
  end
1266
1290
 
1291
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1267
1297
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
1268
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1269
1299
 
@@ -1282,6 +1312,12 @@ module Google
1282
1312
  include Google::Apis::Core::JsonObjectSupport
1283
1313
  end
1284
1314
 
1315
+ class GoogleCloudDialogflowV2ArticleAnswer
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1285
1321
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
1286
1322
  class Representation < Google::Apis::Core::JsonRepresentation; end
1287
1323
 
@@ -1330,6 +1366,18 @@ module Google
1330
1366
  include Google::Apis::Core::JsonObjectSupport
1331
1367
  end
1332
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
+
1333
1381
  class GoogleCloudDialogflowV2Intent
1334
1382
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1383
 
@@ -1528,6 +1576,12 @@ module Google
1528
1576
  include Google::Apis::Core::JsonObjectSupport
1529
1577
  end
1530
1578
 
1579
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
1580
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1581
+
1582
+ include Google::Apis::Core::JsonObjectSupport
1583
+ end
1584
+
1531
1585
  class GoogleCloudDialogflowV2Message
1532
1586
  class Representation < Google::Apis::Core::JsonRepresentation; end
1533
1587
 
@@ -1570,6 +1624,24 @@ module Google
1570
1624
  include Google::Apis::Core::JsonObjectSupport
1571
1625
  end
1572
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
+
1573
1645
  class GoogleCloudDialogflowV2WebhookRequest
1574
1646
  class Representation < Google::Apis::Core::JsonRepresentation; end
1575
1647
 
@@ -1582,6 +1654,18 @@ module Google
1582
1654
  include Google::Apis::Core::JsonObjectSupport
1583
1655
  end
1584
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
+
1585
1669
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
1586
1670
  class Representation < Google::Apis::Core::JsonRepresentation; end
1587
1671
 
@@ -1600,6 +1684,12 @@ module Google
1600
1684
  include Google::Apis::Core::JsonObjectSupport
1601
1685
  end
1602
1686
 
1687
+ class GoogleCloudDialogflowV2beta1ConversationEvent
1688
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1689
+
1690
+ include Google::Apis::Core::JsonObjectSupport
1691
+ end
1692
+
1603
1693
  class GoogleCloudDialogflowV2beta1EntityType
1604
1694
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1695
 
@@ -1624,6 +1714,24 @@ module Google
1624
1714
  include Google::Apis::Core::JsonObjectSupport
1625
1715
  end
1626
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
+
1627
1735
  class GoogleCloudDialogflowV2beta1Intent
1628
1736
  class Representation < Google::Apis::Core::JsonRepresentation; end
1629
1737
 
@@ -1924,6 +2032,18 @@ module Google
1924
2032
  include Google::Apis::Core::JsonObjectSupport
1925
2033
  end
1926
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
+
1927
2047
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
1928
2048
  class Representation < Google::Apis::Core::JsonRepresentation; end
1929
2049
 
@@ -1954,6 +2074,36 @@ module Google
1954
2074
  include Google::Apis::Core::JsonObjectSupport
1955
2075
  end
1956
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
+
1957
2107
  class GoogleCloudDialogflowV2beta1WebhookRequest
1958
2108
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
2109
 
@@ -2111,6 +2261,8 @@ module Google
2111
2261
  property :agent, as: 'agent'
2112
2262
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage::Representation
2113
2263
 
2264
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage::Representation
2265
+
2114
2266
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionCoverage::Representation
2115
2267
 
2116
2268
  end
@@ -2908,6 +3060,7 @@ module Google
2908
3060
  # @private
2909
3061
  class Representation < Google::Apis::Core::JsonRepresentation
2910
3062
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3063
+ property :disable_webhook, as: 'disableWebhook'
2911
3064
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
2912
3065
 
2913
3066
  hash :parameters, as: 'parameters'
@@ -3050,6 +3203,7 @@ module Google
3050
3203
  class Representation < Google::Apis::Core::JsonRepresentation
3051
3204
  property :agent_content, :base64 => true, as: 'agentContent'
3052
3205
  property :agent_uri, as: 'agentUri'
3206
+ property :restore_option, as: 'restoreOption'
3053
3207
  end
3054
3208
  end
3055
3209
 
@@ -3063,7 +3217,6 @@ module Google
3063
3217
  # @private
3064
3218
  class Representation < Google::Apis::Core::JsonRepresentation
3065
3219
  property :environment, as: 'environment'
3066
- property :name, as: 'name'
3067
3220
  end
3068
3221
  end
3069
3222
 
@@ -3281,6 +3434,35 @@ module Google
3281
3434
  end
3282
3435
  end
3283
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
+
3284
3466
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3285
3467
  # @private
3286
3468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3397,6 +3579,8 @@ module Google
3397
3579
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
3398
3580
 
3399
3581
  hash :payload, as: 'payload'
3582
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
3583
+
3400
3584
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo::Representation
3401
3585
 
3402
3586
  end
@@ -3428,6 +3612,14 @@ module Google
3428
3612
  end
3429
3613
  end
3430
3614
 
3615
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
3616
+ # @private
3617
+ class Representation < Google::Apis::Core::JsonRepresentation
3618
+ property :magnitude, as: 'magnitude'
3619
+ property :score, as: 'score'
3620
+ end
3621
+ end
3622
+
3431
3623
  class GoogleCloudDialogflowCxV3WebhookResponse
3432
3624
  # @private
3433
3625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4051,6 +4243,8 @@ module Google
4051
4243
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
4052
4244
 
4053
4245
  hash :payload, as: 'payload'
4246
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
4247
+
4054
4248
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
4055
4249
 
4056
4250
  end
@@ -4082,6 +4276,14 @@ module Google
4082
4276
  end
4083
4277
  end
4084
4278
 
4279
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
4280
+ # @private
4281
+ class Representation < Google::Apis::Core::JsonRepresentation
4282
+ property :magnitude, as: 'magnitude'
4283
+ property :score, as: 'score'
4284
+ end
4285
+ end
4286
+
4085
4287
  class GoogleCloudDialogflowCxV3beta1WebhookResponse
4086
4288
  # @private
4087
4289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4115,6 +4317,18 @@ module Google
4115
4317
  end
4116
4318
  end
4117
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
+
4118
4332
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
4119
4333
  # @private
4120
4334
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4190,17 +4404,41 @@ module Google
4190
4404
  end
4191
4405
  end
4192
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
+
4193
4429
  class GoogleCloudDialogflowV2Intent
4194
4430
  # @private
4195
4431
  class Representation < Google::Apis::Core::JsonRepresentation
4196
4432
  property :action, as: 'action'
4197
4433
  collection :default_response_platforms, as: 'defaultResponsePlatforms'
4198
4434
  property :display_name, as: 'displayName'
4435
+ property :end_interaction, as: 'endInteraction'
4199
4436
  collection :events, as: 'events'
4200
4437
  collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
4201
4438
 
4202
4439
  collection :input_context_names, as: 'inputContextNames'
4203
4440
  property :is_fallback, as: 'isFallback'
4441
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4204
4442
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
4205
4443
 
4206
4444
  property :ml_disabled, as: 'mlDisabled'
@@ -4549,6 +4787,13 @@ module Google
4549
4787
  end
4550
4788
  end
4551
4789
 
4790
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
4791
+ # @private
4792
+ class Representation < Google::Apis::Core::JsonRepresentation
4793
+ property :state, as: 'state'
4794
+ end
4795
+ end
4796
+
4552
4797
  class GoogleCloudDialogflowV2Message
4553
4798
  # @private
4554
4799
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4632,6 +4877,38 @@ module Google
4632
4877
  end
4633
4878
  end
4634
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
+
4635
4912
  class GoogleCloudDialogflowV2WebhookRequest
4636
4913
  # @private
4637
4914
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4661,6 +4938,26 @@ module Google
4661
4938
  end
4662
4939
  end
4663
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
+
4664
4961
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
4665
4962
  # @private
4666
4963
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4686,6 +4983,18 @@ module Google
4686
4983
  end
4687
4984
  end
4688
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
+
4689
4998
  class GoogleCloudDialogflowV2beta1EntityType
4690
4999
  # @private
4691
5000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4724,6 +5033,36 @@ module Google
4724
5033
  end
4725
5034
  end
4726
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
+
4727
5066
  class GoogleCloudDialogflowV2beta1Intent
4728
5067
  # @private
4729
5068
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4736,6 +5075,7 @@ module Google
4736
5075
 
4737
5076
  collection :input_context_names, as: 'inputContextNames'
4738
5077
  property :is_fallback, as: 'isFallback'
5078
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4739
5079
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
4740
5080
 
4741
5081
  property :ml_disabled, as: 'mlDisabled'
@@ -5246,6 +5586,32 @@ module Google
5246
5586
  end
5247
5587
  end
5248
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
+
5249
5615
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
5250
5616
  # @private
5251
5617
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5308,6 +5674,59 @@ module Google
5308
5674
  end
5309
5675
  end
5310
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
+
5311
5730
  class GoogleCloudDialogflowV2beta1WebhookRequest
5312
5731
  # @private
5313
5732
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5331,6 +5750,7 @@ module Google
5331
5750
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
5332
5751
 
5333
5752
  property :fulfillment_text, as: 'fulfillmentText'
5753
+ property :live_agent_handoff, as: 'liveAgentHandoff'
5334
5754
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context::Representation
5335
5755
 
5336
5756
  hash :payload, as: 'payload'