class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotationValue
Annotation value for an example.
Attributes
Image bounding poly annotation. It represents a polygon including bounding box in the image. Corresponds to the JSON property `imageBoundingPolyAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageBoundingPolyAnnotation]
Image classification annotation definition. Corresponds to the JSON property `imageClassificationAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageClassificationAnnotation]
A polyline for the image annotation. Corresponds to the JSON property `imagePolylineAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePolylineAnnotation]
Image segmentation annotation. Corresponds to the JSON property `imageSegmentationAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImageSegmentationAnnotation]
Text classification annotation. Corresponds to the JSON property `textClassificationAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextClassificationAnnotation]
Text entity extraction annotation. Corresponds to the JSON property `textEntityExtractionAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1TextEntityExtractionAnnotation]
Video classification annotation. Corresponds to the JSON property `videoClassificationAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoClassificationAnnotation]
Video event annotation. Corresponds to the JSON property `videoEventAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoEventAnnotation]
Video object tracking annotation. Corresponds to the JSON property `videoObjectTrackingAnnotation` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1VideoObjectTrackingAnnotation]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1133 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 1138 def update!(**args) @image_bounding_poly_annotation = args[:image_bounding_poly_annotation] if args.key?(:image_bounding_poly_annotation) @image_classification_annotation = args[:image_classification_annotation] if args.key?(:image_classification_annotation) @image_polyline_annotation = args[:image_polyline_annotation] if args.key?(:image_polyline_annotation) @image_segmentation_annotation = args[:image_segmentation_annotation] if args.key?(:image_segmentation_annotation) @text_classification_annotation = args[:text_classification_annotation] if args.key?(:text_classification_annotation) @text_entity_extraction_annotation = args[:text_entity_extraction_annotation] if args.key?(:text_entity_extraction_annotation) @video_classification_annotation = args[:video_classification_annotation] if args.key?(:video_classification_annotation) @video_event_annotation = args[:video_event_annotation] if args.key?(:video_event_annotation) @video_object_tracking_annotation = args[:video_object_tracking_annotation] if args.key?(:video_object_tracking_annotation) end