Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::Annotation.
Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_metadata
def annotation_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata) — Output only. Annotation metadata, including information like votes for labels.
#annotation_metadata=
def annotation_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata) — Output only. Annotation metadata, including information like votes for labels.
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata) — Output only. Annotation metadata, including information like votes for labels.
#annotation_sentiment
def annotation_sentiment() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment) — Output only. Sentiment for this annotation.
#annotation_sentiment=
def annotation_sentiment=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment) — Output only. Sentiment for this annotation.
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment) — Output only. Sentiment for this annotation.
#annotation_source
def annotation_source() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSource) — Output only. The source of the annotation.
#annotation_source=
def annotation_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationSource) — Output only. The source of the annotation.
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationSource) — Output only. The source of the annotation.
#annotation_value
def annotation_value() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationValue) — Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
#annotation_value=
def annotation_value=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationValue) — Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationValue) — Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.
#name
def name() -> ::String
-
(::String) — Output only. Unique name of this annotation, format is:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}
#name=
def name=(value) -> ::String
-
value (::String) — Output only. Unique name of this annotation, format is:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}
-
(::String) — Output only. Unique name of this annotation, format is:
projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id}