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

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

Reference documentation and code samples for the Data Labeling v1beta1 API 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

object > AnnotationSpec

Namespace

Google.Cloud.DataLabeling.V1Beta1

Assembly

Google.Cloud.DataLabeling.V1Beta1.dll

Constructors

AnnotationSpec()

public AnnotationSpec()

AnnotationSpec(AnnotationSpec)

public AnnotationSpec(AnnotationSpec other)
Parameter
Name Description
other AnnotationSpec

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

DisplayName

public string DisplayName { get; set; }

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

Property Value
Type Description
string