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."],[[["This documentation provides details for the `AnnotationSpec` class within the Google Cloud Data Labeling v1beta1 API, specifically version 2.0.0-beta04."],["`AnnotationSpec` is a class that contains information about a possible annotation used in a labeling task, such as labeling images as \"dog\" or \"cat\" in an image classification task."],["The `AnnotationSpec` class inherits from the base `object` class and implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, one default and one that takes another `AnnotationSpec` object, and includes properties `Description` and `DisplayName` for defining the annotation."],["This document provides links to previous versions of the documentation, including 2.0.0-beta05 and 1.0.0-beta03, which can be used to view previous states of the class."]]],[]]