Class DataItem (1.17.1)

DataItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A piece of data in a Dataset. Could be an image, a video, a document or plain text.

Attributes

NameDescription
name str
Output only. The resource name of the DataItem.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this DataItem was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when this DataItem was last updated.
labels Mapping[str, str]
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 google.protobuf.struct_pb2.Value
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][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] dataItemSchemaUri field.
etag str
Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

Inheritance

builtins.object > proto.message.Message > DataItem

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, `.Message`]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.