REST Resource: projects.locations.datasets.annotationSpecs

Resource: AnnotationSpec

A definition of an annotation spec.

JSON representation
{
  "name": string,
  "displayName": string,
  "exampleCount": integer
}
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

integer

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

Methods

get

Gets an annotation spec.