Class: Google::Cloud::AutoML::V1::AnnotationPayload

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/automl/v1/annotation_payload.rb

Overview

Contains annotation information that is relevant to AutoML.

Instance Attribute Summary collapse

Instance Attribute Details

#annotation_spec_id::String

Returns 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.



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#classification::Google::Cloud::AutoML::V1::ClassificationAnnotation

Returns Annotation details for content or image classification.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#display_name::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.



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image_object_detection::Google::Cloud::AutoML::V1::ImageObjectDetectionAnnotation

Returns Annotation details for image object detection.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_extraction::Google::Cloud::AutoML::V1::TextExtractionAnnotation

Returns Annotation details for text extraction.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text_sentiment::Google::Cloud::AutoML::V1::TextSentimentAnnotation

Returns Annotation details for text sentiment.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#translation::Google::Cloud::AutoML::V1::TranslationAnnotation

Returns Annotation details for translation.

Returns:



53
54
55
56
# File 'proto_docs/google/cloud/automl/v1/annotation_payload.rb', line 53

class AnnotationPayload
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end