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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `AnnotationSpec` class, part of the Google Cloud Data Labeling v1beta1 API, serves as a container for information related to a possible annotation in a labeling task."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities for working with the annotation data."],["`AnnotationSpec` offers two constructors: a default constructor and one that creates a copy from another `AnnotationSpec` object."],["The `Description` and `DisplayName` properties of the `AnnotationSpec` class allow for optional user-provided details and a required display name, respectively, for the annotation specification."],["There are 3 different versions of the `AnnotationSpec` available, with version 2.0.0-beta05 being the latest."]]],[]]