Class AnnotationSpec (1.0.0-beta03)

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

Container of information related to one possible annotation that can be used in a labeling task. For example, an image classification task where images are labeled as dog or cat must reference an AnnotationSpec for dog and an AnnotationSpec for cat.

Inheritance

Object > AnnotationSpec

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

AnnotationSpec()

public AnnotationSpec()

AnnotationSpec(AnnotationSpec)

public AnnotationSpec(AnnotationSpec other)
Parameter
NameDescription
otherAnnotationSpec

Properties

Description

public string Description { get; set; }

Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Required. The display name of the AnnotationSpec. Maximum of 64 characters.

Property Value
TypeDescription
String