Google Cloud Dialogflow v2beta1 API - Class AnswerRecords.AnswerRecordsBase (1.0.0-beta13)

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

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class AnswerRecords.AnswerRecordsBase.

Base class for server-side implementations of AnswerRecords

Inheritance

object > AnswerRecords.AnswerRecordsBase

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Methods

GetAnswerRecord(GetAnswerRecordRequest, ServerCallContext)

[Obsolete]
public virtual Task<AnswerRecord> GetAnswerRecord(GetAnswerRecordRequest request, ServerCallContext context)

Deprecated. Retrieves a specific answer record.

Parameters
NameDescription
requestGetAnswerRecordRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskAnswerRecord

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

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
TaskListAnswerRecordsResponse

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
TaskAnswerRecord

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