Class ProjectsResource.LocationsResource.DatasetsResource
The "datasets" collection of methods.
Inherited Members
Namespace: Google.Apis.Translate.v3
Assembly: Google.Apis.Translate.v3.dll
Syntax
public class ProjectsResource.LocationsResource.DatasetsResource
Constructors
DatasetsResource(IClientService)
Constructs a new resource.
Declaration
public DatasetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Examples
Gets the Examples resource.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.ExamplesResource Examples { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.ExamplesResource |
Methods
Create(Dataset, string)
Creates a Dataset.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.CreateRequest Create(Dataset body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Dataset | body | The body of the request. |
string | parent | Required. The project name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.CreateRequest |
Delete(string)
Deletes a dataset and all of its contents.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the dataset to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.DeleteRequest |
ExportData(ExportDataRequest, string)
Exports dataset's data to the provided output location.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.ExportDataRequest ExportData(ExportDataRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
ExportDataRequest | body | The body of the request. |
string | dataset | Required. Name of the dataset. In form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.ExportDataRequest |
Get(string)
Gets a Dataset.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the dataset to retrieve. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.GetRequest |
ImportData(ImportDataRequest, string)
Import sentence pairs into translation Dataset.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.ImportDataRequest ImportData(ImportDataRequest body, string dataset)
Parameters
Type | Name | Description |
---|---|---|
ImportDataRequest | body | The body of the request. |
string | dataset | Required. Name of the dataset. In form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.ImportDataRequest |
List(string)
Lists datasets.
Declaration
public virtual ProjectsResource.LocationsResource.DatasetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the parent project. In form of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DatasetsResource.ListRequest |