Class: Google::Cloud::AutoML::V1::AnnotationSpec

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

Overview

A definition of an annotation spec.

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.

Returns:

  • (::String)

    Required. The name of the annotation spec to show in the interface. The name can be up to 32 characters long and must match the regexp [a-zA-Z0-9_]+.



38
39
40
41
# File 'proto_docs/google/cloud/automl/v1/annotation_spec.rb', line 38

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

#example_count::Integer

Returns Output only. The number of examples in the parent dataset labeled by the annotation spec.

Returns:

  • (::Integer)

    Output only. The number of examples in the parent dataset labeled by the annotation spec.



38
39
40
41
# File 'proto_docs/google/cloud/automl/v1/annotation_spec.rb', line 38

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

#name::String

Returns Output only. Resource name of the annotation spec. Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'.

Returns:

  • (::String)

    Output only. Resource name of the annotation spec. Form: 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}'



38
39
40
41
# File 'proto_docs/google/cloud/automl/v1/annotation_spec.rb', line 38

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