Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::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::V1::ClassificationAnnotation
Returns
- (::Google::Cloud::AutoML::V1::ClassificationAnnotation) — Annotation details for content or image classification.
#classification=
def classification=(value) -> ::Google::Cloud::AutoML::V1::ClassificationAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1::ClassificationAnnotation) — Annotation details for content or image classification.
Returns
- (::Google::Cloud::AutoML::V1::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::V1::ImageObjectDetectionAnnotation
Returns
- (::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation) — Annotation details for image object detection.
#image_object_detection=
def image_object_detection=(value) -> ::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation) — Annotation details for image object detection.
Returns
- (::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation) — Annotation details for image object detection.
#text_extraction
def text_extraction() -> ::Google::Cloud::AutoML::V1::TextExtractionAnnotation
Returns
- (::Google::Cloud::AutoML::V1::TextExtractionAnnotation) — Annotation details for text extraction.
#text_extraction=
def text_extraction=(value) -> ::Google::Cloud::AutoML::V1::TextExtractionAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1::TextExtractionAnnotation) — Annotation details for text extraction.
Returns
- (::Google::Cloud::AutoML::V1::TextExtractionAnnotation) — Annotation details for text extraction.
#text_sentiment
def text_sentiment() -> ::Google::Cloud::AutoML::V1::TextSentimentAnnotation
Returns
- (::Google::Cloud::AutoML::V1::TextSentimentAnnotation) — Annotation details for text sentiment.
#text_sentiment=
def text_sentiment=(value) -> ::Google::Cloud::AutoML::V1::TextSentimentAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1::TextSentimentAnnotation) — Annotation details for text sentiment.
Returns
- (::Google::Cloud::AutoML::V1::TextSentimentAnnotation) — Annotation details for text sentiment.
#translation
def translation() -> ::Google::Cloud::AutoML::V1::TranslationAnnotation
Returns
- (::Google::Cloud::AutoML::V1::TranslationAnnotation) — Annotation details for translation.
#translation=
def translation=(value) -> ::Google::Cloud::AutoML::V1::TranslationAnnotation
Parameter
- value (::Google::Cloud::AutoML::V1::TranslationAnnotation) — Annotation details for translation.
Returns
- (::Google::Cloud::AutoML::V1::TranslationAnnotation) — Annotation details for translation.