Class AnswerRecords.AnswerRecordsBase (4.0.0)

[BindServiceMethod(typeof(AnswerRecords), "BindService")]
public abstract class AnswerRecordsBase

Base class for server-side implementations of AnswerRecords

Inheritance

System.Object > AnswerRecords.AnswerRecordsBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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
NameDescription
requestListAnswerRecordsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
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
NameDescription
requestUpdateAnswerRecordRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<AnswerRecord>

The response to send back to the client (wrapped by a task).