Class ProjectsResource.ConversationDatasetsResource
The "conversationDatasets" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationDatasetsResource
Constructors
ConversationDatasetsResource(IClientService)
Constructs a new resource.
Declaration
public ConversationDatasetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(string)
Retrieves the specified conversation dataset.
Declaration
public virtual ProjectsResource.ConversationDatasetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The conversation dataset to retrieve. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.ConversationDatasetsResource.GetRequest |
ImportConversationData(GoogleCloudDialogflowV2ImportConversationDataRequest, string)
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 - response
: ImportConversationDataOperationResponse
Declaration
public virtual ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest ImportConversationData(GoogleCloudDialogflowV2ImportConversationDataRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2ImportConversationDataRequest | body | The body of the request. |
string | name | Required. Dataset resource name. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest |
List(string)
Returns the list of all conversation datasets in the specified project and location.
Declaration
public virtual ProjectsResource.ConversationDatasetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project and location name to list all conversation datasets for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.ConversationDatasetsResource.ListRequest |