This legacy version of AutoML Vision is deprecated and will no longer be available on Google Cloud after January 23, 2024. All the functionality of legacy AutoML Vision and new features are available on the Vertex AI platform. See Migrate to Vertex AI to learn how to migrate your resources.

REST Resource: projects.locations.datasets.annotationSpecs

Resource: AnnotationSpec

A definition of an annotation spec.

JSON representation
{
  "name": string,
  "displayName": string,
  "exampleCount": number
}
Fields
name

string

Output only. Resource name of the annotation spec. Form:

'projects/{project_id}/locations/{locationId}/datasets/{datasetId}/annotationSpecs/{annotationSpecId}'

displayName

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_]+.

exampleCount

number

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

Methods

get

Gets an annotation spec.