Class AnnotationPayload (2.0.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.
video_classification .gca_classification.VideoClassificationAnnotation
Annotation details for video classification. Returned for Video Classification predictions.
video_object_tracking .detection.VideoObjectTrackingAnnotation
Annotation details for video object tracking.
text_extraction .gca_text_extraction.TextExtractionAnnotation
Annotation details for text extraction.
text_sentiment .gca_text_sentiment.TextSentimentAnnotation
Annotation details for text sentiment.
tables .gca_tables.TablesAnnotation
Annotation details for Tables.
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.