REST Resource: projects.locations.datasets.annotationSpecs

Resource: AnnotationSpec

A definition of an annotation.

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 can consist only of ASCII Latin letters A-Z and a-z, underscores (_), and ASCII digits 0-9.

exampleCount

number

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

Methods

get

Gets an annotation spec.
Was this page helpful? Let us know how we did:

Send feedback about...

AutoML Natural Language Entity Extraction