lib/google/cloud/dialogflow/v2/conversation_services_pb.rb in google-cloud-dialogflow-v2-0.20.0 vs lib/google/cloud/dialogflow/v2/conversation_services_pb.rb in google-cloud-dialogflow-v2-0.21.0
- old
+ new
@@ -22,11 +22,12 @@
module Google
module Cloud
module Dialogflow
module V2
module Conversations
- # Service for managing [Conversations][google.cloud.dialogflow.v2.Conversation].
+ # Service for managing
+ # [Conversations][google.cloud.dialogflow.v2.Conversation].
class Service
include ::GRPC::GenericService
self.marshal_class_method = :encode
@@ -44,15 +45,18 @@
# user queries.
#
# For Assist Stage, there's no dialogflow agent responding to user queries.
# But we will provide suggestions which are generated from conversation.
#
- # If [Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile] is configured for a dialogflow
- # agent, conversation will start from `Automated Agent Stage`, otherwise, it
- # will start from `Assist Stage`. And during `Automated Agent Stage`, once an
- # [Intent][google.cloud.dialogflow.v2.Intent] with [Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff] is triggered, conversation
- # will transfer to Assist Stage.
+ # If
+ # [Conversation.conversation_profile][google.cloud.dialogflow.v2.Conversation.conversation_profile]
+ # is configured for a dialogflow agent, conversation will start from
+ # `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
+ # during `Automated Agent Stage`, once an
+ # [Intent][google.cloud.dialogflow.v2.Intent] with
+ # [Intent.live_agent_handoff][google.cloud.dialogflow.v2.Intent.live_agent_handoff]
+ # is triggered, conversation will transfer to Assist Stage.
rpc :CreateConversation, ::Google::Cloud::Dialogflow::V2::CreateConversationRequest, ::Google::Cloud::Dialogflow::V2::Conversation
# Returns the list of all conversations in the specified project.
rpc :ListConversations, ::Google::Cloud::Dialogflow::V2::ListConversationsRequest, ::Google::Cloud::Dialogflow::V2::ListConversationsResponse
# Retrieves the specific conversation.
rpc :GetConversation, ::Google::Cloud::Dialogflow::V2::GetConversationRequest, ::Google::Cloud::Dialogflow::V2::Conversation
@@ -63,9 +67,13 @@
# `messages` are ordered by `create_time` in descending order. To fetch
# updates without duplication, send request with filter
# `create_time_epoch_microseconds >
# [first item's create_time of previous request]` and empty page_token.
rpc :ListMessages, ::Google::Cloud::Dialogflow::V2::ListMessagesRequest, ::Google::Cloud::Dialogflow::V2::ListMessagesResponse
+ # Suggests summary for a conversation based on specific historical messages.
+ # The range of the messages to be used for summary can be specified in the
+ # request.
+ rpc :SuggestConversationSummary, ::Google::Cloud::Dialogflow::V2::SuggestConversationSummaryRequest, ::Google::Cloud::Dialogflow::V2::SuggestConversationSummaryResponse
end
Stub = Service.rpc_stub_class
end
end