Data Labeling v1beta1 API - Class DataItem (2.0.0-beta03)

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

Reference documentation and code samples for the Data Labeling v1beta1 API class DataItem.

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
Name Description
other DataItem

Properties

DataItemName

public DataItemName DataItemName { get; set; }

DataItemName-typed view over the Name resource name property.

Property Value
Type Description
DataItemName

ImagePayload

public ImagePayload ImagePayload { get; set; }

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

Property Value
Type Description
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
Type Description
string

PayloadCase

public DataItem.PayloadOneofCase PayloadCase { get; }
Property Value
Type Description
DataItemPayloadOneofCase

TextPayload

public TextPayload TextPayload { get; set; }

The text payload, a container of text content.

Property Value
Type Description
TextPayload

VideoPayload

public VideoPayload VideoPayload { get; set; }

The video payload, a container of the video uri.

Property Value
Type Description
VideoPayload