google-apis-dialogflow_v2 0.24.0 → 0.28.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 DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.28.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211022"
25
+ REVISION = "20211231"
26
26
  end
27
27
  end
28
28
  end
@@ -358,6 +358,12 @@ module Google
358
358
  include Google::Apis::Core::JsonObjectSupport
359
359
  end
360
360
 
361
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
361
367
  class GoogleCloudDialogflowCxV3ResponseMessageText
362
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
369
 
@@ -826,6 +832,12 @@ module Google
826
832
  include Google::Apis::Core::JsonObjectSupport
827
833
  end
828
834
 
835
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
829
841
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
830
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
831
843
 
@@ -1012,6 +1024,12 @@ module Google
1012
1024
  include Google::Apis::Core::JsonObjectSupport
1013
1025
  end
1014
1026
 
1027
+ class GoogleCloudDialogflowV2AssistQueryParameters
1028
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1029
+
1030
+ include Google::Apis::Core::JsonObjectSupport
1031
+ end
1032
+
1015
1033
  class GoogleCloudDialogflowV2AutomatedAgentConfig
1016
1034
  class Representation < Google::Apis::Core::JsonRepresentation; end
1017
1035
 
@@ -1198,6 +1216,12 @@ module Google
1198
1216
  include Google::Apis::Core::JsonObjectSupport
1199
1217
  end
1200
1218
 
1219
+ class GoogleCloudDialogflowV2ExportDocumentRequest
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1201
1225
  class GoogleCloudDialogflowV2FaqAnswer
1202
1226
  class Representation < Google::Apis::Core::JsonRepresentation; end
1203
1227
 
@@ -1222,6 +1246,12 @@ module Google
1222
1246
  include Google::Apis::Core::JsonObjectSupport
1223
1247
  end
1224
1248
 
1249
+ class GoogleCloudDialogflowV2GcsDestination
1250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1251
+
1252
+ include Google::Apis::Core::JsonObjectSupport
1253
+ end
1254
+
1225
1255
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
1226
1256
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1257
 
@@ -1234,6 +1264,12 @@ module Google
1234
1264
  include Google::Apis::Core::JsonObjectSupport
1235
1265
  end
1236
1266
 
1267
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1237
1273
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
1238
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1239
1275
 
@@ -1726,6 +1762,12 @@ module Google
1726
1762
  include Google::Apis::Core::JsonObjectSupport
1727
1763
  end
1728
1764
 
1765
+ class GoogleCloudDialogflowV2SmartReplyAnswer
1766
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1767
+
1768
+ include Google::Apis::Core::JsonObjectSupport
1769
+ end
1770
+
1729
1771
  class GoogleCloudDialogflowV2SpeechContext
1730
1772
  class Representation < Google::Apis::Core::JsonRepresentation; end
1731
1773
 
@@ -1762,6 +1804,18 @@ module Google
1762
1804
  include Google::Apis::Core::JsonObjectSupport
1763
1805
  end
1764
1806
 
1807
+ class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
1808
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1809
+
1810
+ include Google::Apis::Core::JsonObjectSupport
1811
+ end
1812
+
1813
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
1814
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1815
+
1816
+ include Google::Apis::Core::JsonObjectSupport
1817
+ end
1818
+
1765
1819
  class GoogleCloudDialogflowV2SuggestionFeature
1766
1820
  class Representation < Google::Apis::Core::JsonRepresentation; end
1767
1821
 
@@ -2793,6 +2847,7 @@ module Google
2793
2847
  # @private
2794
2848
  class Representation < Google::Apis::Core::JsonRepresentation
2795
2849
  property :current_page, as: 'currentPage'
2850
+ property :display_name, as: 'displayName'
2796
2851
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
2797
2852
 
2798
2853
  end
@@ -2858,6 +2913,8 @@ module Google
2858
2913
  hash :payload, as: 'payload'
2859
2914
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessagePlayAudio::Representation
2860
2915
 
2916
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall::Representation
2917
+
2861
2918
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageText::Representation
2862
2919
 
2863
2920
  end
@@ -2917,6 +2974,13 @@ module Google
2917
2974
  end
2918
2975
  end
2919
2976
 
2977
+ class GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
2978
+ # @private
2979
+ class Representation < Google::Apis::Core::JsonRepresentation
2980
+ property :phone_number, as: 'phoneNumber'
2981
+ end
2982
+ end
2983
+
2920
2984
  class GoogleCloudDialogflowCxV3ResponseMessageText
2921
2985
  # @private
2922
2986
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3552,6 +3616,7 @@ module Google
3552
3616
  # @private
3553
3617
  class Representation < Google::Apis::Core::JsonRepresentation
3554
3618
  property :current_page, as: 'currentPage'
3619
+ property :display_name, as: 'displayName'
3555
3620
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
3556
3621
 
3557
3622
  end
@@ -3617,6 +3682,8 @@ module Google
3617
3682
  hash :payload, as: 'payload'
3618
3683
  property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
3619
3684
 
3685
+ property :telephony_transfer_call, as: 'telephonyTransferCall', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall::Representation
3686
+
3620
3687
  property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
3621
3688
 
3622
3689
  end
@@ -3676,6 +3743,13 @@ module Google
3676
3743
  end
3677
3744
  end
3678
3745
 
3746
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
3747
+ # @private
3748
+ class Representation < Google::Apis::Core::JsonRepresentation
3749
+ property :phone_number, as: 'phoneNumber'
3750
+ end
3751
+ end
3752
+
3679
3753
  class GoogleCloudDialogflowCxV3beta1ResponseMessageText
3680
3754
  # @private
3681
3755
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3938,6 +4012,8 @@ module Google
3938
4012
  class GoogleCloudDialogflowV2AnalyzeContentRequest
3939
4013
  # @private
3940
4014
  class Representation < Google::Apis::Core::JsonRepresentation
4015
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
4016
+
3941
4017
  property :event_input, as: 'eventInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EventInput::Representation
3942
4018
 
3943
4019
  property :query_params, as: 'queryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters::Representation
@@ -4014,6 +4090,13 @@ module Google
4014
4090
  end
4015
4091
  end
4016
4092
 
4093
+ class GoogleCloudDialogflowV2AssistQueryParameters
4094
+ # @private
4095
+ class Representation < Google::Apis::Core::JsonRepresentation
4096
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
4097
+ end
4098
+ end
4099
+
4017
4100
  class GoogleCloudDialogflowV2AutomatedAgentConfig
4018
4101
  # @private
4019
4102
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4179,8 +4262,10 @@ module Google
4179
4262
 
4180
4263
  property :notification_config, as: 'notificationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig::Representation
4181
4264
 
4265
+ property :security_settings, as: 'securitySettings'
4182
4266
  property :stt_config, as: 'sttConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig::Representation
4183
4267
 
4268
+ property :time_zone, as: 'timeZone'
4184
4269
  property :update_time, as: 'updateTime'
4185
4270
  end
4186
4271
  end
@@ -4332,6 +4417,16 @@ module Google
4332
4417
  end
4333
4418
  end
4334
4419
 
4420
+ class GoogleCloudDialogflowV2ExportDocumentRequest
4421
+ # @private
4422
+ class Representation < Google::Apis::Core::JsonRepresentation
4423
+ property :export_full_content, as: 'exportFullContent'
4424
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GcsDestination::Representation
4425
+
4426
+ property :smart_messaging_partial_update, as: 'smartMessagingPartialUpdate'
4427
+ end
4428
+ end
4429
+
4335
4430
  class GoogleCloudDialogflowV2FaqAnswer
4336
4431
  # @private
4337
4432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4375,6 +4470,13 @@ module Google
4375
4470
  end
4376
4471
  end
4377
4472
 
4473
+ class GoogleCloudDialogflowV2GcsDestination
4474
+ # @private
4475
+ class Representation < Google::Apis::Core::JsonRepresentation
4476
+ property :uri, as: 'uri'
4477
+ end
4478
+ end
4479
+
4378
4480
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
4379
4481
  # @private
4380
4482
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4396,6 +4498,13 @@ module Google
4396
4498
  end
4397
4499
  end
4398
4500
 
4501
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig
4502
+ # @private
4503
+ class Representation < Google::Apis::Core::JsonRepresentation
4504
+ property :recent_sentences_count, as: 'recentSentencesCount'
4505
+ end
4506
+ end
4507
+
4399
4508
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig
4400
4509
  # @private
4401
4510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4418,6 +4527,8 @@ module Google
4418
4527
  class Representation < Google::Apis::Core::JsonRepresentation
4419
4528
  property :conversation_model_config, as: 'conversationModelConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig::Representation
4420
4529
 
4530
+ property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationProcessConfig::Representation
4531
+
4421
4532
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
4422
4533
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
4423
4534
 
@@ -5064,6 +5175,9 @@ module Google
5064
5175
  property :name, as: 'name'
5065
5176
  property :participant, as: 'participant'
5066
5177
  property :participant_role, as: 'participantRole'
5178
+ property :send_time, as: 'sendTime'
5179
+ property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
5180
+
5067
5181
  end
5068
5182
  end
5069
5183
 
@@ -5115,6 +5229,7 @@ module Google
5115
5229
  class GoogleCloudDialogflowV2Participant
5116
5230
  # @private
5117
5231
  class Representation < Google::Apis::Core::JsonRepresentation
5232
+ hash :documents_metadata_filters, as: 'documentsMetadataFilters'
5118
5233
  property :name, as: 'name'
5119
5234
  property :role, as: 'role'
5120
5235
  property :sip_recording_media_label, as: 'sipRecordingMediaLabel'
@@ -5181,6 +5296,8 @@ module Google
5181
5296
  # @private
5182
5297
  class Representation < Google::Apis::Core::JsonRepresentation
5183
5298
  property :content_uri, as: 'contentUri'
5299
+ property :import_gcs_custom_metadata, as: 'importGcsCustomMetadata'
5300
+ property :smart_messaging_partial_update, as: 'smartMessagingPartialUpdate'
5184
5301
  end
5185
5302
  end
5186
5303
 
@@ -5234,6 +5351,15 @@ module Google
5234
5351
  end
5235
5352
  end
5236
5353
 
5354
+ class GoogleCloudDialogflowV2SmartReplyAnswer
5355
+ # @private
5356
+ class Representation < Google::Apis::Core::JsonRepresentation
5357
+ property :answer_record, as: 'answerRecord'
5358
+ property :confidence, as: 'confidence'
5359
+ property :reply, as: 'reply'
5360
+ end
5361
+ end
5362
+
5237
5363
  class GoogleCloudDialogflowV2SpeechContext
5238
5364
  # @private
5239
5365
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5252,6 +5378,8 @@ module Google
5252
5378
  class GoogleCloudDialogflowV2SuggestArticlesRequest
5253
5379
  # @private
5254
5380
  class Representation < Google::Apis::Core::JsonRepresentation
5381
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
5382
+
5255
5383
  property :context_size, as: 'contextSize'
5256
5384
  property :latest_message, as: 'latestMessage'
5257
5385
  end
@@ -5270,6 +5398,8 @@ module Google
5270
5398
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
5271
5399
  # @private
5272
5400
  class Representation < Google::Apis::Core::JsonRepresentation
5401
+ property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
5402
+
5273
5403
  property :context_size, as: 'contextSize'
5274
5404
  property :latest_message, as: 'latestMessage'
5275
5405
  end
@@ -5285,6 +5415,26 @@ module Google
5285
5415
  end
5286
5416
  end
5287
5417
 
5418
+ class GoogleCloudDialogflowV2SuggestSmartRepliesRequest
5419
+ # @private
5420
+ class Representation < Google::Apis::Core::JsonRepresentation
5421
+ property :context_size, as: 'contextSize'
5422
+ property :current_text_input, as: 'currentTextInput', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput::Representation
5423
+
5424
+ property :latest_message, as: 'latestMessage'
5425
+ end
5426
+ end
5427
+
5428
+ class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
5429
+ # @private
5430
+ class Representation < Google::Apis::Core::JsonRepresentation
5431
+ property :context_size, as: 'contextSize'
5432
+ property :latest_message, as: 'latestMessage'
5433
+ collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SmartReplyAnswer::Representation
5434
+
5435
+ end
5436
+ end
5437
+
5288
5438
  class GoogleCloudDialogflowV2SuggestionFeature
5289
5439
  # @private
5290
5440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5301,6 +5451,8 @@ module Google
5301
5451
 
5302
5452
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5303
5453
 
5454
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
5455
+
5304
5456
  end
5305
5457
  end
5306
5458
 
@@ -6050,6 +6202,7 @@ module Google
6050
6202
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
6051
6203
  # @private
6052
6204
  class Representation < Google::Apis::Core::JsonRepresentation
6205
+ property :knowledge_base, as: 'knowledgeBase'
6053
6206
  property :state, as: 'state'
6054
6207
  end
6055
6208
  end