Class DataItem
DataItem is a piece of data, without annotation. For example, an image.
Inheritance
System.Object
DataItem
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class DataItem : IMessage<DataItem>, IEquatable<DataItem>, IDeepCloneable<DataItem>, IBufferMessage, IMessage
Constructors
DataItem()
Declaration
public DataItem()
DataItem(DataItem)
Declaration
public DataItem(DataItem other)
Parameters
| Type | Name | Description |
|---|---|---|
| DataItem | other |
Properties
DataItemName
DataItemName-typed view over the Name resource name property.
Declaration
public DataItemName DataItemName { get; set; }
Property Value
| Type | Description |
|---|---|
| DataItemName |
ImagePayload
The image payload, a container of the image bytes/uri.
Declaration
public ImagePayload ImagePayload { get; set; }
Property Value
| Type | Description |
|---|---|
| ImagePayload |
Name
Output only. Name of the data item, in format of: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PayloadCase
Declaration
public DataItem.PayloadOneofCase PayloadCase { get; }
Property Value
| Type | Description |
|---|---|
| DataItem.PayloadOneofCase |
TextPayload
The text payload, a container of text content.
Declaration
public TextPayload TextPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| TextPayload |
VideoPayload
The video payload, a container of the video uri.
Declaration
public VideoPayload VideoPayload { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoPayload |