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
IMessageAnnotationPayload, IEquatableAnnotationPayload, IDeepCloneableAnnotationPayload, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
AnnotationPayload()
public AnnotationPayload()
AnnotationPayload(AnnotationPayload)
public AnnotationPayload(AnnotationPayload other)
Parameter | |
---|---|
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.
Property Value | |
---|---|
Type | Description |
string |
Classification
public ClassificationAnnotation Classification { get; set; }
Annotation details for content or image classification.
Property Value | |
---|---|
Type | Description |
ClassificationAnnotation |
DetailCase
public AnnotationPayload.DetailOneofCase DetailCase { get; }
Property Value | |
---|---|
Type | Description |
AnnotationPayloadDetailOneofCase |
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 | |
---|---|
Type | Description |
string |
ImageObjectDetection
public ImageObjectDetectionAnnotation ImageObjectDetection { get; set; }
Annotation details for image object detection.
Property Value | |
---|---|
Type | Description |
ImageObjectDetectionAnnotation |
TextExtraction
public TextExtractionAnnotation TextExtraction { get; set; }
Annotation details for text extraction.
Property Value | |
---|---|
Type | Description |
TextExtractionAnnotation |
TextSentiment
public TextSentimentAnnotation TextSentiment { get; set; }
Annotation details for text sentiment.
Property Value | |
---|---|
Type | Description |
TextSentimentAnnotation |
Translation
public TranslationAnnotation Translation { get; set; }
Annotation details for translation.
Property Value | |
---|---|
Type | Description |
TranslationAnnotation |