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.
#classification=
def classification=(value) -> ::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation) — Annotation details for content or image classification.
Returns
- (::Google::Cloud::AutoML::V1beta1::ClassificationAnnotation) — Annotation details for content or image classification.
#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.
#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.
Returns
- (::Google::Cloud::AutoML::V1beta1::ImageObjectDetectionAnnotation) — Annotation details for image object detection.
#tables
def tables() -> ::Google::Cloud::AutoML::V1beta1::TablesAnnotation
Returns
- (::Google::Cloud::AutoML::V1beta1::TablesAnnotation) — Annotation details for Tables.
#tables=
def tables=(value) -> ::Google::Cloud::AutoML::V1beta1::TablesAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1beta1::TablesAnnotation) — Annotation details for Tables.
Returns
- (::Google::Cloud::AutoML::V1beta1::TablesAnnotation) — Annotation details for Tables.
#text_extraction
def text_extraction() -> ::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
Returns
- (::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation) — Annotation details for text extraction.
#text_extraction=
def text_extraction=(value) -> ::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation) — Annotation details for text extraction.
Returns
- (::Google::Cloud::AutoML::V1beta1::TextExtractionAnnotation) — Annotation details for text extraction.
#text_sentiment
def text_sentiment() -> ::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation
Returns
- (::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation) — Annotation details for text sentiment.
#text_sentiment=
def text_sentiment=(value) -> ::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation) — Annotation details for text sentiment.
Returns
- (::Google::Cloud::AutoML::V1beta1::TextSentimentAnnotation) — Annotation details for text sentiment.
#translation
def translation() -> ::Google::Cloud::AutoML::V1beta1::TranslationAnnotation
Returns
- (::Google::Cloud::AutoML::V1beta1::TranslationAnnotation) — Annotation details for translation.
#translation=
def translation=(value) -> ::Google::Cloud::AutoML::V1beta1::TranslationAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1beta1::TranslationAnnotation) — Annotation details for translation.
Returns
- (::Google::Cloud::AutoML::V1beta1::TranslationAnnotation) — Annotation details for translation.
#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.
#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.
Returns
- (::Google::Cloud::AutoML::V1beta1::VideoClassificationAnnotation) — Annotation details for video classification. Returned for Video Classification predictions.
#video_object_tracking
def video_object_tracking() -> ::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation
Returns
- (::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation) — Annotation details for video object tracking.
#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.
Returns
- (::Google::Cloud::AutoML::V1beta1::VideoObjectTrackingAnnotation) — Annotation details for video object tracking.