REST Resource: projects.locations.datasets.annotationStores

Resource: AnnotationStore

An Annotation store that can store annotation resources such as labels and tags for text, image and audio.

JSON representation
{
  "name": string,
  "labels": {
    string: string,
    ...
  }
}
Fields
name

string

Resource name of the Annotation store, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/annotationStores/{annotationStoreId}.

labels

map (key: string, value: string)

Optional. User-supplied key-value pairs used to organize Annotation stores.

Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}

Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}

No more than 64 labels can be associated with a given store.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Methods

create

Creates a new Annotation store within the parent dataset.

delete

Deletes the specified Annotation store and removes all annotations that are contained within it.

evaluate

Evaluate an Annotation store against a ground truth Annotation store.

export

Export Annotations from the Annotation store.

get

Gets the specified Annotation store or returns NOT_FOUND if it does not exist.

getIamPolicy

Gets the access control policy for a resource.

import

Import Annotations to the Annotation store by loading data from the specified sources.

list

Lists the Annotation stores in the given dataset for a source store.

patch

Updates the specified Annotation store.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.