Google Cloud Dialogflow v2 API - Class ConversationDatasets.ConversationDatasetsBase (4.12.0)

[BindServiceMethod(typeof(ConversationDatasets), "BindService")]
public abstract class ConversationDatasets.ConversationDatasetsBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationDatasets.ConversationDatasetsBase.

Base class for server-side implementations of ConversationDatasets

Inheritance

object > ConversationDatasets.ConversationDatasetsBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Methods

CreateConversationDataset(CreateConversationDatasetRequest, ServerCallContext)

public virtual Task<Operation> CreateConversationDataset(CreateConversationDatasetRequest request, ServerCallContext context)

Creates a new conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
  • response: [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
Parameters
NameDescription
requestCreateConversationDatasetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

DeleteConversationDataset(DeleteConversationDatasetRequest, ServerCallContext)

public virtual Task<Operation> DeleteConversationDataset(DeleteConversationDatasetRequest request, ServerCallContext context)

Deletes the specified conversation dataset.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
  • response: An Empty message
Parameters
NameDescription
requestDeleteConversationDatasetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

GetConversationDataset(GetConversationDatasetRequest, ServerCallContext)

public virtual Task<ConversationDataset> GetConversationDataset(GetConversationDatasetRequest request, ServerCallContext context)

Retrieves the specified conversation dataset.

Parameters
NameDescription
requestGetConversationDatasetRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskConversationDataset

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

ImportConversationData(ImportConversationDataRequest, ServerCallContext)

public virtual Task<Operation> ImportConversationData(ImportConversationDataRequest request, ServerCallContext context)

Import data into the specified conversation dataset. Note that it is not allowed to import data to a conversation dataset that already has data in it.

This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
  • response: [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
Parameters
NameDescription
requestImportConversationDataRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskOperation

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

ListConversationDatasets(ListConversationDatasetsRequest, ServerCallContext)

public virtual Task<ListConversationDatasetsResponse> ListConversationDatasets(ListConversationDatasetsRequest request, ServerCallContext context)

Returns the list of all conversation datasets in the specified project and location.

Parameters
NameDescription
requestListConversationDatasetsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskListConversationDatasetsResponse

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