[BindServiceMethod(typeof(ConversationDatasets), "BindService")]
public abstract class ConversationDatasets.ConversationDatasetsBaseReference documentation and code samples for the Google Cloud Dialogflow v2 API class ConversationDatasets.ConversationDatasetsBase.
Base class for server-side implementations of ConversationDatasets
Namespace
Google.Cloud.Dialogflow.V2Assembly
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 | |
|---|---|
| Name | Description |
request |
CreateConversationDatasetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
DeleteConversationDatasetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetConversationDatasetRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ImportConversationDataRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
ListConversationDatasetsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListConversationDatasetsResponse |
The response to send back to the client (wrapped by a task). |