This documentation is for AutoML Vision, which is different from Vertex AI. If you are using Vertex AI, see the Vertex AI documentation.

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.