[BindServiceMethod(typeof(Participants), "BindService")]
public abstract class ParticipantsBaseBase class for server-side implementations of Participants
Inheritance
System.Object > Participants.ParticipantsBaseNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
AnalyzeContent(AnalyzeContentRequest, ServerCallContext)
public virtual Task<AnalyzeContentResponse> AnalyzeContent(AnalyzeContentRequest request, ServerCallContext context)Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation.
Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments.
| Parameters | |
|---|---|
| Name | Description |
request |
AnalyzeContentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<AnalyzeContentResponse> |
The response to send back to the client (wrapped by a task). |
CreateParticipant(CreateParticipantRequest, ServerCallContext)
public virtual Task<Participant> CreateParticipant(CreateParticipantRequest request, ServerCallContext context)Creates a new participant in a conversation.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateParticipantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Participant> |
The response to send back to the client (wrapped by a task). |
GetParticipant(GetParticipantRequest, ServerCallContext)
public virtual Task<Participant> GetParticipant(GetParticipantRequest request, ServerCallContext context)Retrieves a conversation participant.
| Parameters | |
|---|---|
| Name | Description |
request |
GetParticipantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Participant> |
The response to send back to the client (wrapped by a task). |
ListParticipants(ListParticipantsRequest, ServerCallContext)
public virtual Task<ListParticipantsResponse> ListParticipants(ListParticipantsRequest request, ServerCallContext context)Returns the list of all participants in the specified conversation.
| Parameters | |
|---|---|
| Name | Description |
request |
ListParticipantsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<ListParticipantsResponse> |
The response to send back to the client (wrapped by a task). |
SuggestArticles(SuggestArticlesRequest, ServerCallContext)
public virtual Task<SuggestArticlesResponse> SuggestArticles(SuggestArticlesRequest request, ServerCallContext context)Gets suggested articles for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description |
request |
SuggestArticlesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SuggestArticlesResponse> |
The response to send back to the client (wrapped by a task). |
SuggestFaqAnswers(SuggestFaqAnswersRequest, ServerCallContext)
public virtual Task<SuggestFaqAnswersResponse> SuggestFaqAnswers(SuggestFaqAnswersRequest request, ServerCallContext context)Gets suggested faq answers for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description |
request |
SuggestFaqAnswersRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SuggestFaqAnswersResponse> |
The response to send back to the client (wrapped by a task). |
SuggestSmartReplies(SuggestSmartRepliesRequest, ServerCallContext)
public virtual Task<SuggestSmartRepliesResponse> SuggestSmartReplies(SuggestSmartRepliesRequest request, ServerCallContext context)Gets smart replies for a participant based on specific historical messages.
| Parameters | |
|---|---|
| Name | Description |
request |
SuggestSmartRepliesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<SuggestSmartRepliesResponse> |
The response to send back to the client (wrapped by a task). |
UpdateParticipant(UpdateParticipantRequest, ServerCallContext)
public virtual Task<Participant> UpdateParticipant(UpdateParticipantRequest request, ServerCallContext context)Updates the specified participant.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateParticipantRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task<Participant> |
The response to send back to the client (wrapped by a task). |