Class ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest
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
Inheritance
ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.ConversationDatasetsResource.ImportConversationDataRequest : DialogflowBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ImportConversationDataRequest(IClientService, GoogleCloudDialogflowV2ImportConversationDataRequest, string)
Constructs a new ImportConversationData request.
Declaration
public ImportConversationDataRequest(IClientService service, GoogleCloudDialogflowV2ImportConversationDataRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDialogflowV2ImportConversationDataRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. Dataset resource name. Format: projects//locations//conversationDatasets/
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ImportConversationData parameter list.
Declaration
protected override void InitParameters()