google-cloud-dialogflow-v2 1.8.0 → 1.9.1
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.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/agents/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/agents/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/answer_records/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/answer_records/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/contexts/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/contexts/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_models/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +8 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/conversation_services_pb.rb +7 -0
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +214 -3
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +199 -2
- data/lib/google/cloud/dialogflow/v2/conversations/rest/service_stub.rb +132 -0
- data/lib/google/cloud/dialogflow/v2/documents/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/documents/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/environments/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/environments/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/fulfillments/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/fulfillments/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/generator_pb.rb +3 -1
- data/lib/google/cloud/dialogflow/v2/generators/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/generators/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/intents/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/intents/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/knowledge_bases/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/participant_pb.rb +5 -1
- data/lib/google/cloud/dialogflow/v2/participants/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/participants/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/rest.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/session_entity_types/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/session_entity_types/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/sessions/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/sessions/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/versions/client.rb +2 -2
- data/lib/google/cloud/dialogflow/v2/versions/rest/client.rb +1 -1
- data/lib/google/cloud/dialogflow/v2.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +2 -0
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +154 -0
- data/proto_docs/google/cloud/dialogflow/v2/generator.rb +53 -0
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +46 -5
- metadata +3 -3
@@ -681,6 +681,41 @@ module Google
|
|
681
681
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
682
682
|
end
|
683
683
|
|
684
|
+
# The response message for
|
685
|
+
# {::Google::Cloud::Dialogflow::V2::Conversations::Client#generate_suggestions Conversations.GenerateSuggestions}.
|
686
|
+
# @!attribute [rw] generator_suggestion_answers
|
687
|
+
# @return [::Array<::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse::GeneratorSuggestionAnswer>]
|
688
|
+
# The answers generated for the conversation based on context.
|
689
|
+
# @!attribute [rw] latest_message
|
690
|
+
# @return [::String]
|
691
|
+
# The name of the latest conversation message used as context for
|
692
|
+
# compiling suggestion.
|
693
|
+
#
|
694
|
+
# Format: `projects/<Project ID>/locations/<Location
|
695
|
+
# ID>/conversations/<Conversation ID>/messages/<Message ID>`.
|
696
|
+
class GenerateSuggestionsResponse
|
697
|
+
include ::Google::Protobuf::MessageExts
|
698
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
699
|
+
|
700
|
+
# A GeneratorSuggestion answer.
|
701
|
+
# @!attribute [rw] generator_suggestion
|
702
|
+
# @return [::Google::Cloud::Dialogflow::V2::GeneratorSuggestion]
|
703
|
+
# Suggestion details.
|
704
|
+
# @!attribute [rw] source_generator
|
705
|
+
# @return [::String]
|
706
|
+
# The name of the generator used to generate this suggestion. Format:
|
707
|
+
# `projects/<Project ID>/locations/<Location ID>/generators/<Generator
|
708
|
+
# ID>`.
|
709
|
+
# @!attribute [rw] answer_record
|
710
|
+
# @return [::String]
|
711
|
+
# Answer record that uniquely identifies the suggestion. This can be used
|
712
|
+
# to provide suggestion feedback.
|
713
|
+
class GeneratorSuggestionAnswer
|
714
|
+
include ::Google::Protobuf::MessageExts
|
715
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
684
719
|
# The request message for
|
685
720
|
# {::Google::Cloud::Dialogflow::V2::Participants::Client#suggest_smart_replies Participants.SuggestSmartReplies}.
|
686
721
|
# @!attribute [rw] parent
|
@@ -953,27 +988,33 @@ module Google
|
|
953
988
|
# @return [::Google::Rpc::Status]
|
954
989
|
# Error status if the request failed.
|
955
990
|
#
|
956
|
-
# 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.
|
991
|
+
# Note: The following fields are mutually exclusive: `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
957
992
|
# @!attribute [rw] suggest_articles_response
|
958
993
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestArticlesResponse]
|
959
994
|
# SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
|
960
995
|
#
|
961
|
-
# 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.
|
996
|
+
# Note: The following fields are mutually exclusive: `suggest_articles_response`, `error`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
962
997
|
# @!attribute [rw] suggest_knowledge_assist_response
|
963
998
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestKnowledgeAssistResponse]
|
964
999
|
# SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST.
|
965
1000
|
#
|
966
|
-
# 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.
|
1001
|
+
# Note: The following fields are mutually exclusive: `suggest_knowledge_assist_response`, `error`, `suggest_articles_response`, `suggest_faq_answers_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
967
1002
|
# @!attribute [rw] suggest_faq_answers_response
|
968
1003
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestFaqAnswersResponse]
|
969
1004
|
# SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
|
970
1005
|
#
|
971
|
-
# 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.
|
1006
|
+
# Note: The following fields are mutually exclusive: `suggest_faq_answers_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_smart_replies_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
972
1007
|
# @!attribute [rw] suggest_smart_replies_response
|
973
1008
|
# @return [::Google::Cloud::Dialogflow::V2::SuggestSmartRepliesResponse]
|
974
1009
|
# SuggestSmartRepliesResponse if request is for SMART_REPLY.
|
975
1010
|
#
|
976
|
-
# 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.
|
1011
|
+
# Note: The following fields are mutually exclusive: `suggest_smart_replies_response`, `error`, `suggest_articles_response`, `suggest_knowledge_assist_response`, `suggest_faq_answers_response`, `generate_suggestions_response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
1012
|
+
# @!attribute [rw] generate_suggestions_response
|
1013
|
+
# @return [::Google::Cloud::Dialogflow::V2::GenerateSuggestionsResponse]
|
1014
|
+
# Suggestions generated using generators triggered by customer or agent
|
1015
|
+
# messages.
|
1016
|
+
#
|
1017
|
+
# Note: The following fields are mutually exclusive: `generate_suggestions_response`, `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.
|
977
1018
|
class SuggestionResult
|
978
1019
|
include ::Google::Protobuf::MessageExts
|
979
1020
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,13 +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.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: gapic-common
|
@@ -335,7 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
335
|
- !ruby/object:Gem::Version
|
336
336
|
version: '0'
|
337
337
|
requirements: []
|
338
|
-
rubygems_version: 3.6.
|
338
|
+
rubygems_version: 3.6.8
|
339
339
|
specification_version: 4
|
340
340
|
summary: Builds conversational interfaces (for example, chatbots, and voice-powered
|
341
341
|
apps and devices).
|