Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::AnnotationPayload (v0.4.8)

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

#classification=

def classification=(value) -> ::Google::Cloud::AutoML::V1::ClassificationAnnotation
Parameter
Returns

#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

#image_object_detection=

def image_object_detection=(value) -> ::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation
Parameter
Returns

#text_extraction

def text_extraction() -> ::Google::Cloud::AutoML::V1::TextExtractionAnnotation
Returns

#text_extraction=

def text_extraction=(value) -> ::Google::Cloud::AutoML::V1::TextExtractionAnnotation
Parameter
Returns

#text_sentiment

def text_sentiment() -> ::Google::Cloud::AutoML::V1::TextSentimentAnnotation
Returns

#text_sentiment=

def text_sentiment=(value) -> ::Google::Cloud::AutoML::V1::TextSentimentAnnotation
Parameter
Returns

#translation

def translation() -> ::Google::Cloud::AutoML::V1::TranslationAnnotation
Returns

#translation=

def translation=(value) -> ::Google::Cloud::AutoML::V1::TranslationAnnotation
Parameter
Returns