data_items
Creates, updates, deletes, gets or lists a data_items
resource.
Overview
Name | data_items |
Type | Resource |
Id | google.aiplatform.data_items |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of the DataItem. |
createTime | string | Output only. Timestamp when this DataItem was created. |
etag | string | Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. |
labels | object | 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). 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. |
payload | any | 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's metadata schema's dataItemSchemaUri field. |
satisfiesPzi | boolean | Output only. Reserved for future use. |
satisfiesPzs | boolean | Output only. Reserved for future use. |
updateTime | string | Output only. Timestamp when this DataItem was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | datasetsId, locationsId, projectsId | Lists 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 }}';