REST Resource: projects.datasets

Stay organized with collections Save and categorize content based on your preferences.

Resource: Dataset

Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.

JSON representation
{
  "name": string,
  "displayName": string,
  "description": string,
  "createTime": string,
  "inputConfigs": [
    {
      object (InputConfig)
    }
  ],
  "blockingResources": [
    string
  ],
  "dataItemCount": string
}
Fields
name

string

Output only. Dataset resource name, format is: projects/{project_id}/datasets/{dataset_id}

displayName

string

Required. The display name of the dataset. Maximum of 64 characters.

description

string

Optional. User-provided description of the annotation specification set. The description can be up to 10000 characters long.

createTime

string (Timestamp format)

Output only. Time the dataset is created.

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

inputConfigs[]

object (InputConfig)

Output only. This is populated with the original input configs where datasets.importData is called. It is available only after the clients import data to this dataset.

blockingResources[]

string

Output only. The names of any related resources that are blocking changes to the dataset.

dataItemCount

string (int64 format)

Output only. The number of data items in the dataset.

Methods

create

Creates dataset.

delete

Deletes a dataset by resource name.

exportData

Exports data and annotations from dataset.

get

Gets dataset by resource name.

importData

Imports data into dataset based on source locations defined in request.

list

Lists datasets under a project.