AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::Annotation (v0.7.2)

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
Returns

#annotation_metadata=

def annotation_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata
Parameter
Returns

#annotation_sentiment

def annotation_sentiment() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
Returns

#annotation_sentiment=

def annotation_sentiment=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment
Parameter
Returns

#annotation_source

def annotation_source() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
Returns

#annotation_source=

def annotation_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource
Parameter
Returns

#annotation_value

def annotation_value() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
Returns

#annotation_value=

def annotation_value=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationValue
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::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
Parameter
  • 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}

Returns
  • (::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}