Class AnnotationPayload (2.4.2)

AnnotationPayload(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Contains annotation information that is relevant to AutoML. .. attribute:: translation

Annotation details for translation.

:type: google.cloud.automl_v1.types.TranslationAnnotation

Attributes

NameDescription
classification google.cloud.automl_v1.types.ClassificationAnnotation
Annotation details for content or image classification.
image_object_detection google.cloud.automl_v1.types.ImageObjectDetectionAnnotation
Annotation details for image object detection.
text_extraction google.cloud.automl_v1.types.TextExtractionAnnotation
Annotation details for text extraction.
text_sentiment google.cloud.automl_v1.types.TextSentimentAnnotation
Annotation details for text sentiment.
annotation_spec_id str
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.
display_name str
Output only. The value of 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.