Class: Google::Cloud::AutoML::V1beta1::AnnotationSpec

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_spec.rb

Overview

A definition of an annotation spec.

Instance Attribute Summary collapse

Instance Attribute Details

#display_nameString

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_]+. (_), and ASCII digits 0-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_]+. (_), and ASCII digits 0-9.



37
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_spec.rb', line 37

class AnnotationSpec; end

#example_countInteger

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.



37
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_spec.rb', line 37

class AnnotationSpec; end

#nameString

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}'



37
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/annotation_spec.rb', line 37

class AnnotationSpec; end