Class AnnotationPayload

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

Contains annotation information that is relevant to AutoML.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
translation google.cloud.automl_v1beta1.types.TranslationAnnotation
Annotation details for translation. This field is a member of `oneof`_ ``detail``.
classification google.cloud.automl_v1beta1.types.ClassificationAnnotation
Annotation details for content or image classification. This field is a member of `oneof`_ ``detail``.
image_object_detection google.cloud.automl_v1beta1.types.ImageObjectDetectionAnnotation
Annotation details for image object detection. This field is a member of `oneof`_ ``detail``.
video_classification google.cloud.automl_v1beta1.types.VideoClassificationAnnotation
Annotation details for video classification. Returned for Video Classification predictions. This field is a member of `oneof`_ ``detail``.
video_object_tracking google.cloud.automl_v1beta1.types.VideoObjectTrackingAnnotation
Annotation details for video object tracking. This field is a member of `oneof`_ ``detail``.
text_extraction google.cloud.automl_v1beta1.types.TextExtractionAnnotation
Annotation details for text extraction. This field is a member of `oneof`_ ``detail``.
text_sentiment google.cloud.automl_v1beta1.types.TextSentimentAnnotation
Annotation details for text sentiment. This field is a member of `oneof`_ ``detail``.
tables google.cloud.automl_v1beta1.types.TablesAnnotation
Annotation details for Tables. This field is a member of `oneof`_ ``detail``.
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.

Inheritance

builtins.object > proto.message.Message > AnnotationPayload