DataItem Stay organized with collections Save and categorize content based on your preferences.
A piece of data in a Dataset. Could be an image, a video, a document or plain text.
namestringOutput only. The resource name of the DataItem.
createTimestring (Timestamp format)Output only. timestamp when this DataItem 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".
updateTimestring (Timestamp format)Output only. timestamp when this DataItem 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".
labelsmap (key: string, value: string)Optional. 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).
Seehttps://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.
payloadvalue (Value format)Required. 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'smetadata schema's dataItemSchemaUri field.
etagstringOptional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
satisfiesPzsbooleanOutput only. reserved for future use.
satisfiesPzibooleanOutput only. reserved for future use.
| JSON representation |
|---|
{"name":string,"createTime":string,"updateTime":string,"labels":{string:string,...},"payload":value,"etag":string,"satisfiesPzs":boolean,"satisfiesPzi":boolean} |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-22 UTC.