public sealed class AnnotationPayload : IMessage<AnnotationPayload>, IEquatable<AnnotationPayload>, IDeepCloneable<AnnotationPayload>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class AnnotationPayload.
Contains annotation information that is relevant to AutoML.
Implements
IMessage<AnnotationPayload>, IEquatable<AnnotationPayload>, IDeepCloneable<AnnotationPayload>, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
AnnotationPayload()
public AnnotationPayload()
AnnotationPayload(AnnotationPayload)
public AnnotationPayload(AnnotationPayload other)
Name | Description |
other | AnnotationPayload |
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.
Type | Description |
String |
Classification
public ClassificationAnnotation Classification { get; set; }
Annotation details for content or image classification.
Type | Description |
ClassificationAnnotation |
DetailCase
public AnnotationPayload.DetailOneofCase DetailCase { get; }
Type | Description |
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.
Type | Description |
String |
ImageObjectDetection
public ImageObjectDetectionAnnotation ImageObjectDetection { get; set; }
Annotation details for image object detection.
Type | Description |
ImageObjectDetectionAnnotation |
TextExtraction
public TextExtractionAnnotation TextExtraction { get; set; }
Annotation details for text extraction.
Type | Description |
TextExtractionAnnotation |
TextSentiment
public TextSentimentAnnotation TextSentiment { get; set; }
Annotation details for text sentiment.
Type | Description |
TextSentimentAnnotation |
Translation
public TranslationAnnotation Translation { get; set; }
Annotation details for translation.
Type | Description |
TranslationAnnotation |