Class: Google::Cloud::AutoML::V1beta1::AnnotationPayload

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

Overview

Contains annotation information that is relevant to AutoML.

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_spec_id::String

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

Returns:

  • (::String)

    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.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#classification::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation

Returns Annotation details for content or image classification.

Note: The following fields are mutually exclusive: classification, translation, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation)

    Annotation details for content or image classification.

    Note: The following fields are mutually exclusive: classification, translation, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#display_name::String

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.

Returns:

  • (::String)

    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.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#image_object_detection::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation

Returns Annotation details for image object detection.

Note: The following fields are mutually exclusive: image_object_detection, translation, classification, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation)

    Annotation details for image object detection.

    Note: The following fields are mutually exclusive: image_object_detection, translation, classification, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#tables::Google::Cloud::AutoML::V1beta1::TablesAnnotation

Returns Annotation details for Tables.

Note: The following fields are mutually exclusive: tables, translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::TablesAnnotation)

    Annotation details for Tables.

    Note: The following fields are mutually exclusive: tables, translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#text_extraction::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation

Returns Annotation details for text extraction.

Note: The following fields are mutually exclusive: text_extraction, translation, classification, image_object_detection, video_classification, video_object_tracking, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation)

    Annotation details for text extraction.

    Note: The following fields are mutually exclusive: text_extraction, translation, classification, image_object_detection, video_classification, video_object_tracking, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#text_sentiment::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation

Returns Annotation details for text sentiment.

Note: The following fields are mutually exclusive: text_sentiment, translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation)

    Annotation details for text sentiment.

    Note: The following fields are mutually exclusive: text_sentiment, translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#translation::Google::Cloud::AutoML::V1beta1::TranslationAnnotation

Returns Annotation details for translation.

Note: The following fields are mutually exclusive: translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::TranslationAnnotation)

    Annotation details for translation.

    Note: The following fields are mutually exclusive: translation, classification, image_object_detection, video_classification, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#video_classification::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation

Annotation details for video classification. Returned for Video Classification predictions.

Note: The following fields are mutually exclusive: video_classification, translation, classification, image_object_detection, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation)

    Annotation details for video classification. Returned for Video Classification predictions.

    Note: The following fields are mutually exclusive: video_classification, translation, classification, image_object_detection, video_object_tracking, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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

#video_object_tracking::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation

Returns Annotation details for video object tracking.

Note: The following fields are mutually exclusive: video_object_tracking, translation, classification, image_object_detection, video_classification, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation)

    Annotation details for video object tracking.

    Note: The following fields are mutually exclusive: video_object_tracking, translation, classification, image_object_detection, video_classification, text_extraction, text_sentiment, tables. If a field in that set is populated, all other fields in the set will automatically be cleared.



79
80
81
82
# File 'proto_docs/google/cloud/automl/v1beta1/annotation_payload.rb', line 79

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