Cloud AI Platform v1 API - Class DataItem (2.17.0)

public sealed class DataItem : IMessage<DataItem>, IEquatable<DataItem>, IDeepCloneable<DataItem>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class DataItem.

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

Inheritance

object > DataItem

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

DataItem()

public DataItem()

DataItem(DataItem)

public DataItem(DataItem other)
Parameter
NameDescription
otherDataItem

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this DataItem was created.

Property Value
TypeDescription
Timestamp

DataItemName

public DataItemName DataItemName { get; set; }

DataItemName-typed view over the Name resource name property.

Property Value
TypeDescription
DataItemName

Etag

public string Etag { get; set; }

Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

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.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

Output only. The resource name of the DataItem.

Property Value
TypeDescription
string

Payload

public Value Payload { get; set; }

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.

Property Value
TypeDescription
Value

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this DataItem was last updated.

Property Value
TypeDescription
Timestamp