Cloud AutoML V1beta1 API - Class Google::Cloud::AutoML::V1beta1::AnnotationPayload (v0.13.0)

Reference documentation and code samples for the Cloud AutoML V1beta1 API class Google::Cloud::AutoML::V1beta1::AnnotationPayload.

Contains annotation information that is relevant to AutoML.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotation_spec_id

def annotation_spec_id() -> ::String
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.

#annotation_spec_id=

def annotation_spec_id=(value) -> ::String
Parameter
  • value (::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.
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.

#classification

def classification() -> ::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation
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.

#classification=

def classification=(value) -> ::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation
Parameter
  • value (::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.

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.

#display_name

def display_name() -> ::String
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.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::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.

#image_object_detection

def image_object_detection() -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation
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.

#image_object_detection=

def image_object_detection=(value) -> ::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation
Parameter
  • value (::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.

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.

#tables

def tables() -> ::Google::Cloud::AutoML::V1beta1::TablesAnnotation
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.

#tables=

def tables=(value) -> ::Google::Cloud::AutoML::V1beta1::TablesAnnotation
Parameter
  • value (::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.

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.

#text_extraction

def text_extraction() -> ::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
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.

#text_extraction=

def text_extraction=(value) -> ::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
Parameter
  • value (::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.

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.

#text_sentiment

def text_sentiment() -> ::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation
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.

#text_sentiment=

def text_sentiment=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation
Parameter
  • value (::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.

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.

#translation

def translation() -> ::Google::Cloud::AutoML::V1beta1::TranslationAnnotation
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.

#translation=

def translation=(value) -> ::Google::Cloud::AutoML::V1beta1::TranslationAnnotation
Parameter
  • value (::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.

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.

#video_classification

def video_classification() -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation
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.

#video_classification=

def video_classification=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation
Parameter
  • value (::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.

#video_object_tracking

def video_object_tracking() -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation
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.

#video_object_tracking=

def video_object_tracking=(value) -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation
Parameter
  • value (::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.

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.