[BindServiceMethod(typeof(AnswerRecords), "BindService")]
public abstract class AnswerRecordsBase
Base class for server-side implementations of AnswerRecords
Namespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Methods
ListAnswerRecords(ListAnswerRecordsRequest, ServerCallContext)
public virtual Task<ListAnswerRecordsResponse> ListAnswerRecords(ListAnswerRecordsRequest request, ServerCallContext context)
Returns the list of all answer records in the specified project in reverse chronological order.
Parameters | |
---|---|
Name | Description |
request | ListAnswerRecordsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListAnswerRecordsResponse> | The response to send back to the client (wrapped by a task). |
UpdateAnswerRecord(UpdateAnswerRecordRequest, ServerCallContext)
public virtual Task<AnswerRecord> UpdateAnswerRecord(UpdateAnswerRecordRequest request, ServerCallContext context)
Updates the specified answer record.
Parameters | |
---|---|
Name | Description |
request | UpdateAnswerRecordRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AnswerRecord> | The response to send back to the client (wrapped by a task). |