Class ProjectsResource.LocationsResource.ConversationDatasetsResource
The "conversationDatasets" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ConversationDatasetsResource
Constructors
ConversationDatasetsResource(IClientService)
Constructs a new resource.
Declaration
public ConversationDatasetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowV2ConversationDataset, string)
Creates a new conversation dataset. This method is a long-running
operation. The returned
Operation
type has the following method-specific fields: - metadata
:
CreateConversationDatasetOperationMetadata - response
: ConversationDataset
Declaration
public virtual ProjectsResource.LocationsResource.ConversationDatasetsResource.CreateRequest Create(GoogleCloudDialogflowV2ConversationDataset body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2ConversationDataset | body | The body of the request. |
string | parent | Required. The project to create conversation dataset for. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationDatasetsResource.CreateRequest |
Delete(string)
Deletes the specified conversation dataset. This method is a long-running
operation. The returned
Operation
type has the following method-specific fields: - metadata
:
DeleteConversationDatasetOperationMetadata - response
: An Empty
message
Declaration
public virtual ProjectsResource.LocationsResource.ConversationDatasetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The conversation dataset to delete. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationDatasetsResource.DeleteRequest |
Get(string)
Retrieves the specified conversation dataset.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationDatasetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The conversation dataset to retrieve. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.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.LocationsResource.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.LocationsResource.ConversationDatasetsResource.ImportConversationDataRequest |
List(string)
Returns the list of all conversation datasets in the specified project and location.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.ConversationDatasetsResource.ListRequest |