REST Resource: projects.locations.datasets.annotationSpecs

Stay organized with collections Save and categorize content based on your preferences.

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.