Class: Google::Cloud::DataLabeling::V1beta1::Annotation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_metadata::Google::Cloud::DataLabeling::V1beta1::AnnotationMetadata

Returns Output only. Annotation metadata, including information like votes for labels.

Returns:



46
47
48
49
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46

class Annotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#annotation_sentiment::Google::Cloud::DataLabeling::V1beta1::AnnotationSentiment

Returns Output only. Sentiment for this annotation.

Returns:



46
47
48
49
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46

class Annotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#annotation_source::Google::Cloud::DataLabeling::V1beta1::AnnotationSource

Returns Output only. The source of the annotation.

Returns:



46
47
48
49
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46

class Annotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#annotation_value::Google::Cloud::DataLabeling::V1beta1::AnnotationValue

Returns Output only. This is the actual annotation value, e.g classification, bounding box values are stored here.

Returns:



46
47
48
49
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46

class Annotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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}



46
47
48
49
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 46

class Annotation
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end