google-apis-dialogflow_v3 0.6.0 → 0.11.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.6.0"
19
+ GEM_VERSION = "0.11.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 = "20210222"
25
+ REVISION = "20210510"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,18 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class GoogleCloudDialogflowCxV3ExportFlowRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
217
229
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
218
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
231
 
@@ -322,6 +334,18 @@ module Google
322
334
  include Google::Apis::Core::JsonObjectSupport
323
335
  end
324
336
 
337
+ class GoogleCloudDialogflowCxV3ImportFlowRequest
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
325
349
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
326
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
351
 
@@ -898,6 +922,12 @@ module Google
898
922
  include Google::Apis::Core::JsonObjectSupport
899
923
  end
900
924
 
925
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
901
931
  class GoogleCloudDialogflowCxV3beta1AudioInput
902
932
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
933
 
@@ -976,6 +1006,12 @@ module Google
976
1006
  include Google::Apis::Core::JsonObjectSupport
977
1007
  end
978
1008
 
1009
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
979
1015
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
980
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
981
1017
 
@@ -1054,6 +1090,12 @@ module Google
1054
1090
  include Google::Apis::Core::JsonObjectSupport
1055
1091
  end
1056
1092
 
1093
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1057
1099
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
1058
1100
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1101
 
@@ -1312,6 +1354,12 @@ module Google
1312
1354
  include Google::Apis::Core::JsonObjectSupport
1313
1355
  end
1314
1356
 
1357
+ class GoogleCloudDialogflowV2ArticleAnswer
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1315
1363
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
1316
1364
  class Representation < Google::Apis::Core::JsonRepresentation; end
1317
1365
 
@@ -1360,6 +1408,18 @@ module Google
1360
1408
  include Google::Apis::Core::JsonObjectSupport
1361
1409
  end
1362
1410
 
1411
+ class GoogleCloudDialogflowV2FaqAnswer
1412
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1413
+
1414
+ include Google::Apis::Core::JsonObjectSupport
1415
+ end
1416
+
1417
+ class GoogleCloudDialogflowV2HumanAgentAssistantEvent
1418
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1419
+
1420
+ include Google::Apis::Core::JsonObjectSupport
1421
+ end
1422
+
1363
1423
  class GoogleCloudDialogflowV2Intent
1364
1424
  class Representation < Google::Apis::Core::JsonRepresentation; end
1365
1425
 
@@ -1558,6 +1618,12 @@ module Google
1558
1618
  include Google::Apis::Core::JsonObjectSupport
1559
1619
  end
1560
1620
 
1621
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
1622
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1623
+
1624
+ include Google::Apis::Core::JsonObjectSupport
1625
+ end
1626
+
1561
1627
  class GoogleCloudDialogflowV2Message
1562
1628
  class Representation < Google::Apis::Core::JsonRepresentation; end
1563
1629
 
@@ -1600,6 +1666,24 @@ module Google
1600
1666
  include Google::Apis::Core::JsonObjectSupport
1601
1667
  end
1602
1668
 
1669
+ class GoogleCloudDialogflowV2SuggestArticlesResponse
1670
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1671
+
1672
+ include Google::Apis::Core::JsonObjectSupport
1673
+ end
1674
+
1675
+ class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
1676
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1677
+
1678
+ include Google::Apis::Core::JsonObjectSupport
1679
+ end
1680
+
1681
+ class GoogleCloudDialogflowV2SuggestionResult
1682
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1683
+
1684
+ include Google::Apis::Core::JsonObjectSupport
1685
+ end
1686
+
1603
1687
  class GoogleCloudDialogflowV2WebhookRequest
1604
1688
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1689
 
@@ -1612,6 +1696,18 @@ module Google
1612
1696
  include Google::Apis::Core::JsonObjectSupport
1613
1697
  end
1614
1698
 
1699
+ class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
1700
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1701
+
1702
+ include Google::Apis::Core::JsonObjectSupport
1703
+ end
1704
+
1705
+ class GoogleCloudDialogflowV2beta1ArticleAnswer
1706
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1707
+
1708
+ include Google::Apis::Core::JsonObjectSupport
1709
+ end
1710
+
1615
1711
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
1616
1712
  class Representation < Google::Apis::Core::JsonRepresentation; end
1617
1713
 
@@ -1630,6 +1726,12 @@ module Google
1630
1726
  include Google::Apis::Core::JsonObjectSupport
1631
1727
  end
1632
1728
 
1729
+ class GoogleCloudDialogflowV2beta1ConversationEvent
1730
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1731
+
1732
+ include Google::Apis::Core::JsonObjectSupport
1733
+ end
1734
+
1633
1735
  class GoogleCloudDialogflowV2beta1EntityType
1634
1736
  class Representation < Google::Apis::Core::JsonRepresentation; end
1635
1737
 
@@ -1654,6 +1756,24 @@ module Google
1654
1756
  include Google::Apis::Core::JsonObjectSupport
1655
1757
  end
1656
1758
 
1759
+ class GoogleCloudDialogflowV2beta1FaqAnswer
1760
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1761
+
1762
+ include Google::Apis::Core::JsonObjectSupport
1763
+ end
1764
+
1765
+ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ include Google::Apis::Core::JsonObjectSupport
1769
+ end
1770
+
1771
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
1772
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1773
+
1774
+ include Google::Apis::Core::JsonObjectSupport
1775
+ end
1776
+
1657
1777
  class GoogleCloudDialogflowV2beta1Intent
1658
1778
  class Representation < Google::Apis::Core::JsonRepresentation; end
1659
1779
 
@@ -1954,6 +2074,18 @@ module Google
1954
2074
  include Google::Apis::Core::JsonObjectSupport
1955
2075
  end
1956
2076
 
2077
+ class GoogleCloudDialogflowV2beta1Message
2078
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2079
+
2080
+ include Google::Apis::Core::JsonObjectSupport
2081
+ end
2082
+
2083
+ class GoogleCloudDialogflowV2beta1MessageAnnotation
2084
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2085
+
2086
+ include Google::Apis::Core::JsonObjectSupport
2087
+ end
2088
+
1957
2089
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
1958
2090
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
2091
 
@@ -1984,6 +2116,36 @@ module Google
1984
2116
  include Google::Apis::Core::JsonObjectSupport
1985
2117
  end
1986
2118
 
2119
+ class GoogleCloudDialogflowV2beta1SmartReplyAnswer
2120
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2121
+
2122
+ include Google::Apis::Core::JsonObjectSupport
2123
+ end
2124
+
2125
+ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
2126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2127
+
2128
+ include Google::Apis::Core::JsonObjectSupport
2129
+ end
2130
+
2131
+ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
2132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2133
+
2134
+ include Google::Apis::Core::JsonObjectSupport
2135
+ end
2136
+
2137
+ class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
2138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2139
+
2140
+ include Google::Apis::Core::JsonObjectSupport
2141
+ end
2142
+
2143
+ class GoogleCloudDialogflowV2beta1SuggestionResult
2144
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2145
+
2146
+ include Google::Apis::Core::JsonObjectSupport
2147
+ end
2148
+
1987
2149
  class GoogleCloudDialogflowV2beta1WebhookRequest
1988
2150
  class Representation < Google::Apis::Core::JsonRepresentation; end
1989
2151
 
@@ -2082,6 +2244,7 @@ module Google
2082
2244
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
2083
2245
 
2084
2246
  property :start_flow, as: 'startFlow'
2247
+ collection :supported_language_codes, as: 'supportedLanguageCodes'
2085
2248
  property :time_zone, as: 'timeZone'
2086
2249
  end
2087
2250
  end
@@ -2385,6 +2548,7 @@ module Google
2385
2548
  # @private
2386
2549
  class Representation < Google::Apis::Core::JsonRepresentation
2387
2550
  property :agent_uri, as: 'agentUri'
2551
+ property :environment, as: 'environment'
2388
2552
  end
2389
2553
  end
2390
2554
 
@@ -2396,6 +2560,22 @@ module Google
2396
2560
  end
2397
2561
  end
2398
2562
 
2563
+ class GoogleCloudDialogflowCxV3ExportFlowRequest
2564
+ # @private
2565
+ class Representation < Google::Apis::Core::JsonRepresentation
2566
+ property :flow_uri, as: 'flowUri'
2567
+ property :include_referenced_flows, as: 'includeReferencedFlows'
2568
+ end
2569
+ end
2570
+
2571
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
2572
+ # @private
2573
+ class Representation < Google::Apis::Core::JsonRepresentation
2574
+ property :flow_content, :base64 => true, as: 'flowContent'
2575
+ property :flow_uri, as: 'flowUri'
2576
+ end
2577
+ end
2578
+
2399
2579
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
2400
2580
  # @private
2401
2581
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2429,6 +2609,7 @@ module Google
2429
2609
  property :name, as: 'name'
2430
2610
  property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings::Representation
2431
2611
 
2612
+ collection :transition_route_groups, as: 'transitionRouteGroups'
2432
2613
  collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TransitionRoute::Representation
2433
2614
 
2434
2615
  end
@@ -2572,6 +2753,22 @@ module Google
2572
2753
  end
2573
2754
  end
2574
2755
 
2756
+ class GoogleCloudDialogflowCxV3ImportFlowRequest
2757
+ # @private
2758
+ class Representation < Google::Apis::Core::JsonRepresentation
2759
+ property :flow_content, :base64 => true, as: 'flowContent'
2760
+ property :flow_uri, as: 'flowUri'
2761
+ property :import_option, as: 'importOption'
2762
+ end
2763
+ end
2764
+
2765
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
2766
+ # @private
2767
+ class Representation < Google::Apis::Core::JsonRepresentation
2768
+ property :flow, as: 'flow'
2769
+ end
2770
+ end
2771
+
2575
2772
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
2576
2773
  # @private
2577
2774
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2940,6 +3137,7 @@ module Google
2940
3137
  # @private
2941
3138
  class Representation < Google::Apis::Core::JsonRepresentation
2942
3139
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3140
+ property :current_page, as: 'currentPage'
2943
3141
  property :disable_webhook, as: 'disableWebhook'
2944
3142
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3::GoogleTypeLatLng::Representation
2945
3143
 
@@ -3083,6 +3281,7 @@ module Google
3083
3281
  class Representation < Google::Apis::Core::JsonRepresentation
3084
3282
  property :agent_content, :base64 => true, as: 'agentContent'
3085
3283
  property :agent_uri, as: 'agentUri'
3284
+ property :restore_option, as: 'restoreOption'
3086
3285
  end
3087
3286
  end
3088
3287
 
@@ -3431,6 +3630,8 @@ module Google
3431
3630
  property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3432
3631
 
3433
3632
  property :name, as: 'name'
3633
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig::Representation
3634
+
3434
3635
  property :timeout, as: 'timeout'
3435
3636
  end
3436
3637
  end
@@ -3453,6 +3654,7 @@ module Google
3453
3654
 
3454
3655
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
3455
3656
 
3657
+ property :language_code, as: 'languageCode'
3456
3658
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
3457
3659
 
3458
3660
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -3462,6 +3664,10 @@ module Google
3462
3664
 
3463
3665
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo::Representation
3464
3666
 
3667
+ property :text, as: 'text'
3668
+ property :transcript, as: 'transcript'
3669
+ property :trigger_event, as: 'triggerEvent'
3670
+ property :trigger_intent, as: 'triggerIntent'
3465
3671
  end
3466
3672
  end
3467
3673
 
@@ -3523,6 +3729,15 @@ module Google
3523
3729
  end
3524
3730
  end
3525
3731
 
3732
+ class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
3733
+ # @private
3734
+ class Representation < Google::Apis::Core::JsonRepresentation
3735
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService::Representation
3736
+
3737
+ property :service, as: 'service'
3738
+ end
3739
+ end
3740
+
3526
3741
  class GoogleCloudDialogflowCxV3beta1AudioInput
3527
3742
  # @private
3528
3743
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3644,6 +3859,14 @@ module Google
3644
3859
  end
3645
3860
  end
3646
3861
 
3862
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
3863
+ # @private
3864
+ class Representation < Google::Apis::Core::JsonRepresentation
3865
+ property :flow_content, :base64 => true, as: 'flowContent'
3866
+ property :flow_uri, as: 'flowUri'
3867
+ end
3868
+ end
3869
+
3647
3870
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3648
3871
  # @private
3649
3872
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3762,6 +3985,13 @@ module Google
3762
3985
  end
3763
3986
  end
3764
3987
 
3988
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
3989
+ # @private
3990
+ class Representation < Google::Apis::Core::JsonRepresentation
3991
+ property :flow, as: 'flow'
3992
+ end
3993
+ end
3994
+
3765
3995
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
3766
3996
  # @private
3767
3997
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4117,6 +4347,7 @@ module Google
4117
4347
 
4118
4348
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
4119
4349
 
4350
+ property :language_code, as: 'languageCode'
4120
4351
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4121
4352
 
4122
4353
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
@@ -4126,6 +4357,10 @@ module Google
4126
4357
 
4127
4358
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
4128
4359
 
4360
+ property :text, as: 'text'
4361
+ property :transcript, as: 'transcript'
4362
+ property :trigger_event, as: 'triggerEvent'
4363
+ property :trigger_intent, as: 'triggerIntent'
4129
4364
  end
4130
4365
  end
4131
4366
 
@@ -4196,6 +4431,18 @@ module Google
4196
4431
  end
4197
4432
  end
4198
4433
 
4434
+ class GoogleCloudDialogflowV2ArticleAnswer
4435
+ # @private
4436
+ class Representation < Google::Apis::Core::JsonRepresentation
4437
+ property :answer_record, as: 'answerRecord'
4438
+ property :confidence, as: 'confidence'
4439
+ hash :metadata, as: 'metadata'
4440
+ collection :snippets, as: 'snippets'
4441
+ property :title, as: 'title'
4442
+ property :uri, as: 'uri'
4443
+ end
4444
+ end
4445
+
4199
4446
  class GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
4200
4447
  # @private
4201
4448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4271,17 +4518,41 @@ module Google
4271
4518
  end
4272
4519
  end
4273
4520
 
4521
+ class GoogleCloudDialogflowV2FaqAnswer
4522
+ # @private
4523
+ class Representation < Google::Apis::Core::JsonRepresentation
4524
+ property :answer, as: 'answer'
4525
+ property :answer_record, as: 'answerRecord'
4526
+ property :confidence, as: 'confidence'
4527
+ hash :metadata, as: 'metadata'
4528
+ property :question, as: 'question'
4529
+ property :source, as: 'source'
4530
+ end
4531
+ end
4532
+
4533
+ class GoogleCloudDialogflowV2HumanAgentAssistantEvent
4534
+ # @private
4535
+ class Representation < Google::Apis::Core::JsonRepresentation
4536
+ property :conversation, as: 'conversation'
4537
+ property :participant, as: 'participant'
4538
+ collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestionResult::Representation
4539
+
4540
+ end
4541
+ end
4542
+
4274
4543
  class GoogleCloudDialogflowV2Intent
4275
4544
  # @private
4276
4545
  class Representation < Google::Apis::Core::JsonRepresentation
4277
4546
  property :action, as: 'action'
4278
4547
  collection :default_response_platforms, as: 'defaultResponsePlatforms'
4279
4548
  property :display_name, as: 'displayName'
4549
+ property :end_interaction, as: 'endInteraction'
4280
4550
  collection :events, as: 'events'
4281
4551
  collection :followup_intent_info, as: 'followupIntentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentFollowupIntentInfo::Representation
4282
4552
 
4283
4553
  collection :input_context_names, as: 'inputContextNames'
4284
4554
  property :is_fallback, as: 'isFallback'
4555
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4285
4556
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
4286
4557
 
4287
4558
  property :ml_disabled, as: 'mlDisabled'
@@ -4630,6 +4901,13 @@ module Google
4630
4901
  end
4631
4902
  end
4632
4903
 
4904
+ class GoogleCloudDialogflowV2KnowledgeOperationMetadata
4905
+ # @private
4906
+ class Representation < Google::Apis::Core::JsonRepresentation
4907
+ property :state, as: 'state'
4908
+ end
4909
+ end
4910
+
4633
4911
  class GoogleCloudDialogflowV2Message
4634
4912
  # @private
4635
4913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4713,6 +4991,38 @@ module Google
4713
4991
  end
4714
4992
  end
4715
4993
 
4994
+ class GoogleCloudDialogflowV2SuggestArticlesResponse
4995
+ # @private
4996
+ class Representation < Google::Apis::Core::JsonRepresentation
4997
+ collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2ArticleAnswer::Representation
4998
+
4999
+ property :context_size, as: 'contextSize'
5000
+ property :latest_message, as: 'latestMessage'
5001
+ end
5002
+ end
5003
+
5004
+ class GoogleCloudDialogflowV2SuggestFaqAnswersResponse
5005
+ # @private
5006
+ class Representation < Google::Apis::Core::JsonRepresentation
5007
+ property :context_size, as: 'contextSize'
5008
+ collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2FaqAnswer::Representation
5009
+
5010
+ property :latest_message, as: 'latestMessage'
5011
+ end
5012
+ end
5013
+
5014
+ class GoogleCloudDialogflowV2SuggestionResult
5015
+ # @private
5016
+ class Representation < Google::Apis::Core::JsonRepresentation
5017
+ property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
5018
+
5019
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
5020
+
5021
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5022
+
5023
+ end
5024
+ end
5025
+
4716
5026
  class GoogleCloudDialogflowV2WebhookRequest
4717
5027
  # @private
4718
5028
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4742,6 +5052,26 @@ module Google
4742
5052
  end
4743
5053
  end
4744
5054
 
5055
+ class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
5056
+ # @private
5057
+ class Representation < Google::Apis::Core::JsonRepresentation
5058
+ property :entity_type, as: 'entityType'
5059
+ property :formatted_value, as: 'formattedValue'
5060
+ property :text, as: 'text'
5061
+ end
5062
+ end
5063
+
5064
+ class GoogleCloudDialogflowV2beta1ArticleAnswer
5065
+ # @private
5066
+ class Representation < Google::Apis::Core::JsonRepresentation
5067
+ property :answer_record, as: 'answerRecord'
5068
+ hash :metadata, as: 'metadata'
5069
+ collection :snippets, as: 'snippets'
5070
+ property :title, as: 'title'
5071
+ property :uri, as: 'uri'
5072
+ end
5073
+ end
5074
+
4745
5075
  class GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
4746
5076
  # @private
4747
5077
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4767,6 +5097,18 @@ module Google
4767
5097
  end
4768
5098
  end
4769
5099
 
5100
+ class GoogleCloudDialogflowV2beta1ConversationEvent
5101
+ # @private
5102
+ class Representation < Google::Apis::Core::JsonRepresentation
5103
+ property :conversation, as: 'conversation'
5104
+ property :error_status, as: 'errorStatus', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
5105
+
5106
+ property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Message::Representation
5107
+
5108
+ property :type, as: 'type'
5109
+ end
5110
+ end
5111
+
4770
5112
  class GoogleCloudDialogflowV2beta1EntityType
4771
5113
  # @private
4772
5114
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4805,6 +5147,36 @@ module Google
4805
5147
  end
4806
5148
  end
4807
5149
 
5150
+ class GoogleCloudDialogflowV2beta1FaqAnswer
5151
+ # @private
5152
+ class Representation < Google::Apis::Core::JsonRepresentation
5153
+ property :answer, as: 'answer'
5154
+ property :answer_record, as: 'answerRecord'
5155
+ property :confidence, as: 'confidence'
5156
+ hash :metadata, as: 'metadata'
5157
+ property :question, as: 'question'
5158
+ property :source, as: 'source'
5159
+ end
5160
+ end
5161
+
5162
+ class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
5163
+ # @private
5164
+ class Representation < Google::Apis::Core::JsonRepresentation
5165
+ property :conversation, as: 'conversation'
5166
+ property :participant, as: 'participant'
5167
+ collection :suggestion_results, as: 'suggestionResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestionResult::Representation
5168
+
5169
+ end
5170
+ end
5171
+
5172
+ class GoogleCloudDialogflowV2beta1ImportDocumentsResponse
5173
+ # @private
5174
+ class Representation < Google::Apis::Core::JsonRepresentation
5175
+ collection :warnings, as: 'warnings', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
5176
+
5177
+ end
5178
+ end
5179
+
4808
5180
  class GoogleCloudDialogflowV2beta1Intent
4809
5181
  # @private
4810
5182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4817,6 +5189,7 @@ module Google
4817
5189
 
4818
5190
  collection :input_context_names, as: 'inputContextNames'
4819
5191
  property :is_fallback, as: 'isFallback'
5192
+ property :live_agent_handoff, as: 'liveAgentHandoff'
4820
5193
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
4821
5194
 
4822
5195
  property :ml_disabled, as: 'mlDisabled'
@@ -5327,6 +5700,32 @@ module Google
5327
5700
  end
5328
5701
  end
5329
5702
 
5703
+ class GoogleCloudDialogflowV2beta1Message
5704
+ # @private
5705
+ class Representation < Google::Apis::Core::JsonRepresentation
5706
+ property :content, as: 'content'
5707
+ property :create_time, as: 'createTime'
5708
+ property :language_code, as: 'languageCode'
5709
+ property :message_annotation, as: 'messageAnnotation', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1MessageAnnotation::Representation
5710
+
5711
+ property :name, as: 'name'
5712
+ property :participant, as: 'participant'
5713
+ property :participant_role, as: 'participantRole'
5714
+ property :send_time, as: 'sendTime'
5715
+ property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SentimentAnalysisResult::Representation
5716
+
5717
+ end
5718
+ end
5719
+
5720
+ class GoogleCloudDialogflowV2beta1MessageAnnotation
5721
+ # @private
5722
+ class Representation < Google::Apis::Core::JsonRepresentation
5723
+ property :contain_entities, as: 'containEntities'
5724
+ collection :parts, as: 'parts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart::Representation
5725
+
5726
+ end
5727
+ end
5728
+
5330
5729
  class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
5331
5730
  # @private
5332
5731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5389,6 +5788,59 @@ module Google
5389
5788
  end
5390
5789
  end
5391
5790
 
5791
+ class GoogleCloudDialogflowV2beta1SmartReplyAnswer
5792
+ # @private
5793
+ class Representation < Google::Apis::Core::JsonRepresentation
5794
+ property :answer_record, as: 'answerRecord'
5795
+ property :confidence, as: 'confidence'
5796
+ property :reply, as: 'reply'
5797
+ end
5798
+ end
5799
+
5800
+ class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
5801
+ # @private
5802
+ class Representation < Google::Apis::Core::JsonRepresentation
5803
+ collection :article_answers, as: 'articleAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ArticleAnswer::Representation
5804
+
5805
+ property :context_size, as: 'contextSize'
5806
+ property :latest_message, as: 'latestMessage'
5807
+ end
5808
+ end
5809
+
5810
+ class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
5811
+ # @private
5812
+ class Representation < Google::Apis::Core::JsonRepresentation
5813
+ property :context_size, as: 'contextSize'
5814
+ collection :faq_answers, as: 'faqAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1FaqAnswer::Representation
5815
+
5816
+ property :latest_message, as: 'latestMessage'
5817
+ end
5818
+ end
5819
+
5820
+ class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
5821
+ # @private
5822
+ class Representation < Google::Apis::Core::JsonRepresentation
5823
+ property :context_size, as: 'contextSize'
5824
+ property :latest_message, as: 'latestMessage'
5825
+ collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SmartReplyAnswer::Representation
5826
+
5827
+ end
5828
+ end
5829
+
5830
+ class GoogleCloudDialogflowV2beta1SuggestionResult
5831
+ # @private
5832
+ class Representation < Google::Apis::Core::JsonRepresentation
5833
+ property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3::GoogleRpcStatus::Representation
5834
+
5835
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
5836
+
5837
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
5838
+
5839
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
5840
+
5841
+ end
5842
+ end
5843
+
5392
5844
  class GoogleCloudDialogflowV2beta1WebhookRequest
5393
5845
  # @private
5394
5846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5412,6 +5864,7 @@ module Google
5412
5864
  collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
5413
5865
 
5414
5866
  property :fulfillment_text, as: 'fulfillmentText'
5867
+ property :live_agent_handoff, as: 'liveAgentHandoff'
5415
5868
  collection :output_contexts, as: 'outputContexts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1Context::Representation
5416
5869
 
5417
5870
  hash :payload, as: 'payload'