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
- (::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
- 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.
- (::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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
-
(::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
-
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.
-
(::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.