REST Resource: projects.locations.datasets

Resource: Dataset

A workspace for solving a single, particular machine learning (ML) problem. A workspace contains examples that may be annotated.

JSON representation
 { 
 "name" : 
 string 
 , 
 "displayName" : 
 string 
 , 
 "exampleCount" : 
 number 
 , 
 "createTime" : 
 string 
 , 
 // Union field dataset_metadata 
can be only one of the following: 
 "translationDatasetMetadata" : 
 { 
 object(  TranslationDatasetMetadata 
 
) 
 } 
 , 
 "imageClassificationDatasetMetadata" : 
 { 
 object(  ImageClassificationDatasetMetadata 
 
) 
 } 
 , 
 "textClassificationDatasetMetadata" : 
 { 
 object(  TextClassificationDatasetMetadata 
 
) 
 } 
 // End of list of possible types for union field dataset_metadata 
. 
 } 
 
 
 
 
 
 
 
Fields
name

string

Output only. The resource name of the dataset. Form: projects/{project_id}/locations/{locationId}/datasets/{datasetId}

displayName

string

Required. The name of the dataset to show in the interface. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

exampleCount

number

Output only. The number of examples in the dataset.

createTime

string ( Timestamp format)

Output only. Timestamp when this dataset was created.

A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z" .

ClassificationType

Type of the classification problem.

Enums
CLASSIFICATION_TYPE_UNSPECIFIED Should not be used, an un-set enum has this value by default.
MULTICLASS At most one label is allowed per example.
MULTILABEL Multiple labels are allowed for one example.

Methods

create

Creates a dataset.

delete

Deletes a dataset and all of its contents.

get

Gets a dataset.

getIamPolicy

Gets the access control policy for a resource.

importData

Imports data into a dataset.

list

Lists datasets in a project.

setIamPolicy

Sets the access control policy on the specified resource.
Create a Mobile Website
View Site in Mobile | Classic
Share by: