Class ProjectsResource.LocationsResource.DatasetsResource.ImportDataRequest
Import sentence pairs into translation Dataset.
Inheritance
ProjectsResource.LocationsResource.DatasetsResource.ImportDataRequest
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource.ImportDataRequest : TranslateBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ImportDataRequest(IClientService, ImportDataRequest, string)
Constructs a new ImportData request.
Declaration
public ImportDataRequest(IClientService service, ImportDataRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ImportDataRequest | body | |
string | dataset |
Properties
Dataset
Required. Name of the dataset. In form of
projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}
Declaration
[RequestParameter("dataset", RequestParameterType.Path)]
public virtual string Dataset { get; }
Property Value
Type | Description |
---|---|
string |
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
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 ImportData parameter list.
Declaration
protected override void InitParameters()