Skip to main content

data_items

Creates, updates, deletes, gets or lists a data_items resource.

Overview

Namedata_items
TypeResource
Idgoogle.aiplatform.data_items

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the DataItem.
createTimestringOutput only. Timestamp when this DataItem was created.
etagstringOptional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
labelsobjectOptional. The labels with user-defined metadata to organize your DataItems. 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 DataItem(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.
payloadanyRequired. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field.
satisfiesPzibooleanOutput only. Reserved for future use.
satisfiesPzsbooleanOutput only. Reserved for future use.
updateTimestringOutput only. Timestamp when this DataItem was last updated.

Methods

NameAccessible byRequired ParamsDescription
listSELECTdatasetsId, locationsId, projectsIdLists DataItems in a Dataset.

SELECT examples

Lists DataItems in a Dataset.

SELECT
name,
createTime,
etag,
labels,
payload,
satisfiesPzi,
satisfiesPzs,
updateTime
FROM google.aiplatform.data_items
WHERE datasetsId = '{{ datasetsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';