Resource: Dataset
A collection of DataItems and Annotations on them.
namestring
Output only. Identifier. The resource name of the Dataset. Format: projects/{project}/locations/{location}/datasets/{dataset}
displayNamestring
Required. The user-defined name of the Dataset. The name can be up to 128 characters long and can consist of any UTF-8 characters.
descriptionstring
The description of the Dataset.
metadataSchemaUristring
Required. Points to a YAML file stored on Google Cloud Storage describing additional information about the Dataset. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/metadata/.
Required. Additional information about the Dataset.
Output only. The number of DataItems in this Dataset. Only apply for non-structured Dataset.
Output only. timestamp when this Dataset was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. timestamp when this Dataset was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
etagstring
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labelsmap (key: string, value: string)
The labels with user-defined metadata to organize your Datasets.
label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Dataset (System labels are excluded).
See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for each Dataset:
- "aiplatform.googleapis.com/dataset_metadata_schema": output only, its value is the
metadataSchema'stitle.
All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotationSpecs field will not be populated except for UI cases which will only use annotationSpecCount. In datasets.create request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec.
Customer-managed encryption key spec for a Dataset. If set, this Dataset and all sub-resources of this Dataset will be secured by this key.
metadataArtifactstring
Output only. The resource name of the Artifact that was created in MetadataStore when creating the Dataset. The Artifact resource name pattern is projects/{project}/locations/{location}/metadataStores/{metadataStore}/artifacts/{artifact}.
modelReferencestring
Optional. Reference to the public base model last used by the dataset. Only set for prompt datasets.
satisfiesPzsboolean
Output only. reserved for future use.
satisfiesPziboolean
Output only. reserved for future use.
| JSON representation |
|---|
{ "name": string, "displayName": string, "description": string, "metadataSchemaUri": string, "metadata": value, "dataItemCount": string, "createTime": string, "updateTime": string, "etag": string, "labels": { string: string, ... }, "savedQueries": [ { object ( |
SavedQuery
A SavedQuery is a view of the dataset. It references a subset of annotations by problem type and filters.
namestring
Output only. Resource name of the SavedQuery.
displayNamestring
Required. The user-defined name of the SavedQuery. The name can be up to 128 characters long and can consist of any UTF-8 characters.
Some additional information about the SavedQuery.
Output only. timestamp when this SavedQuery was created.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. timestamp when SavedQuery was last updated.
Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
annotationFilterstring
Output only. Filters on the Annotations in the dataset.
problemTypestring
Required. Problem type of the SavedQuery. Allowed values:
- IMAGE_CLASSIFICATION_SINGLE_LABEL
- IMAGE_CLASSIFICATION_MULTI_LABEL
- IMAGE_BOUNDING_POLY
- IMAGE_BOUNDING_BOX
- TEXT_CLASSIFICATION_SINGLE_LABEL
- TEXT_CLASSIFICATION_MULTI_LABEL
- TEXT_EXTRACTION
- TEXT_SENTIMENT
- VIDEO_CLASSIFICATION
- VIDEO_OBJECT_TRACKING
annotationSpecCountinteger
Output only. Number of AnnotationSpecs in the context of the SavedQuery.
etagstring
Used to perform a consistent read-modify-write update. If not set, a blind "overwrite" update happens.
supportAutomlTrainingboolean
Output only. If the Annotations belonging to the SavedQuery can be used for AutoML training.
| JSON representation |
|---|
{ "name": string, "displayName": string, "metadata": value, "createTime": string, "updateTime": string, "annotationFilter": string, "problemType": string, "annotationSpecCount": integer, "etag": string, "supportAutomlTraining": boolean } |
Methods |
|
|---|---|
|
Assembles each row of a multimodal dataset and writes the result into a BigQuery table. |
|
Assesses the state or validity of the dataset with respect to a given use case. |
|
Creates a Dataset. |
|
Deletes a Dataset. |
|
Exports data from a Dataset. |
|
Gets a Dataset. |
|
Imports data into a Dataset. |
|
Lists Datasets in a Location. |
|
Updates a Dataset. |
|
Searches DataItems in a Dataset. |