Class AnnotationPayload (2.2.0)

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

Contains annotation information that is relevant to AutoML.

Inheritance

Object > AnnotationPayload

Namespace

Google.Cloud.AutoML.V1

Assembly

Google.Cloud.AutoML.V1.dll

Constructors

AnnotationPayload()

public AnnotationPayload()

AnnotationPayload(AnnotationPayload)

public AnnotationPayload(AnnotationPayload other)
Parameter
NameDescription
otherAnnotationPayload

Properties

AnnotationSpecId

public string AnnotationSpecId { get; set; }

Output only . The resource ID of the annotation spec that this annotation pertains to. The annotation spec comes from either an ancestor dataset, or the dataset that was used to train the model in use.

Property Value
TypeDescription
String

Classification

public ClassificationAnnotation Classification { get; set; }

Annotation details for content or image classification.

Property Value
TypeDescription
ClassificationAnnotation

DetailCase

public AnnotationPayload.DetailOneofCase DetailCase { get; }
Property Value
TypeDescription
AnnotationPayload.DetailOneofCase

DisplayName

public string DisplayName { get; set; }

Output only. The value of [display_name][google.cloud.automl.v1.AnnotationSpec.display_name] when the model was trained. Because this field returns a value at model training time, for different models trained using the same dataset, the returned value could be different as model owner could update the display_name between any two model training.

Property Value
TypeDescription
String

ImageObjectDetection

public ImageObjectDetectionAnnotation ImageObjectDetection { get; set; }

Annotation details for image object detection.

Property Value
TypeDescription
ImageObjectDetectionAnnotation

TextExtraction

public TextExtractionAnnotation TextExtraction { get; set; }

Annotation details for text extraction.

Property Value
TypeDescription
TextExtractionAnnotation

TextSentiment

public TextSentimentAnnotation TextSentiment { get; set; }

Annotation details for text sentiment.

Property Value
TypeDescription
TextSentimentAnnotation

Translation

public TranslationAnnotation Translation { get; set; }

Annotation details for translation.

Property Value
TypeDescription
TranslationAnnotation