Class DataItem (1.0.0-beta03)

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

DataItem is a piece of data, without annotation. For example, an image.

Inheritance

Object > DataItem

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

DataItem()

public DataItem()

DataItem(DataItem)

public DataItem(DataItem other)
Parameter
NameDescription
otherDataItem

Properties

DataItemName

public DataItemName DataItemName { get; set; }

DataItemName-typed view over the Name resource name property.

Property Value
TypeDescription
DataItemName

ImagePayload

public ImagePayload ImagePayload { get; set; }

The image payload, a container of the image bytes/uri.

Property Value
TypeDescription
ImagePayload

Name

public string Name { get; set; }

Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Property Value
TypeDescription
String

PayloadCase

public DataItem.PayloadOneofCase PayloadCase { get; }
Property Value
TypeDescription
DataItem.PayloadOneofCase

TextPayload

public TextPayload TextPayload { get; set; }

The text payload, a container of text content.

Property Value
TypeDescription
TextPayload

VideoPayload

public VideoPayload VideoPayload { get; set; }

The video payload, a container of the video uri.

Property Value
TypeDescription
VideoPayload