Class AnnotationSpec
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
System.Object
AnnotationSpec
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 AnnotationSpec : IMessage<AnnotationSpec>, IEquatable<AnnotationSpec>, IDeepCloneable<AnnotationSpec>, IBufferMessage, IMessage
Constructors
AnnotationSpec()
Declaration
public AnnotationSpec()
AnnotationSpec(AnnotationSpec)
Declaration
public AnnotationSpec(AnnotationSpec other)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationSpec | other |
Properties
Description
Optional. User-provided description of the annotation specification. The description can be up to 10,000 characters long.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
Required. The display name of the AnnotationSpec. Maximum of 64 characters.
Declaration
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |