Class AnnotationPayload (2.2.0)

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

Contains annotation information that is relevant to AutoML.

Attributes

NameDescription
translation .gca_translation.TranslationAnnotation
Annotation details for translation.
classification .gca_classification.ClassificationAnnotation
Annotation details for content or image classification.
image_object_detection .detection.ImageObjectDetectionAnnotation
Annotation details for image object detection.
text_extraction .gca_text_extraction.TextExtractionAnnotation
Annotation details for text extraction.
text_sentiment .gca_text_sentiment.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.