google-apis-dialogflow_v3beta1 0.6.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 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
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -178,6 +184,12 @@ module Google
178
184
  include Google::Apis::Core::JsonObjectSupport
179
185
  end
180
186
 
187
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
181
193
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
182
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
195
 
@@ -622,6 +634,18 @@ module Google
622
634
  include Google::Apis::Core::JsonObjectSupport
623
635
  end
624
636
 
637
+ class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
625
649
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
626
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
651
 
@@ -730,6 +754,18 @@ module Google
730
754
  include Google::Apis::Core::JsonObjectSupport
731
755
  end
732
756
 
757
+ class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
758
+ class Representation < Google::Apis::Core::JsonRepresentation; end
759
+
760
+ include Google::Apis::Core::JsonObjectSupport
761
+ end
762
+
763
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
764
+ class Representation < Google::Apis::Core::JsonRepresentation; end
765
+
766
+ include Google::Apis::Core::JsonObjectSupport
767
+ end
768
+
733
769
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
734
770
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
771
 
@@ -1306,12 +1342,24 @@ module Google
1306
1342
  include Google::Apis::Core::JsonObjectSupport
1307
1343
  end
1308
1344
 
1345
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1309
1351
  class GoogleCloudDialogflowV2AnnotatedMessagePart
1310
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1311
1353
 
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
 
@@ -2189,6 +2351,14 @@ module Google
2189
2351
  end
2190
2352
  end
2191
2353
 
2354
+ class GoogleCloudDialogflowCxV3ExportFlowResponse
2355
+ # @private
2356
+ class Representation < Google::Apis::Core::JsonRepresentation
2357
+ property :flow_content, :base64 => true, as: 'flowContent'
2358
+ property :flow_uri, as: 'flowUri'
2359
+ end
2360
+ end
2361
+
2192
2362
  class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
2193
2363
  # @private
2194
2364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2307,6 +2477,13 @@ module Google
2307
2477
  end
2308
2478
  end
2309
2479
 
2480
+ class GoogleCloudDialogflowCxV3ImportFlowResponse
2481
+ # @private
2482
+ class Representation < Google::Apis::Core::JsonRepresentation
2483
+ property :flow, as: 'flow'
2484
+ end
2485
+ end
2486
+
2310
2487
  class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
2311
2488
  # @private
2312
2489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2662,6 +2839,7 @@ module Google
2662
2839
 
2663
2840
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
2664
2841
 
2842
+ property :language_code, as: 'languageCode'
2665
2843
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
2666
2844
 
2667
2845
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -2671,6 +2849,10 @@ module Google
2671
2849
 
2672
2850
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3SessionInfo::Representation
2673
2851
 
2852
+ property :text, as: 'text'
2853
+ property :transcript, as: 'transcript'
2854
+ property :trigger_event, as: 'triggerEvent'
2855
+ property :trigger_intent, as: 'triggerIntent'
2674
2856
  end
2675
2857
  end
2676
2858
 
@@ -2746,6 +2928,7 @@ module Google
2746
2928
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
2747
2929
 
2748
2930
  property :start_flow, as: 'startFlow'
2931
+ collection :supported_language_codes, as: 'supportedLanguageCodes'
2749
2932
  property :time_zone, as: 'timeZone'
2750
2933
  end
2751
2934
  end
@@ -3049,6 +3232,7 @@ module Google
3049
3232
  # @private
3050
3233
  class Representation < Google::Apis::Core::JsonRepresentation
3051
3234
  property :agent_uri, as: 'agentUri'
3235
+ property :environment, as: 'environment'
3052
3236
  end
3053
3237
  end
3054
3238
 
@@ -3060,6 +3244,22 @@ module Google
3060
3244
  end
3061
3245
  end
3062
3246
 
3247
+ class GoogleCloudDialogflowCxV3beta1ExportFlowRequest
3248
+ # @private
3249
+ class Representation < Google::Apis::Core::JsonRepresentation
3250
+ property :flow_uri, as: 'flowUri'
3251
+ property :include_referenced_flows, as: 'includeReferencedFlows'
3252
+ end
3253
+ end
3254
+
3255
+ class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
3256
+ # @private
3257
+ class Representation < Google::Apis::Core::JsonRepresentation
3258
+ property :flow_content, :base64 => true, as: 'flowContent'
3259
+ property :flow_uri, as: 'flowUri'
3260
+ end
3261
+ end
3262
+
3063
3263
  class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
3064
3264
  # @private
3065
3265
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3093,6 +3293,7 @@ module Google
3093
3293
  property :name, as: 'name'
3094
3294
  property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation
3095
3295
 
3296
+ collection :transition_route_groups, as: 'transitionRouteGroups'
3096
3297
  collection :transition_routes, as: 'transitionRoutes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TransitionRoute::Representation
3097
3298
 
3098
3299
  end
@@ -3236,6 +3437,22 @@ module Google
3236
3437
  end
3237
3438
  end
3238
3439
 
3440
+ class GoogleCloudDialogflowCxV3beta1ImportFlowRequest
3441
+ # @private
3442
+ class Representation < Google::Apis::Core::JsonRepresentation
3443
+ property :flow_content, :base64 => true, as: 'flowContent'
3444
+ property :flow_uri, as: 'flowUri'
3445
+ property :import_option, as: 'importOption'
3446
+ end
3447
+ end
3448
+
3449
+ class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
3450
+ # @private
3451
+ class Representation < Google::Apis::Core::JsonRepresentation
3452
+ property :flow, as: 'flow'
3453
+ end
3454
+ end
3455
+
3239
3456
  class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
3240
3457
  # @private
3241
3458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3604,6 +3821,7 @@ module Google
3604
3821
  # @private
3605
3822
  class Representation < Google::Apis::Core::JsonRepresentation
3606
3823
  property :analyze_query_text_sentiment, as: 'analyzeQueryTextSentiment'
3824
+ property :current_page, as: 'currentPage'
3607
3825
  property :disable_webhook, as: 'disableWebhook'
3608
3826
  property :geo_location, as: 'geoLocation', class: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng, decorator: Google::Apis::DialogflowV3beta1::GoogleTypeLatLng::Representation
3609
3827
 
@@ -3747,6 +3965,7 @@ module Google
3747
3965
  class Representation < Google::Apis::Core::JsonRepresentation
3748
3966
  property :agent_content, :base64 => true, as: 'agentContent'
3749
3967
  property :agent_uri, as: 'agentUri'
3968
+ property :restore_option, as: 'restoreOption'
3750
3969
  end
3751
3970
  end
3752
3971
 
@@ -4095,6 +4314,8 @@ module Google
4095
4314
  property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4096
4315
 
4097
4316
  property :name, as: 'name'
4317
+ property :service_directory, as: 'serviceDirectory', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig::Representation
4318
+
4098
4319
  property :timeout, as: 'timeout'
4099
4320
  end
4100
4321
  end
@@ -4117,6 +4338,7 @@ module Google
4117
4338
 
4118
4339
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
4119
4340
 
4341
+ property :language_code, as: 'languageCode'
4120
4342
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
4121
4343
 
4122
4344
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
@@ -4126,6 +4348,10 @@ module Google
4126
4348
 
4127
4349
  property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
4128
4350
 
4351
+ property :text, as: 'text'
4352
+ property :transcript, as: 'transcript'
4353
+ property :trigger_event, as: 'triggerEvent'
4354
+ property :trigger_intent, as: 'triggerIntent'
4129
4355
  end
4130
4356
  end
4131
4357
 
@@ -4187,6 +4413,15 @@ module Google
4187
4413
  end
4188
4414
  end
4189
4415
 
4416
+ class GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
4417
+ # @private
4418
+ class Representation < Google::Apis::Core::JsonRepresentation
4419
+ property :generic_web_service, as: 'genericWebService', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebService::Representation
4420
+
4421
+ property :service, as: 'service'
4422
+ end
4423
+ end
4424
+
4190
4425
  class GoogleCloudDialogflowV2AnnotatedMessagePart
4191
4426
  # @private
4192
4427
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestionResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2FaqAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
5018
+
5019
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestArticlesResponse::Representation
5020
+
5021
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
5105
+
5106
+ property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestionResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1MessageAnnotation, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AnnotatedMessagePart, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SmartReplyAnswer, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV3beta1::GoogleRpcStatus::Representation
5834
+
5835
+ property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
5836
+
5837
+ property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
5838
+
5839
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Context::Representation
5416
5869
 
5417
5870
  hash :payload, as: 'payload'