Class ProjectsResource.DatasetsResource
The "datasets" collection of methods.
Inherited Members
Namespace: Google.Apis.DataLabeling.v1beta1
Assembly: Google.Apis.DataLabeling.v1beta1.dll
Syntax
public class ProjectsResource.DatasetsResource
Constructors
DatasetsResource(IClientService)
Constructs a new resource.
Declaration
public DatasetsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
AnnotatedDatasets
Gets the AnnotatedDatasets resource.
Declaration
public virtual ProjectsResource.DatasetsResource.AnnotatedDatasetsResource AnnotatedDatasets { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.AnnotatedDatasetsResource |
DataItems
Gets the DataItems resource.
Declaration
public virtual ProjectsResource.DatasetsResource.DataItemsResource DataItems { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.DataItemsResource |
Evaluations
Gets the Evaluations resource.
Declaration
public virtual ProjectsResource.DatasetsResource.EvaluationsResource Evaluations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.EvaluationsResource |
Image
Gets the Image resource.
Declaration
public virtual ProjectsResource.DatasetsResource.ImageResource Image { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.ImageResource |
Text
Gets the Text resource.
Declaration
public virtual ProjectsResource.DatasetsResource.TextResource Text { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.TextResource |
Video
Gets the Video resource.
Declaration
public virtual ProjectsResource.DatasetsResource.VideoResource Video { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.DatasetsResource.VideoResource |
Methods
Create(GoogleCloudDatalabelingV1beta1CreateDatasetRequest, string)
Creates dataset. If success return a Dataset resource.
Declaration
public virtual ProjectsResource.DatasetsResource.CreateRequest Create(GoogleCloudDatalabelingV1beta1CreateDatasetRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1CreateDatasetRequest | body | The body of the request. |
string | parent | Required. Dataset resource parent, format: projects/{project_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.CreateRequest |
Delete(string)
Deletes a dataset by resource name.
Declaration
public virtual ProjectsResource.DatasetsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.DeleteRequest |
ExportData(GoogleCloudDatalabelingV1beta1ExportDataRequest, string)
Exports data and annotations from dataset.
Declaration
public virtual ProjectsResource.DatasetsResource.ExportDataRequest ExportData(GoogleCloudDatalabelingV1beta1ExportDataRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1ExportDataRequest | body | The body of the request. |
string | name | Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.ExportDataRequest |
Get(string)
Gets dataset by resource name.
Declaration
public virtual ProjectsResource.DatasetsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.GetRequest |
ImportData(GoogleCloudDatalabelingV1beta1ImportDataRequest, string)
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.
Declaration
public virtual ProjectsResource.DatasetsResource.ImportDataRequest ImportData(GoogleCloudDatalabelingV1beta1ImportDataRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDatalabelingV1beta1ImportDataRequest | body | The body of the request. |
string | name | Required. Dataset resource name, format: projects/{project_id}/datasets/{dataset_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.ImportDataRequest |
List(string)
Lists datasets under a project. Pagination is supported.
Declaration
public virtual ProjectsResource.DatasetsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Dataset resource parent, format: projects/{project_id} |
Returns
Type | Description |
---|---|
ProjectsResource.DatasetsResource.ListRequest |