google-cloud-dialogflow-v2 1.6.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +15 -0
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +15 -0
- data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/generators/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +11 -0
- data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +13 -0
- data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +13 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +7 -0
- data/proto_docs/google/cloud/dialogflow/v2/agent.rb +12 -0
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +6 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_event.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_model.rb +8 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +10 -0
- data/proto_docs/google/cloud/dialogflow/v2/document.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/entity_type.rb +4 -0
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +36 -0
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +34 -0
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +6 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
@@ -277,45 +277,73 @@ module Google
|
|
277
277
|
# @!attribute [rw] text
|
278
278
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Text]
|
279
279
|
# The text response.
|
280
|
+
#
|
281
|
+
# Note: The following fields are mutually exclusive: `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
280
282
|
# @!attribute [rw] image
|
281
283
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
|
282
284
|
# The image response.
|
285
|
+
#
|
286
|
+
# Note: The following fields are mutually exclusive: `image`, `text`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
283
287
|
# @!attribute [rw] quick_replies
|
284
288
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::QuickReplies]
|
285
289
|
# The quick replies response.
|
290
|
+
#
|
291
|
+
# Note: The following fields are mutually exclusive: `quick_replies`, `text`, `image`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
286
292
|
# @!attribute [rw] card
|
287
293
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Card]
|
288
294
|
# The card response.
|
295
|
+
#
|
296
|
+
# Note: The following fields are mutually exclusive: `card`, `text`, `image`, `quick_replies`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
289
297
|
# @!attribute [rw] payload
|
290
298
|
# @return [::Google::Protobuf::Struct]
|
291
299
|
# A custom platform-specific response.
|
300
|
+
#
|
301
|
+
# Note: The following fields are mutually exclusive: `payload`, `text`, `image`, `quick_replies`, `card`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
292
302
|
# @!attribute [rw] simple_responses
|
293
303
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::SimpleResponses]
|
294
304
|
# The voice and text-only responses for Actions on Google.
|
305
|
+
#
|
306
|
+
# Note: The following fields are mutually exclusive: `simple_responses`, `text`, `image`, `quick_replies`, `card`, `payload`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
295
307
|
# @!attribute [rw] basic_card
|
296
308
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard]
|
297
309
|
# The basic card response for Actions on Google.
|
310
|
+
#
|
311
|
+
# Note: The following fields are mutually exclusive: `basic_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
298
312
|
# @!attribute [rw] suggestions
|
299
313
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Suggestions]
|
300
314
|
# The suggestion chips for Actions on Google.
|
315
|
+
#
|
316
|
+
# Note: The following fields are mutually exclusive: `suggestions`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
301
317
|
# @!attribute [rw] link_out_suggestion
|
302
318
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::LinkOutSuggestion]
|
303
319
|
# The link out suggestion chip for Actions on Google.
|
320
|
+
#
|
321
|
+
# Note: The following fields are mutually exclusive: `link_out_suggestion`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
304
322
|
# @!attribute [rw] list_select
|
305
323
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect]
|
306
324
|
# The list card response for Actions on Google.
|
325
|
+
#
|
326
|
+
# Note: The following fields are mutually exclusive: `list_select`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `carousel_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
307
327
|
# @!attribute [rw] carousel_select
|
308
328
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::CarouselSelect]
|
309
329
|
# The carousel card response for Actions on Google.
|
330
|
+
#
|
331
|
+
# Note: The following fields are mutually exclusive: `carousel_select`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `browse_carousel_card`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
310
332
|
# @!attribute [rw] browse_carousel_card
|
311
333
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::BrowseCarouselCard]
|
312
334
|
# Browse carousel card for Actions on Google.
|
335
|
+
#
|
336
|
+
# Note: The following fields are mutually exclusive: `browse_carousel_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `table_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
313
337
|
# @!attribute [rw] table_card
|
314
338
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::TableCard]
|
315
339
|
# Table card for Actions on Google.
|
340
|
+
#
|
341
|
+
# Note: The following fields are mutually exclusive: `table_card`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `media_content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
316
342
|
# @!attribute [rw] media_content
|
317
343
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::MediaContent]
|
318
344
|
# The media content card for Actions on Google.
|
345
|
+
#
|
346
|
+
# Note: The following fields are mutually exclusive: `media_content`, `text`, `image`, `quick_replies`, `card`, `payload`, `simple_responses`, `basic_card`, `suggestions`, `link_out_suggestion`, `list_select`, `carousel_select`, `browse_carousel_card`, `table_card`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
319
347
|
# @!attribute [rw] platform
|
320
348
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Platform]
|
321
349
|
# Optional. The platform that this message is intended for.
|
@@ -589,9 +617,13 @@ module Google
|
|
589
617
|
# @!attribute [rw] large_image
|
590
618
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
|
591
619
|
# Optional. Image to display above media content.
|
620
|
+
#
|
621
|
+
# Note: The following fields are mutually exclusive: `large_image`, `icon`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
592
622
|
# @!attribute [rw] icon
|
593
623
|
# @return [::Google::Cloud::Dialogflow::V2::Intent::Message::Image]
|
594
624
|
# Optional. Icon to display above media content.
|
625
|
+
#
|
626
|
+
# Note: The following fields are mutually exclusive: `icon`, `large_image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
595
627
|
# @!attribute [rw] content_url
|
596
628
|
# @return [::String]
|
597
629
|
# Required. Url where the media is stored.
|
@@ -982,9 +1014,13 @@ module Google
|
|
982
1014
|
# The URI to a Google Cloud Storage file containing intents to update or
|
983
1015
|
# create. The file format can either be a serialized proto (of IntentBatch
|
984
1016
|
# type) or JSON object. Note: The URI must start with "gs://".
|
1017
|
+
#
|
1018
|
+
# Note: The following fields are mutually exclusive: `intent_batch_uri`, `intent_batch_inline`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
985
1019
|
# @!attribute [rw] intent_batch_inline
|
986
1020
|
# @return [::Google::Cloud::Dialogflow::V2::IntentBatch]
|
987
1021
|
# The collection of intents to update or create.
|
1022
|
+
#
|
1023
|
+
# Note: The following fields are mutually exclusive: `intent_batch_inline`, `intent_batch_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
988
1024
|
# @!attribute [rw] language_code
|
989
1025
|
# @return [::String]
|
990
1026
|
# Optional. The language used to access language-specific data.
|
@@ -241,12 +241,18 @@ module Google
|
|
241
241
|
# @!attribute [rw] text_input
|
242
242
|
# @return [::Google::Cloud::Dialogflow::V2::TextInput]
|
243
243
|
# The natural language text to be processed.
|
244
|
+
#
|
245
|
+
# Note: The following fields are mutually exclusive: `text_input`, `event_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
244
246
|
# @!attribute [rw] event_input
|
245
247
|
# @return [::Google::Cloud::Dialogflow::V2::EventInput]
|
246
248
|
# An input event to send to Dialogflow.
|
249
|
+
#
|
250
|
+
# Note: The following fields are mutually exclusive: `event_input`, `text_input`, `suggestion_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
247
251
|
# @!attribute [rw] suggestion_input
|
248
252
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestionInput]
|
249
253
|
# An input representing the selection of a suggestion.
|
254
|
+
#
|
255
|
+
# Note: The following fields are mutually exclusive: `suggestion_input`, `text_input`, `event_input`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
250
256
|
# @!attribute [rw] reply_audio_config
|
251
257
|
# @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
|
252
258
|
# Speech synthesis configuration.
|
@@ -396,9 +402,13 @@ module Google
|
|
396
402
|
# @!attribute [rw] audio_config
|
397
403
|
# @return [::Google::Cloud::Dialogflow::V2::InputAudioConfig]
|
398
404
|
# Instructs the speech recognizer how to process the speech audio.
|
405
|
+
#
|
406
|
+
# Note: The following fields are mutually exclusive: `audio_config`, `text_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
399
407
|
# @!attribute [rw] text_config
|
400
408
|
# @return [::Google::Cloud::Dialogflow::V2::InputTextConfig]
|
401
409
|
# The natural language text to be processed.
|
410
|
+
#
|
411
|
+
# Note: The following fields are mutually exclusive: `text_config`, `audio_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
402
412
|
# @!attribute [rw] reply_audio_config
|
403
413
|
# @return [::Google::Cloud::Dialogflow::V2::OutputAudioConfig]
|
404
414
|
# Speech synthesis configuration.
|
@@ -411,18 +421,24 @@ module Google
|
|
411
421
|
# The input audio content to be recognized. Must be sent if `audio_config`
|
412
422
|
# is set in the first message. The complete audio over all streaming
|
413
423
|
# messages must not exceed 1 minute.
|
424
|
+
#
|
425
|
+
# Note: The following fields are mutually exclusive: `input_audio`, `input_text`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
414
426
|
# @!attribute [rw] input_text
|
415
427
|
# @return [::String]
|
416
428
|
# The UTF-8 encoded natural language text to be processed. Must be sent if
|
417
429
|
# `text_config` is set in the first message. Text length must not exceed
|
418
430
|
# 256 bytes for virtual agent interactions. The `input_text` field can be
|
419
431
|
# only sent once, and would cancel the speech recognition if any ongoing.
|
432
|
+
#
|
433
|
+
# Note: The following fields are mutually exclusive: `input_text`, `input_audio`, `input_dtmf`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
420
434
|
# @!attribute [rw] input_dtmf
|
421
435
|
# @return [::Google::Cloud::Dialogflow::V2::TelephonyDtmfEvents]
|
422
436
|
# The DTMF digits used to invoke intent and fill in parameter value.
|
423
437
|
#
|
424
438
|
# This input is ignored if the previous response indicated that DTMF input
|
425
439
|
# is not accepted.
|
440
|
+
#
|
441
|
+
# Note: The following fields are mutually exclusive: `input_dtmf`, `input_audio`, `input_text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
426
442
|
# @!attribute [rw] query_params
|
427
443
|
# @return [::Google::Cloud::Dialogflow::V2::QueryParameters]
|
428
444
|
# Parameters for a Dialogflow virtual-agent query.
|
@@ -885,9 +901,13 @@ module Google
|
|
885
901
|
# @!attribute [rw] query_result
|
886
902
|
# @return [::Google::Cloud::Dialogflow::V2::QueryResult]
|
887
903
|
# Result from v2 agent.
|
904
|
+
#
|
905
|
+
# Note: The following fields are mutually exclusive: `query_result`, `intent_suggestion`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
888
906
|
# @!attribute [rw] intent_suggestion
|
889
907
|
# @return [::Google::Cloud::Dialogflow::V2::IntentSuggestion]
|
890
908
|
# An intent suggestion generated from conversation.
|
909
|
+
#
|
910
|
+
# Note: The following fields are mutually exclusive: `intent_suggestion`, `query_result`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
891
911
|
# @!attribute [rw] answer_record
|
892
912
|
# @return [::String]
|
893
913
|
# The name of answer record, in the format of
|
@@ -908,18 +928,28 @@ module Google
|
|
908
928
|
# @!attribute [rw] error
|
909
929
|
# @return [::Google::Rpc::Status]
|
910
930
|
# Error status if the request failed.
|
931
|
+
#
|
932
|
+
# Note: The following fields are mutually exclusive: `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
911
933
|
# @!attribute [rw] suggest_articles_response
|
912
934
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse]
|
913
935
|
# SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
|
936
|
+
#
|
937
|
+
# Note: The following fields are mutually exclusive: `suggest_articles_response`, `error`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
914
938
|
# @!attribute [rw] suggest_knowledge_assist_response
|
915
939
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse]
|
916
940
|
# SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
|
941
|
+
#
|
942
|
+
# Note: The following fields are mutually exclusive: `suggest_knowledge_assist_response`, `error`, `suggest_articles_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
917
943
|
# @!attribute [rw] suggest_faq_answers_response
|
918
944
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse]
|
919
945
|
# SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
|
946
|
+
#
|
947
|
+
# Note: The following fields are mutually exclusive: `suggest_faq_answers_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_smart_replies_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
920
948
|
# @!attribute [rw] suggest_smart_replies_response
|
921
949
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse]
|
922
950
|
# SuggestSmartRepliesResponse if request is for SMART_REPLY.
|
951
|
+
#
|
952
|
+
# Note: The following fields are mutually exclusive: `suggest_smart_replies_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
923
953
|
class SuggestionResult
|
924
954
|
include ::Google::Protobuf::MessageExts
|
925
955
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1114,9 +1144,13 @@ module Google
|
|
1114
1144
|
# @!attribute [rw] faq_source
|
1115
1145
|
# @return [::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::FaqSource]
|
1116
1146
|
# Populated if the prediction came from FAQ.
|
1147
|
+
#
|
1148
|
+
# Note: The following fields are mutually exclusive: `faq_source`, `generative_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1117
1149
|
# @!attribute [rw] generative_source
|
1118
1150
|
# @return [::Google::Cloud::Dialogflow::V2::KnowledgeAssistAnswer::KnowledgeAnswer::GenerativeSource]
|
1119
1151
|
# Populated if the prediction was Generative.
|
1152
|
+
#
|
1153
|
+
# Note: The following fields are mutually exclusive: `generative_source`, `faq_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1120
1154
|
class KnowledgeAnswer
|
1121
1155
|
include ::Google::Protobuf::MessageExts
|
1122
1156
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -188,13 +188,19 @@ module Google
|
|
188
188
|
# @!attribute [rw] audio_config
|
189
189
|
# @return [::Google::Cloud::Dialogflow::V2::InputAudioConfig]
|
190
190
|
# Instructs the speech recognizer how to process the speech audio.
|
191
|
+
#
|
192
|
+
# Note: The following fields are mutually exclusive: `audio_config`, `text`, `event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
191
193
|
# @!attribute [rw] text
|
192
194
|
# @return [::Google::Cloud::Dialogflow::V2::TextInput]
|
193
195
|
# The natural language text to be processed. Text length must not exceed
|
194
196
|
# 256 character for virtual agent interactions.
|
197
|
+
#
|
198
|
+
# Note: The following fields are mutually exclusive: `text`, `audio_config`, `event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
195
199
|
# @!attribute [rw] event
|
196
200
|
# @return [::Google::Cloud::Dialogflow::V2::EventInput]
|
197
201
|
# The event to be processed.
|
202
|
+
#
|
203
|
+
# Note: The following fields are mutually exclusive: `event`, `audio_config`, `text`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
198
204
|
class QueryInput
|
199
205
|
include ::Google::Protobuf::MessageExts
|
200
206
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,21 +53,33 @@ module Google
|
|
53
53
|
# @!attribute [rw] null_value
|
54
54
|
# @return [::Google::Protobuf::NullValue]
|
55
55
|
# Represents a null value.
|
56
|
+
#
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
56
58
|
# @!attribute [rw] number_value
|
57
59
|
# @return [::Float]
|
58
60
|
# Represents a double value.
|
61
|
+
#
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
59
63
|
# @!attribute [rw] string_value
|
60
64
|
# @return [::String]
|
61
65
|
# Represents a string value.
|
66
|
+
#
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
62
68
|
# @!attribute [rw] bool_value
|
63
69
|
# @return [::Boolean]
|
64
70
|
# Represents a boolean value.
|
71
|
+
#
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
65
73
|
# @!attribute [rw] struct_value
|
66
74
|
# @return [::Google::Protobuf::Struct]
|
67
75
|
# Represents a structured value.
|
76
|
+
#
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
68
78
|
# @!attribute [rw] list_value
|
69
79
|
# @return [::Google::Protobuf::ListValue]
|
70
80
|
# Represents a repeated `Value`.
|
81
|
+
#
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
71
83
|
class Value
|
72
84
|
include ::Google::Protobuf::MessageExts
|
73
85
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -322,7 +321,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
322
321
|
licenses:
|
323
322
|
- Apache-2.0
|
324
323
|
metadata: {}
|
325
|
-
post_install_message:
|
326
324
|
rdoc_options: []
|
327
325
|
require_paths:
|
328
326
|
- lib
|
@@ -330,15 +328,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
330
328
|
requirements:
|
331
329
|
- - ">="
|
332
330
|
- !ruby/object:Gem::Version
|
333
|
-
version: '
|
331
|
+
version: '3.0'
|
334
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
333
|
requirements:
|
336
334
|
- - ">="
|
337
335
|
- !ruby/object:Gem::Version
|
338
336
|
version: '0'
|
339
337
|
requirements: []
|
340
|
-
rubygems_version: 3.
|
341
|
-
signing_key:
|
338
|
+
rubygems_version: 3.6.2
|
342
339
|
specification_version: 4
|
343
340
|
summary: Builds conversational interfaces (for example, chatbots, and voice-powered
|
344
341
|
apps and devices).
|