google-apis-dialogflow_v3beta1 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 DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 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
@@ -412,6 +412,12 @@ module Google
412
412
  include Google::Apis::Core::JsonObjectSupport
413
413
  end
414
414
 
415
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
415
421
  class GoogleCloudDialogflowCxV3WebhookResponse
416
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
423
 
@@ -1174,6 +1180,24 @@ module Google
1174
1180
  include Google::Apis::Core::JsonObjectSupport
1175
1181
  end
1176
1182
 
1183
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
1184
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1185
+
1186
+ include Google::Apis::Core::JsonObjectSupport
1187
+ end
1188
+
1189
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1177
1201
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
1178
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1179
1203
 
@@ -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
 
@@ -2637,6 +2787,8 @@ module Google
2637
2787
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
2638
2788
 
2639
2789
  hash :payload, as: 'payload'
2790
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult::Representation
2791
+
2640
2792
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
2641
2793
 
2642
2794
  end
@@ -2668,6 +2820,14 @@ module Google
2668
2820
  end
2669
2821
  end
2670
2822
 
2823
+ class GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
2824
+ # @private
2825
+ class Representation < Google::Apis::Core::JsonRepresentation
2826
+ property :magnitude, as: 'magnitude'
2827
+ property :score, as: 'score'
2828
+ end
2829
+ end
2830
+
2671
2831
  class GoogleCloudDialogflowCxV3WebhookResponse
2672
2832
  # @private
2673
2833
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2765,6 +2925,8 @@ module Google
2765
2925
  property :agent, as: 'agent'
2766
2926
  property :intent_coverage, as: 'intentCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage::Representation
2767
2927
 
2928
+ property :route_group_coverage, as: 'routeGroupCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage::Representation
2929
+
2768
2930
  property :transition_coverage, as: 'transitionCoverage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionCoverage::Representation
2769
2931
 
2770
2932
  end
@@ -3562,6 +3724,7 @@ module Google
3562
3724
  # @private
3563
3725
  class Representation < Google::Apis::Core::JsonRepresentation
3564
3726
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3727
+ property :disable_webhook, as: 'disableWebhook'
3565
3728
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
3566
3729
 
3567
3730
  hash :parameters, as: 'parameters'
@@ -3704,6 +3867,7 @@ module Google
3704
3867
  class Representation < Google::Apis::Core::JsonRepresentation
3705
3868
  property :agent_content, :base64 => true, as: 'agentContent'
3706
3869
  property :agent_uri, as: 'agentUri'
3870
+ property :restore_option, as: 'restoreOption'
3707
3871
  end
3708
3872
  end
3709
3873
 
@@ -3717,7 +3881,6 @@ module Google
3717
3881
  # @private
3718
3882
  class Representation < Google::Apis::Core::JsonRepresentation
3719
3883
  property :environment, as: 'environment'
3720
- property :name, as: 'name'
3721
3884
  end
3722
3885
  end
3723
3886
 
@@ -3935,6 +4098,35 @@ module Google
3935
4098
  end
3936
4099
  end
3937
4100
 
4101
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
4102
+ # @private
4103
+ class Representation < Google::Apis::Core::JsonRepresentation
4104
+ property :coverage_score, as: 'coverageScore'
4105
+ collection :coverages, as: 'coverages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage::Representation
4106
+
4107
+ end
4108
+ end
4109
+
4110
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
4111
+ # @private
4112
+ class Representation < Google::Apis::Core::JsonRepresentation
4113
+ property :coverage_score, as: 'coverageScore'
4114
+ property :route_group, as: 'routeGroup', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroup::Representation
4115
+
4116
+ collection :transitions, as: 'transitions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition::Representation
4117
+
4118
+ end
4119
+ end
4120
+
4121
+ class GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
4122
+ # @private
4123
+ class Representation < Google::Apis::Core::JsonRepresentation
4124
+ property :covered, as: 'covered'
4125
+ property :transition_route, as: 'transitionRoute', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
4126
+
4127
+ end
4128
+ end
4129
+
3938
4130
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
3939
4131
  # @private
3940
4132
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4051,6 +4243,8 @@ module Google
4051
4243
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
4052
4244
 
4053
4245
  hash :payload, as: 'payload'
4246
+ property :sentiment_analysis_result, as: 'sentimentAnalysisResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult::Representation
4247
+
4054
4248
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
4904
+
4905
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
4906
+
4907
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
4991
+
4992
+ property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestionResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1MessageAnnotation, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AnnotatedMessagePart, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartReplyAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
5720
+
5721
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
5722
+
5723
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
5724
+
5725
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context::Representation
5335
5755
 
5336
5756
  hash :payload, as: 'payload'