Class ProjectsResource.DatasetsResource.ImportDataRequest
Imports data into dataset based on source locations defined in request. It can be called multiple times for the same dataset. Each dataset can only have one long running operation running on it. For example, no labeling task (also long running operation) can be started while importing is still ongoing. Vice versa.
Inheritance
ProjectsResource.DatasetsResource.ImportDataRequest
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.DatasetsResource.ImportDataRequest : DataLabelingBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
ImportDataRequest(IClientService, GoogleCloudDatalabelingV1beta1ImportDataRequest, string)
Constructs a new ImportData request.
Declaration
public ImportDataRequest(IClientService service, GoogleCloudDatalabelingV1beta1ImportDataRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDatalabelingV1beta1ImportDataRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleLongrunningOperation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleLongrunningOperation>.MethodName
Name
Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id}
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleLongrunningOperation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DataLabeling.v1beta1.Data.GoogleLongrunningOperation>.GetBody()
InitParameters()
Initializes ImportData parameter list.
Declaration
protected override void InitParameters()