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

[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
Name Description
request GetAnswerRecordRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
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
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
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
TaskAnswerRecord

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